fix dof in fit when fixed paramater are present

Authored by sgerlach on Apr 9 2018, 9:37 PM.