return fitting error and pcov for full_output=True