Index: branches/eam_branches/ipp-20110710/psphot/src/psphotExtendedSourceFits.c
===================================================================
--- branches/eam_branches/ipp-20110710/psphot/src/psphotExtendedSourceFits.c	(revision 32205)
+++ branches/eam_branches/ipp-20110710/psphot/src/psphotExtendedSourceFits.c	(revision 32215)
@@ -271,5 +271,4 @@
     float fitRadius, windowRadius;
     psScalar *scalar = NULL;
-    pmMoments psfMoments;
 
     // arguments: readout, sources, models, region, psfSize, maskVal, markVal
@@ -448,5 +447,4 @@
 	  pmSourceCacheModel (source, maskVal);
 
-	  *source->moments = psfMoments;
           pmSourceSub (source, PM_MODEL_OP_FULL, maskVal);
 
@@ -468,7 +466,4 @@
 	}
 
-	// replace the original moments
-	*source->moments = psfMoments;
-
         // subtract the best fit from the object, leave local sky
         pmSourceSub (source, PM_MODEL_OP_FULL, maskVal);
