We did not keep track of the first and second order moment when calling gmhmaxlik_core. (cherry picked from commit e5102eee)
mentioned in commit 7b1a0aab