In fit_lc, handle m.covariance=None, m.errors=None