Text this: Searching for quasi periodic oscillations in optical and gamma-ray emissions and black hole mass estimation of blazar ON 246.