Index: branches/eam_branches/ipp-20101205/psphot/src/psphotChoosePSF.c
===================================================================
--- branches/eam_branches/ipp-20101205/psphot/src/psphotChoosePSF.c	(revision 30219)
+++ branches/eam_branches/ipp-20101205/psphot/src/psphotChoosePSF.c	(revision 30224)
@@ -317,4 +317,5 @@
         pmSource *source = try->sources->data[i];
         if (try->mask->data.PS_TYPE_VECTOR_MASK_DATA[i]) continue;
+	source->mode |= PM_SOURCE_MODE_PSFSTAR;
 
 	// this source was used: find the parent and set its PSFSTAR flag
@@ -327,4 +328,5 @@
 
     // build a PSF residual image
+    // we need to use the 'try' set because they have the associated models defined
     if (!psphotMakeResiduals (try->sources, recipe, try->psf, maskVal)) {
         psError(PSPHOT_ERR_PSF, false, "Unable to construct residual table for PSF");
