def METHOD_NAME(misfitFcn, startParameters, data, sigmas, *args):
    return optimize.leastsq(misfitFcn, np.array(startParameters), (np.array(data, order='F'), np.array(1.0/sigmas, order='F')) + args, full_output=1)