first commit of QGLikelihoodCalculator