xerror in gaussian fit