Index: branches/eam_branches/ipp-20130509/psphot/src/psphotExtendedSourceFits.c
===================================================================
--- branches/eam_branches/ipp-20130509/psphot/src/psphotExtendedSourceFits.c	(revision 35633)
+++ branches/eam_branches/ipp-20130509/psphot/src/psphotExtendedSourceFits.c	(revision 35634)
@@ -330,4 +330,6 @@
     fitOptions->maxTol         = fitMaxTol;
 
+    // psTraceSetLevel ("psLib.math.psMinimizeLMChi2_Alt", 5);
+
     // choose the sources of interest
     for (int i = 0; i < sources->n; i++) {
@@ -348,4 +350,10 @@
         if (source->peak->x > region->x1) continue;
         if (source->peak->y > region->y1) continue;
+
+
+	// XXX for a test, just do the obvious trail
+	// XXX if (source->peak->xf < 1100) continue;
+	// XXX if (source->peak->xf > 1400) continue;
+	// XXX if (source->peak->yf >  245) continue;
 
         // replace object in image
@@ -450,5 +458,5 @@
 		      float Ymax = PAR[PM_PAR_YPOS] + 0.5*PAR[PM_PAR_LENGTH]*cos(PAR[PM_PAR_THETA]);
 
-		      if ((source->peak->xf > 1100) && 
+		      if (false && (source->peak->xf > 1100) && 
 			  (source->peak->xf < 1400) && 
 			  (source->peak->yf < 245)) {
