Index: trunk/ippconfig/gpc1/camera.config
===================================================================
--- trunk/ippconfig/gpc1/camera.config	(revision 31081)
+++ trunk/ippconfig/gpc1/camera.config	(revision 31163)
@@ -136,4 +136,5 @@
   CMF.DATA STR {CHIP.NAME}.psf # use .PSF and .EXT?
   CMF.XSRC STR {CHIP.NAME}.xsrc # use .PSF and .EXT?
+  CMF.XRAD STR {CHIP.NAME}.xrad # use .PSF and .EXT?
   CMF.XFIT STR {CHIP.NAME}.xfit # use .PSF and .EXT?
   CMF.DETEFF STR {CHIP.NAME}.deteff
Index: trunk/ippconfig/gpc1/ppStack.config
===================================================================
--- trunk/ippconfig/gpc1/ppStack.config	(revision 31081)
+++ trunk/ippconfig/gpc1/ppStack.config	(revision 31163)
@@ -38,2 +38,7 @@
     OUTPUT.LOGFLUX  BOOL    TRUE
 END
+
+# Recipe overrides for STACK
+STACKPHOT METADATA
+  PSF.MODEL	STR	PS_MODEL_QGAUSS	# Model for PSF match
+END
Index: trunk/ippconfig/gpc1/psastro.config
===================================================================
--- trunk/ippconfig/gpc1/psastro.config	(revision 31081)
+++ trunk/ippconfig/gpc1/psastro.config	(revision 31163)
@@ -15,5 +15,7 @@
 PSASTRO.GRID.OFFSET    F32    1000.
 PSASTRO.GRID.SCALE     F32      50
-PSASTRO.GRID.NSTAR.MAX S32     800 # max stars accepted for fitting
+PSASTRO.GRID.NSTAR.MAX S32     800 # deprecated 
+PSASTRO.GRID.NREF.MAX  S32     800 # max stars accepted for fitting from ref catalog
+PSASTRO.GRID.NRAW.MAX  S32    1200 # max stars accepted for fitting from raw image
 
 PSASTRO.MAX.NRAW      S32      1000   # max stars accepted for fitting (0 for all)
@@ -24,5 +26,5 @@
 
 # 
-PSASTRO.MIN.INST.MAG.RAW       F32     -17.0   # min instrumental magnitude for stars accepted for fitting
+PSASTRO.MIN.INST.MAG.RAW       F32     -15.0   # min instrumental magnitude for stars accepted for fitting
 PSASTRO.MAX.INST.MAG.RAW       F32      -8.0   # max instrumental magnitude for stars accepted for fitting
 
@@ -44,6 +46,6 @@
 PSASTRO.MATCH.RADIUS.N5 F32    10
 PSASTRO.MATCH.RADIUS.N6 F32    10
-PSASTRO.MATCH.RADIUS.N7 F32     5
-PSASTRO.MATCH.FIT.NITER S32     8
+PSASTRO.MATCH.RADIUS.N7 F32    5
+PSASTRO.MATCH.FIT.NITER S32    8
 
 # for iterations >= N, require a single match per reference
@@ -304,2 +306,30 @@
     PSASTRO.CATDIR              STR      SAS.REF.V1
 END
+
+# these values worked to get solutions for the STS observations from 2009 & 2010
+# these field has damage from excessive persistence and the impact of burntool
+STS_DATASET  METADATA
+
+  # need to boost the total number of stars available for the fit:
+  # allow more stars per chip and boost the density to which we query
+  # from the reference database.
+  PSASTRO.MAX.NRAW      S32      2000   # 
+  PSASTRO.MAX.NREF      S32      8000   # max stars accepted for fitting (0 for all)
+  DVO.GETSTAR.MAX.RHO   F32      60000.0
+  
+  # the crowding is high, so unless we restrict somewhat tightly early
+  # on, we get very noisy (and wrong) fits.  These values are probably
+  # too restrictive for the general observation: we would risk missing
+  # matches.
+
+  # single-chip radius match in pixels
+  PSASTRO.MATCH.RADIUS.N0 F32    10
+  PSASTRO.MATCH.RADIUS.N1 F32    5
+  PSASTRO.MATCH.RADIUS.N2 F32    5
+  PSASTRO.MATCH.RADIUS.N3 F32    5
+  PSASTRO.MATCH.RADIUS.N4 F32    3
+  PSASTRO.MATCH.RADIUS.N5 F32    3
+  PSASTRO.MATCH.RADIUS.N6 F32    5
+  PSASTRO.MATCH.RADIUS.N7 F32    5
+  PSASTRO.MATCH.FIT.NITER S32    5
+END
Index: trunk/ippconfig/gpc1/psphot.config
===================================================================
--- trunk/ippconfig/gpc1/psphot.config	(revision 31081)
+++ trunk/ippconfig/gpc1/psphot.config	(revision 31163)
@@ -1,5 +1,7 @@
 
-BACKGROUND.XBIN	                    S32   256           # size of background superpixels
-BACKGROUND.YBIN	                    S32   256           # size of background superpixels
+BACKGROUND.XBIN                     S32   400             # size of background superpixels
+BACKGROUND.YBIN                     S32   400             # size of background superpixels
+BACKGROUND.XSAMPLE                  F32   2.0             # size of background superpixels
+BACKGROUND.YSAMPLE                  F32   2.0             # size of background superpixels
 
 SOFTEN.VARIANCE                     BOOL  TRUE          # XXX drop? soften the errors for bright pixels
@@ -31,6 +33,6 @@
 DIAGNOSTIC.PLOTS METADATA
   IMAGE.BACKGROUND.CELL.HISTOGRAM   BOOL  FALSE
-  IMAGE.BACKGROUND.CELL.HISTOGRAM.X S32   32
-  IMAGE.BACKGROUND.CELL.HISTOGRAM.Y S32   15
+  IMAGE.BACKGROUND.CELL.HISTOGRAM.X S32   8
+  IMAGE.BACKGROUND.CELL.HISTOGRAM.Y S32   8
 END
 
