Index: /branches/eam_branch_20090208/psphot/src/psphotFitSourcesLinear.c
===================================================================
--- /branches/eam_branch_20090208/psphot/src/psphotFitSourcesLinear.c	(revision 21500)
+++ /branches/eam_branch_20090208/psphot/src/psphotFitSourcesLinear.c	(revision 21501)
@@ -216,7 +216,7 @@
 
     // measure chisq for each source
-    // XXX this overrides the chisq measured in a prior non-linear fit.  Keep those instead?
     for (int i = 0; final && (i < fitSources->n); i++) {
         pmSource *source = fitSources->data[i];
+	if (source->mode & PM_SOURCE_MODE_NONLINEAR_FIT) continue;
         pmModel *model = pmSourceGetModel (NULL, source);
         pmSourceChisq (model, source->pixels, source->maskObj, source->variance, maskVal);
