Restarting the Fall 2006 / Jan 2007 ISP Data

There were still some header errors for the ISP data (filter, cd matrix, etc). Erik and Josh worked to fix this. I am restarting the full analysis to have a complete example.

  • create the database:

dbadmin project alala ipp isp_v2 pxadmin -create -dbname isp_v2

  • inject the files into the new database

foreach dir (oi*)

ipp_serial_inject.pl $dir/*.fits --workdir path://ISP_V2/$dir --dbname isp_v2 echo $dir

end

  • register the images (in pantasks)

module pantasks.pro module.tasks input cluster.pro init.cluster list DB -add isp_v2

  • bias

dettool -pretend -filelevel isp -simple -definebyquery -inst ISP-Apogee -det_type bias -select_exp_type bias -dbname isp_v2 -workdir path://ISP_V2/detrend/bias -select_dateobs_begin 2007-01-13T00:00:00

  • build the dark frames

dettool -simple -filelevel isp -definebyquery -inst ISP-Apogee -det_type dark -select_exp_type dark -dbname isp_v2 -workdir path://ISP_V2/detrend/dark -select_dateobs_begin 2007-01-14T00:00:00 -exp_time_min 10 -exp_time_max 60 -select_exp_time_min 10

dettool -simple -filelevel isp -definebyquery -inst ISP-Apogee -det_type dark -select_exp_type dark -dbname isp_v2 -workdir path://ISP_V2/detrend/dark -select_dateobs_begin 2007-01-14T00:00:00 -exp_time_max 10 -select_exp_time_max 10

  • shutter

I first tried the following line. This included several very short exposures which are probably uncorrectable (exp_time < min_dt). the analysis did not automatically reject them. this is partly because the rejections are not measuring a sufficiently discriminating criterion and partly because the 'residuals' still include the flat term (only shutter is corrected). the first motivates the measurement of a gridded or binned stdev statistic (eg, stdev of the 16x16 binned image); the second motivates a modification to the analysis so that the residual generation applies both shutter and flat-field (and also that the shutter image includes the slope and intercept values).

dettool -simple -filelevel isp -definebyquery -inst ISP-Apogee -det_type shutter -select_exp_type skyflat -select_filter r -dbname isp_v2 -workdir path://ISP_V2/detrend/shutter -select_dateobs_begin 2007-01-14T04:00:00 -select_dateobs_end 2007-01-14T05:00:00

for the short term, I re-ran the shutter correction analysis, excluding the shortest exposures (exp_time < 0.05). i tried the two sets below (g from sunset and sunrise). both yielded similar results, though the first was a little bit better.

dettool -pretend -simple -definebyquery -inst ISP-Apogee -det_type shutter -select_exp_type skyflat -select_filter g -dbname isp_v2 -workdir path://ISP_V2/detrend/shutter -select_dateobs_begin 2007-01-14T04:00:00 -select_dateobs_end 2007-01-14T05:00:00 -select_exp_time_min 0.04

dettool -pretend -simple -definebyquery -inst ISP-Apogee -det_type shutter -select_exp_type skyflat -select_filter g -dbname isp_v2 -workdir path://ISP_V2/detrend/shutter -select_dateobs_begin 2007-01-14T16:00:00 -select_dateobs_end 2007-01-14T17:00:00 -select_exp_time_min 0.05

  • flat

I built g,r,i,z,y flats at the same time, running the following commands:

exec dettool -simple -select_exp_time_min 0.05 -definebyquery -inst ISP-Apogee -det_type flat -select_exp_type skyflat -dbname isp_v2 -workdir path://ISP_V2/detrend/flat/g -select_filter g -filter g -select_dateobs_begin 2007-01-14T00:00:00 -select_dateobs_end 2007-01-15T00:00:00

exec dettool -simple -select_exp_time_min 0.05 -definebyquery -inst ISP-Apogee -det_type flat -select_exp_type skyflat -dbname isp_v2 -workdir path://ISP_V2/detrend/flat/r -select_filter r -filter r -select_dateobs_begin 2007-01-14T00:00:00 -select_dateobs_end 2007-01-15T00:00:00

exec dettool -simple -select_exp_time_min 0.05 -definebyquery -inst ISP-Apogee -det_type flat -select_exp_type skyflat -dbname isp_v2 -workdir path://ISP_V2/detrend/flat/i -select_filter i -filter i -select_dateobs_begin 2007-01-14T00:00:00 -select_dateobs_end 2007-01-15T00:00:00

exec dettool -simple -select_exp_time_min 0.05 -definebyquery -inst ISP-Apogee -det_type flat -select_exp_type skyflat -dbname isp_v2 -workdir path://ISP_V2/detrend/flat/z -select_filter z -filter z -select_dateobs_begin 2007-01-14T00:00:00 -select_dateobs_end 2007-01-15T00:00:00

exec dettool -simple -select_exp_time_min 0.05 -definebyquery -inst ISP-Apogee -det_type flat -select_exp_type skyflat -dbname isp_v2 -workdir path://ISP_V2/detrend/flat/y -select_filter y -filter y -select_dateobs_begin 2007-01-14T00:00:00 -select_dateobs_end 2007-01-15T00:00:00

Running the Fall 2006 / Jan 2007 ISP Data

2007.05.24 : EAM

I am running the ISP data from the Fall 2006 and Jan 2007 through the IPP using the 2.1 pre-release code base. These are my notes on the process and issues I have encountered. I am running the analysis as the user ipp, referring to the psconfig ipp-2.1pre installation. I am using a cvs checkout under my own user ID to install this tree, so I can make fixes to the code as I encounter problems.

I am using a local file (cluster.pro) to define additional macros. for example,

module pantasks.pro module.tasks input cluster.pro init.cluster list DB -add isp

  • registration : I ran into some trouble because ipp000 did not have the perl modules installed for ipp-2.1pre. I was fooled into thinking the installation was OK because my PERL5LIB when I built the tree included an entry to my own psconfig installation, where the modules were installed. Since the ipp user does not include that path, programs running as that user on ipp000 failed. To make it easier to track this down (which node had the problem?), I added the JOB_HOSTNAME to the pantasks internal variables, and echo it on job failures.
  • the URIs displayed by ippMonitor have the full path, not path://ISP/foo. but, the db queries seem to show the path:// form?
  • bias : I started a bias run using the images from Jan only:

dettool -simple -definebyquery -inst ISP-Apogee -det_type bias -select_exp_type bias -dbname isp -workdir path://ISP/detrend/bias -select_dateobs_begin 2007-01-13T00:00:00

I ran into trouble with the isp/format.config: CCDBIN1,2 was not set for all images; XBIN,YBIN were set. These images should be fixed to reflect the ICD: oi3986, oi4035 - oi4114, oi4117, oi4118.

steps to run flats:

dettool -pretend -definebyquery -inst ISP-Apogee -filter r -det_type flat -select_exp_type skyflat -select_filter r -workdir path://ISP_PO5/2007.01/mkflat.r.0 -dbname isp