Use minuit = Minuit() consistently
Use minuit = Minuit() consistently