Index: /branches/eam_branches/ipp-20120627/psphot/src/psphotExtendedSourceFits.c
===================================================================
--- /branches/eam_branches/ipp-20120627/psphot/src/psphotExtendedSourceFits.c	(revision 34189)
+++ /branches/eam_branches/ipp-20120627/psphot/src/psphotExtendedSourceFits.c	(revision 34190)
@@ -77,4 +77,8 @@
     if (!status) {
         nThreads = 0;
+    }
+    // do not thread if we are trying to study the fitting process
+    if (psTraceGetLevel ("psphot.psphotFitEXT") >= 6) {
+      nThreads = 0;
     }
 
@@ -462,4 +466,7 @@
         psFree (source->modelEXT);
         source->modelEXT = psMemIncrRefCounter (source->modelFits->data[minModel]);
+	source->type = PM_SOURCE_TYPE_EXTENDED;
+	source->mode |= PM_SOURCE_MODE_EXTMODEL;
+	source->mode |= PM_SOURCE_MODE_NONLINEAR_FIT;
 
 	// adjust the window so the subtraction covers the faint wings
Index: /branches/eam_branches/ipp-20120627/psphot/src/psphotReadoutMinimal.c
===================================================================
--- /branches/eam_branches/ipp-20120627/psphot/src/psphotReadoutMinimal.c	(revision 34189)
+++ /branches/eam_branches/ipp-20120627/psphot/src/psphotReadoutMinimal.c	(revision 34190)
@@ -83,4 +83,10 @@
     psphotFitSourcesLinear (config, view, filerule, false);
 
+    // measure the radial profiles to the sky
+    psphotRadialProfileWings (config, view, filerule);
+
+    // re-measure the kron mags with models subtracted and more appropriate windows
+    psphotKronIterate(config, view, filerule);
+
     // measure source size for the remaining sources
     psphotSourceSize (config, view, filerule, false);
