Index: trunk/operations/addstar/ptolemy.rc
===================================================================
--- trunk/operations/addstar/ptolemy.rc	(revision 26107)
+++ trunk/operations/addstar/ptolemy.rc	(revision 26108)
@@ -4,2 +4,64 @@
 PANTASKS_SERVER         ippdb00
 PASSWORD                foobar
+
+### Here follows the regular ~/.ptolemyrc
+### This is required because the addstar task runs from this directory,
+### so it picks up this configuration.
+
+CONFDIR                 /home/panstarrs/ipp/psconfig/ipp-svn.lin64/share/ippconfig
+CAMERA                  default
+
+# location of DVO database tables
+CATDIR                  default
+
+# location of possible data sources
+2MASS_DIR_AS            /data/ipp004.0/elixir/srcdir/refs/2mass.allsky
+2MASS_DIR_DR2           /data/ipp004.0/elixir/srcdir/refs/2mass.dr2
+GSCDIR                  NONE
+USNO_A_DIR              NONE
+USNO_B_DIR              NONE
+TYCHO_DIR               NONE
+
+PHOTCODE_FILE           $CONFDIR/dvo.photcodes
+GSCFILE                 $CONFDIR/GSCregions.tbl
+CATMODE                 SPLIT
+CATFORMAT               PS1_V1
+SKY_DEPTH               3
+# SKY_TABLE             this may be used to override GSCFILE
+ZERO_PT                 25.0
+
+# default values - overridden for specific cameras
+ADDSTAR_RADIUS          1.0
+IMAGE_SCATTER           0.075  # mark images POOR if stdev(Mcal) > IMAGE_SCATTER
+STAR_SCATTER            0.005  # mark stars POOR if stdev(Mrel) > STAR_SCATTER
+IMAGE_OFFSET            0.100  # mark images POOR if abs(delta(Mcal)) > IMAGE_OFFSET
+STAR_CHISQ              10.0   # mark stars POOR if Xm > STAR_CHISQ
+STAR_TOOFEW              3     # mark star FEW if N(good) < STAR_TOOFEW
+IMAGE_TOOFEW            10     # mark image FEW if N(good) < IMAGE_TOOFEW
+IMAGE_GOOD_FRACTION     0.05   # mark image FEW if N(good) < IMAGE_GOOD_FRACTION * Nstars
+
+PM_DT_MIN               0.25
+PM_TOOFEW               4
+POS_TOOFEW              1
+
+RELPHOT_GRID_BINNING    256
+RELPHOT_GRID_X 6
+RELPHOT_GRID_Y 14
+
+SCATTER_LIM             15.0
+MAG_LIM                 20.0   # select stars brighter than this for relphot analysis
+SIGMA_LIM               0.015  # select measurements with dM < SIGMA_LIM for relphot analysis
+
+# access control for client/server addstar mode 
+# PASSWORD
+# HOSTNAME
+# VALID_IP
+
+# camera dependent parameter files:
+FILTER_LIST             $CONFDIR/$CAMERA/dvo.filters
+CAMERA_CONFIG           $CONFDIR/$CAMERA/dvo.layout
+DETREND_RECIPES         $CONFDIR/$CAMERA/dvo.recipe
+
+# load the camera-specific configuration files
+input                   $CONFDIR/$CAMERA/dvo.config
+
