got log likelihood plotted successfully