Index: /trunk/ippconfig/gpc1/psphot.config
===================================================================
--- /trunk/ippconfig/gpc1/psphot.config	(revision 20584)
+++ /trunk/ippconfig/gpc1/psphot.config	(revision 20585)
@@ -30,10 +30,14 @@
 PSF_CLUMP_GRID_SCALE F32 2.5		# size of Sx,Sy image pixel
 
+PSF.RESIDUALS       BOOL  TRUE            # generate the residuals?
+
 # PSF model parameters : choose the PSF model desired
 PSF_MODEL           STR  PS_MODEL_PS1_V1
 
 PSF.TREND.MODE                      STR   MAP
-PSF.TREND.NX                        S32   1
-PSF.TREND.NY                        S32   1
+# PSF.TREND.MODE                      STR   POLY_CHEB
+# PSF.TREND.MODE                      STR   POLY_ORD
+PSF.TREND.NX                        S32   3
+PSF.TREND.NY                        S32   3
 
 MOMENTS_SN_MIN      F32   30.0
@@ -46,5 +50,6 @@
 PSF_SHAPE_NSIGMA     F32  3.0		 # max significance for shape variation
 PSF_MAX_CHI          F32  50.0		 # reject objects worse that this
-APTREND.ORDER.MAX    S32  1
+
+APTREND.ORDER.MAX    S32  3
 
 MEASURE.APTREND      BOOL TRUE           ### XXX for now, skip this (too many errors)
