Index: branches/eam_branches/ipp-20100621/psphot/src/psphotSourceFits.c
===================================================================
--- branches/eam_branches/ipp-20100621/psphot/src/psphotSourceFits.c	(revision 28974)
+++ branches/eam_branches/ipp-20100621/psphot/src/psphotSourceFits.c	(revision 28975)
@@ -549,4 +549,8 @@
 	// for the test fits, use a somewhat smaller radius
 	psphotSetRadiusFootprint(&model->fitRadius, readout, source, markVal, 0.5);
+
+	// update the pcm elements if we have changed the circumstance (eg, source->pixels)
+	pmPCMupdate(pcm, source, fitOptions, model);
+
     	if (!psphotFitSersicIndexPCM (pcm, readout, source, fitOptions, maskVal, markVal, psfSize)) {
 	    model->flags |= PM_MODEL_STATUS_BADARGS;
@@ -558,4 +562,6 @@
 	psphotSetRadiusFootprint(&model->fitRadius, readout, source, markVal, 1.0);
     }
+    // update the pcm elements if we have changed the circumstance (eg, source->pixels)
+    pmPCMupdate(pcm, source, fitOptions, model);
 
     if (modelType == pmModelClassGetType("PS_MODEL_SERSIC")) {
