For details refer to the full reduction guide.
If not interested in details at all, see the Quick Quick Guide...
newfield CT13 OB140123where CT13 is the observatory code for the CTIO 1.3m telescope and ANDICAM, and OB140123 is the short form of microlensing event OGLE-2014-BLG-0123. A list of MicroFUN observatory site codes can be viewed by typing
micrositesnewfield gets the RA and Dec coordinates of the target from the most recent OGLE and MOA event catalogs, and all the site information from the current MicroFUN site table.
If more than one instrument configuration is availble at a given observing site, you will be shown a list of possible setups to choose from. If only one configuration is available, it will choose this automatically.
mktemplate I 12In this example we have chosen the image CT13_OB140123I0012.fits as the template.
The mktemplate script creates all of the template files needed by the DoPhot pipeline, and creates the ".template" file with the name of the template field. In this example, .template will contain the string "CT13_OB140123I0012".
(1) process all unprocessed FITS images in the Raw/ directory:
photproc all(2) process only those images listed in a file
photproc imlistwhere "imlist" is the name of the file listing the FITS files in Raw/ to process, one image per line.
After photproc runs, you should investigate any processing errors reported and take corrective action as required, or at least note the failures for future attention. The photproc script should tell you which files to inspect if there have been any failures.
After processing, it is a good idea to clean out any delinquent files from the Work directory:
cleanup
At this step, there will be a number of DoPhot .dop files in the Dop/ directory, and copies of the DoPhot runtime parameter (.par) files in the Par/ directory.
archive I 1 10 Ccreates (C) an I-band archive file named Archive/CT13_OB140123I, and enters data for I-band images 1-10. Any existing archive file of this name will be over-written. Note that the rootname of the archive, here "CT13_OB140123", is stored in the .fieldname file.
cd CT13_OB140123 archive I 11 20 AThis adds (A) the records for frames 11-20 to the existing archive file named "Archive/CT13_OB140123I". As above, the rootname of the archive, here "CT13_OB140123", is stored in the .fieldname file.
To create the initial V archive, you would type:
archive V 1 5 CThis is done the first time, or anytime you change the template or choice of reference stars and need to regenerate the photometry archive from the start.
To add photometry to an existing V archive, you use
archive V 6 10 Ato append.
Each time you process I and V photometry, you must run the archive script twice, once for each filter.
cd Archivestart up ds9 and run tvphot over the archive and the template image:
ds9 & tvphot CT13_OB140123IThis presumes that the archive is named CT13_OB01013I and a template image named CT13_OB140123I.fits; if the template image has a different name, it is entered as a second argument on the command line. The interactive cursor (the blinking donut) is used to select stars. Hitting the "f" key will search the archive records and print the info about this star and any within 5 pixels of it.
NOTE: If you have I and V data, you need to run the archive script separately for I and V to regenerate the archive after changing the reference star photometry
exphot CT13_OB140123I I.phoThis extracts the microlens and reference star light curves into an ASCII text file suitable for plotting with SM, mongo, etc.