fix debugging in nonlinear fitting

Authored by sgerlach on Apr 7 2018, 5:26 PM.