reverts MaxLikelihoodFit to master