def vm_fit_exit_codes(self):
    if (self.fit_exit_code == 0):
        return 'succesfull exit'
    if (self.fit_exit_code == (- 1)):
        return 'not enough bins for this fit'
    if (self.fit_exit_code == 1):
        return 'flat distribution'
    if (self.fit_exit_code == 2):
        return 'flat distribution'
    if (self.fit_exit_code == 3):
        return 'missing scipy.optimize import'
    if (self.fit_exit_code > 110):
        return 'unknown exit code'
    if (self.fit_exit_code > 100):
        return (('error ' + str((self.fit_exit_code - 100))) + ' in scipy.optimize.leastsq')
    return 'unknown exit code'
def vm_fit_exit_codes(self):
    if (self.fit_exit_code == 0):
        return 'succesfull exit'
    if (self.fit_exit_code == (- 1)):
        return 'not enough bins for this fit'
    if (self.fit_exit_code == 1):
        return 'flat distribution'
    if (self.fit_exit_code == 2):
        return 'flat distribution'
    if (self.fit_exit_code == 3):
        return 'missing scipy.optimize import'
    if (self.fit_exit_code > 110):
        return 'unknown exit code'
    if (self.fit_exit_code > 100):
        return (('error ' + str((self.fit_exit_code - 100))) + ' in scipy.optimize.leastsq')
    return 'unknown exit code'