getLogLikelihood fix