using year rather than julian day for least squares