#!/bin/bash -xv # $1: main dir. # $2: science dir # $3: extension # $4: scamp mode (leave either empty or set to 'photom') DIR=`pwd` pwd ++ pwd + DIR=/home/woho/work/theli/theli/gui/scripts INSTDIR=instruments_professional + INSTDIR=instruments_professional PREFIXDIR=${DIR} + PREFIXDIR=/home/woho/work/theli/theli/gui/scripts if [ ! -f ${INSTDIR}/${INSTRUMENT}.ini ]; then INSTDIR=instruments_commercial PREFIXDIR=${DIR} fi + '[' '!' -f instruments_professional/EOS5D3@24mm.ini ']' + INSTDIR=instruments_commercial + PREFIXDIR=/home/woho/work/theli/theli/gui/scripts if [ ! -f ${INSTDIR}/${INSTRUMENT}.ini ]; then INSTDIR=~/.theli/instruments_user/ PREFIXDIR="" fi + '[' '!' -f instruments_commercial/EOS5D3@24mm.ini ']' + INSTDIR=/home/woho/.theli/instruments_user/ + PREFIXDIR= . ${INSTDIR}/${INSTRUMENT:?}.ini + . /home/woho/.theli/instruments_user//EOS5D3@24mm.ini # ************************************************************** # Instrument config file created by THELI # ************************************************************** # Name of the instrument (must be unique!) INSTRUMENT=EOS5D3@24mm ++ INSTRUMENT=EOS5D3@24mm # Number of chips NCHIPS=1 ++ NCHIPS=1 # We need to export these export INSTRUMENT ++ export INSTRUMENT export NCHIPS ++ export NCHIPS # Load directories for programs . progs.ini ++ . progs.ini # # the following language setting ensures that # we do not have to deal with country specific # settings influencing programs like gawk (giving # a ',' instead of '.' for the decimal point in numbers # within a german environment). export LANG=C +++ export LANG=C +++ LANG=C # # how many processors do we have # used directories PIPESOFT=/home/woho/work/theli/theli/ +++ PIPESOFT=/home/woho/work/theli/theli/ BIN_ANET=${PIPESOFT}/gui/packages/astrometry/build/bin/ +++ BIN_ANET=/home/woho/work/theli/theli//gui/packages/astrometry/build/bin/ BIN=${PIPESOFT}/bin/Linux_64/ +++ BIN=/home/woho/work/theli/theli//bin/Linux_64/ CONF=${PIPESOFT}/gui/reduction; export CONF +++ CONF=/home/woho/work/theli/theli//gui/reduction +++ export CONF STANDARDSTARSCAT= +++ STANDARDSTARSCAT= PHOTSTANDARDSTARSCAT= +++ PHOTSTANDARDSTARSCAT= SCRIPTS=${PIPESOFT}/scripts/reduction +++ SCRIPTS=/home/woho/work/theli/theli//scripts/reduction UTILSCRIPTS=${PIPESOFT}/scripts/Linux_64/ +++ UTILSCRIPTS=/home/woho/work/theli/theli//scripts/Linux_64/ SMMACROS=${PIPESOFT}/scripts/sm_macros +++ SMMACROS=/home/woho/work/theli/theli//scripts/sm_macros export TEMPDIR=~/.theli/tmp/ +++ export TEMPDIR=/home/woho/.theli/tmp/ +++ TEMPDIR=/home/woho/.theli/tmp/ # for compatibility I need the following DATACONF=${CONF}; export DATACONF +++ DATACONF=/home/woho/work/theli/theli//gui/reduction +++ export DATACONF # # define here the location of script interpreters: P_PERL=/usr/bin/perl +++ P_PERL=/usr/bin/perl P_PYTHON=/usr/bin/python +++ P_PYTHON=/usr/bin/python # # here are the used programs listed # # LDAC programs # P_ALBUM=${BIN}/album +++ P_ALBUM=/home/woho/work/theli/theli//bin/Linux_64//album P_ANALYSELDAC=${BIN}/analyseldac +++ P_ANALYSELDAC=/home/woho/work/theli/theli//bin/Linux_64//analyseldac P_ANISOTROPY=${BIN}/anisotropy +++ P_ANISOTROPY=/home/woho/work/theli/theli//bin/Linux_64//anisotropy P_ASCTOLDAC=${BIN}/asctoldac +++ P_ASCTOLDAC=/home/woho/work/theli/theli//bin/Linux_64//asctoldac P_ASSOCIATE=${BIN}/associate +++ P_ASSOCIATE=/home/woho/work/theli/theli//bin/Linux_64//associate P_DECIMALTOHMS=${BIN}/decimaltohms +++ P_DECIMALTOHMS=/home/woho/work/theli/theli//bin/Linux_64//decimaltohms P_DECIMALTODMS=${BIN}/decimaltodms +++ P_DECIMALTODMS=/home/woho/work/theli/theli//bin/Linux_64//decimaltodms P_DMSTODECIMAL=${BIN}/dmstodecimal +++ P_DMSTODECIMAL=/home/woho/work/theli/theli//bin/Linux_64//dmstodecimal P_HMSTODECIMAL=${BIN}/hmstodecimal +++ P_HMSTODECIMAL=/home/woho/work/theli/theli//bin/Linux_64//hmstodecimal P_IC=${BIN}/ic +++ P_IC=/home/woho/work/theli/theli//bin/Linux_64//ic P_IMCOMBFLAT_IMCAT=${BIN}/imcombflat +++ P_IMCOMBFLAT_IMCAT=/home/woho/work/theli/theli//bin/Linux_64//imcombflat P_IMSTATS=${BIN}/imstats +++ P_IMSTATS=/home/woho/work/theli/theli//bin/Linux_64//imstats P_LDACADDMASK=${BIN}/ldacaddmask +++ P_LDACADDMASK=/home/woho/work/theli/theli//bin/Linux_64//ldacaddmask P_LDACCONV=${BIN}/ldacconv +++ P_LDACCONV=/home/woho/work/theli/theli//bin/Linux_64//ldacconv P_LDACPASTE=${BIN}/ldacpaste +++ P_LDACPASTE=/home/woho/work/theli/theli//bin/Linux_64//ldacpaste P_LDACCALC=${BIN}/ldaccalc +++ P_LDACCALC=/home/woho/work/theli/theli//bin/Linux_64//ldaccalc P_LDACADDKEY=${BIN}/ldacaddkey +++ P_LDACADDKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacaddkey P_LDACRENKEY=${BIN}/ldacrenkey +++ P_LDACRENKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacrenkey P_LDACADDTAB=${BIN}/ldacaddtab +++ P_LDACADDTAB=/home/woho/work/theli/theli//bin/Linux_64//ldacaddtab P_LDACRENTAB=${BIN}/ldacrentab +++ P_LDACRENTAB=/home/woho/work/theli/theli//bin/Linux_64//ldacrentab P_LDACFILTER=${BIN}/ldacfilter +++ P_LDACFILTER=/home/woho/work/theli/theli//bin/Linux_64//ldacfilter P_LDACTESTEXIST=${BIN}/ldactestexist +++ P_LDACTESTEXIST=/home/woho/work/theli/theli//bin/Linux_64//ldactestexist P_LDACTOASC=${BIN}/ldactoasc +++ P_LDACTOASC=/home/woho/work/theli/theli//bin/Linux_64//ldactoasc P_LDACTOSKYCAT=${BIN}/ldactoskycat +++ P_LDACTOSKYCAT=/home/woho/work/theli/theli//bin/Linux_64//ldactoskycat P_LDACJOINKEY=${BIN}/ldacjoinkey +++ P_LDACJOINKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacjoinkey P_MAKEJOIN=${BIN}/make_join +++ P_MAKEJOIN=/home/woho/work/theli/theli//bin/Linux_64//make_join P_MAKESSC=${BIN}/make_ssc +++ P_MAKESSC=/home/woho/work/theli/theli//bin/Linux_64//make_ssc P_MAKESUBIMAGE=${BIN}/makesubimage +++ P_MAKESUBIMAGE=/home/woho/work/theli/theli//bin/Linux_64//makesubimage P_PREANISOTROPY=${BIN}/preanisotropy +++ P_PREANISOTROPY=/home/woho/work/theli/theli//bin/Linux_64//preanisotropy P_SELECTOVERLAPS=${BIN}/select_overlaps +++ P_SELECTOVERLAPS=/home/woho/work/theli/theli//bin/Linux_64//select_overlaps P_STATS=${BIN}/stats +++ P_STATS=/home/woho/work/theli/theli//bin/Linux_64//stats P_TRANSFORMIMAGE=${BIN}/transformimage +++ P_TRANSFORMIMAGE=/home/woho/work/theli/theli//bin/Linux_64//transformimage # # Terapix programs # P_SEX=${BIN}/sex_theli +++ P_SEX=/home/woho/work/theli/theli//bin/Linux_64//sex_theli P_WW=${BIN}/ww_theli +++ P_WW=/home/woho/work/theli/theli//bin/Linux_64//ww_theli P_SWARP=${BIN}/swarp_theli +++ P_SWARP=/home/woho/work/theli/theli//bin/Linux_64//swarp_theli # # programs from the eclipse package # P_DFITS=${BIN}/dfits +++ P_DFITS=/home/woho/work/theli/theli//bin/Linux_64//dfits P_FITSORT=${BIN}/fitsort +++ P_FITSORT=/home/woho/work/theli/theli//bin/Linux_64//fitsort P_HIERARCH=${BIN}/hierarch28 +++ P_HIERARCH=/home/woho/work/theli/theli//bin/Linux_64//hierarch28 P_REPLACEKEY=${BIN}/replacekey +++ P_REPLACEKEY=/home/woho/work/theli/theli//bin/Linux_64//replacekey P_IOFITS=${BIN}/iofits +++ P_IOFITS=/home/woho/work/theli/theli//bin/Linux_64//iofits # # own programs developed with # eclipse and qfits # P_FITSSPLIT_ECL=${BIN}/mefsplit +++ P_FITSSPLIT_ECL=/home/woho/work/theli/theli//bin/Linux_64//mefsplit P_FIXCR_ECL=${BIN}/fixcr +++ P_FIXCR_ECL=/home/woho/work/theli/theli//bin/Linux_64//fixcr P_IMRED_ECL=${BIN}/preprocess +++ P_IMRED_ECL=/home/woho/work/theli/theli//bin/Linux_64//preprocess # # For THELI modified versions of the ASTROMETRIX and # PHOTOMETRIX scripts: # S_ASTROMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/astrom_theli +++ S_ASTROMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/astrom_theli S_PHOTOMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/photom_theli +++ S_PHOTOMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/photom_theli # # other utility programs and scripts # P_READLINK=${BIN}/readlink +++ P_READLINK=/home/woho/work/theli/theli//bin/Linux_64//readlink P_AIRMASS=${BIN}/airmass +++ P_AIRMASS=/home/woho/work/theli/theli//bin/Linux_64//airmass P_NIGHTID=${BIN}/nightid +++ P_NIGHTID=/home/woho/work/theli/theli//bin/Linux_64//nightid P_CALDATE=${BIN}/caldate +++ P_CALDATE=/home/woho/work/theli/theli//bin/Linux_64//caldate S_SCAMPCAT=${UTILSCRIPTS}/scampcat.py +++ S_SCAMPCAT=/home/woho/work/theli/theli//scripts/Linux_64//scampcat.py S_PHOTOABS=${UTILSCRIPTS}/photo_abs.py +++ S_PHOTOABS=/home/woho/work/theli/theli//scripts/Linux_64//photo_abs.py S_APLASTROMSCAMP=${UTILSCRIPTS}/aplastrom_scamp.py +++ S_APLASTROMSCAMP=/home/woho/work/theli/theli//scripts/Linux_64//aplastrom_scamp.py S_SUPERFLATEXCLUSION=${UTILSCRIPTS}/superflatexclusion.py +++ S_SUPERFLATEXCLUSION=/home/woho/work/theli/theli//scripts/Linux_64//superflatexclusion.py # # Programs and scripts not included in the pipeline distribution # P_FIND=/usr/bin/find +++ P_FIND=/usr/bin/find P_GAWK=/usr/bin/gawk +++ P_GAWK=/usr/bin/gawk P_SM= +++ P_SM= P_SORT=/usr/bin/sort +++ P_SORT=/usr/bin/sort # # this is needed for the GUI # P_PIPELIBS=/home/woho/work/theli/PipeLibs//pipe.csh +++ P_PIPELIBS=/home/woho/work/theli/PipeLibs//pipe.csh P_GETPMMOBJECTS=${BIN}/get_pmm_objects +++ P_GETPMMOBJECTS=/home/woho/work/theli/theli//bin/Linux_64//get_pmm_objects P_LDACDESC=${BIN}/ldacdesc +++ P_LDACDESC=/home/woho/work/theli/theli//bin/Linux_64//ldacdesc P_LDACDELTAB=${BIN}/ldacdeltab +++ P_LDACDELTAB=/home/woho/work/theli/theli//bin/Linux_64//ldacdeltab P_LDACDELKEY=${BIN}/ldacdelkey +++ P_LDACDELKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacdelkey P_LDACPUTXY=${BIN}/ldacputxy +++ P_LDACPUTXY=/home/woho/work/theli/theli//bin/Linux_64//ldacputxy P_FITSFLIP=${BIN}/fitsflip +++ P_FITSFLIP=/home/woho/work/theli/theli//bin/Linux_64//fitsflip P_DEBLOOM=${BIN}/debloom +++ P_DEBLOOM=/home/woho/work/theli/theli//bin/Linux_64//debloom P_EQUALISEBAYERFLAT=${BIN}/equalisebayerflat +++ P_EQUALISEBAYERFLAT=/home/woho/work/theli/theli//bin/Linux_64//equalisebayerflat P_FITSCOLLAPSE=${BIN}/fitscollapse +++ P_FITSCOLLAPSE=/home/woho/work/theli/theli//bin/Linux_64//fitscollapse P_FITSWRAP=${BIN}/fitswrap +++ P_FITSWRAP=/home/woho/work/theli/theli//bin/Linux_64//fitswrap P_FITSCUBESLICE=${BIN}/fitscubeslice +++ P_FITSCUBESLICE=/home/woho/work/theli/theli//bin/Linux_64//fitscubeslice P_FITSADDKEY=${BIN}/fitsaddkey +++ P_FITSADDKEY=/home/woho/work/theli/theli//bin/Linux_64//fitsaddkey P_FITSCUT=${BIN}/fitscut +++ P_FITSCUT=/home/woho/work/theli/theli//bin/Linux_64//fitscut P_FITSBIN=${BIN}/fitsbin +++ P_FITSBIN=/home/woho/work/theli/theli//bin/Linux_64//fitsbin P_FITSBLOOMDETECT=${BIN}/fitsbloomdetect +++ P_FITSBLOOMDETECT=/home/woho/work/theli/theli//bin/Linux_64//fitsbloomdetect P_FITSFILL=${BIN}/fitsfill +++ P_FITSFILL=/home/woho/work/theli/theli//bin/Linux_64//fitsfill P_FITSGRAD=${BIN}/fitsgrad +++ P_FITSGRAD=/home/woho/work/theli/theli//bin/Linux_64//fitsgrad P_FITSDEMOSAICBAYER=${BIN}/fitsdemosaicbayer +++ P_FITSDEMOSAICBAYER=/home/woho/work/theli/theli//bin/Linux_64//fitsdemosaicbayer P_FITS3MAX=${BIN}/fits3max +++ P_FITS3MAX=/home/woho/work/theli/theli//bin/Linux_64//fits3max P_FITSGAUSS=${BIN}/fitsgauss +++ P_FITSGAUSS=/home/woho/work/theli/theli//bin/Linux_64//fitsgauss P_FITS2TIFF=${BIN}/fits2tiff +++ P_FITS2TIFF=/home/woho/work/theli/theli//bin/Linux_64//fits2tiff P_TIFF2FITS=${BIN}/tiff2fits +++ P_TIFF2FITS=/home/woho/work/theli/theli//bin/Linux_64//tiff2fits P_CORRLIRIS=${BIN}/corrliris +++ P_CORRLIRIS=/home/woho/work/theli/theli//bin/Linux_64//corrliris P_CROSSTALK=${BIN}/crosstalk +++ P_CROSSTALK=/home/woho/work/theli/theli//bin/Linux_64//crosstalk P_FINDGSC=${BIN}/findgsc +++ P_FINDGSC=/home/woho/work/theli/theli//bin/Linux_64//findgsc P_FINDUSNOB1=${BIN}/findusnob1 +++ P_FINDUSNOB1=/home/woho/work/theli/theli//bin/Linux_64//findusnob1 P_FIND2MASS=${BIN}/find2mass +++ P_FIND2MASS=/home/woho/work/theli/theli//bin/Linux_64//find2mass P_FINDSDSS7=${BIN}/findsdss7 +++ P_FINDSDSS7=/home/woho/work/theli/theli//bin/Linux_64//findsdss7 P_FINDUCAC3=${BIN}/finducac3 +++ P_FINDUCAC3=/home/woho/work/theli/theli//bin/Linux_64//finducac3 P_FINDNOMAD1=${BIN}/findnomad1 +++ P_FINDNOMAD1=/home/woho/work/theli/theli//bin/Linux_64//findnomad1 P_VIZQUERY=${BIN}/vizquery +++ P_VIZQUERY=/home/woho/work/theli/theli//bin/Linux_64//vizquery P_SESAME=${BIN}/sesame +++ P_SESAME=/home/woho/work/theli/theli//bin/Linux_64//sesame P_ACLIENT=${BIN}/aclient +++ P_ACLIENT=/home/woho/work/theli/theli//bin/Linux_64//aclient P_SCAMP=${BIN}/scamp +++ P_SCAMP=/home/woho/work/theli/theli//bin/Linux_64//scamp P_RENAME=${BIN}/rename +++ P_RENAME=/home/woho/work/theli/theli//bin/Linux_64//rename P_MISSFITS=${BIN}/missfits +++ P_MISSFITS=/home/woho/work/theli/theli//bin/Linux_64//missfits P_SWARPFILTER=${BIN}/swarpfilter +++ P_SWARPFILTER=/home/woho/work/theli/theli//bin/Linux_64//swarpfilter P_FITSBLOCKEDIT=${BIN}/fitsblockedit +++ P_FITSBLOCKEDIT=/home/woho/work/theli/theli//bin/Linux_64//fitsblockedit P_FITSMASK=${BIN}/fitsmask +++ P_FITSMASK=/home/woho/work/theli/theli//bin/Linux_64//fitsmask P_FITSMEDIAN=${BIN}/fitsmedian +++ P_FITSMEDIAN=/home/woho/work/theli/theli//bin/Linux_64//fitsmedian P_FITSNANMASK=${BIN}/fitsnanmask +++ P_FITSNANMASK=/home/woho/work/theli/theli//bin/Linux_64//fitsnanmask P_FITSSTAT=${BIN}/fitsstat +++ P_FITSSTAT=/home/woho/work/theli/theli//bin/Linux_64//fitsstat P_FITSSPLITBAYER=${BIN}/fitssplitbayer +++ P_FITSSPLITBAYER=/home/woho/work/theli/theli//bin/Linux_64//fitssplitbayer P_FITSGUESSGEOM=${BIN}/fitsguessgeom +++ P_FITSGUESSGEOM=/home/woho/work/theli/theli//bin/Linux_64//fitsguessgeom P_SPLITVISIRFITSCUBE=${BIN}/split_visirfitscube +++ P_SPLITVISIRFITSCUBE=/home/woho/work/theli/theli//bin/Linux_64//split_visirfitscube P_SPLITSUPRIMECAM=${BIN}/splitsuprimecam +++ P_SPLITSUPRIMECAM=/home/woho/work/theli/theli//bin/Linux_64//splitsuprimecam P_PASTEMOSAICII=${BIN}/paste_mosaicII +++ P_PASTEMOSAICII=/home/woho/work/theli/theli//bin/Linux_64//paste_mosaicII P_PASTESOI=${BIN}/paste_soi +++ P_PASTESOI=/home/woho/work/theli/theli//bin/Linux_64//paste_soi P_PASTEY4KCAM=${BIN}/paste_Y4KCam +++ P_PASTEY4KCAM=/home/woho/work/theli/theli//bin/Linux_64//paste_Y4KCam P_PASTETEK2K=${BIN}/paste_Tek2K +++ P_PASTETEK2K=/home/woho/work/theli/theli//bin/Linux_64//paste_Tek2K P_GETSHIFT=${BIN}/get_shift +++ P_GETSHIFT=/home/woho/work/theli/theli//bin/Linux_64//get_shift P_FITSNONLINEARITY=${BIN}/fitsnonlinearity +++ P_FITSNONLINEARITY=/home/woho/work/theli/theli//bin/Linux_64//fitsnonlinearity P_FITSPIC=${BIN}/fitspic +++ P_FITSPIC=/home/woho/work/theli/theli//bin/Linux_64//fitspic P_FITSPOLYGON=${BIN}/fitspolygon +++ P_FITSPOLYGON=/home/woho/work/theli/theli//bin/Linux_64//fitspolygon P_DCRAW=${BIN}/dcraw +++ P_DCRAW=/home/woho/work/theli/theli//bin/Linux_64//dcraw P_DECSEXCONV=${BIN}/decsexconv +++ P_DECSEXCONV=/home/woho/work/theli/theli//bin/Linux_64//decsexconv P_STIFF=${BIN}/stiff +++ P_STIFF=/home/woho/work/theli/theli//bin/Linux_64//stiff P_SUBSKY=${BIN}/subsky +++ P_SUBSKY=/home/woho/work/theli/theli//bin/Linux_64//subsky P_GIFSICLE=${BIN}/gifsicle +++ P_GIFSICLE=/home/woho/work/theli/theli//bin/Linux_64//gifsicle P_XY2SKY=${BIN}/xy2sky +++ P_XY2SKY=/home/woho/work/theli/theli//bin/Linux_64//xy2sky P_SKY2XY=${BIN}/sky2xy +++ P_SKY2XY=/home/woho/work/theli/theli//bin/Linux_64//sky2xy P_GETKEY=${BIN}/getkey +++ P_GETKEY=/home/woho/work/theli/theli//bin/Linux_64//getkey P_SKY2XY_HELPER=${BIN}/sky2xy_helper +++ P_SKY2XY_HELPER=/home/woho/work/theli/theli//bin/Linux_64//sky2xy_helper P_GET_ROTIMSIZE=${BIN}/get_rotimsize +++ P_GET_ROTIMSIZE=/home/woho/work/theli/theli//bin/Linux_64//get_rotimsize P_CLEANSTRING=${BIN}/cleanstring +++ P_CLEANSTRING=/home/woho/work/theli/theli//bin/Linux_64//cleanstring P_NUMCPU=${BIN}/numcpu +++ P_NUMCPU=/home/woho/work/theli/theli//bin/Linux_64//numcpu P_GETSTATS=${BIN}/getstats +++ P_GETSTATS=/home/woho/work/theli/theli//bin/Linux_64//getstats P_CDELT2CD=${BIN}/cdelt2cd +++ P_CDELT2CD=/home/woho/work/theli/theli//bin/Linux_64//cdelt2cd P_GETCDMATRIX=${BIN}/get_cdmatrix +++ P_GETCDMATRIX=/home/woho/work/theli/theli//bin/Linux_64//get_cdmatrix P_GETPIXSCALE=${BIN}/get_pixscale +++ P_GETPIXSCALE=/home/woho/work/theli/theli//bin/Linux_64//get_pixscale P_GETPOSANGLE=${BIN}/get_posangle +++ P_GETPOSANGLE=/home/woho/work/theli/theli//bin/Linux_64//get_posangle P_GETREFCATRADIUS=${BIN}/get_refcat_radius +++ P_GETREFCATRADIUS=/home/woho/work/theli/theli//bin/Linux_64//get_refcat_radius P_MERGEDAT=${BIN}/mergedat +++ P_MERGEDAT=/home/woho/work/theli/theli//bin/Linux_64//mergedat P_ROTATECDMATRIX=${BIN}/rotate_cdmatrix +++ P_ROTATECDMATRIX=/home/woho/work/theli/theli//bin/Linux_64//rotate_cdmatrix P_BACKGROUNDDYNAMIC=${BIN}/background_dynamic +++ P_BACKGROUNDDYNAMIC=/home/woho/work/theli/theli//bin/Linux_64//background_dynamic P_BACKGROUNDSTATIC=${BIN}/background_static +++ P_BACKGROUNDSTATIC=/home/woho/work/theli/theli//bin/Linux_64//background_static P_MJD=${BIN}/mjd +++ P_MJD=/home/woho/work/theli/theli//bin/Linux_64//mjd P_LST=${BIN}/lst +++ P_LST=/home/woho/work/theli/theli//bin/Linux_64//lst P_IMALYZER=${BIN}/imalyzer +++ P_IMALYZER=/home/woho/work/theli/theli//bin/Linux_64//imalyzer P_E2ELL=${BIN}/e2ell +++ P_E2ELL=/home/woho/work/theli/theli//bin/Linux_64//e2ell P_FITSSMOOTHEDGE=${BIN}/fitssmoothedge +++ P_FITSSMOOTHEDGE=/home/woho/work/theli/theli//bin/Linux_64//fitssmoothedge P_FITSEXTRACTEXT=${BIN}/fitsextractext +++ P_FITSEXTRACTEXT=/home/woho/work/theli/theli//bin/Linux_64//fitsextractext P_ERRTEST=${BIN}/errtest +++ P_ERRTEST=/home/woho/work/theli/theli//bin/Linux_64//errtest P_BUILDINDEX=${BIN_ANET}/build-index +++ P_BUILDINDEX=/home/woho/work/theli/theli//gui/packages/astrometry/build/bin//build-index P_SOLVEFIELD=${BIN_ANET}/solve-field +++ P_SOLVEFIELD=/home/woho/work/theli/theli//gui/packages/astrometry/build/bin//solve-field P_XCORR=${BIN}/xcorr +++ P_XCORR=/home/woho/work/theli/theli//bin/Linux_64//xcorr # # load the parameter files # . ~/.theli/param_set1.ini +++ . /home/woho/.theli/param_set1.ini PROJECTNAME=milkyway_24mm_tracked ++++ PROJECTNAME=milkyway_24mm_tracked NPARA=8 ++++ NPARA=8 GUIVERSION=2.7.0 ++++ GUIVERSION=2.7.0 KERNEL=Linux ++++ KERNEL=Linux NFRAMES=9 ++++ NFRAMES=9 V_PRE_SPLITMIRCUBE=N ++++ V_PRE_SPLITMIRCUBE=N V_DO_BIAS=Y ++++ V_DO_BIAS=Y V_DO_FLAT=Y ++++ V_DO_FLAT=Y V_NONLINCORR=N ++++ V_NONLINCORR=N V_AP_SERVER=vizier.u-strasbg.fr ++++ V_AP_SERVER=vizier.u-strasbg.fr V_AP_MAGLIM=7 ++++ V_AP_MAGLIM=7 V_AP_RADIUS=5400 ++++ V_AP_RADIUS=5400 V_AP_REFRA=19:00:00 ++++ V_AP_REFRA=19:00:00 V_AP_REFDEC=40:00:00 ++++ V_AP_REFDEC=40:00:00 . ~/.theli/param_set2.ini +++ . /home/woho/.theli/param_set2.ini V_PRE_RENAME_CHECKED=0 ++++ V_PRE_RENAME_CHECKED=0 V_RENAME_FITSKEY=ARCFILE ++++ V_RENAME_FITSKEY=ARCFILE V_SORT_FITSKEY=OBJECT ++++ V_SORT_FITSKEY=OBJECT V_SORT_BIAS= ++++ V_SORT_BIAS= V_SORT_DARK= ++++ V_SORT_DARK= V_SORT_DOMEFLAT= ++++ V_SORT_DOMEFLAT= V_SORT_SKYFLAT= ++++ V_SORT_SKYFLAT= V_SORT_STD= ++++ V_SORT_STD= V_PRE_XTALK_NOR_CHECKED=0 ++++ V_PRE_XTALK_NOR_CHECKED=0 V_PRE_XTALK_ROW_CHECKED=0 ++++ V_PRE_XTALK_ROW_CHECKED=0 V_PRE_XTALK_MULTI_CHECKED=0 ++++ V_PRE_XTALK_MULTI_CHECKED=0 V_PRE_XTALK_NOR_AMPLITUDE= ++++ V_PRE_XTALK_NOR_AMPLITUDE= V_PRE_XTALK_ROW_AMPLITUDE= ++++ V_PRE_XTALK_ROW_AMPLITUDE= V_PRE_XTALK_NOR_BUTTONID=-1 ++++ V_PRE_XTALK_NOR_BUTTONID=-1 V_PRE_XTALK_ROW_BUTTONID=-1 ++++ V_PRE_XTALK_ROW_BUTTONID=-1 V_PRE_XTALK_MULTI_BUTTONID=-1 ++++ V_PRE_XTALK_MULTI_BUTTONID=-1 V_PRE_XTALK_MULTI_NSECTION= ++++ V_PRE_XTALK_MULTI_NSECTION= V_CAL_OVSCANNLOW=0 ++++ V_CAL_OVSCANNLOW=0 V_CAL_OVSCANNHIGH=1 ++++ V_CAL_OVSCANNHIGH=1 V_CAL_BIASNLOW=0 ++++ V_CAL_BIASNLOW=0 V_CAL_BIASNHIGH=1 ++++ V_CAL_BIASNHIGH=1 V_CAL_DARKNLOW=0 ++++ V_CAL_DARKNLOW=0 V_CAL_DARKNHIGH=1 ++++ V_CAL_DARKNHIGH=1 V_CAL_FLATNLOW=0 ++++ V_CAL_FLATNLOW=0 V_CAL_FLATNHIGH=1 ++++ V_CAL_FLATNHIGH=1 V_CAL_USEDARK=FALSE ++++ V_CAL_USEDARK=FALSE V_BACK_NLOW=0 ++++ V_BACK_NLOW=0 V_BACK_NHIGH=1 ++++ V_BACK_NHIGH=1 V_BACK_DETECTTHRESH=1.3 ++++ V_BACK_DETECTTHRESH=1.3 V_BACK_DETECTMINAREA=5 ++++ V_BACK_DETECTMINAREA=5 V_BACK_ILLUMSMOOTH= ++++ V_BACK_ILLUMSMOOTH= V_BACK_FRINGESMOOTH= ++++ V_BACK_FRINGESMOOTH= V_BACK_WINDOWSIZE=0 ++++ V_BACK_WINDOWSIZE=0 V_BACK_GAPSIZE=1.0 ++++ V_BACK_GAPSIZE=1.0 V_BACK_APPLYMODE=0 ++++ V_BACK_APPLYMODE=0 V_BACK_COMBINEMETHOD=0 ++++ V_BACK_COMBINEMETHOD=0 V_BACK_SEXFILTER=Y ++++ V_BACK_SEXFILTER=Y V_BACK_ADJUSTGAINS=N ++++ V_BACK_ADJUSTGAINS=N V_BACK_FRINGESCALE=Y ++++ V_BACK_FRINGESCALE=Y V_BACK_SKY2PASS=Y ++++ V_BACK_SKY2PASS=Y V_COLLDETECTTHRESH= ++++ V_COLLDETECTTHRESH= V_COLLDETECTMINAREA= ++++ V_COLLDETECTMINAREA= V_COLLREJECTTHRESH=1.5 ++++ V_COLLREJECTTHRESH=1.5 V_COLLDIRECTION=x ++++ V_COLLDIRECTION=x V_COLLXMIN= ++++ V_COLLXMIN= V_COLLXMAX= ++++ V_COLLXMAX= V_COLLYMIN= ++++ V_COLLYMIN= V_COLLYMAX= ++++ V_COLLYMAX= V_COLLMASKACTION=1 ++++ V_COLLMASKACTION=1 V_COLLAUTOTHRESHOLD=0 ++++ V_COLLAUTOTHRESHOLD=0 V_WEIGHTBINMIN=-100 ++++ V_WEIGHTBINMIN=-100 V_WEIGHTBINMAX=500 ++++ V_WEIGHTBINMAX=500 V_WEIGHTBINSIZE=4 ++++ V_WEIGHTBINSIZE=4 V_WEIGHTLOWTHRESHOLD= ++++ V_WEIGHTLOWTHRESHOLD= V_WEIGHTHIGHTHRESHOLD= ++++ V_WEIGHTHIGHTHRESHOLD= V_GLOBWFLATMIN=0.5 ++++ V_GLOBWFLATMIN=0.5 V_GLOBWFLATMAX=1.6 ++++ V_GLOBWFLATMAX=1.6 V_GLOBWDARKMIN= ++++ V_GLOBWDARKMIN= V_GLOBWDARKMAX= ++++ V_GLOBWDARKMAX= V_GLOBWDARKDIR= ++++ V_GLOBWDARKDIR= V_COSMICSTHRESHOLD=0.1 ++++ V_COSMICSTHRESHOLD=0.1 V_COSMICDT=6 ++++ V_COSMICDT=6 V_COSMICDMIN=1 ++++ V_COSMICDMIN=1 V_DEFECT_KERNELSIZE= ++++ V_DEFECT_KERNELSIZE= V_DEFECT_ROWTOL= ++++ V_DEFECT_ROWTOL= V_DEFECT_COLTOL= ++++ V_DEFECT_COLTOL= V_DEFECT_CLUSTOL= ++++ V_DEFECT_CLUSTOL= V_DEFECT_KERNELSIZE_SF= ++++ V_DEFECT_KERNELSIZE_SF= V_DEFECT_ROWTOL_SF= ++++ V_DEFECT_ROWTOL_SF= V_DEFECT_COLTOL_SF= ++++ V_DEFECT_COLTOL_SF= V_DEFECT_CLUSTOL_SF= ++++ V_DEFECT_CLUSTOL_SF= V_BLOOMLOWLIMIT=20000 ++++ V_BLOOMLOWLIMIT=20000 V_BLOOMMINAREA=100 ++++ V_BLOOMMINAREA=100 V_BLOOMWIDTH=0 ++++ V_BLOOMWIDTH=0 V_WEIGHT_BINOUTLIER=FALSE ++++ V_WEIGHT_BINOUTLIER=FALSE V_GLOBW_UNIFORMWEIGHT=FALSE ++++ V_GLOBW_UNIFORMWEIGHT=FALSE V_MASKBLOOMSPIKE=0 ++++ V_MASKBLOOMSPIKE=0 V_AP_DETECTTHRESH=40.0 ++++ V_AP_DETECTTHRESH=40.0 V_AP_DETECTMINAREA=5 ++++ V_AP_DETECTMINAREA=5 V_DEBLENDMINCONT=0.0005 ++++ V_DEBLENDMINCONT=0.0005 V_AP_LOWNUM=1 ++++ V_AP_LOWNUM=1 V_SEXCATMINFWHM=1.5 ++++ V_SEXCATMINFWHM=1.5 V_SEXCATFLAG=8 ++++ V_SEXCATFLAG=8 V_SATURATION=10000 ++++ V_SATURATION=10000 V_SEXBACKLEVEL= ++++ V_SEXBACKLEVEL= V_AP_FILTER=N ++++ V_AP_FILTER=N V_SCAMP_MAXPOSANGLE=2.0 ++++ V_SCAMP_MAXPOSANGLE=2.0 V_SCAMP_MAXOFFSET=2.0 ++++ V_SCAMP_MAXOFFSET=2.0 V_SCAMP_MAXSCALE=1.05 ++++ V_SCAMP_MAXSCALE=1.05 V_SCAMP_SNLOW=5 ++++ V_SCAMP_SNLOW=5 V_SCAMP_SNHIGH=20 ++++ V_SCAMP_SNHIGH=20 V_SCAMP_FGROUPRADIUS=180.0 ++++ V_SCAMP_FGROUPRADIUS=180.0 V_SCAMP_CROSSIDRADIUS=500 ++++ V_SCAMP_CROSSIDRADIUS=500 V_SCAMP_ASTREFWEIGHT=1.0 ++++ V_SCAMP_ASTREFWEIGHT=1.0 V_SCAMP_ASTRINSTRUKEY=FILTER,POINTING ++++ V_SCAMP_ASTRINSTRUKEY=FILTER,POINTING V_SCAMP_PHOTINSTRUKEY=FILTER ++++ V_SCAMP_PHOTINSTRUKEY=FILTER V_SCAMP_POLYORDER=4 ++++ V_SCAMP_POLYORDER=4 V_SCAMP_POLYORDER2= ++++ V_SCAMP_POLYORDER2= V_SCAMP_DISTORTGROUPS= ++++ V_SCAMP_DISTORTGROUPS= V_SCAMP_DISTORTKEYS= ++++ V_SCAMP_DISTORTKEYS= V_SCAMP_STABILITY=INSTRUMENT ++++ V_SCAMP_STABILITY=INSTRUMENT V_SCAMP_MOSAICTYPE=UNCHANGED ++++ V_SCAMP_MOSAICTYPE=UNCHANGED V_SCAMP_FOCALPLANE=DEFAULT ++++ V_SCAMP_FOCALPLANE=DEFAULT V_SCAMP_MATCHFLIPPED=N ++++ V_SCAMP_MATCHFLIPPED=N V_ANET_MAXSCALE=1.05 ++++ V_ANET_MAXSCALE=1.05 V_ANET_POLYORDER=3 ++++ V_ANET_POLYORDER=3 V_ANET_SCAMPDISTORT=N ++++ V_ANET_SCAMPDISTORT=N V_ABSPHOT_FILTER=B ++++ V_ABSPHOT_FILTER=B V_ABSPHOT_COLORFIXED=0.1 ++++ V_ABSPHOT_COLORFIXED=0.1 V_ABSPHOT_EXTINCTION=0 ++++ V_ABSPHOT_EXTINCTION=0 V_ABSPHOT_ZPMIN=24 ++++ V_ABSPHOT_ZPMIN=24 V_ABSPHOT_ZPMAX=25 ++++ V_ABSPHOT_ZPMAX=25 V_ABSPHOT_STDMINMAG=0.0 ++++ V_ABSPHOT_STDMINMAG=0.0 V_ABSPHOT_MAXPHOTERR=0.05 ++++ V_ABSPHOT_MAXPHOTERR=0.05 V_ABSPHOT_STDCAT_DIRECT=SDSS ++++ V_ABSPHOT_STDCAT_DIRECT=SDSS V_ABSPHOT_STDFILTERM2=u ++++ V_ABSPHOT_STDFILTERM2=u V_ABSPHOT_STDCAT_INDIRECT=LANDOLT_UBVRI ++++ V_ABSPHOT_STDCAT_INDIRECT=LANDOLT_UBVRI V_ABSPHOT_STDFILTER=U ++++ V_ABSPHOT_STDFILTER=U V_ABSPHOT_STDCOLOR=UmB ++++ V_ABSPHOT_STDCOLOR=UmB V_ABSPHOT_FITTINGMETHODM2=CHIP ++++ V_ABSPHOT_FITTINGMETHODM2=CHIP V_COADD_REFRA=19:00:00 ++++ V_COADD_REFRA=19:00:00 V_COADD_REFDEC=40:00:00 ++++ V_COADD_REFDEC=40:00:00 V_COADD_IDENT=(null) ++++ V_COADD_IDENT=(null) V_COADD_SEEING= ++++ V_COADD_SEEING= V_COADD_RZP= ++++ V_COADD_RZP= V_COADD_PIXSCALE=120 ++++ V_COADD_PIXSCALE=120 V_COADD_SIZEX= ++++ V_COADD_SIZEX= V_COADD_SIZEY= ++++ V_COADD_SIZEY= V_COADD_SKYPOSANGLE= ++++ V_COADD_SKYPOSANGLE= V_COADD_CHIPS="" ++++ V_COADD_CHIPS= V_COADD_FILTERTHRESHOLD= ++++ V_COADD_FILTERTHRESHOLD= V_COADD_FILTERCLUSTERSIZE= ++++ V_COADD_FILTERCLUSTERSIZE= V_COADD_FILTERBORDERWIDTH= ++++ V_COADD_FILTERBORDERWIDTH= V_COADD_SMOOTHEDGE= ++++ V_COADD_SMOOTHEDGE= V_COADD_PROPMOTIONRA= ++++ V_COADD_PROPMOTIONRA= V_COADD_PROPMOTIONDEC= ++++ V_COADD_PROPMOTIONDEC= V_COADD_KERNEL=LANCZOS3 ++++ V_COADD_KERNEL=LANCZOS3 V_COADD_FILTER= ++++ V_COADD_FILTER= V_COADD_PROJECTION=TAN ++++ V_COADD_PROJECTION=TAN V_COADD_CELESTIALTYPE=EQUATORIAL ++++ V_COADD_CELESTIALTYPE=EQUATORIAL V_COADD_COMBINETYPE=WEIGHTED ++++ V_COADD_COMBINETYPE=WEIGHTED . ~/.theli/param_set3.ini +++ . /home/woho/.theli/param_set3.ini V_SKYSUBDETECTTHRESH=1.5 ++++ V_SKYSUBDETECTTHRESH=1.5 V_SKYSUBDETECTMINAREA=5 ++++ V_SKYSUBDETECTMINAREA=5 V_SKYSUBBACKSIZE=1024 ++++ V_SKYSUBBACKSIZE=1024 V_SAVESKYMODEL=N ++++ V_SAVESKYMODEL=N V_CSKY_RA1= ++++ V_CSKY_RA1= V_CSKY_RA2= ++++ V_CSKY_RA2= V_CSKY_DEC1= ++++ V_CSKY_DEC1= V_CSKY_DEC2= ++++ V_CSKY_DEC2= V_CSKY_XMIN= ++++ V_CSKY_XMIN= V_CSKY_XMAX= ++++ V_CSKY_XMAX= V_CSKY_YMIN= ++++ V_CSKY_YMIN= V_CSKY_YMAX= ++++ V_CSKY_YMAX= V_CSKYMANUAL= ++++ V_CSKYMANUAL= V_CSKYMETHOD=0 ++++ V_CSKYMETHOD=0 export PYTHONPATH=/home/woho/work/theli/gui-2.7.1/packages//python/ +++ export PYTHONPATH=/home/woho/work/theli/gui-2.7.1/packages//python/ +++ PYTHONPATH=/home/woho/work/theli/gui-2.7.1/packages//python/ # Geographical latitude of the observatory OBSLAT=47.8 ++ OBSLAT=47.8 # Pixel scale in x and y [degrees] (CDELT1/2 keywords) PIXSCX=-0.0149167 ++ PIXSCX=-0.0149167 PIXSCY=0.0149167 ++ PIXSCY=0.0149167 # Pixel scale in arcsec PIXSCALE=53.7 ++ PIXSCALE=53.7 # Detector gain GAIN=1.0 ++ GAIN=1.0 # Overscan regions. The values are the x-range. # The min is given by OVSCANX1, the max by OVSCANX2. # We need separate regions for each chip. OVSCANX1=([1]=0) ++ OVSCANX1=([1]=0) OVSCANX2=([1]=0) ++ OVSCANX2=([1]=0) # Sections for the cutting. Select those pixels that receive light. # Give min values for x and y, and the extent in x and y. CUTX=([1]=1) ++ CUTX=([1]=1) CUTY=([1]=1) ++ CUTY=([1]=1) SIZEX=([1]=5794) ++ SIZEX=([1]=5794) SIZEY=([1]=3868) ++ SIZEY=([1]=3868) # Reference pixels for each chip. REFPIXX=([1]=2897) ++ REFPIXX=([1]=2897) REFPIXY=([1]=1934) ++ REFPIXY=([1]=1934) USERDIR=~/.theli/instruments_user/ + USERDIR=/home/woho/.theli/instruments_user/ V_SCAMP_MODE=$4 + V_SCAMP_MODE= # extend the distortion parameters if necessary if [ "${V_SCAMP_POLYORDER2}"_A != "_A" ]; then V_SCAMP_POLYORDER="${V_SCAMP_POLYORDER},${V_SCAMP_POLYORDER2}" fi + '[' _A '!=' _A ']' if [ "${V_SCAMP_DISTORTGROUPS}"_A != "_A" ]; then V_SCAMP_DISTORTGROUPS="1,1,${V_SCAMP_DISTORTGROUPS}" else V_SCAMP_DISTORTGROUPS="1,1" fi + '[' _A '!=' _A ']' + V_SCAMP_DISTORTGROUPS=1,1 if [ "${V_SCAMP_DISTORTKEYS}"_A != "_A" ]; then V_SCAMP_DISTORTKEYS="X_IMAGE,Y_IMAGE,${V_SCAMP_DISTORTKEYS}" else V_SCAMP_DISTORTKEYS="X_IMAGE,Y_IMAGE" fi + '[' _A '!=' _A ']' + V_SCAMP_DISTORTKEYS=X_IMAGE,Y_IMAGE ############################################################# # Delete old solutions and re-create the directories ############################################################# cd /$1/$2/ + cd //home/woho/work/astro/milkyway_24mm_tracked//lights/ mkdir -p astrom_photom_scamp + mkdir -p astrom_photom_scamp cd astrom_photom_scamp + cd astrom_photom_scamp test -d cat && rm -rf cat + test -d cat + rm -rf cat test -d headers && rm -rf headers + test -d headers + rm -rf headers test -d plots && rm -rf plots + test -d plots + rm -rf plots mkdir cat + mkdir cat mkdir headers + mkdir headers mkdir plots + mkdir plots mkdir -p backup + mkdir -p backup cd .. + cd .. test -d headers_scamp && rm -rf headers_scamp + test -d headers_scamp + rm -rf headers_scamp test -d headers && rm -rf headers + test -d headers + rm -rf headers test -d plots && rm plots/* + test -d plots + rm plots/astr_chi2_1.png plots/astr_interror1d_1.png plots/astr_interror2d_1.png plots/astr_referror1d_1.png plots/astr_referror2d_1.png plots/distort_1.png plots/distort_2.png plots/distort_3.png plots/fgroups_1.png plots/phot_error_1.png plots/scamp.log plots/scamp.xml mkdir headers_scamp headers + mkdir headers_scamp headers test -f ${TEMPDIR}/scamp_global.ahead && rm ${TEMPDIR}/scamp_global.ahead + test -f /home/woho/.theli/tmp//scamp_global.ahead ######################################################## # Link the previously created composite catalogs. # Use only those for which images are currently # present in the SCIENCE directory ######################################################## if [ "${NCHIPS}" -gt "1" ]; then ls -1 /$1/$2/cat/*_scamp.cat > ${TEMPDIR}/scampcatalogs_$$ exec < ${TEMPDIR}/scampcatalogs_$$ while read file do BASE=`basename $file _scamp.cat` images=`${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits` if [ -n "${images}" ]; then catname=`basename $file` ln -s ${file} /$1/$2/astrom_photom_scamp/cat/${catname} fi done else ls -1 /$1/$2/cat/*$3.cat1 > ${TEMPDIR}/scampcatalogs_$$ exec < ${TEMPDIR}/scampcatalogs_$$ while read file do BASE=`basename $file _1$3.cat1` images=`${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits` if [ -n "${images}" ]; then ln -s ${file} /$1/$2/astrom_photom_scamp/cat/${BASE}_scamp.cat fi done fi + '[' 1 -gt 1 ']' + ls -1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_R_1OFC.cat1 + exec + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1756_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1756_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1756_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1756_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1756_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1756_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1757_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1757_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1757_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1757_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1757_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1757_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1758_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1758_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1758_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1758_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1758_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1758_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1759_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1759_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1759_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1759_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1759_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1759_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1760_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1760_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1760_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1760_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1760_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1760_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1761_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1761_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1761_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1761_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1761_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1761_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1762_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1762_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1762_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1762_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1762_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1762_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1763_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1763_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1763_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1763_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1763_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1763_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1764_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1764_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1764_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1764_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1764_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1764_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1765_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1765_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1765_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1765_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1765_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1765_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1766_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1766_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1766_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1766_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1766_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1766_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1767_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1767_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1767_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1767_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1767_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1767_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1768_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1768_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1768_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1768_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1768_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1768_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1769_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1769_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1769_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1769_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1769_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1769_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1770_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1770_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1770_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1770_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1770_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1770_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1778_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1778_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1778_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1778_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1778_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1778_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1779_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1779_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1779_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1779_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1779_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1779_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1780_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1780_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1780_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1780_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1780_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1780_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1781_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1781_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1781_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1781_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1781_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1781_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1782_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1782_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1782_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1782_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1782_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1782_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1783_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1783_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1783_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1783_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1783_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1783_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1784_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1784_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1784_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1784_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1784_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1784_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1785_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1785_B_*OFC.fits' + images=//home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_B_1OFC.fits + '[' -n //home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_B_1OFC.fits ']' + ln -s //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/astrom_photom_scamp/cat/eos5d3_101EOS5D_HM6C1785_B_scamp.cat + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1785_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1785_G_*OFC.fits' + images=//home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_G_1OFC.fits + '[' -n //home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_G_1OFC.fits ']' + ln -s //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/astrom_photom_scamp/cat/eos5d3_101EOS5D_HM6C1785_G_scamp.cat + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1785_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1785_R_*OFC.fits' + images=//home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_R_1OFC.fits + '[' -n //home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_R_1OFC.fits ']' + ln -s //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 //home/woho/work/astro/milkyway_24mm_tracked//lights/astrom_photom_scamp/cat/eos5d3_101EOS5D_HM6C1785_R_scamp.cat + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1786_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1786_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1786_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1786_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1786_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1786_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1787_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1787_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1787_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1787_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1787_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1787_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1788_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1788_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1788_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1788_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1788_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1788_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1789_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1789_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1789_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1789_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1789_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1789_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1790_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1790_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1790_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1790_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1790_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1790_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1791_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1791_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1791_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1791_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1791_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1791_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1792_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1792_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1792_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1792_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1792_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1792_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1795_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1795_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1795_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1795_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1795_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1795_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1796_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1796_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1796_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1796_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1796_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1796_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1797_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1797_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1797_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1797_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1797_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1797_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1798_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1798_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1798_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1798_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1798_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1798_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1799_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1799_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1799_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1799_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1799_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1799_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1800_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1800_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1800_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1800_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1800_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1800_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1801_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1801_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1801_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1801_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1801_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1801_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1802_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1802_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1802_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1802_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1802_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1802_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1803_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1803_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1803_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1803_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1803_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1803_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1804_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1804_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1804_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1804_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1804_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1804_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1805_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1805_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1805_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1805_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1805_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1805_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1806_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1806_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1806_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1806_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1806_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1806_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1807_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1807_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1807_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1807_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1807_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1807_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1808_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1808_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1808_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1808_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1808_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1808_R_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_B_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1809_B ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1809_B_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_G_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1809_G ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1809_G_*OFC.fits' + images= + '[' -n '' ']' + read file basename $file _1$3.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_R_1OFC.cat1 _1OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1809_R ${P_FIND} /$1/$2/ -maxdepth 1 -name ${BASE}_\*$3.fits ++ /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name 'eos5d3_101EOS5D_HM6C1809_R_*OFC.fits' + images= + '[' -n '' ']' + read file cd astrom_photom_scamp/cat + cd astrom_photom_scamp/cat # check if any catalogs are present ncat=`ls | grep scamp.cat | wc | ${P_GAWK} '{print $1}'` ls | grep scamp.cat | wc | ${P_GAWK} '{print $1}' ++ ls ++ grep scamp.cat ++ wc ++ /usr/bin/gawk '{print $1}' + ncat=3 if [ "${ncat}" = "0" ]; then ${P_ERRTEST} 0 echo "No scamp catalogs found! Did you create the source catalogs?" exit fi + '[' 3 = 0 ']' ########################################################## # If a global .ahead file does not exist, then # create one based on the first exposure in the list. # Only needed for multi-chip cameras, and only if # existing headers from a previous scamp run don't exist ########################################################## if [ "${NCHIPS}" -gt "1" ]; then if [ "${V_SCAMP_FOCALPLANE}" = "NEW" ] || \ [ ! -f ${PREFIXDIR}/${INSTDIR}/${INSTRUMENT:?}.ahead ]; then # We need to delete all *.head and *.ahead files rm -f *.head *.ahead # for some reason scamp gives better results if the # 'ordering' of files is shuffled in time! Do not ask! ${P_FIND} ../cat/ -maxdepth 1 -name \*scamp.cat > ${TEMPDIR}/scamp_cats_$$ # ${P_FIND} ../cat/ -maxdepth 1 -name \*scamp.cat | \ # ${P_GAWK} '{line[NR] = $0} END { srand(); # for (i = 1; i <= NR; i++) { # n = int(rand() * NR) + 1; # temp = line[i]; # line[i] = line[n]; # line[n] = temp; # } # for (i = 1; i <= NR; i++) { # print line[i]; # }}' > ${TEMPDIR}/scamp_cats_$$ globalheadercat=`${P_GAWK} '(NR==1)' ${TEMPDIR}/scamp_cats_$$` globalheaderbase=`basename ${globalheadercat} _scamp.cat` if [ "${V_SCAMP_MODE}" = "photom" ]; then V_SCAMP_POLYORDER=2 if [ "${NCHIPS}" = "1" ]; then V_SCAMP_POLYORDER=1 fi V_SCAMP_MOSAICTYPE=LOOSE V_SCAMP_STABILITY=EXPOSURE # do not use saturated sources FLAGS="-FLAGS_MASK 244" # do not use manually downloaded reference catalogue # as it wouldn't match if different standard star fields # are loaded at the same time ${P_SCAMP} @${TEMPDIR}/scamp_cats_$$ \ -c ${DATACONF}/scamp.conf \ -ASTREF_CATALOG USNO-B1 \ -CDSCLIENT_EXEC aclient \ -SAVE_REFCATALOG N \ -REF_SERVER cocat1.u-strasbg.fr \ -NTHREADS ${NPARA} \ -DISTORT_DEGREES ${V_SCAMP_POLYORDER} \ -DISTORT_GROUPS ${V_SCAMP_DISTORTGROUPS} \ -POSITION_MAXERR ${V_SCAMP_MAXOFFSET} \ -POSANGLE_MAXERR ${V_SCAMP_MAXPOSANGLE} \ -PIXSCALE_MAXERR ${V_SCAMP_MAXSCALE} \ -FGROUP_RADIUS ${V_SCAMP_FGROUPRADIUS} \ -CROSSID_RADIUS ${V_SCAMP_CROSSIDRADIUS} \ -ASTRINSTRU_KEY ${V_SCAMP_ASTRINSTRUKEY} \ -PHOTINSTRU_KEY ${V_SCAMP_PHOTINSTRUKEY} \ -SN_THRESHOLDS ${V_SCAMP_SNLOW},${V_SCAMP_SNHIGH} \ -MOSAIC_TYPE ${V_SCAMP_MOSAICTYPE} \ -STABILITY_TYPE ${V_SCAMP_STABILITY} \ -MATCH_FLIPPED ${V_SCAMP_MATCHFLIPPED} \ -ASTREF_WEIGHT ${V_SCAMP_ASTREFWEIGHT} \ ${FLAGS} else # -ASTREFCAT_NAME ~/.theli/scripts/theli_mystd_scamp_std.cat \ ${P_SCAMP} @${TEMPDIR}/scamp_cats_$$ \ -c ${DATACONF}/scamp.conf \ -CDSCLIENT_EXEC aclient \ -ASTREFCAT_NAME ~/.theli/scripts/theli_mystd_scamp.cat \ -NTHREADS ${NPARA} \ -MOSAIC_TYPE LOOSE \ -DISTORT_DEGREES ${V_SCAMP_POLYORDER} \ -DISTORT_GROUPS ${V_SCAMP_DISTORTGROUPS} \ -POSITION_MAXERR ${V_SCAMP_MAXOFFSET} \ -POSANGLE_MAXERR ${V_SCAMP_MAXPOSANGLE} \ -PIXSCALE_MAXERR ${V_SCAMP_MAXSCALE} \ -FGROUP_RADIUS ${V_SCAMP_FGROUPRADIUS} \ -CROSSID_RADIUS ${V_SCAMP_CROSSIDRADIUS} \ -ASTRINSTRU_KEY ${V_SCAMP_ASTRINSTRUKEY} \ -PHOTINSTRU_KEY ${V_SCAMP_PHOTINSTRUKEY} \ -MATCH_FLIPPED ${V_SCAMP_MATCHFLIPPED} \ -SN_THRESHOLDS ${V_SCAMP_SNLOW},${V_SCAMP_SNHIGH} \ -STABILITY_TYPE ${V_SCAMP_STABILITY} \ -ASTREF_WEIGHT ${V_SCAMP_ASTREFWEIGHT} fi # keep only CRPIX1/2 and the CD-matrix ${P_GAWK} '($1~/CRPIX/ || $1=="CD1_1" || $1=="CD1_2" || $1=="CD2_1" || $1=="CD2_2" || $1=="END")' \ ${globalheaderbase}_scamp.head > ${TEMPDIR}/scamp_global.ahead # Check if a default global header file exists # for this instrument. If not, create it. if [ ! -f "${USERDIR}/${INSTRUMENT}.ahead" ]; then cp ${TEMPDIR}/scamp_global.ahead ${USERDIR}/${INSTRUMENT}.ahead fi fi # Check if the default global header file shall be used # or the one determined from this particular data set. if [ "${V_SCAMP_FOCALPLANE}" = "DEFAULT" ]; then if [ -f "${DIR}/${INSTDIR}/${INSTRUMENT}.ahead" ]; then aheader_global_tmp=${DIR}/${INSTDIR}/${INSTRUMENT}.ahead else aheader_global_tmp=/${USERDIR}/${INSTRUMENT}.ahead fi # get the position angle of the current data set, # and rotate the default .ahead file accordingly tmpdir=`pwd` cd /$1/$2/astrom_photom_scamp/cat/ ls *_scamp.cat > ${TEMPDIR}/pa_list_$$ pa_cat=`${P_GAWK} '(NR==1) {print $1}' ${TEMPDIR}/pa_list_$$` pa_image=`basename ${pa_cat} _scamp.cat`"_1"$3.fits pa=`${P_GETPOSANGLE} -f $1/$2/${pa_image}` # the position angle of the current aheader file cd11=`grep CD1_1 ${aheader_global_tmp} | awk '(NR==1) {print $3}'` cd12=`grep CD1_2 ${aheader_global_tmp} | awk '(NR==1) {print $3}'` cd21=`grep CD2_1 ${aheader_global_tmp} | awk '(NR==1) {print $3}'` cd22=`grep CD2_2 ${aheader_global_tmp} | awk '(NR==1) {print $3}'` paahead=`${P_GETPOSANGLE} -c ${cd11} ${cd12} ${cd21} ${cd22}` padiff=`echo ${pa} ${paahead} | ${P_GAWK} '{if ($1-$2<0.) print $2-$1; else print $1-$2}'` # increase POSANGLE_MAXERR if the difference between nominal FP angle and actual PA is larger than # the user provided value newpa=`echo ${V_SCAMP_MAXPOSANGLE} ${padiff} | ${P_GAWK} '{if ($2>$1) a=int($2+1.); else a=0} END {if (a>180) a=180; if (a>0) print a}'` if [ "${newpa}_A" != "_A" ]; then V_SCAMP_MAXPOSANGLE=${newpa} fi rotate=`echo ${pa} ${paahead} | ${P_GAWK} '{a=$1-$2; if (a<0) a=$2-$1} END {if (a>1.5 && a<358.5 || a<-1.5 && a>-358.5) print "Y"; else print "N"}'` # we rotate the aheader file if the difference is larger than 1.5 degrees # if [ "${rotate}" = "Y" ]; then # ${P_ROTATECDMATRIX} \ # -i ${aheader_global_tmp} \ # -o ${TEMPDIR}/scamp_global.ahead \ # -p ${pa} # fi # aheader_global=${TEMPDIR}/scamp_global.ahead # comment this line if you uncomment the section above aheader_global=${aheader_global_tmp} cd ${tmpdir} fi if [ "${V_SCAMP_FOCALPLANE}" = "NEW" ]; then aheader_global=${TEMPDIR}/scamp_global.ahead fi fi + '[' 1 -gt 1 ']' ######################################################################## # Create a list of exposures that contains the root file name, only. # (multi-chip cameras represented by one entry only) ######################################################################## test -f ${TEMPDIR}/allscampcats.txt_$$ && rm ${TEMPDIR}/allscampcats.txt_$$ + test -f /home/woho/.theli/tmp//allscampcats.txt_17389 ${P_FIND} /$1/$2/ -maxdepth 1 -name \*$3.fits | ${P_GAWK} -F/ '{print $NF}' | ${P_SORT} > \ ${TEMPDIR}/allscampimages.txt_$$ + /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/ -maxdepth 1 -name '*OFC.fits' + /usr/bin/gawk -F/ '{print $NF}' + /usr/bin/sort exec < ${TEMPDIR}/allscampimages.txt_$$ + exec while read file do BASE=`basename ${file} .fits` if [ -f /$1/$2/cat/"${BASE}".cat1 ]; then echo "${BASE}".cat1 >> ${TEMPDIR}/allscampcats.txt_$$ fi done + read file basename ${file} .fits ++ basename eos5d3_101EOS5D_HM6C1785_B_1OFC.fits .fits + BASE=eos5d3_101EOS5D_HM6C1785_B_1OFC + '[' -f //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 ']' + echo eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 + read file basename ${file} .fits ++ basename eos5d3_101EOS5D_HM6C1785_G_1OFC.fits .fits + BASE=eos5d3_101EOS5D_HM6C1785_G_1OFC + '[' -f //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 ']' + echo eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 + read file basename ${file} .fits ++ basename eos5d3_101EOS5D_HM6C1785_R_1OFC.fits .fits + BASE=eos5d3_101EOS5D_HM6C1785_R_1OFC + '[' -f //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 ']' + echo eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 + read file EXPOSURES=`cat ${TEMPDIR}/allscampcats.txt_$$ | \ ${P_GAWK} '{ n = split($1, a, "_"); name = ""; for(i = 1; i < (n-1); i++) { name = name a[i] "_" } name = name a[n-1]; print name;}' | ${P_SORT} | uniq` cat ${TEMPDIR}/allscampcats.txt_$$ | ${P_GAWK} '{ n = split($1, a, "_"); name = ""; for(i = 1; i < (n-1); i++) { name = name a[i] "_" } name = name a[n-1]; print name;}' | ${P_SORT} | uniq ++ cat /home/woho/.theli/tmp//allscampcats.txt_17389 ++ /usr/bin/gawk '{ n = split($1, a, "_"); name = ""; for(i = 1; i < (n-1); i++) { name = name a[i] "_" } name = name a[n-1]; print name;}' ++ /usr/bin/sort ++ uniq + EXPOSURES='eos5d3_101EOS5D_HM6C1785_B eos5d3_101EOS5D_HM6C1785_G eos5d3_101EOS5D_HM6C1785_R' ################################################################################ # If present, split the instrument ahead file in parts for every chip. # We need to put together a separate one for each file (missing chips etc.). # Only if no old solution is going to be used as a starting point. ################################################################################ AHEAD=0 + AHEAD=0 if [ "${NCHIPS}" -gt "1" ] && [ -f ${aheader_global} ]; then ${P_GAWK} 'BEGIN { ext = "1"; filename = "'${TEMPDIR}'/'${INSTRUMENT}'_" ext ".ahead_" '$$'; } { if($1 != "END") { print $0 >> filename } else { ext++; filename = "'${TEMPDIR}'/'${INSTRUMENT}'_" ext ".ahead_" '$$'; } }' ${aheader_global} AHEAD=1 fi + '[' 1 -gt 1 ']' ########################################################################## # Identify missing chips and create new .ahead files for each exposure ########################################################################## if [ "${NCHIPS}" -gt "1" ]; then for EXPOSURE in ${EXPOSURES} do # MISSCHIP contains the missing chips in the form of a pasted string. # If e. g. chips 19 and 25 are bad the variable would contain # 01925 (read 0_19_25; '0' is always at the beginning) MISSCHIP=0 # identify missing chips i=1 while [ ${i} -le ${NCHIPS} ] do CATNAME=`grep -x ''${EXPOSURE}'_'${i}'[^0-9].*\.cat1' \ ${TEMPDIR}/allscampcats.txt_$$` if [ ! -n "${CATNAME}" ]; then MISSCHIP=${MISSCHIP}${i} fi i=$(( ${i} + 1 )) done # Reconstruct the individual .ahead file test -f ./${EXPOSURE}_scamp.ahead && rm ./${EXPOSURE}_scamp.ahead i=1 while [ ${i} -le ${NCHIPS} ] do CATNAME=`grep -x ''${EXPOSURE}'_'${i}'[^0-9].*\.cat1' \ ${TEMPDIR}/allscampcats.txt_$$` if [ -n "${CATNAME}" ] && [ -f "$1/$2/cat/${CATNAME}" ]; then if [ ${AHEAD} -eq 1 ]; then cat ${TEMPDIR}/${INSTRUMENT}_${i}.ahead_$$ fi echo "MISSCHIP= '${MISSCHIP}'" echo "END " fi i=$(( ${i} + 1 )) done > ./${EXPOSURE}_scamp.ahead done fi + '[' 1 -gt 1 ']' ############################################ # scamp ############################################ cd ../headers + cd ../headers # for some reason scamp gives better results if the # 'ordering' of files is shuffled in time! Do not ask! ${P_FIND} ../cat/ -maxdepth 1 -name \*scamp.cat > ${TEMPDIR}/scamp_cats_$$ + /usr/bin/find ../cat/ -maxdepth 1 -name '*scamp.cat' #${P_FIND} ../cat/ -maxdepth 1 -name \*scamp.cat | \ # ${P_GAWK} '{line[NR] = $0} END { srand(); # for (i = 1; i <= NR; i++) { # n = int(rand() * NR) + 1; # temp = line[i]; # line[i] = line[n]; # line[n] = temp; # } # for (i = 1; i <= NR; i++) { # print line[i]; # }}' > ${TEMPDIR}/scamp_cats_$$ if [ "${V_SCAMP_FOCALPLANE}" = "NONE" ] || \ [ "${NCHIPS}" = "1" ]; then aheaderstring="" else aheaderstring="-AHEADER_GLOBAL ${aheader_global}" fi + '[' DEFAULT = NONE ']' + '[' 1 = 1 ']' + aheaderstring= # in photometry mode we don't need high astrometric precision, # and it is possibly difficult to achieve such due to the short # exposure times. Hence, keep it simple! if [ "${V_SCAMP_MODE}" = "photom" ]; then V_SCAMP_POLYORDER=2 if [ "${NCHIPS}" = "1" ]; then V_SCAMP_POLYORDER=1 fi V_SCAMP_MOSAICTYPE=LOOSE V_SCAMP_STABILITY=EXPOSURE # do not use saturated sources FLAGS="-FLAGS_MASK 244" # do not use manually downloaded reference catalogue # as it wouldn't match if different standard star fields # are loaded at the same time ${P_SCAMP} @${TEMPDIR}/scamp_cats_$$ \ -c ${DATACONF}/scamp.conf \ -ASTREF_CATALOG USNO-B1 \ -CDSCLIENT_EXEC aclient \ -SAVE_REFCATALOG N \ -REF_SERVER cocat1.u-strasbg.fr \ -NTHREADS ${NPARA} \ ${aheaderstring} \ ${FLAGS} \ -DISTORT_DEGREES ${V_SCAMP_POLYORDER} \ -DISTORT_GROUPS ${V_SCAMP_DISTORTGROUPS} \ -POSITION_MAXERR ${V_SCAMP_MAXOFFSET} \ -POSANGLE_MAXERR ${V_SCAMP_MAXPOSANGLE} \ -PIXSCALE_MAXERR ${V_SCAMP_MAXSCALE} \ -FGROUP_RADIUS ${V_SCAMP_FGROUPRADIUS} \ -CROSSID_RADIUS ${V_SCAMP_CROSSIDRADIUS} \ -ASTRINSTRU_KEY ${V_SCAMP_ASTRINSTRUKEY} \ -PHOTINSTRU_KEY ${V_SCAMP_PHOTINSTRUKEY} \ -SN_THRESHOLDS ${V_SCAMP_SNLOW},${V_SCAMP_SNHIGH} \ -MOSAIC_TYPE ${V_SCAMP_MOSAICTYPE} \ -STABILITY_TYPE ${V_SCAMP_STABILITY} \ -MATCH_FLIPPED ${V_SCAMP_MATCHFLIPPED} \ -ASTREF_WEIGHT ${V_SCAMP_ASTREFWEIGHT} else # saturated sources are ok FLAGS="-FLAGS_MASK 240" # -ASTREFCAT_NAME ~/.theli/scripts/theli_mystd_scamp_std.cat \ ${P_SCAMP} @${TEMPDIR}/scamp_cats_$$ \ -c ${DATACONF}/scamp.conf \ -ASTREFCAT_NAME ~/.theli/scripts/theli_mystd_scamp.cat \ -CDSCLIENT_EXEC aclient \ -SAVE_REFCATALOG Y \ -REFOUT_CATPATH /$1/$2 \ -NTHREADS ${NPARA} \ ${aheaderstring} \ ${FLAGS} \ -DISTORT_KEYS ${V_SCAMP_DISTORTKEYS} \ -DISTORT_DEGREES ${V_SCAMP_POLYORDER} \ -DISTORT_GROUPS ${V_SCAMP_DISTORTGROUPS} \ -POSITION_MAXERR ${V_SCAMP_MAXOFFSET} \ -POSANGLE_MAXERR ${V_SCAMP_MAXPOSANGLE} \ -PIXSCALE_MAXERR ${V_SCAMP_MAXSCALE} \ -FGROUP_RADIUS ${V_SCAMP_FGROUPRADIUS} \ -CROSSID_RADIUS ${V_SCAMP_CROSSIDRADIUS} \ -ASTRINSTRU_KEY ${V_SCAMP_ASTRINSTRUKEY} \ -PHOTINSTRU_KEY ${V_SCAMP_PHOTINSTRUKEY} \ -SN_THRESHOLDS ${V_SCAMP_SNLOW},${V_SCAMP_SNHIGH} \ -MOSAIC_TYPE ${V_SCAMP_MOSAICTYPE} \ -STABILITY_TYPE ${V_SCAMP_STABILITY} \ -MATCH_FLIPPED ${V_SCAMP_MATCHFLIPPED} \ -ASTREF_WEIGHT ${V_SCAMP_ASTREFWEIGHT} >& ${TEMPDIR}/scamp.log_$$ fi + '[' '' = photom ']' + FLAGS='-FLAGS_MASK 240' + /home/woho/work/theli/theli//bin/Linux_64//scamp @/home/woho/.theli/tmp//scamp_cats_17389 -c /home/woho/work/theli/theli//gui/reduction/scamp.conf -ASTREFCAT_NAME /home/woho/.theli/scripts/theli_mystd_scamp.cat -CDSCLIENT_EXEC aclient -SAVE_REFCATALOG Y -REFOUT_CATPATH //home/woho/work/astro/milkyway_24mm_tracked//lights -NTHREADS 8 -FLAGS_MASK 240 -DISTORT_KEYS X_IMAGE,Y_IMAGE -DISTORT_DEGREES 4 -DISTORT_GROUPS 1,1 -POSITION_MAXERR 2.0 -POSANGLE_MAXERR 2.0 -PIXSCALE_MAXERR 1.05 -FGROUP_RADIUS 180.0 -CROSSID_RADIUS 500 -ASTRINSTRU_KEY FILTER,POINTING -PHOTINSTRU_KEY FILTER -SN_THRESHOLDS 5,20 -MOSAIC_TYPE UNCHANGED -STABILITY_TYPE INSTRUMENT -MATCH_FLIPPED N -ASTREF_WEIGHT 1.0 cat ${TEMPDIR}/scamp.log_$$ + cat /home/woho/.theli/tmp//scamp.log_17389 > ----- SCAMP 1.19.0 started on 2013-08-06 at 10:12:21 with 8 threads > ----- 3 inputs: > Examining Catalog eos5d3_101EOS5D_HM6C1785_R_scamp.cat > Examining Catalog eos5d3_101EOS5D_HM6C1785_G_scamp.cat > Examining Catalog eos5d3_101EOS5D_HM6C1785_B_scamp.cat eos5d3_101EOS5D_HM6C1785_R_scamp.cat: "UNKNOWN " no ext. header 1 set 562 detections eos5d3_101EOS5D_HM6C1785_G_scamp.cat: "UNKNOWN " no ext. header 1 set 1385 detections eos5d3_101EOS5D_HM6C1785_B_scamp.cat: "UNKNOWN " no ext. header 1 set 1198 detections ----- 3145 detections loaded ----- 3 instruments found for astrometry: Instrument A1 : 1 extensions FILTER = 'Red ' POINTING= '2013080102' Instrument A2 : 1 extensions FILTER = 'Blue ' POINTING= '2013080102' Instrument A3 : 1 extensions FILTER = 'Green ' POINTING= '2013080102' ----- 3 instruments found for photometry: Instrument P1 : FILTER = 'Red ' Instrument P2 : FILTER = 'Blue ' Instrument P3 : FILTER = 'Green ' ----- 1 field group found: Group 1: 3 fields at 19:31:25.68 +32:05:47.5 with radius 2491'  instruments epoch center coordinates radius scale  eos5d3_101EOS5D_HM6C A1 P1 2013.6 19:31:25.68 +32:05:47.5 2491.' 52.40" eos5d3_101EOS5D_HM6C A3 P3 2013.6 19:31:25.68 +32:05:47.5 2491.' 52.40" eos5d3_101EOS5D_HM6C A2 P2 2013.6 19:31:25.68 +32:05:47.5 2491.' 52.40" > Making mosaic adjustments... > ----- Reference catalogs: > Examining Catalog theli_mystd_scamp.cat... > Loading Catalog theli_mystd_scamp.cat...  > WARNING: OBSDATE parameter not found in catalog theli_mystd_scamp.cat > WARNING: FLAGS parameter not found in catalog theli_mystd_scamp.cat > theli_mystd_scamp.cat: 0 / 0 references stored >  2188 astrometric references loaded from theli_mystd_scamp.cat >  Group 1: 2188 standards found in file (band 1) ----- Astrometric matching: > Starting field matching... > Matching field eos5d3_101EOS5D_HM6C1785_R_scamp.cat... > Matching field eos5d3_101EOS5D_HM6C1785_G_scamp.cat... > Matching field eos5d3_101EOS5D_HM6C1785_B_scamp.cat... >  Group 1: 2188 standards in file (band 1)  instruments pos.angle scale cont. shift cont. eos5d3_101EOS5D_HM A1 P1 +0.01 deg 53.41" 1.31 +23." +75." 8.63 eos5d3_101EOS5D_HM A3 P3 +0.06 deg 53.38" 2.03 +29." +84." 9.18 eos5d3_101EOS5D_HM A2 P2 +0.04 deg 53.32" 3.11 +21." +48." 12.7 > Making preliminary cross-identifications in group 1 > Initializing detection weight factors... > Initializing the global astrometry matrix... > Starting field matching... > Filling the global astrometry matrix: group 1/1, field 1/3 > Filling the global astrometry matrix: group 1/1, field 2/3 > Filling the global astrometry matrix: group 1/1, field 3/3 > Fixing the degrees of freedom > Solving the global astrometry matrix...  > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection >  ----- Astrometric clipping: > Making cross-identifications in group 1 > Computing astrometric stats for group 1 > Astrometric clipping in group 1 >  Group 1: 123/1849 detections removed > Initializing detection weight factors... > Initializing the global astrometry matrix... > Starting field matching... > Filling the global astrometry matrix: group 1/1, field 1/3 > Filling the global astrometry matrix: group 1/1, field 2/3 > Filling the global astrometry matrix: group 1/1, field 3/3 > Fixing the degrees of freedom > Solving the global astrometry matrix...  > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection > WARNING: Significant inaccuracy likely to occur in projection >  ----- Astrometric stats (internal) :  All detections | High S/N   dAXIS1 dAXIS2 chi2 ndets | dAXIS1 dAXIS2 chi2 ndets > Making cross-identifications in group 1 Group 1: 53.6" 43.6" 4.7e+03 1814 53.6" 43.6" 4.7e+03 1814 >  ----- Astrometric stats (external):  All detections | High S/N   dAXIS1 dAXIS2 chi2 nstars | dAXIS1 dAXIS2 chi2 nstars Group 1: 113" 60.3" 1.5e+04 746 113" 60.3" 1.5e+04 746 > Generating group plots... > Generating astrometric plots... > Initializing the global photometry matrix... > Solving the global photometry matrix... > Initializing the global photometry matrix... > Solving the global photometry matrix... > Initializing the global photometry matrix... > Solving the global photometry matrix... >  ----- Photometric clipping: > Computing photometric stats for group 1 / P1 >  Group 1 / P1 : 0/439 detections removed > Computing photometric stats for group 1 / P2 >  Group 1 / P2 : 0/930 detections removed > Computing photometric stats for group 1 / P3 >  Group 1 / P3 : 0/445 detections removed > Initializing the global photometry matrix... > Solving the global photometry matrix... > Initializing the global photometry matrix... > Solving the global photometry matrix... > Initializing the global photometry matrix... > Solving the global photometry matrix... >  ----- Photometric stats (internal):  All detections | High S/N   Instru mag RMS chi2 ndets | mag RMS chi2 ndets Group 1: P1 0 0 439 0 0 439 Group 1: P2 0 0 930 0 0 930 Group 1: P3 0 0 445 0 0 445 >  ----- Photometric stats (external):  All detections | High S/N   Instru mag RMS chi2 nstars | mag RMS chi2 nstars > Generating photometric plots... > Computing global color indices > Computing colour shifts in group 1 > Computing proper motions in group 1 > Computing proper motions... > Generating proper-motion plots... > Saving image headers... > Cleaning up... > > All done (in 11 s: 0.3 field/s , 286 detections/s) # delete old backup catalogs ${P_FIND} ../backup/ -maxdepth 1 -name \*_scamp.head -exec rm {} \; + /usr/bin/find ../backup/ -maxdepth 1 -name '*_scamp.head' -exec rm '{}' ';' # scamp creates the new headers in the directory where the catalogs are: ${P_FIND} ../cat/ -maxdepth 1 -name \*.head -exec cp {} . \; + /usr/bin/find ../cat/ -maxdepth 1 -name '*.head' -exec cp '{}' . ';' # make a backup copy ${P_FIND} ../cat/ -maxdepth 1 -name \*.head -exec cp {} ../backup/ \; + /usr/bin/find ../cat/ -maxdepth 1 -name '*.head' -exec cp '{}' ../backup/ ';' # we want the diagnostic plots in their own directory: cp *.png *.xml ../plots/ + cp astr_chi2_1.png astr_interror1d_1.png astr_interror2d_1.png astr_referror1d_1.png astr_referror2d_1.png distort_1.png distort_2.png distort_3.png fgroups_1.png phot_error_1.png scamp.xml ../plots/ cp ${TEMPDIR}/scamp.log_$$ ../plots/scamp.log + cp /home/woho/.theli/tmp//scamp.log_17389 ../plots/scamp.log # now get the relative magnitude offsets from the FLXSCALES # estimated by scamp: test -f ${TEMPDIR}/photdata.txt_$$ && rm ${TEMPDIR}/photdata.txt_$$ + test -f /home/woho/.theli/tmp//photdata.txt_17389 # Because the flux scales refer to an image normalised to one # second we need to obtain the exposure times of all frames # first. We also get the SCAMP flux scale and the photometric # instrument: for EXPOSURE in ${EXPOSURES} do EXPTIME=`${P_LDACTOASC} -i ../cat/${EXPOSURE}_scamp.cat \ -t LDAC_IMHEAD -s | \ fold | grep EXPTIME | \ ${P_GAWK} 'BEGIN{FS="="} {if ($1=="EXPTIME ") print $2}' | \ ${P_GAWK} '{print $1}'` FLXSCALE=`grep FLXSCALE ${EXPOSURE}_scamp.head | uniq | \ ${P_GAWK} '{if (NR==1) print $2}'` PHOTINST=`grep PHOTINST ${EXPOSURE}_scamp.head | uniq | \ ${P_GAWK} '{if (NR==1) print $2}'` echo ${EXPOSURE}" "${EXPTIME}" "${FLXSCALE}" "${PHOTINST} >> ${TEMPDIR}/photdata.txt_$$ done + for EXPOSURE in '${EXPOSURES}' ${P_LDACTOASC} -i ../cat/${EXPOSURE}_scamp.cat -t LDAC_IMHEAD -s | fold | grep EXPTIME | ${P_GAWK} 'BEGIN{FS="="} {if ($1=="EXPTIME ") print $2}' | ${P_GAWK} '{print $1}' ++ fold ++ grep EXPTIME ++ /usr/bin/gawk 'BEGIN{FS="="} {if ($1=="EXPTIME ") print $2}' ++ /usr/bin/gawk '{print $1}' > Reading catalog(s) > All done  + EXPTIME=120.00 grep FLXSCALE ${EXPOSURE}_scamp.head | uniq | ${P_GAWK} '{if (NR==1) print $2}' ++ grep FLXSCALE eos5d3_101EOS5D_HM6C1785_B_scamp.head ++ uniq ++ /usr/bin/gawk '{if (NR==1) print $2}' + FLXSCALE=8.333333333333E-03 grep PHOTINST ${EXPOSURE}_scamp.head | uniq | ${P_GAWK} '{if (NR==1) print $2}' ++ grep PHOTINST eos5d3_101EOS5D_HM6C1785_B_scamp.head ++ uniq ++ /usr/bin/gawk '{if (NR==1) print $2}' + PHOTINST=2 + echo 'eos5d3_101EOS5D_HM6C1785_B 120.00 8.333333333333E-03 2' + for EXPOSURE in '${EXPOSURES}' ${P_LDACTOASC} -i ../cat/${EXPOSURE}_scamp.cat -t LDAC_IMHEAD -s | fold | grep EXPTIME | ${P_GAWK} 'BEGIN{FS="="} {if ($1=="EXPTIME ") print $2}' | ${P_GAWK} '{print $1}' ++ /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -i ../cat/eos5d3_101EOS5D_HM6C1785_G_scamp.cat -t LDAC_IMHEAD -s ++ fold ++ grep EXPTIME ++ /usr/bin/gawk 'BEGIN{FS="="} {if ($1=="EXPTIME ") print $2}' ++ /usr/bin/gawk '{print $1}' > Reading catalog(s) > All done  + EXPTIME=120.00 grep FLXSCALE ${EXPOSURE}_scamp.head | uniq | ${P_GAWK} '{if (NR==1) print $2}' ++ grep FLXSCALE eos5d3_101EOS5D_HM6C1785_G_scamp.head ++ uniq ++ /usr/bin/gawk '{if (NR==1) print $2}' + FLXSCALE=8.333333333333E-03 grep PHOTINST ${EXPOSURE}_scamp.head | uniq | ${P_GAWK} '{if (NR==1) print $2}' ++ grep PHOTINST eos5d3_101EOS5D_HM6C1785_G_scamp.head ++ uniq ++ /usr/bin/gawk '{if (NR==1) print $2}' + PHOTINST=3 + echo 'eos5d3_101EOS5D_HM6C1785_G 120.00 8.333333333333E-03 3' + for EXPOSURE in '${EXPOSURES}' ${P_LDACTOASC} -i ../cat/${EXPOSURE}_scamp.cat -t LDAC_IMHEAD -s | fold | grep EXPTIME | ${P_GAWK} 'BEGIN{FS="="} {if ($1=="EXPTIME ") print $2}' | ${P_GAWK} '{print $1}' ++ /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -i ../cat/eos5d3_101EOS5D_HM6C1785_R_scamp.cat -t LDAC_IMHEAD -s ++ fold ++ grep EXPTIME ++ /usr/bin/gawk 'BEGIN{FS="="} {if ($1=="EXPTIME ") print $2}' ++ /usr/bin/gawk '{print $1}' > Reading catalog(s) > All done  + EXPTIME=120.00 grep FLXSCALE ${EXPOSURE}_scamp.head | uniq | ${P_GAWK} '{if (NR==1) print $2}' ++ grep FLXSCALE eos5d3_101EOS5D_HM6C1785_R_scamp.head ++ uniq ++ /usr/bin/gawk '{if (NR==1) print $2}' + FLXSCALE=8.333333333333E-03 grep PHOTINST ${EXPOSURE}_scamp.head | uniq | ${P_GAWK} '{if (NR==1) print $2}' ++ grep PHOTINST eos5d3_101EOS5D_HM6C1785_R_scamp.head ++ uniq ++ /usr/bin/gawk '{if (NR==1) print $2}' + PHOTINST=1 + echo 'eos5d3_101EOS5D_HM6C1785_R 120.00 8.333333333333E-03 1' ######################################################### # Calculate relative zeropoints and THELI fluxscales # for the different photometric contexts ######################################################### ${P_GAWK} 'BEGIN {maxphotinst = 1} { exposure[NR] = $1 exptime[NR] = $2 flxscale_scamp[NR] = $3 photinst[NR] = $4 val[NR] = -2.5 * log($3 * $2) / log(10.) m[$4] = m[$4] + val[NR] nphotinst[$4] = nphotinst[$4] + 1 if ($4 > maxphotinst) {maxphotinst = $4}} END { for (i = 1; i <= maxphotinst; i++) { m[i] = m[i] / nphotinst[i] } for (i = 1; i <= NR; i++) { relzp[i] = val[i] - m[photinst[i]] flxscale_theli[i] = (10**(-0.4 * relzp[i])) / exptime[i] printf("%s %f %e\n", exposure[i], relzp[i], flxscale_theli[i]); } }' ${TEMPDIR}/photdata.txt_$$ > ${TEMPDIR}/photdata_relzp.txt_$$ + /usr/bin/gawk 'BEGIN {maxphotinst = 1} { exposure[NR] = $1 exptime[NR] = $2 flxscale_scamp[NR] = $3 photinst[NR] = $4 val[NR] = -2.5 * log($3 * $2) / log(10.) m[$4] = m[$4] + val[NR] nphotinst[$4] = nphotinst[$4] + 1 if ($4 > maxphotinst) {maxphotinst = $4}} END { for (i = 1; i <= maxphotinst; i++) { m[i] = m[i] / nphotinst[i] } for (i = 1; i <= NR; i++) { relzp[i] = val[i] - m[photinst[i]] flxscale_theli[i] = (10**(-0.4 * relzp[i])) / exptime[i] printf("%s %f %e\n", exposure[i], relzp[i], flxscale_theli[i]); } }' /home/woho/.theli/tmp//photdata.txt_17389 cp -r /$1/$2/astrom_photom_scamp/plots/ /$1/$2/ + cp -r //home/woho/work/astro/milkyway_24mm_tracked//lights/astrom_photom_scamp/plots/ //home/woho/work/astro/milkyway_24mm_tracked//lights/ ###################################################################### # split the exposure catalogues for the individual chips # and add the RZP and FLXSCALE header keywords. Put the headers # into appropriate headers_scamp directories ###################################################################### while read EXPOSURE RELZP FLXSCALE do i=1 j=1 # counts the actually available chips! while [ ${i} -le ${NCHIPS} ] do # we need to take care of catalogs that may not be # present (bad chips)! CATNAME=`grep -x ''${EXPOSURE}'_'${i}'[^0-9].*\.cat1' \ ${TEMPDIR}/allscampcats.txt_$$` if [ -n "${CATNAME}" -a -f ../../cat/${CATNAME} ] then # first rename the SCAMP header keyword FLXSCALE # to FLSCALE. We need FLXSCALE for the THELI # flux scaling later: sed -e 's/FLXSCALE/FLSCALE /' ${EXPOSURE}_scamp.head |\ ${P_GAWK} 'BEGIN {ext = '${j}'; nend = 0} { if(nend < ext) { if($1 == "END") { nend++; next; } if(nend == (ext-1)) { print $0 } } } END { printf("RZP = %20f / THELI relative zeropoint\n", '${RELZP}'); printf("FLXSCALE= %20E / THELI relative flux scale\n", '${FLXSCALE}'); printf("END\n") }' > ${EXPOSURE}_$i.head # correcting the catalogs (of standard stars) with aplastrom_scamp.py does not work # if no PV terms are present. So, if DISTORT_DEGREE=1, we add PV1_0, PV1_1, PV2_0, and PV2_1 if [ "${V_SCAMP_POLYORDER}" = "1" ]; then ${P_GAWK} '{if ($1 != "END") print $0; else { print "PV1_0 = 0.0" print "PV1_1 = 1.0" print "PV2_0 = 0.0" print "PV2_1 = 1.0" print $0}}' ${EXPOSURE}_$i.head > ${EXPOSURE}_$i.headtmp mv ${EXPOSURE}_$i.headtmp ${EXPOSURE}_$i.head fi cp ${EXPOSURE}_$i.head /$1/$2/headers/ cp ${EXPOSURE}_$i.head /$1/$2/headers_scamp/ cp ${EXPOSURE}_$i.head /$1/$2/astrom_photom_scamp/backup/ j=$(( $j + 1 )) fi i=$(( $i + 1 )) done done < ${TEMPDIR}/photdata_relzp.txt_$$ + read EXPOSURE RELZP FLXSCALE + i=1 + j=1 + '[' 1 -le 1 ']' grep -x ''${EXPOSURE}'_'${i}'[^0-9].*\.cat1' ${TEMPDIR}/allscampcats.txt_$$ ++ grep -x 'eos5d3_101EOS5D_HM6C1785_B_1[^0-9].*\.cat1' /home/woho/.theli/tmp//allscampcats.txt_17389 + CATNAME=eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 + '[' -n eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 -a -f ../../cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 ']' + sed -e 's/FLXSCALE/FLSCALE /' eos5d3_101EOS5D_HM6C1785_B_scamp.head + /usr/bin/gawk 'BEGIN {ext = 1; nend = 0} { if(nend < ext) { if($1 == "END") { nend++; next; } if(nend == (ext-1)) { print $0 } } } END { printf("RZP = %20f / THELI relative zeropoint\n", 0.000000); printf("FLXSCALE= %20E / THELI relative flux scale\n", 8.333333e-03); printf("END\n") }' + '[' 4 = 1 ']' + cp eos5d3_101EOS5D_HM6C1785_B_1.head //home/woho/work/astro/milkyway_24mm_tracked//lights/headers/ + cp eos5d3_101EOS5D_HM6C1785_B_1.head //home/woho/work/astro/milkyway_24mm_tracked//lights/headers_scamp/ + cp eos5d3_101EOS5D_HM6C1785_B_1.head //home/woho/work/astro/milkyway_24mm_tracked//lights/astrom_photom_scamp/backup/ + j=2 + i=2 + '[' 2 -le 1 ']' + read EXPOSURE RELZP FLXSCALE + i=1 + j=1 + '[' 1 -le 1 ']' grep -x ''${EXPOSURE}'_'${i}'[^0-9].*\.cat1' ${TEMPDIR}/allscampcats.txt_$$ ++ grep -x 'eos5d3_101EOS5D_HM6C1785_G_1[^0-9].*\.cat1' /home/woho/.theli/tmp//allscampcats.txt_17389 + CATNAME=eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 + '[' -n eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 -a -f ../../cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 ']' + sed -e 's/FLXSCALE/FLSCALE /' eos5d3_101EOS5D_HM6C1785_G_scamp.head + /usr/bin/gawk 'BEGIN {ext = 1; nend = 0} { if(nend < ext) { if($1 == "END") { nend++; next; } if(nend == (ext-1)) { print $0 } } } END { printf("RZP = %20f / THELI relative zeropoint\n", 0.000000); printf("FLXSCALE= %20E / THELI relative flux scale\n", 8.333333e-03); printf("END\n") }' + '[' 4 = 1 ']' + cp eos5d3_101EOS5D_HM6C1785_G_1.head //home/woho/work/astro/milkyway_24mm_tracked//lights/headers/ + cp eos5d3_101EOS5D_HM6C1785_G_1.head //home/woho/work/astro/milkyway_24mm_tracked//lights/headers_scamp/ + cp eos5d3_101EOS5D_HM6C1785_G_1.head //home/woho/work/astro/milkyway_24mm_tracked//lights/astrom_photom_scamp/backup/ + j=2 + i=2 + '[' 2 -le 1 ']' + read EXPOSURE RELZP FLXSCALE + i=1 + j=1 + '[' 1 -le 1 ']' grep -x ''${EXPOSURE}'_'${i}'[^0-9].*\.cat1' ${TEMPDIR}/allscampcats.txt_$$ ++ grep -x 'eos5d3_101EOS5D_HM6C1785_R_1[^0-9].*\.cat1' /home/woho/.theli/tmp//allscampcats.txt_17389 + CATNAME=eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 + '[' -n eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 -a -f ../../cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 ']' + sed -e 's/FLXSCALE/FLSCALE /' eos5d3_101EOS5D_HM6C1785_R_scamp.head + /usr/bin/gawk 'BEGIN {ext = 1; nend = 0} { if(nend < ext) { if($1 == "END") { nend++; next; } if(nend == (ext-1)) { print $0 } } } END { printf("RZP = %20f / THELI relative zeropoint\n", 0.000000); printf("FLXSCALE= %20E / THELI relative flux scale\n", 8.333333e-03); printf("END\n") }' + '[' 4 = 1 ']' + cp eos5d3_101EOS5D_HM6C1785_R_1.head //home/woho/work/astro/milkyway_24mm_tracked//lights/headers/ + cp eos5d3_101EOS5D_HM6C1785_R_1.head //home/woho/work/astro/milkyway_24mm_tracked//lights/headers_scamp/ + cp eos5d3_101EOS5D_HM6C1785_R_1.head //home/woho/work/astro/milkyway_24mm_tracked//lights/astrom_photom_scamp/backup/ + j=2 + i=2 + '[' 2 -le 1 ']' + read EXPOSURE RELZP FLXSCALE cd /$1/$2/ + cd //home/woho/work/astro/milkyway_24mm_tracked//lights/ cp .astrefcat headers/.astrefcat_used + cp .astrefcat headers/.astrefcat_used cd ${DIR} + cd /home/woho/work/theli/theli/gui/scripts rm ${TEMPDIR}/*_$$ + rm /home/woho/.theli/tmp//allscampcats.txt_17389 /home/woho/.theli/tmp//allscampimages.txt_17389 /home/woho/.theli/tmp//photdata.txt_17389 /home/woho/.theli/tmp//photdata_relzp.txt_17389 /home/woho/.theli/tmp//scamp.log_17389 /home/woho/.theli/tmp//scamp_cats_17389 /home/woho/.theli/tmp//scampcatalogs_17389 exit 0 + exit 0 #!/bin/bash -xv # this script creates a STATS table from the catalogs created with # 'create_astromcats_weights_para.sh' and, if present the headers # created by ASTROMETRIX and PHOTOMETRIX. # # The STATS table contains 'global' information on the exposure level # (e.g. seeing. zeropoints, sky background), i.e. condensed # information from all the chips. Typically corresponding quantities # from individual chips are averaged for the STATS table. # HISTORY: # 31.03.2011: # I completely rewrote the old code. The new version creates a catalogue # with only a 'STATS' table. The old script also contained the complete # object catalogues from all contributing set images. It turned out that # we never used this and for several surveys this produced unnecessarily # HUGE catalogues. # # 27.04.2011: # - Bug fix in the determination of present exposures. # - The Filter name is added to the STATS table (as the catalogue containing # the STATS table no longer contains a FIELDS table the FILTER info would # not be available otherwise for header update). # # # 08.09.2011: # Bug Fix: The addition of the filter name was not done correctly (change # from 27.04.2011) # # 06.01.2012: # I shifted AIRMASS to the keys that are included into the statistics tabel # always. Before it was only added together with absolute photometric # calibration information. # #$1: main directory #$2: science directory #$3: extension of the images for which # catalogs have been created (OFCSFF etc.) #$4: headers directory (subdirectory of /$1/$2; OPTIONAL) INSTDIR=instruments_professional + INSTDIR=instruments_professional if [ ! -f ${INSTDIR}/${INSTRUMENT}.ini ]; then INSTDIR=instruments_commercial fi + '[' '!' -f instruments_professional/EOS5D3@24mm.ini ']' + INSTDIR=instruments_commercial if [ ! -f ${INSTDIR}/${INSTRUMENT}.ini ]; then INSTDIR=~/.theli/instruments_user/ fi + '[' '!' -f instruments_commercial/EOS5D3@24mm.ini ']' + INSTDIR=/home/woho/.theli/instruments_user/ . ${INSTDIR}/${INSTRUMENT:?}.ini + . /home/woho/.theli/instruments_user//EOS5D3@24mm.ini # ************************************************************** # Instrument config file created by THELI # ************************************************************** # Name of the instrument (must be unique!) INSTRUMENT=EOS5D3@24mm ++ INSTRUMENT=EOS5D3@24mm # Number of chips NCHIPS=1 ++ NCHIPS=1 # We need to export these export INSTRUMENT ++ export INSTRUMENT export NCHIPS ++ export NCHIPS # Load directories for programs . progs.ini ++ . progs.ini # # the following language setting ensures that # we do not have to deal with country specific # settings influencing programs like gawk (giving # a ',' instead of '.' for the decimal point in numbers # within a german environment). export LANG=C +++ export LANG=C +++ LANG=C # # how many processors do we have # used directories PIPESOFT=/home/woho/work/theli/theli/ +++ PIPESOFT=/home/woho/work/theli/theli/ BIN_ANET=${PIPESOFT}/gui/packages/astrometry/build/bin/ +++ BIN_ANET=/home/woho/work/theli/theli//gui/packages/astrometry/build/bin/ BIN=${PIPESOFT}/bin/Linux_64/ +++ BIN=/home/woho/work/theli/theli//bin/Linux_64/ CONF=${PIPESOFT}/gui/reduction; export CONF +++ CONF=/home/woho/work/theli/theli//gui/reduction +++ export CONF STANDARDSTARSCAT= +++ STANDARDSTARSCAT= PHOTSTANDARDSTARSCAT= +++ PHOTSTANDARDSTARSCAT= SCRIPTS=${PIPESOFT}/scripts/reduction +++ SCRIPTS=/home/woho/work/theli/theli//scripts/reduction UTILSCRIPTS=${PIPESOFT}/scripts/Linux_64/ +++ UTILSCRIPTS=/home/woho/work/theli/theli//scripts/Linux_64/ SMMACROS=${PIPESOFT}/scripts/sm_macros +++ SMMACROS=/home/woho/work/theli/theli//scripts/sm_macros export TEMPDIR=~/.theli/tmp/ +++ export TEMPDIR=/home/woho/.theli/tmp/ +++ TEMPDIR=/home/woho/.theli/tmp/ # for compatibility I need the following DATACONF=${CONF}; export DATACONF +++ DATACONF=/home/woho/work/theli/theli//gui/reduction +++ export DATACONF # # define here the location of script interpreters: P_PERL=/usr/bin/perl +++ P_PERL=/usr/bin/perl P_PYTHON=/usr/bin/python +++ P_PYTHON=/usr/bin/python # # here are the used programs listed # # LDAC programs # P_ALBUM=${BIN}/album +++ P_ALBUM=/home/woho/work/theli/theli//bin/Linux_64//album P_ANALYSELDAC=${BIN}/analyseldac +++ P_ANALYSELDAC=/home/woho/work/theli/theli//bin/Linux_64//analyseldac P_ANISOTROPY=${BIN}/anisotropy +++ P_ANISOTROPY=/home/woho/work/theli/theli//bin/Linux_64//anisotropy P_ASCTOLDAC=${BIN}/asctoldac +++ P_ASCTOLDAC=/home/woho/work/theli/theli//bin/Linux_64//asctoldac P_ASSOCIATE=${BIN}/associate +++ P_ASSOCIATE=/home/woho/work/theli/theli//bin/Linux_64//associate P_DECIMALTOHMS=${BIN}/decimaltohms +++ P_DECIMALTOHMS=/home/woho/work/theli/theli//bin/Linux_64//decimaltohms P_DECIMALTODMS=${BIN}/decimaltodms +++ P_DECIMALTODMS=/home/woho/work/theli/theli//bin/Linux_64//decimaltodms P_DMSTODECIMAL=${BIN}/dmstodecimal +++ P_DMSTODECIMAL=/home/woho/work/theli/theli//bin/Linux_64//dmstodecimal P_HMSTODECIMAL=${BIN}/hmstodecimal +++ P_HMSTODECIMAL=/home/woho/work/theli/theli//bin/Linux_64//hmstodecimal P_IC=${BIN}/ic +++ P_IC=/home/woho/work/theli/theli//bin/Linux_64//ic P_IMCOMBFLAT_IMCAT=${BIN}/imcombflat +++ P_IMCOMBFLAT_IMCAT=/home/woho/work/theli/theli//bin/Linux_64//imcombflat P_IMSTATS=${BIN}/imstats +++ P_IMSTATS=/home/woho/work/theli/theli//bin/Linux_64//imstats P_LDACADDMASK=${BIN}/ldacaddmask +++ P_LDACADDMASK=/home/woho/work/theli/theli//bin/Linux_64//ldacaddmask P_LDACCONV=${BIN}/ldacconv +++ P_LDACCONV=/home/woho/work/theli/theli//bin/Linux_64//ldacconv P_LDACPASTE=${BIN}/ldacpaste +++ P_LDACPASTE=/home/woho/work/theli/theli//bin/Linux_64//ldacpaste P_LDACCALC=${BIN}/ldaccalc +++ P_LDACCALC=/home/woho/work/theli/theli//bin/Linux_64//ldaccalc P_LDACADDKEY=${BIN}/ldacaddkey +++ P_LDACADDKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacaddkey P_LDACRENKEY=${BIN}/ldacrenkey +++ P_LDACRENKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacrenkey P_LDACADDTAB=${BIN}/ldacaddtab +++ P_LDACADDTAB=/home/woho/work/theli/theli//bin/Linux_64//ldacaddtab P_LDACRENTAB=${BIN}/ldacrentab +++ P_LDACRENTAB=/home/woho/work/theli/theli//bin/Linux_64//ldacrentab P_LDACFILTER=${BIN}/ldacfilter +++ P_LDACFILTER=/home/woho/work/theli/theli//bin/Linux_64//ldacfilter P_LDACTESTEXIST=${BIN}/ldactestexist +++ P_LDACTESTEXIST=/home/woho/work/theli/theli//bin/Linux_64//ldactestexist P_LDACTOASC=${BIN}/ldactoasc +++ P_LDACTOASC=/home/woho/work/theli/theli//bin/Linux_64//ldactoasc P_LDACTOSKYCAT=${BIN}/ldactoskycat +++ P_LDACTOSKYCAT=/home/woho/work/theli/theli//bin/Linux_64//ldactoskycat P_LDACJOINKEY=${BIN}/ldacjoinkey +++ P_LDACJOINKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacjoinkey P_MAKEJOIN=${BIN}/make_join +++ P_MAKEJOIN=/home/woho/work/theli/theli//bin/Linux_64//make_join P_MAKESSC=${BIN}/make_ssc +++ P_MAKESSC=/home/woho/work/theli/theli//bin/Linux_64//make_ssc P_MAKESUBIMAGE=${BIN}/makesubimage +++ P_MAKESUBIMAGE=/home/woho/work/theli/theli//bin/Linux_64//makesubimage P_PREANISOTROPY=${BIN}/preanisotropy +++ P_PREANISOTROPY=/home/woho/work/theli/theli//bin/Linux_64//preanisotropy P_SELECTOVERLAPS=${BIN}/select_overlaps +++ P_SELECTOVERLAPS=/home/woho/work/theli/theli//bin/Linux_64//select_overlaps P_STATS=${BIN}/stats +++ P_STATS=/home/woho/work/theli/theli//bin/Linux_64//stats P_TRANSFORMIMAGE=${BIN}/transformimage +++ P_TRANSFORMIMAGE=/home/woho/work/theli/theli//bin/Linux_64//transformimage # # Terapix programs # P_SEX=${BIN}/sex_theli +++ P_SEX=/home/woho/work/theli/theli//bin/Linux_64//sex_theli P_WW=${BIN}/ww_theli +++ P_WW=/home/woho/work/theli/theli//bin/Linux_64//ww_theli P_SWARP=${BIN}/swarp_theli +++ P_SWARP=/home/woho/work/theli/theli//bin/Linux_64//swarp_theli # # programs from the eclipse package # P_DFITS=${BIN}/dfits +++ P_DFITS=/home/woho/work/theli/theli//bin/Linux_64//dfits P_FITSORT=${BIN}/fitsort +++ P_FITSORT=/home/woho/work/theli/theli//bin/Linux_64//fitsort P_HIERARCH=${BIN}/hierarch28 +++ P_HIERARCH=/home/woho/work/theli/theli//bin/Linux_64//hierarch28 P_REPLACEKEY=${BIN}/replacekey +++ P_REPLACEKEY=/home/woho/work/theli/theli//bin/Linux_64//replacekey P_IOFITS=${BIN}/iofits +++ P_IOFITS=/home/woho/work/theli/theli//bin/Linux_64//iofits # # own programs developed with # eclipse and qfits # P_FITSSPLIT_ECL=${BIN}/mefsplit +++ P_FITSSPLIT_ECL=/home/woho/work/theli/theli//bin/Linux_64//mefsplit P_FIXCR_ECL=${BIN}/fixcr +++ P_FIXCR_ECL=/home/woho/work/theli/theli//bin/Linux_64//fixcr P_IMRED_ECL=${BIN}/preprocess +++ P_IMRED_ECL=/home/woho/work/theli/theli//bin/Linux_64//preprocess # # For THELI modified versions of the ASTROMETRIX and # PHOTOMETRIX scripts: # S_ASTROMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/astrom_theli +++ S_ASTROMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/astrom_theli S_PHOTOMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/photom_theli +++ S_PHOTOMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/photom_theli # # other utility programs and scripts # P_READLINK=${BIN}/readlink +++ P_READLINK=/home/woho/work/theli/theli//bin/Linux_64//readlink P_AIRMASS=${BIN}/airmass +++ P_AIRMASS=/home/woho/work/theli/theli//bin/Linux_64//airmass P_NIGHTID=${BIN}/nightid +++ P_NIGHTID=/home/woho/work/theli/theli//bin/Linux_64//nightid P_CALDATE=${BIN}/caldate +++ P_CALDATE=/home/woho/work/theli/theli//bin/Linux_64//caldate S_SCAMPCAT=${UTILSCRIPTS}/scampcat.py +++ S_SCAMPCAT=/home/woho/work/theli/theli//scripts/Linux_64//scampcat.py S_PHOTOABS=${UTILSCRIPTS}/photo_abs.py +++ S_PHOTOABS=/home/woho/work/theli/theli//scripts/Linux_64//photo_abs.py S_APLASTROMSCAMP=${UTILSCRIPTS}/aplastrom_scamp.py +++ S_APLASTROMSCAMP=/home/woho/work/theli/theli//scripts/Linux_64//aplastrom_scamp.py S_SUPERFLATEXCLUSION=${UTILSCRIPTS}/superflatexclusion.py +++ S_SUPERFLATEXCLUSION=/home/woho/work/theli/theli//scripts/Linux_64//superflatexclusion.py # # Programs and scripts not included in the pipeline distribution # P_FIND=/usr/bin/find +++ P_FIND=/usr/bin/find P_GAWK=/usr/bin/gawk +++ P_GAWK=/usr/bin/gawk P_SM= +++ P_SM= P_SORT=/usr/bin/sort +++ P_SORT=/usr/bin/sort # # this is needed for the GUI # P_PIPELIBS=/home/woho/work/theli/PipeLibs//pipe.csh +++ P_PIPELIBS=/home/woho/work/theli/PipeLibs//pipe.csh P_GETPMMOBJECTS=${BIN}/get_pmm_objects +++ P_GETPMMOBJECTS=/home/woho/work/theli/theli//bin/Linux_64//get_pmm_objects P_LDACDESC=${BIN}/ldacdesc +++ P_LDACDESC=/home/woho/work/theli/theli//bin/Linux_64//ldacdesc P_LDACDELTAB=${BIN}/ldacdeltab +++ P_LDACDELTAB=/home/woho/work/theli/theli//bin/Linux_64//ldacdeltab P_LDACDELKEY=${BIN}/ldacdelkey +++ P_LDACDELKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacdelkey P_LDACPUTXY=${BIN}/ldacputxy +++ P_LDACPUTXY=/home/woho/work/theli/theli//bin/Linux_64//ldacputxy P_FITSFLIP=${BIN}/fitsflip +++ P_FITSFLIP=/home/woho/work/theli/theli//bin/Linux_64//fitsflip P_DEBLOOM=${BIN}/debloom +++ P_DEBLOOM=/home/woho/work/theli/theli//bin/Linux_64//debloom P_EQUALISEBAYERFLAT=${BIN}/equalisebayerflat +++ P_EQUALISEBAYERFLAT=/home/woho/work/theli/theli//bin/Linux_64//equalisebayerflat P_FITSCOLLAPSE=${BIN}/fitscollapse +++ P_FITSCOLLAPSE=/home/woho/work/theli/theli//bin/Linux_64//fitscollapse P_FITSWRAP=${BIN}/fitswrap +++ P_FITSWRAP=/home/woho/work/theli/theli//bin/Linux_64//fitswrap P_FITSCUBESLICE=${BIN}/fitscubeslice +++ P_FITSCUBESLICE=/home/woho/work/theli/theli//bin/Linux_64//fitscubeslice P_FITSADDKEY=${BIN}/fitsaddkey +++ P_FITSADDKEY=/home/woho/work/theli/theli//bin/Linux_64//fitsaddkey P_FITSCUT=${BIN}/fitscut +++ P_FITSCUT=/home/woho/work/theli/theli//bin/Linux_64//fitscut P_FITSBIN=${BIN}/fitsbin +++ P_FITSBIN=/home/woho/work/theli/theli//bin/Linux_64//fitsbin P_FITSBLOOMDETECT=${BIN}/fitsbloomdetect +++ P_FITSBLOOMDETECT=/home/woho/work/theli/theli//bin/Linux_64//fitsbloomdetect P_FITSFILL=${BIN}/fitsfill +++ P_FITSFILL=/home/woho/work/theli/theli//bin/Linux_64//fitsfill P_FITSGRAD=${BIN}/fitsgrad +++ P_FITSGRAD=/home/woho/work/theli/theli//bin/Linux_64//fitsgrad P_FITSDEMOSAICBAYER=${BIN}/fitsdemosaicbayer +++ P_FITSDEMOSAICBAYER=/home/woho/work/theli/theli//bin/Linux_64//fitsdemosaicbayer P_FITS3MAX=${BIN}/fits3max +++ P_FITS3MAX=/home/woho/work/theli/theli//bin/Linux_64//fits3max P_FITSGAUSS=${BIN}/fitsgauss +++ P_FITSGAUSS=/home/woho/work/theli/theli//bin/Linux_64//fitsgauss P_FITS2TIFF=${BIN}/fits2tiff +++ P_FITS2TIFF=/home/woho/work/theli/theli//bin/Linux_64//fits2tiff P_TIFF2FITS=${BIN}/tiff2fits +++ P_TIFF2FITS=/home/woho/work/theli/theli//bin/Linux_64//tiff2fits P_CORRLIRIS=${BIN}/corrliris +++ P_CORRLIRIS=/home/woho/work/theli/theli//bin/Linux_64//corrliris P_CROSSTALK=${BIN}/crosstalk +++ P_CROSSTALK=/home/woho/work/theli/theli//bin/Linux_64//crosstalk P_FINDGSC=${BIN}/findgsc +++ P_FINDGSC=/home/woho/work/theli/theli//bin/Linux_64//findgsc P_FINDUSNOB1=${BIN}/findusnob1 +++ P_FINDUSNOB1=/home/woho/work/theli/theli//bin/Linux_64//findusnob1 P_FIND2MASS=${BIN}/find2mass +++ P_FIND2MASS=/home/woho/work/theli/theli//bin/Linux_64//find2mass P_FINDSDSS7=${BIN}/findsdss7 +++ P_FINDSDSS7=/home/woho/work/theli/theli//bin/Linux_64//findsdss7 P_FINDUCAC3=${BIN}/finducac3 +++ P_FINDUCAC3=/home/woho/work/theli/theli//bin/Linux_64//finducac3 P_FINDNOMAD1=${BIN}/findnomad1 +++ P_FINDNOMAD1=/home/woho/work/theli/theli//bin/Linux_64//findnomad1 P_VIZQUERY=${BIN}/vizquery +++ P_VIZQUERY=/home/woho/work/theli/theli//bin/Linux_64//vizquery P_SESAME=${BIN}/sesame +++ P_SESAME=/home/woho/work/theli/theli//bin/Linux_64//sesame P_ACLIENT=${BIN}/aclient +++ P_ACLIENT=/home/woho/work/theli/theli//bin/Linux_64//aclient P_SCAMP=${BIN}/scamp +++ P_SCAMP=/home/woho/work/theli/theli//bin/Linux_64//scamp P_RENAME=${BIN}/rename +++ P_RENAME=/home/woho/work/theli/theli//bin/Linux_64//rename P_MISSFITS=${BIN}/missfits +++ P_MISSFITS=/home/woho/work/theli/theli//bin/Linux_64//missfits P_SWARPFILTER=${BIN}/swarpfilter +++ P_SWARPFILTER=/home/woho/work/theli/theli//bin/Linux_64//swarpfilter P_FITSBLOCKEDIT=${BIN}/fitsblockedit +++ P_FITSBLOCKEDIT=/home/woho/work/theli/theli//bin/Linux_64//fitsblockedit P_FITSMASK=${BIN}/fitsmask +++ P_FITSMASK=/home/woho/work/theli/theli//bin/Linux_64//fitsmask P_FITSMEDIAN=${BIN}/fitsmedian +++ P_FITSMEDIAN=/home/woho/work/theli/theli//bin/Linux_64//fitsmedian P_FITSNANMASK=${BIN}/fitsnanmask +++ P_FITSNANMASK=/home/woho/work/theli/theli//bin/Linux_64//fitsnanmask P_FITSSTAT=${BIN}/fitsstat +++ P_FITSSTAT=/home/woho/work/theli/theli//bin/Linux_64//fitsstat P_FITSSPLITBAYER=${BIN}/fitssplitbayer +++ P_FITSSPLITBAYER=/home/woho/work/theli/theli//bin/Linux_64//fitssplitbayer P_FITSGUESSGEOM=${BIN}/fitsguessgeom +++ P_FITSGUESSGEOM=/home/woho/work/theli/theli//bin/Linux_64//fitsguessgeom P_SPLITVISIRFITSCUBE=${BIN}/split_visirfitscube +++ P_SPLITVISIRFITSCUBE=/home/woho/work/theli/theli//bin/Linux_64//split_visirfitscube P_SPLITSUPRIMECAM=${BIN}/splitsuprimecam +++ P_SPLITSUPRIMECAM=/home/woho/work/theli/theli//bin/Linux_64//splitsuprimecam P_PASTEMOSAICII=${BIN}/paste_mosaicII +++ P_PASTEMOSAICII=/home/woho/work/theli/theli//bin/Linux_64//paste_mosaicII P_PASTESOI=${BIN}/paste_soi +++ P_PASTESOI=/home/woho/work/theli/theli//bin/Linux_64//paste_soi P_PASTEY4KCAM=${BIN}/paste_Y4KCam +++ P_PASTEY4KCAM=/home/woho/work/theli/theli//bin/Linux_64//paste_Y4KCam P_PASTETEK2K=${BIN}/paste_Tek2K +++ P_PASTETEK2K=/home/woho/work/theli/theli//bin/Linux_64//paste_Tek2K P_GETSHIFT=${BIN}/get_shift +++ P_GETSHIFT=/home/woho/work/theli/theli//bin/Linux_64//get_shift P_FITSNONLINEARITY=${BIN}/fitsnonlinearity +++ P_FITSNONLINEARITY=/home/woho/work/theli/theli//bin/Linux_64//fitsnonlinearity P_FITSPIC=${BIN}/fitspic +++ P_FITSPIC=/home/woho/work/theli/theli//bin/Linux_64//fitspic P_FITSPOLYGON=${BIN}/fitspolygon +++ P_FITSPOLYGON=/home/woho/work/theli/theli//bin/Linux_64//fitspolygon P_DCRAW=${BIN}/dcraw +++ P_DCRAW=/home/woho/work/theli/theli//bin/Linux_64//dcraw P_DECSEXCONV=${BIN}/decsexconv +++ P_DECSEXCONV=/home/woho/work/theli/theli//bin/Linux_64//decsexconv P_STIFF=${BIN}/stiff +++ P_STIFF=/home/woho/work/theli/theli//bin/Linux_64//stiff P_SUBSKY=${BIN}/subsky +++ P_SUBSKY=/home/woho/work/theli/theli//bin/Linux_64//subsky P_GIFSICLE=${BIN}/gifsicle +++ P_GIFSICLE=/home/woho/work/theli/theli//bin/Linux_64//gifsicle P_XY2SKY=${BIN}/xy2sky +++ P_XY2SKY=/home/woho/work/theli/theli//bin/Linux_64//xy2sky P_SKY2XY=${BIN}/sky2xy +++ P_SKY2XY=/home/woho/work/theli/theli//bin/Linux_64//sky2xy P_GETKEY=${BIN}/getkey +++ P_GETKEY=/home/woho/work/theli/theli//bin/Linux_64//getkey P_SKY2XY_HELPER=${BIN}/sky2xy_helper +++ P_SKY2XY_HELPER=/home/woho/work/theli/theli//bin/Linux_64//sky2xy_helper P_GET_ROTIMSIZE=${BIN}/get_rotimsize +++ P_GET_ROTIMSIZE=/home/woho/work/theli/theli//bin/Linux_64//get_rotimsize P_CLEANSTRING=${BIN}/cleanstring +++ P_CLEANSTRING=/home/woho/work/theli/theli//bin/Linux_64//cleanstring P_NUMCPU=${BIN}/numcpu +++ P_NUMCPU=/home/woho/work/theli/theli//bin/Linux_64//numcpu P_GETSTATS=${BIN}/getstats +++ P_GETSTATS=/home/woho/work/theli/theli//bin/Linux_64//getstats P_CDELT2CD=${BIN}/cdelt2cd +++ P_CDELT2CD=/home/woho/work/theli/theli//bin/Linux_64//cdelt2cd P_GETCDMATRIX=${BIN}/get_cdmatrix +++ P_GETCDMATRIX=/home/woho/work/theli/theli//bin/Linux_64//get_cdmatrix P_GETPIXSCALE=${BIN}/get_pixscale +++ P_GETPIXSCALE=/home/woho/work/theli/theli//bin/Linux_64//get_pixscale P_GETPOSANGLE=${BIN}/get_posangle +++ P_GETPOSANGLE=/home/woho/work/theli/theli//bin/Linux_64//get_posangle P_GETREFCATRADIUS=${BIN}/get_refcat_radius +++ P_GETREFCATRADIUS=/home/woho/work/theli/theli//bin/Linux_64//get_refcat_radius P_MERGEDAT=${BIN}/mergedat +++ P_MERGEDAT=/home/woho/work/theli/theli//bin/Linux_64//mergedat P_ROTATECDMATRIX=${BIN}/rotate_cdmatrix +++ P_ROTATECDMATRIX=/home/woho/work/theli/theli//bin/Linux_64//rotate_cdmatrix P_BACKGROUNDDYNAMIC=${BIN}/background_dynamic +++ P_BACKGROUNDDYNAMIC=/home/woho/work/theli/theli//bin/Linux_64//background_dynamic P_BACKGROUNDSTATIC=${BIN}/background_static +++ P_BACKGROUNDSTATIC=/home/woho/work/theli/theli//bin/Linux_64//background_static P_MJD=${BIN}/mjd +++ P_MJD=/home/woho/work/theli/theli//bin/Linux_64//mjd P_LST=${BIN}/lst +++ P_LST=/home/woho/work/theli/theli//bin/Linux_64//lst P_IMALYZER=${BIN}/imalyzer +++ P_IMALYZER=/home/woho/work/theli/theli//bin/Linux_64//imalyzer P_E2ELL=${BIN}/e2ell +++ P_E2ELL=/home/woho/work/theli/theli//bin/Linux_64//e2ell P_FITSSMOOTHEDGE=${BIN}/fitssmoothedge +++ P_FITSSMOOTHEDGE=/home/woho/work/theli/theli//bin/Linux_64//fitssmoothedge P_FITSEXTRACTEXT=${BIN}/fitsextractext +++ P_FITSEXTRACTEXT=/home/woho/work/theli/theli//bin/Linux_64//fitsextractext P_ERRTEST=${BIN}/errtest +++ P_ERRTEST=/home/woho/work/theli/theli//bin/Linux_64//errtest P_BUILDINDEX=${BIN_ANET}/build-index +++ P_BUILDINDEX=/home/woho/work/theli/theli//gui/packages/astrometry/build/bin//build-index P_SOLVEFIELD=${BIN_ANET}/solve-field +++ P_SOLVEFIELD=/home/woho/work/theli/theli//gui/packages/astrometry/build/bin//solve-field P_XCORR=${BIN}/xcorr +++ P_XCORR=/home/woho/work/theli/theli//bin/Linux_64//xcorr # # load the parameter files # . ~/.theli/param_set1.ini +++ . /home/woho/.theli/param_set1.ini PROJECTNAME=milkyway_24mm_tracked ++++ PROJECTNAME=milkyway_24mm_tracked NPARA=8 ++++ NPARA=8 GUIVERSION=2.7.0 ++++ GUIVERSION=2.7.0 KERNEL=Linux ++++ KERNEL=Linux NFRAMES=9 ++++ NFRAMES=9 V_PRE_SPLITMIRCUBE=N ++++ V_PRE_SPLITMIRCUBE=N V_DO_BIAS=Y ++++ V_DO_BIAS=Y V_DO_FLAT=Y ++++ V_DO_FLAT=Y V_NONLINCORR=N ++++ V_NONLINCORR=N V_AP_SERVER=vizier.u-strasbg.fr ++++ V_AP_SERVER=vizier.u-strasbg.fr V_AP_MAGLIM=7 ++++ V_AP_MAGLIM=7 V_AP_RADIUS=5400 ++++ V_AP_RADIUS=5400 V_AP_REFRA=19:00:00 ++++ V_AP_REFRA=19:00:00 V_AP_REFDEC=40:00:00 ++++ V_AP_REFDEC=40:00:00 . ~/.theli/param_set2.ini +++ . /home/woho/.theli/param_set2.ini V_PRE_RENAME_CHECKED=0 ++++ V_PRE_RENAME_CHECKED=0 V_RENAME_FITSKEY=ARCFILE ++++ V_RENAME_FITSKEY=ARCFILE V_SORT_FITSKEY=OBJECT ++++ V_SORT_FITSKEY=OBJECT V_SORT_BIAS= ++++ V_SORT_BIAS= V_SORT_DARK= ++++ V_SORT_DARK= V_SORT_DOMEFLAT= ++++ V_SORT_DOMEFLAT= V_SORT_SKYFLAT= ++++ V_SORT_SKYFLAT= V_SORT_STD= ++++ V_SORT_STD= V_PRE_XTALK_NOR_CHECKED=0 ++++ V_PRE_XTALK_NOR_CHECKED=0 V_PRE_XTALK_ROW_CHECKED=0 ++++ V_PRE_XTALK_ROW_CHECKED=0 V_PRE_XTALK_MULTI_CHECKED=0 ++++ V_PRE_XTALK_MULTI_CHECKED=0 V_PRE_XTALK_NOR_AMPLITUDE= ++++ V_PRE_XTALK_NOR_AMPLITUDE= V_PRE_XTALK_ROW_AMPLITUDE= ++++ V_PRE_XTALK_ROW_AMPLITUDE= V_PRE_XTALK_NOR_BUTTONID=-1 ++++ V_PRE_XTALK_NOR_BUTTONID=-1 V_PRE_XTALK_ROW_BUTTONID=-1 ++++ V_PRE_XTALK_ROW_BUTTONID=-1 V_PRE_XTALK_MULTI_BUTTONID=-1 ++++ V_PRE_XTALK_MULTI_BUTTONID=-1 V_PRE_XTALK_MULTI_NSECTION= ++++ V_PRE_XTALK_MULTI_NSECTION= V_CAL_OVSCANNLOW=0 ++++ V_CAL_OVSCANNLOW=0 V_CAL_OVSCANNHIGH=1 ++++ V_CAL_OVSCANNHIGH=1 V_CAL_BIASNLOW=0 ++++ V_CAL_BIASNLOW=0 V_CAL_BIASNHIGH=1 ++++ V_CAL_BIASNHIGH=1 V_CAL_DARKNLOW=0 ++++ V_CAL_DARKNLOW=0 V_CAL_DARKNHIGH=1 ++++ V_CAL_DARKNHIGH=1 V_CAL_FLATNLOW=0 ++++ V_CAL_FLATNLOW=0 V_CAL_FLATNHIGH=1 ++++ V_CAL_FLATNHIGH=1 V_CAL_USEDARK=FALSE ++++ V_CAL_USEDARK=FALSE V_BACK_NLOW=0 ++++ V_BACK_NLOW=0 V_BACK_NHIGH=1 ++++ V_BACK_NHIGH=1 V_BACK_DETECTTHRESH=1.3 ++++ V_BACK_DETECTTHRESH=1.3 V_BACK_DETECTMINAREA=5 ++++ V_BACK_DETECTMINAREA=5 V_BACK_ILLUMSMOOTH= ++++ V_BACK_ILLUMSMOOTH= V_BACK_FRINGESMOOTH= ++++ V_BACK_FRINGESMOOTH= V_BACK_WINDOWSIZE=0 ++++ V_BACK_WINDOWSIZE=0 V_BACK_GAPSIZE=1.0 ++++ V_BACK_GAPSIZE=1.0 V_BACK_APPLYMODE=0 ++++ V_BACK_APPLYMODE=0 V_BACK_COMBINEMETHOD=0 ++++ V_BACK_COMBINEMETHOD=0 V_BACK_SEXFILTER=Y ++++ V_BACK_SEXFILTER=Y V_BACK_ADJUSTGAINS=N ++++ V_BACK_ADJUSTGAINS=N V_BACK_FRINGESCALE=Y ++++ V_BACK_FRINGESCALE=Y V_BACK_SKY2PASS=Y ++++ V_BACK_SKY2PASS=Y V_COLLDETECTTHRESH= ++++ V_COLLDETECTTHRESH= V_COLLDETECTMINAREA= ++++ V_COLLDETECTMINAREA= V_COLLREJECTTHRESH=1.5 ++++ V_COLLREJECTTHRESH=1.5 V_COLLDIRECTION=x ++++ V_COLLDIRECTION=x V_COLLXMIN= ++++ V_COLLXMIN= V_COLLXMAX= ++++ V_COLLXMAX= V_COLLYMIN= ++++ V_COLLYMIN= V_COLLYMAX= ++++ V_COLLYMAX= V_COLLMASKACTION=1 ++++ V_COLLMASKACTION=1 V_COLLAUTOTHRESHOLD=0 ++++ V_COLLAUTOTHRESHOLD=0 V_WEIGHTBINMIN=-100 ++++ V_WEIGHTBINMIN=-100 V_WEIGHTBINMAX=500 ++++ V_WEIGHTBINMAX=500 V_WEIGHTBINSIZE=4 ++++ V_WEIGHTBINSIZE=4 V_WEIGHTLOWTHRESHOLD= ++++ V_WEIGHTLOWTHRESHOLD= V_WEIGHTHIGHTHRESHOLD= ++++ V_WEIGHTHIGHTHRESHOLD= V_GLOBWFLATMIN=0.5 ++++ V_GLOBWFLATMIN=0.5 V_GLOBWFLATMAX=1.6 ++++ V_GLOBWFLATMAX=1.6 V_GLOBWDARKMIN= ++++ V_GLOBWDARKMIN= V_GLOBWDARKMAX= ++++ V_GLOBWDARKMAX= V_GLOBWDARKDIR= ++++ V_GLOBWDARKDIR= V_COSMICSTHRESHOLD=0.1 ++++ V_COSMICSTHRESHOLD=0.1 V_COSMICDT=6 ++++ V_COSMICDT=6 V_COSMICDMIN=1 ++++ V_COSMICDMIN=1 V_DEFECT_KERNELSIZE= ++++ V_DEFECT_KERNELSIZE= V_DEFECT_ROWTOL= ++++ V_DEFECT_ROWTOL= V_DEFECT_COLTOL= ++++ V_DEFECT_COLTOL= V_DEFECT_CLUSTOL= ++++ V_DEFECT_CLUSTOL= V_DEFECT_KERNELSIZE_SF= ++++ V_DEFECT_KERNELSIZE_SF= V_DEFECT_ROWTOL_SF= ++++ V_DEFECT_ROWTOL_SF= V_DEFECT_COLTOL_SF= ++++ V_DEFECT_COLTOL_SF= V_DEFECT_CLUSTOL_SF= ++++ V_DEFECT_CLUSTOL_SF= V_BLOOMLOWLIMIT=20000 ++++ V_BLOOMLOWLIMIT=20000 V_BLOOMMINAREA=100 ++++ V_BLOOMMINAREA=100 V_BLOOMWIDTH=0 ++++ V_BLOOMWIDTH=0 V_WEIGHT_BINOUTLIER=FALSE ++++ V_WEIGHT_BINOUTLIER=FALSE V_GLOBW_UNIFORMWEIGHT=FALSE ++++ V_GLOBW_UNIFORMWEIGHT=FALSE V_MASKBLOOMSPIKE=0 ++++ V_MASKBLOOMSPIKE=0 V_AP_DETECTTHRESH=40.0 ++++ V_AP_DETECTTHRESH=40.0 V_AP_DETECTMINAREA=5 ++++ V_AP_DETECTMINAREA=5 V_DEBLENDMINCONT=0.0005 ++++ V_DEBLENDMINCONT=0.0005 V_AP_LOWNUM=1 ++++ V_AP_LOWNUM=1 V_SEXCATMINFWHM=1.5 ++++ V_SEXCATMINFWHM=1.5 V_SEXCATFLAG=8 ++++ V_SEXCATFLAG=8 V_SATURATION=10000 ++++ V_SATURATION=10000 V_SEXBACKLEVEL= ++++ V_SEXBACKLEVEL= V_AP_FILTER=N ++++ V_AP_FILTER=N V_SCAMP_MAXPOSANGLE=2.0 ++++ V_SCAMP_MAXPOSANGLE=2.0 V_SCAMP_MAXOFFSET=2.0 ++++ V_SCAMP_MAXOFFSET=2.0 V_SCAMP_MAXSCALE=1.05 ++++ V_SCAMP_MAXSCALE=1.05 V_SCAMP_SNLOW=5 ++++ V_SCAMP_SNLOW=5 V_SCAMP_SNHIGH=20 ++++ V_SCAMP_SNHIGH=20 V_SCAMP_FGROUPRADIUS=180.0 ++++ V_SCAMP_FGROUPRADIUS=180.0 V_SCAMP_CROSSIDRADIUS=500 ++++ V_SCAMP_CROSSIDRADIUS=500 V_SCAMP_ASTREFWEIGHT=1.0 ++++ V_SCAMP_ASTREFWEIGHT=1.0 V_SCAMP_ASTRINSTRUKEY=FILTER,POINTING ++++ V_SCAMP_ASTRINSTRUKEY=FILTER,POINTING V_SCAMP_PHOTINSTRUKEY=FILTER ++++ V_SCAMP_PHOTINSTRUKEY=FILTER V_SCAMP_POLYORDER=4 ++++ V_SCAMP_POLYORDER=4 V_SCAMP_POLYORDER2= ++++ V_SCAMP_POLYORDER2= V_SCAMP_DISTORTGROUPS= ++++ V_SCAMP_DISTORTGROUPS= V_SCAMP_DISTORTKEYS= ++++ V_SCAMP_DISTORTKEYS= V_SCAMP_STABILITY=INSTRUMENT ++++ V_SCAMP_STABILITY=INSTRUMENT V_SCAMP_MOSAICTYPE=UNCHANGED ++++ V_SCAMP_MOSAICTYPE=UNCHANGED V_SCAMP_FOCALPLANE=DEFAULT ++++ V_SCAMP_FOCALPLANE=DEFAULT V_SCAMP_MATCHFLIPPED=N ++++ V_SCAMP_MATCHFLIPPED=N V_ANET_MAXSCALE=1.05 ++++ V_ANET_MAXSCALE=1.05 V_ANET_POLYORDER=3 ++++ V_ANET_POLYORDER=3 V_ANET_SCAMPDISTORT=N ++++ V_ANET_SCAMPDISTORT=N V_ABSPHOT_FILTER=B ++++ V_ABSPHOT_FILTER=B V_ABSPHOT_COLORFIXED=0.1 ++++ V_ABSPHOT_COLORFIXED=0.1 V_ABSPHOT_EXTINCTION=0 ++++ V_ABSPHOT_EXTINCTION=0 V_ABSPHOT_ZPMIN=24 ++++ V_ABSPHOT_ZPMIN=24 V_ABSPHOT_ZPMAX=25 ++++ V_ABSPHOT_ZPMAX=25 V_ABSPHOT_STDMINMAG=0.0 ++++ V_ABSPHOT_STDMINMAG=0.0 V_ABSPHOT_MAXPHOTERR=0.05 ++++ V_ABSPHOT_MAXPHOTERR=0.05 V_ABSPHOT_STDCAT_DIRECT=SDSS ++++ V_ABSPHOT_STDCAT_DIRECT=SDSS V_ABSPHOT_STDFILTERM2=u ++++ V_ABSPHOT_STDFILTERM2=u V_ABSPHOT_STDCAT_INDIRECT=LANDOLT_UBVRI ++++ V_ABSPHOT_STDCAT_INDIRECT=LANDOLT_UBVRI V_ABSPHOT_STDFILTER=U ++++ V_ABSPHOT_STDFILTER=U V_ABSPHOT_STDCOLOR=UmB ++++ V_ABSPHOT_STDCOLOR=UmB V_ABSPHOT_FITTINGMETHODM2=CHIP ++++ V_ABSPHOT_FITTINGMETHODM2=CHIP V_COADD_REFRA=19:00:00 ++++ V_COADD_REFRA=19:00:00 V_COADD_REFDEC=40:00:00 ++++ V_COADD_REFDEC=40:00:00 V_COADD_IDENT=(null) ++++ V_COADD_IDENT=(null) V_COADD_SEEING= ++++ V_COADD_SEEING= V_COADD_RZP= ++++ V_COADD_RZP= V_COADD_PIXSCALE=120 ++++ V_COADD_PIXSCALE=120 V_COADD_SIZEX= ++++ V_COADD_SIZEX= V_COADD_SIZEY= ++++ V_COADD_SIZEY= V_COADD_SKYPOSANGLE= ++++ V_COADD_SKYPOSANGLE= V_COADD_CHIPS="" ++++ V_COADD_CHIPS= V_COADD_FILTERTHRESHOLD= ++++ V_COADD_FILTERTHRESHOLD= V_COADD_FILTERCLUSTERSIZE= ++++ V_COADD_FILTERCLUSTERSIZE= V_COADD_FILTERBORDERWIDTH= ++++ V_COADD_FILTERBORDERWIDTH= V_COADD_SMOOTHEDGE= ++++ V_COADD_SMOOTHEDGE= V_COADD_PROPMOTIONRA= ++++ V_COADD_PROPMOTIONRA= V_COADD_PROPMOTIONDEC= ++++ V_COADD_PROPMOTIONDEC= V_COADD_KERNEL=LANCZOS3 ++++ V_COADD_KERNEL=LANCZOS3 V_COADD_FILTER= ++++ V_COADD_FILTER= V_COADD_PROJECTION=TAN ++++ V_COADD_PROJECTION=TAN V_COADD_CELESTIALTYPE=EQUATORIAL ++++ V_COADD_CELESTIALTYPE=EQUATORIAL V_COADD_COMBINETYPE=WEIGHTED ++++ V_COADD_COMBINETYPE=WEIGHTED . ~/.theli/param_set3.ini +++ . /home/woho/.theli/param_set3.ini V_SKYSUBDETECTTHRESH=1.5 ++++ V_SKYSUBDETECTTHRESH=1.5 V_SKYSUBDETECTMINAREA=5 ++++ V_SKYSUBDETECTMINAREA=5 V_SKYSUBBACKSIZE=1024 ++++ V_SKYSUBBACKSIZE=1024 V_SAVESKYMODEL=N ++++ V_SAVESKYMODEL=N V_CSKY_RA1= ++++ V_CSKY_RA1= V_CSKY_RA2= ++++ V_CSKY_RA2= V_CSKY_DEC1= ++++ V_CSKY_DEC1= V_CSKY_DEC2= ++++ V_CSKY_DEC2= V_CSKY_XMIN= ++++ V_CSKY_XMIN= V_CSKY_XMAX= ++++ V_CSKY_XMAX= V_CSKY_YMIN= ++++ V_CSKY_YMIN= V_CSKY_YMAX= ++++ V_CSKY_YMAX= V_CSKYMANUAL= ++++ V_CSKYMANUAL= V_CSKYMETHOD=0 ++++ V_CSKYMETHOD=0 export PYTHONPATH=/home/woho/work/theli/gui-2.7.1/packages//python/ +++ export PYTHONPATH=/home/woho/work/theli/gui-2.7.1/packages//python/ +++ PYTHONPATH=/home/woho/work/theli/gui-2.7.1/packages//python/ # Geographical latitude of the observatory OBSLAT=47.8 ++ OBSLAT=47.8 # Pixel scale in x and y [degrees] (CDELT1/2 keywords) PIXSCX=-0.0149167 ++ PIXSCX=-0.0149167 PIXSCY=0.0149167 ++ PIXSCY=0.0149167 # Pixel scale in arcsec PIXSCALE=53.7 ++ PIXSCALE=53.7 # Detector gain GAIN=1.0 ++ GAIN=1.0 # Overscan regions. The values are the x-range. # The min is given by OVSCANX1, the max by OVSCANX2. # We need separate regions for each chip. OVSCANX1=([1]=0) ++ OVSCANX1=([1]=0) OVSCANX2=([1]=0) ++ OVSCANX2=([1]=0) # Sections for the cutting. Select those pixels that receive light. # Give min values for x and y, and the extent in x and y. CUTX=([1]=1) ++ CUTX=([1]=1) CUTY=([1]=1) ++ CUTY=([1]=1) SIZEX=([1]=5794) ++ SIZEX=([1]=5794) SIZEY=([1]=3868) ++ SIZEY=([1]=3868) # Reference pixels for each chip. REFPIXX=([1]=2897) ++ REFPIXX=([1]=2897) REFPIXY=([1]=1934) ++ REFPIXY=([1]=1934) test -f ${TEMPDIR}/statstable.txt_$$ && rm ${TEMPDIR}/statstable.txt_$$ + test -f /home/woho/.theli/tmp//statstable.txt_17905 CATDIR=/$1/$2/cat + CATDIR=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat IMENDING=$3 + IMENDING=OFC HEADERDIR="" + HEADERDIR= if [ $# -eq 4 ]; then HEADERDIR=/$1/$2/$4 fi + '[' 4 -eq 4 ']' + HEADERDIR=//home/woho/work/astro/milkyway_24mm_tracked//lights/headers # obtain a list of the present exposures: ${P_FIND} ${CATDIR} -maxdepth 1 -name \*${IMENDING}.cat | \ ${P_GAWK} -F/ '{print $NF}' > \ ${TEMPDIR}/allfiles.txt_$$ + /usr/bin/find //home/woho/work/astro/milkyway_24mm_tracked//lights/cat -maxdepth 1 -name '*OFC.cat' + /usr/bin/gawk -F/ '{print $NF}' # The following 'awk' construct cuts away everything after # the last '_' in the image names (including the underscore itself); # we implicitely assume that the image extension DOES NOT contain '_'s. EXPOSURES=`${P_GAWK} '{ n = split($1, a, "_"); name = ""; for(i = 1; i < (n-1); i++) { name = name a[i] "_" } name = name a[n-1]; print name;}' ${TEMPDIR}/allfiles.txt_$$ | sort | uniq` ${P_GAWK} '{ n = split($1, a, "_"); name = ""; for(i = 1; i < (n-1); i++) { name = name a[i] "_" } name = name a[n-1]; print name;}' ${TEMPDIR}/allfiles.txt_$$ | sort | uniq ++ /usr/bin/gawk '{ n = split($1, a, "_"); name = ""; for(i = 1; i < (n-1); i++) { name = name a[i] "_" } name = name a[n-1]; print name;}' /home/woho/.theli/tmp//allfiles.txt_17905 ++ uniq + EXPOSURES='eos5d3_101EOS5D_HM6C1756_B eos5d3_101EOS5D_HM6C1756_G eos5d3_101EOS5D_HM6C1756_R eos5d3_101EOS5D_HM6C1757_B eos5d3_101EOS5D_HM6C1757_G eos5d3_101EOS5D_HM6C1757_R eos5d3_101EOS5D_HM6C1758_B eos5d3_101EOS5D_HM6C1758_G eos5d3_101EOS5D_HM6C1758_R eos5d3_101EOS5D_HM6C1759_B eos5d3_101EOS5D_HM6C1759_G eos5d3_101EOS5D_HM6C1759_R eos5d3_101EOS5D_HM6C1760_B eos5d3_101EOS5D_HM6C1760_G eos5d3_101EOS5D_HM6C1760_R eos5d3_101EOS5D_HM6C1761_B eos5d3_101EOS5D_HM6C1761_G eos5d3_101EOS5D_HM6C1761_R eos5d3_101EOS5D_HM6C1762_B eos5d3_101EOS5D_HM6C1762_G eos5d3_101EOS5D_HM6C1762_R eos5d3_101EOS5D_HM6C1763_B eos5d3_101EOS5D_HM6C1763_G eos5d3_101EOS5D_HM6C1763_R eos5d3_101EOS5D_HM6C1764_B eos5d3_101EOS5D_HM6C1764_G eos5d3_101EOS5D_HM6C1764_R eos5d3_101EOS5D_HM6C1765_B eos5d3_101EOS5D_HM6C1765_G eos5d3_101EOS5D_HM6C1765_R eos5d3_101EOS5D_HM6C1766_B eos5d3_101EOS5D_HM6C1766_G eos5d3_101EOS5D_HM6C1766_R eos5d3_101EOS5D_HM6C1767_B eos5d3_101EOS5D_HM6C1767_G eos5d3_101EOS5D_HM6C1767_R eos5d3_101EOS5D_HM6C1768_B eos5d3_101EOS5D_HM6C1768_G eos5d3_101EOS5D_HM6C1768_R eos5d3_101EOS5D_HM6C1769_B eos5d3_101EOS5D_HM6C1769_G eos5d3_101EOS5D_HM6C1769_R eos5d3_101EOS5D_HM6C1770_B eos5d3_101EOS5D_HM6C1770_G eos5d3_101EOS5D_HM6C1770_R eos5d3_101EOS5D_HM6C1778_B eos5d3_101EOS5D_HM6C1778_G eos5d3_101EOS5D_HM6C1778_R eos5d3_101EOS5D_HM6C1779_B eos5d3_101EOS5D_HM6C1779_G eos5d3_101EOS5D_HM6C1779_R eos5d3_101EOS5D_HM6C1780_B eos5d3_101EOS5D_HM6C1780_G eos5d3_101EOS5D_HM6C1780_R eos5d3_101EOS5D_HM6C1781_B eos5d3_101EOS5D_HM6C1781_G eos5d3_101EOS5D_HM6C1781_R eos5d3_101EOS5D_HM6C1782_B eos5d3_101EOS5D_HM6C1782_G eos5d3_101EOS5D_HM6C1782_R eos5d3_101EOS5D_HM6C1783_B eos5d3_101EOS5D_HM6C1783_G eos5d3_101EOS5D_HM6C1783_R eos5d3_101EOS5D_HM6C1784_B eos5d3_101EOS5D_HM6C1784_G eos5d3_101EOS5D_HM6C1784_R eos5d3_101EOS5D_HM6C1785_B eos5d3_101EOS5D_HM6C1785_G eos5d3_101EOS5D_HM6C1785_R eos5d3_101EOS5D_HM6C1786_B eos5d3_101EOS5D_HM6C1786_G eos5d3_101EOS5D_HM6C1786_R eos5d3_101EOS5D_HM6C1787_B eos5d3_101EOS5D_HM6C1787_G eos5d3_101EOS5D_HM6C1787_R eos5d3_101EOS5D_HM6C1788_B eos5d3_101EOS5D_HM6C1788_G eos5d3_101EOS5D_HM6C1788_R eos5d3_101EOS5D_HM6C1789_B eos5d3_101EOS5D_HM6C1789_G eos5d3_101EOS5D_HM6C1789_R eos5d3_101EOS5D_HM6C1790_B eos5d3_101EOS5D_HM6C1790_G eos5d3_101EOS5D_HM6C1790_R eos5d3_101EOS5D_HM6C1791_B eos5d3_101EOS5D_HM6C1791_G eos5d3_101EOS5D_HM6C1791_R eos5d3_101EOS5D_HM6C1792_B eos5d3_101EOS5D_HM6C1792_G eos5d3_101EOS5D_HM6C1792_R eos5d3_101EOS5D_HM6C1795_B eos5d3_101EOS5D_HM6C1795_G eos5d3_101EOS5D_HM6C1795_R eos5d3_101EOS5D_HM6C1796_B eos5d3_101EOS5D_HM6C1796_G eos5d3_101EOS5D_HM6C1796_R eos5d3_101EOS5D_HM6C1797_B eos5d3_101EOS5D_HM6C1797_G eos5d3_101EOS5D_HM6C1797_R eos5d3_101EOS5D_HM6C1798_B eos5d3_101EOS5D_HM6C1798_G eos5d3_101EOS5D_HM6C1798_R eos5d3_101EOS5D_HM6C1799_B eos5d3_101EOS5D_HM6C1799_G eos5d3_101EOS5D_HM6C1799_R eos5d3_101EOS5D_HM6C1800_B eos5d3_101EOS5D_HM6C1800_G eos5d3_101EOS5D_HM6C1800_R eos5d3_101EOS5D_HM6C1801_B eos5d3_101EOS5D_HM6C1801_G eos5d3_101EOS5D_HM6C1801_R eos5d3_101EOS5D_HM6C1802_B eos5d3_101EOS5D_HM6C1802_G eos5d3_101EOS5D_HM6C1802_R eos5d3_101EOS5D_HM6C1803_B eos5d3_101EOS5D_HM6C1803_G eos5d3_101EOS5D_HM6C1803_R eos5d3_101EOS5D_HM6C1804_B eos5d3_101EOS5D_HM6C1804_G eos5d3_101EOS5D_HM6C1804_R eos5d3_101EOS5D_HM6C1805_B eos5d3_101EOS5D_HM6C1805_G eos5d3_101EOS5D_HM6C1805_R eos5d3_101EOS5D_HM6C1806_B eos5d3_101EOS5D_HM6C1806_G eos5d3_101EOS5D_HM6C1806_R eos5d3_101EOS5D_HM6C1807_B eos5d3_101EOS5D_HM6C1807_G eos5d3_101EOS5D_HM6C1807_R eos5d3_101EOS5D_HM6C1808_B eos5d3_101EOS5D_HM6C1808_G eos5d3_101EOS5D_HM6C1808_R eos5d3_101EOS5D_HM6C1809_B eos5d3_101EOS5D_HM6C1809_G eos5d3_101EOS5D_HM6C1809_R' # go exposure by exposure to build up the statistics table: KEYTEST=0 # was a test which keys are available already performed? + KEYTEST=0 ABSPHOTINFO=0 + ABSPHOTINFO=0 RELPHOTINFO=0 + RELPHOTINFO=0 LENSINGINFO=0 + LENSINGINFO=0 KEYSTRING="OBJECT SEXBKGND SEXSFWHM GABODSID EXPTIME CRVAL1 CRVAL2" + KEYSTRING='OBJECT SEXBKGND SEXSFWHM GABODSID EXPTIME CRVAL1 CRVAL2' KEYSTRING="${KEYSTRING} FILTER AIRMASS" + KEYSTRING='OBJECT SEXBKGND SEXSFWHM GABODSID EXPTIME CRVAL1 CRVAL2 FILTER AIRMASS' for EXPOSURE in ${EXPOSURES} do ALLCATS=`ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1` ALLIMGS=`ls $1/$2/${EXPOSURE}*${IMENDING}.fits` # skip a catalog if the image does not exist (i.e., the user moved it to a parking folder) if [ "${ALLIMGS}"_A = "_A" ]; then continue fi GOODCATS="" for CAT in ${ALLCATS} do BADCCD=`${P_LDACTOASC} -i ${CAT} \ -t LDAC_IMHEAD -s | fold | \ grep BADCCD | awk '{print $3}'` if [ "${BADCCD}" != "1" ]; then GOODCATS="${GOODCATS} ${CAT}" fi done ${P_LDACCONV} -i ${GOODCATS} -o ${CATDIR}/${EXPOSURE}.cat -c ${INSTRUMENT} \ -f dummy -b 1 if [ ${KEYTEST} -eq 0 ]; then ${P_LDACTESTEXIST} -i ${CATDIR}/${EXPOSURE}.cat -t FIELDS -k ZPCHOICE if [ $? -eq 0 ]; then ABSPHOTINFO=1 KEYSTRING="${KEYSTRING} ZPCHOICE ZP COEFF ZP1 COEFF1 ZP2 COEFF2 ZP3 COEFF3" fi CAT=`echo ${ALLCATS} | ${P_GAWK} '{print $1}'` # BASE=`basename ${CAT} ${IMENDING}.cat1` BASE=`basename ${CAT} ${IMENDING}.cat1` if [ -f ${HEADERDIR}/${BASE}.head ]; then RELPHOTINFO=`${P_GAWK} 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { relzp = ($2 ~ /[0-9]+\.[0-9]*/) }} END {print relzp}' ${HEADERDIR}/${BASE}.head` fi ${P_LDACTESTEXIST} -i ${CATDIR}/${EXPOSURE}.cat -t OBJECTS -k e1 e2 if [ $? -eq 0 ]; then LENSINGINFO=1 fi KEYTEST=1 fi ${P_LDACTOASC} -b -s -i ${CATDIR}/${EXPOSURE}.cat \ -t FIELDS -k ${KEYSTRING} > ${TEMPDIR}/table.dat_$$ OBJECT=`${P_GAWK} 'NR==1 {print $1}' ${TEMPDIR}/table.dat_$$` GABODSID=`${P_GAWK} 'NR==1 {print $4}' ${TEMPDIR}/table.dat_$$` EXPTIME=`${P_GAWK} 'NR==1 {print $5}' ${TEMPDIR}/table.dat_$$` RA=`${P_GAWK} 'NR==1 {print $6}' ${TEMPDIR}/table.dat_$$` DEC=`${P_GAWK} 'NR==1 {print $7}' ${TEMPDIR}/table.dat_$$` FILTER=`${P_GAWK} 'NR==1 {print $8}' ${TEMPDIR}/table.dat_$$` AIRMASS=`${P_GAWK} 'NR==1 {print $9}' ${TEMPDIR}/table.dat_$$` BACK=`${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + ($2 / $5); n = n + 1} END {print m / n} ' \ ${TEMPDIR}/table.dat_$$` BACKSDEV=`${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($2 * $2) / ($5 * $5); m = m + ($2 / $5); n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' \ ${TEMPDIR}/table.dat_$$` SEEING=`${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + $3; n = n + 1} END {print m / n}' ${TEMPDIR}/table.dat_$$` SEEINGSDEV=`${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($3 * $3); m = m + $ 3; n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' \ ${TEMPDIR}/table.dat_$$` if [ ${ABSPHOTINFO} -eq 1 ]; then ZPCHOICE=`${P_GAWK} 'NR==1 {print $10}' ${TEMPDIR}/table.dat_$$` ZP=`${P_GAWK} 'NR==1 {print $11}' ${TEMPDIR}/table.dat_$$` COEFF=`${P_GAWK} 'NR==1 {print $12}' ${TEMPDIR}/table.dat_$$` ZP1=`${P_GAWK} 'NR==1 {print $13}' ${TEMPDIR}/table.dat_$$` COEFF1=`${P_GAWK} 'NR==1 {print $14}' ${TEMPDIR}/table.dat_$$` ZP2=`${P_GAWK} 'NR==1 {print $15}' ${TEMPDIR}/table.dat_$$` COEFF2=`${P_GAWK} 'NR==1 {print $16}' ${TEMPDIR}/table.dat_$$` ZP3=`${P_GAWK} 'NR==1 {print $17}' ${TEMPDIR}/table.dat_$$` COEFF3=`${P_GAWK} 'NR==1 {print $18}' ${TEMPDIR}/table.dat_$$` fi if [ ${RELPHOTINFO} -eq 1 ]; then BASE=`basename ${CATDIR}/${EXPOSURE}.cat .cat` RZP=`${P_GAWK} 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { print $2 }}' ${HEADERDIR}/${BASE}_1.head` fi if [ ${LENSINGINFO} -eq 1 ]; then ${P_LDACFILTER} -i ${CATDIR}/${EXPOSURE}.cat -o ${TEMPDIR}/filt.cat_$$\ -t OBJECTS -c "(cl=2);" ${P_LDACTOASC} -b -i filt.cat_$$ -t OBJECTS -k e1 e2 > \ ${TEMPDIR}/e1e2.asc_$$ E1=`${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + $1; n = n + 1} END {print m / n}' ${TEMPDIR}/e1e2.asc_$$` E1SDEV=`${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($1 * $1); m = m + $ 1; n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' \ ${TEMPDIR}/e1e2.asc_$$` E2=`${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + $2; n = n + 1} END {print m / n}' ${TEMPDIR}/e1e2.asc_$$` E2SDEV=`${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($2 * $2); m = m + $ 2; n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' \ ${TEMPDIR}/e1e2.asc_$$` fi EXPLINE="${EXPOSURE} ${OBJECT} ${EXPTIME} ${GABODSID} ${SEEING} ${SEEINGSDEV}" EXPLINE="${EXPLINE} ${BACK} ${BACKSDEV} ${RA} ${DEC} ${FILTER} ${AIRMASS}" if [ ${ABSPHOTINFO} -eq 1 ] then EXPLINE="${EXPLINE} ${ZPCHOICE} ${ZP} ${COEFF} ${ZP1} ${COEFF1}" EXPLINE="${EXPLINE} ${ZP2} ${COEFF2} ${ZP3} ${COEFF3}" fi if [ ${RELPHOTINFO} -eq 1 ] then EXPLINE="${EXPLINE} ${RZP}" fi if [ ${LENSINGINFO} -eq 1 ] then EXPLINE="${EXPLINE} ${E1} ${E1SDEV} ${E2} ${E2SDEV}" fi echo ${EXPLINE} >> ${TEMPDIR}/statstable.txt_$$ done + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1756_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1756_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1756_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1756_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1756_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1756_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1756_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1757_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1757_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1757_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1757_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1757_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1757_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1757_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1758_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1758_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1758_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1758_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1758_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1758_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1758_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1759_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1759_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1759_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1759_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1759_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1759_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1759_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1760_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1760_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1760_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1760_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1760_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1760_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1760_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1761_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1761_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1761_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1761_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1761_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1761_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1761_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1762_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1762_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1762_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1762_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1762_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1762_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1762_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1763_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1763_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1763_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1763_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1763_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1763_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1763_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1764_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1764_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1764_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1764_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1764_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1764_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1764_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1765_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1765_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1765_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1765_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1765_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1765_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1765_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1766_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1766_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1766_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1766_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1766_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1766_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1766_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1767_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1767_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1767_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1767_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1767_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1767_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1767_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1768_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1768_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1768_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1768_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1768_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1768_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1768_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1769_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1769_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1769_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1769_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1769_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1769_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1769_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1770_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1770_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1770_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1770_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1770_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1770_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1770_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1778_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1778_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1778_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1778_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1778_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1778_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1778_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1779_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1779_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1779_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1779_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1779_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1779_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1779_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1780_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1780_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1780_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1780_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1780_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1780_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1780_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1781_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1781_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1781_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1781_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1781_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1781_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1781_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1782_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1782_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1782_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1782_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1782_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1782_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1782_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1783_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1783_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1783_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1783_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1783_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1783_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1783_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1784_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1784_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1784_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1784_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1784_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1784_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1784_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_B_1OFC.fits + ALLIMGS=/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_B_1OFC.fits + '[' /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_B_1OFC.fits_A = _A ']' + GOODCATS= + for CAT in '${ALLCATS}' ${P_LDACTOASC} -i ${CAT} -t LDAC_IMHEAD -s | fold | grep BADCCD | awk '{print $3}' ++ /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 -t LDAC_IMHEAD -s ++ fold ++ grep BADCCD ++ awk '{print $3}' > Reading catalog(s) > All done  + BADCCD= + '[' '' '!=' 1 ']' + GOODCATS=' //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1' + /home/woho/work/theli/theli//bin/Linux_64//ldacconv -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 -o //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B.cat -c EOS5D3@24mm -f dummy -b 1 > Reading catalog(s) > Sticking catalog(s) > Saving catalog > Cleaning memory > All done  + '[' 0 -eq 0 ']' + /home/woho/work/theli/theli//bin/Linux_64//ldactestexist -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B.cat -t FIELDS -k ZPCHOICE > Reading catalog  > *Error*: found no such key: ZPCHOICE + '[' 1 -eq 0 ']' echo ${ALLCATS} | ${P_GAWK} '{print $1}' ++ echo //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 ++ /usr/bin/gawk '{print $1}' + CAT=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 basename ${CAT} ${IMENDING}.cat1 ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat1 OFC.cat1 + BASE=eos5d3_101EOS5D_HM6C1785_B_1 + '[' -f //home/woho/work/astro/milkyway_24mm_tracked//lights/headers/eos5d3_101EOS5D_HM6C1785_B_1.head ']' ${P_GAWK} 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { relzp = ($2 ~ /[0-9]+\.[0-9]*/) }} END {print relzp}' ${HEADERDIR}/${BASE}.head ++ /usr/bin/gawk 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { relzp = ($2 ~ /[0-9]+\.[0-9]*/) }} END {print relzp}' //home/woho/work/astro/milkyway_24mm_tracked//lights/headers/eos5d3_101EOS5D_HM6C1785_B_1.head + RELPHOTINFO=1 + /home/woho/work/theli/theli//bin/Linux_64//ldactestexist -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B.cat -t OBJECTS -k e1 e2 > Reading catalog  > *Error*: found no such key: e1 + '[' 1 -eq 0 ']' + KEYTEST=1 + /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -b -s -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B.cat -t FIELDS -k OBJECT SEXBKGND SEXSFWHM GABODSID EXPTIME CRVAL1 CRVAL2 FILTER AIRMASS > Reading catalog(s) > All done  ${P_GAWK} 'NR==1 {print $1}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $1}' /home/woho/.theli/tmp//table.dat_17905 + OBJECT=UNKNOWN ${P_GAWK} 'NR==1 {print $4}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $4}' /home/woho/.theli/tmp//table.dat_17905 + GABODSID=821 ${P_GAWK} 'NR==1 {print $5}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $5}' /home/woho/.theli/tmp//table.dat_17905 + EXPTIME=120.0000000 ${P_GAWK} 'NR==1 {print $6}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $6}' /home/woho/.theli/tmp//table.dat_17905 + RA=292.8666667 ${P_GAWK} 'NR==1 {print $7}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $7}' /home/woho/.theli/tmp//table.dat_17905 + DEC=32.10277778 ${P_GAWK} 'NR==1 {print $8}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $8}' /home/woho/.theli/tmp//table.dat_17905 + FILTER=Blue ${P_GAWK} 'NR==1 {print $9}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $9}' /home/woho/.theli/tmp//table.dat_17905 + AIRMASS=1.000000000 ${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + ($2 / $5); n = n + 1} END {print m / n} ' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {m = 0; n = 0} { m = m + ($2 / $5); n = n + 1} END {print m / n} ' /home/woho/.theli/tmp//table.dat_17905 + BACK=1.48121 ${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($2 * $2) / ($5 * $5); m = m + ($2 / $5); n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($2 * $2) / ($5 * $5); m = m + ($2 / $5); n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' /home/woho/.theli/tmp//table.dat_17905 + BACKSDEV=2.10734e-08 ${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + $3; n = n + 1} END {print m / n}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {m = 0; n = 0} { m = m + $3; n = n + 1} END {print m / n}' /home/woho/.theli/tmp//table.dat_17905 + SEEING=1.5 ${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($3 * $3); m = m + $ 3; n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($3 * $3); m = m + $ 3; n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' /home/woho/.theli/tmp//table.dat_17905 + SEEINGSDEV=0 + '[' 0 -eq 1 ']' + '[' 1 -eq 1 ']' basename ${CATDIR}/${EXPOSURE}.cat .cat ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B.cat .cat + BASE=eos5d3_101EOS5D_HM6C1785_B ${P_GAWK} 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { print $2 }}' ${HEADERDIR}/${BASE}_1.head ++ /usr/bin/gawk 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { print $2 }}' //home/woho/work/astro/milkyway_24mm_tracked//lights/headers/eos5d3_101EOS5D_HM6C1785_B_1.head + RZP=' 0.000000 ' + '[' 0 -eq 1 ']' + EXPLINE='eos5d3_101EOS5D_HM6C1785_B UNKNOWN 120.0000000 821 1.5 0' + EXPLINE='eos5d3_101EOS5D_HM6C1785_B UNKNOWN 120.0000000 821 1.5 0 1.48121 2.10734e-08 292.8666667 32.10277778 Blue 1.000000000' + '[' 0 -eq 1 ']' + '[' 1 -eq 1 ']' + EXPLINE='eos5d3_101EOS5D_HM6C1785_B UNKNOWN 120.0000000 821 1.5 0 1.48121 2.10734e-08 292.8666667 32.10277778 Blue 1.000000000 0.000000 ' + '[' 0 -eq 1 ']' + echo eos5d3_101EOS5D_HM6C1785_B UNKNOWN 120.0000000 821 1.5 0 1.48121 2.10734e-08 292.8666667 32.10277778 Blue 1.000000000 0.000000 + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_G_1OFC.fits + ALLIMGS=/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_G_1OFC.fits + '[' /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_G_1OFC.fits_A = _A ']' + GOODCATS= + for CAT in '${ALLCATS}' ${P_LDACTOASC} -i ${CAT} -t LDAC_IMHEAD -s | fold | grep BADCCD | awk '{print $3}' ++ fold ++ grep BADCCD ++ awk '{print $3}' > Reading catalog(s) > All done  + BADCCD= + '[' '' '!=' 1 ']' + GOODCATS=' //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1' + /home/woho/work/theli/theli//bin/Linux_64//ldacconv -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat1 -o //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G.cat -c EOS5D3@24mm -f dummy -b 1 > Reading catalog(s) > Sticking catalog(s) > Saving catalog > Cleaning memory > All done  + '[' 1 -eq 0 ']' + /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -b -s -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G.cat -t FIELDS -k OBJECT SEXBKGND SEXSFWHM GABODSID EXPTIME CRVAL1 CRVAL2 FILTER AIRMASS > Reading catalog(s) > All done  ${P_GAWK} 'NR==1 {print $1}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $1}' /home/woho/.theli/tmp//table.dat_17905 + OBJECT=UNKNOWN ${P_GAWK} 'NR==1 {print $4}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $4}' /home/woho/.theli/tmp//table.dat_17905 + GABODSID=821 ${P_GAWK} 'NR==1 {print $5}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $5}' /home/woho/.theli/tmp//table.dat_17905 + EXPTIME=120.0000000 ${P_GAWK} 'NR==1 {print $6}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $6}' /home/woho/.theli/tmp//table.dat_17905 + RA=292.8666667 ${P_GAWK} 'NR==1 {print $7}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $7}' /home/woho/.theli/tmp//table.dat_17905 + DEC=32.10277778 ${P_GAWK} 'NR==1 {print $8}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $8}' /home/woho/.theli/tmp//table.dat_17905 + FILTER=Green ${P_GAWK} 'NR==1 {print $9}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $9}' /home/woho/.theli/tmp//table.dat_17905 + AIRMASS=1.000000000 ${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + ($2 / $5); n = n + 1} END {print m / n} ' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {m = 0; n = 0} { m = m + ($2 / $5); n = n + 1} END {print m / n} ' /home/woho/.theli/tmp//table.dat_17905 + BACK=2.93505 ${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($2 * $2) / ($5 * $5); m = m + ($2 / $5); n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($2 * $2) / ($5 * $5); m = m + ($2 / $5); n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' /home/woho/.theli/tmp//table.dat_17905 + BACKSDEV=0 ${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + $3; n = n + 1} END {print m / n}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {m = 0; n = 0} { m = m + $3; n = n + 1} END {print m / n}' /home/woho/.theli/tmp//table.dat_17905 + SEEING=1.5 ${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($3 * $3); m = m + $ 3; n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($3 * $3); m = m + $ 3; n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' /home/woho/.theli/tmp//table.dat_17905 + SEEINGSDEV=0 + '[' 0 -eq 1 ']' + '[' 1 -eq 1 ']' basename ${CATDIR}/${EXPOSURE}.cat .cat ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G.cat .cat + BASE=eos5d3_101EOS5D_HM6C1785_G ${P_GAWK} 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { print $2 }}' ${HEADERDIR}/${BASE}_1.head ++ /usr/bin/gawk 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { print $2 }}' //home/woho/work/astro/milkyway_24mm_tracked//lights/headers/eos5d3_101EOS5D_HM6C1785_G_1.head + RZP=' 0.000000 ' + '[' 0 -eq 1 ']' + EXPLINE='eos5d3_101EOS5D_HM6C1785_G UNKNOWN 120.0000000 821 1.5 0' + EXPLINE='eos5d3_101EOS5D_HM6C1785_G UNKNOWN 120.0000000 821 1.5 0 2.93505 0 292.8666667 32.10277778 Green 1.000000000' + '[' 0 -eq 1 ']' + '[' 1 -eq 1 ']' + EXPLINE='eos5d3_101EOS5D_HM6C1785_G UNKNOWN 120.0000000 821 1.5 0 2.93505 0 292.8666667 32.10277778 Green 1.000000000 0.000000 ' + '[' 0 -eq 1 ']' + echo eos5d3_101EOS5D_HM6C1785_G UNKNOWN 120.0000000 821 1.5 0 2.93505 0 292.8666667 32.10277778 Green 1.000000000 0.000000 + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_R_1OFC.fits + ALLIMGS=/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_R_1OFC.fits + '[' /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1785_R_1OFC.fits_A = _A ']' + GOODCATS= + for CAT in '${ALLCATS}' ${P_LDACTOASC} -i ${CAT} -t LDAC_IMHEAD -s | fold | grep BADCCD | awk '{print $3}' ++ /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 -t LDAC_IMHEAD -s ++ fold ++ grep BADCCD ++ awk '{print $3}' > Reading catalog(s) > All done  + BADCCD= + '[' '' '!=' 1 ']' + GOODCATS=' //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1' + /home/woho/work/theli/theli//bin/Linux_64//ldacconv -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat1 -o //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R.cat -c EOS5D3@24mm -f dummy -b 1 > Reading catalog(s) > Sticking catalog(s) > Saving catalog > Cleaning memory > All done  + '[' 1 -eq 0 ']' + /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -b -s -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R.cat -t FIELDS -k OBJECT SEXBKGND SEXSFWHM GABODSID EXPTIME CRVAL1 CRVAL2 FILTER AIRMASS > Reading catalog(s) > All done  ${P_GAWK} 'NR==1 {print $1}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $1}' /home/woho/.theli/tmp//table.dat_17905 + OBJECT=UNKNOWN ${P_GAWK} 'NR==1 {print $4}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $4}' /home/woho/.theli/tmp//table.dat_17905 + GABODSID=821 ${P_GAWK} 'NR==1 {print $5}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $5}' /home/woho/.theli/tmp//table.dat_17905 + EXPTIME=120.0000000 ${P_GAWK} 'NR==1 {print $6}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $6}' /home/woho/.theli/tmp//table.dat_17905 + RA=292.8666667 ${P_GAWK} 'NR==1 {print $7}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $7}' /home/woho/.theli/tmp//table.dat_17905 + DEC=32.10277778 ${P_GAWK} 'NR==1 {print $8}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $8}' /home/woho/.theli/tmp//table.dat_17905 + FILTER=Red ${P_GAWK} 'NR==1 {print $9}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'NR==1 {print $9}' /home/woho/.theli/tmp//table.dat_17905 + AIRMASS=1.000000000 ${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + ($2 / $5); n = n + 1} END {print m / n} ' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {m = 0; n = 0} { m = m + ($2 / $5); n = n + 1} END {print m / n} ' /home/woho/.theli/tmp//table.dat_17905 + BACK=1.68207 ${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($2 * $2) / ($5 * $5); m = m + ($2 / $5); n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($2 * $2) / ($5 * $5); m = m + ($2 / $5); n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' /home/woho/.theli/tmp//table.dat_17905 + BACKSDEV=2.10734e-08 ${P_GAWK} 'BEGIN {m = 0; n = 0} { m = m + $3; n = n + 1} END {print m / n}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {m = 0; n = 0} { m = m + $3; n = n + 1} END {print m / n}' /home/woho/.theli/tmp//table.dat_17905 + SEEING=1.5 ${P_GAWK} 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($3 * $3); m = m + $ 3; n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' ${TEMPDIR}/table.dat_$$ ++ /usr/bin/gawk 'BEGIN {s = 0; n = 0; m = 0} { s = s + ($3 * $3); m = m + $ 3; n = n + 1} END {m = m / n; print sqrt(s / n - m * m)}' /home/woho/.theli/tmp//table.dat_17905 + SEEINGSDEV=0 + '[' 0 -eq 1 ']' + '[' 1 -eq 1 ']' basename ${CATDIR}/${EXPOSURE}.cat .cat ++ basename //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R.cat .cat + BASE=eos5d3_101EOS5D_HM6C1785_R ${P_GAWK} 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { print $2 }}' ${HEADERDIR}/${BASE}_1.head ++ /usr/bin/gawk 'BEGIN {FS = "[=/]"; relzp = 0} { if ($1 ~ /^RZP/) { print $2 }}' //home/woho/work/astro/milkyway_24mm_tracked//lights/headers/eos5d3_101EOS5D_HM6C1785_R_1.head + RZP=' 0.000000 ' + '[' 0 -eq 1 ']' + EXPLINE='eos5d3_101EOS5D_HM6C1785_R UNKNOWN 120.0000000 821 1.5 0' + EXPLINE='eos5d3_101EOS5D_HM6C1785_R UNKNOWN 120.0000000 821 1.5 0 1.68207 2.10734e-08 292.8666667 32.10277778 Red 1.000000000' + '[' 0 -eq 1 ']' + '[' 1 -eq 1 ']' + EXPLINE='eos5d3_101EOS5D_HM6C1785_R UNKNOWN 120.0000000 821 1.5 0 1.68207 2.10734e-08 292.8666667 32.10277778 Red 1.000000000 0.000000 ' + '[' 0 -eq 1 ']' + echo eos5d3_101EOS5D_HM6C1785_R UNKNOWN 120.0000000 821 1.5 0 1.68207 2.10734e-08 292.8666667 32.10277778 Red 1.000000000 0.000000 + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1786_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1786_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1786_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1786_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1786_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1786_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1786_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1787_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1787_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1787_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1787_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1787_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1787_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1787_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1788_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1788_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1788_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1788_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1788_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1788_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1788_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1789_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1789_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1789_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1789_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1789_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1789_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1789_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1790_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1790_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1790_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1790_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1790_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1790_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1790_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1791_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1791_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1791_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1791_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1791_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1791_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1791_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1792_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1792_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1792_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1792_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1792_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1792_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1792_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1795_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1795_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1795_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1795_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1795_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1795_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1795_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1796_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1796_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1796_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1796_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1796_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1796_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1796_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1797_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1797_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1797_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1797_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1797_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1797_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1797_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1798_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1798_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1798_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1798_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1798_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1798_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1798_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1799_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1799_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1799_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1799_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1799_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1799_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1799_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1800_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1800_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1800_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1800_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1800_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1800_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1800_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1801_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1801_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1801_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1801_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1801_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1801_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1801_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1802_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1802_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1802_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1802_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1802_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1802_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1802_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1803_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1803_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1803_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1803_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1803_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1803_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1803_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1804_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1804_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1804_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1804_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1804_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1804_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1804_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1805_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1805_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1805_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1805_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1805_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1805_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1805_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1806_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1806_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1806_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1806_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1806_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1806_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1806_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1807_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1807_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1807_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1807_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1807_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1807_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1807_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1808_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1808_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1808_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1808_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1808_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1808_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1808_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_B_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_B_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1809_B*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1809_B*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_G_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_G_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1809_G*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1809_G*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue + for EXPOSURE in '${EXPOSURES}' ls ${CATDIR}/${EXPOSURE}*${IMENDING}.cat1 ++ ls //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_R_1OFC.cat1 + ALLCATS=//home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1809_R_1OFC.cat1 ls $1/$2/${EXPOSURE}*${IMENDING}.fits ++ ls '/home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1809_R*OFC.fits' ls: cannot access /home/woho/work/astro/milkyway_24mm_tracked//lights/eos5d3_101EOS5D_HM6C1809_R*OFC.fits: No such file or directory + ALLIMGS= + '[' _A = _A ']' + continue { echo 'COL_NAME = IMAGENAME' echo 'COL_TTYPE = STRING' echo 'COL_HTYPE = STRING' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 128' echo 'COL_NAME = OBJECT' echo 'COL_TTYPE = STRING' echo 'COL_HTYPE = STRING' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 128' echo 'COL_NAME = EXPTIME' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = GABODSID' echo 'COL_TTYPE = SHORT' echo 'COL_HTYPE = INT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = SEEING' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = SEEING_SDEV' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = BACKGR' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = BACKGR_SDEV' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = RA' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = DEC' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = FILTER' echo 'COL_TTYPE = STRING' echo 'COL_HTYPE = STRING' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 128' echo 'COL_NAME = AIRMASS' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' } > ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_NAME = IMAGENAME' + echo 'COL_TTYPE = STRING' + echo 'COL_HTYPE = STRING' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 128' + echo 'COL_NAME = OBJECT' + echo 'COL_TTYPE = STRING' + echo 'COL_HTYPE = STRING' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 128' + echo 'COL_NAME = EXPTIME' + echo 'COL_TTYPE = FLOAT' + echo 'COL_HTYPE = FLOAT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' + echo 'COL_NAME = GABODSID' + echo 'COL_TTYPE = SHORT' + echo 'COL_HTYPE = INT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' + echo 'COL_NAME = SEEING' + echo 'COL_TTYPE = FLOAT' + echo 'COL_HTYPE = FLOAT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' + echo 'COL_NAME = SEEING_SDEV' + echo 'COL_TTYPE = FLOAT' + echo 'COL_HTYPE = FLOAT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' + echo 'COL_NAME = BACKGR' + echo 'COL_TTYPE = FLOAT' + echo 'COL_HTYPE = FLOAT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' + echo 'COL_NAME = BACKGR_SDEV' + echo 'COL_TTYPE = FLOAT' + echo 'COL_HTYPE = FLOAT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' + echo 'COL_NAME = RA' + echo 'COL_TTYPE = FLOAT' + echo 'COL_HTYPE = FLOAT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' + echo 'COL_NAME = DEC' + echo 'COL_TTYPE = FLOAT' + echo 'COL_HTYPE = FLOAT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' + echo 'COL_NAME = FILTER' + echo 'COL_TTYPE = STRING' + echo 'COL_HTYPE = STRING' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 128' + echo 'COL_NAME = AIRMASS' + echo 'COL_TTYPE = FLOAT' + echo 'COL_HTYPE = FLOAT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' if [ "${ABSPHOTINFO}" -eq 1 ]; then { echo 'COL_NAME = ZPCHOICE' echo 'COL_TTYPE = SHORT' echo 'COL_HTYPE = INT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = ZP' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = COEFF' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = ZP1' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = COEFF1' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = ZP2' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = COEFF2' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = ZP3' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = COEFF3' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' } >> ${TEMPDIR}/asctoldac.conf_$$ fi + '[' 0 -eq 1 ']' if [ "${RELPHOTINFO}" -eq 1 ]; then { echo 'COL_NAME = RZP' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' } >> ${TEMPDIR}/asctoldac.conf_$$ fi + '[' 1 -eq 1 ']' + echo 'COL_NAME = RZP' + echo 'COL_TTYPE = FLOAT' + echo 'COL_HTYPE = FLOAT' + echo 'COL_COMM = ""' + echo 'COL_UNIT = ""' + echo 'COL_DEPTH = 1' if [ "${LENSINGINFO}" -eq 1 ]; then { echo 'COL_NAME = e1' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = e1_SDEV' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = e2' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' echo 'COL_NAME = e2_SDEV' echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' } >> ${TEMPDIR}/asctoldac.conf_$$ fi + '[' 0 -eq 1 ']' ${P_ASCTOLDAC} -i ${TEMPDIR}/statstable.txt_$$ -c ${TEMPDIR}/asctoldac.conf_$$ \ -o ${TEMPDIR}/chips.cat -t STATS + /home/woho/work/theli/theli//bin/Linux_64//asctoldac -i /home/woho/.theli/tmp//statstable.txt_17905 -c /home/woho/.theli/tmp//asctoldac.conf_17905 -o /home/woho/.theli/tmp//chips.cat -t STATS  ASCII table to Binary FITS table conversion Version: 0.6 (Aug 25 2012) 3 row(s) converted ################################################################## # replace the seeing estimate (THELI GUI obtains it differently) ################################################################## ${P_LDACRENKEY} -i ${TEMPDIR}/chips.cat -o ${TEMPDIR}/chips.cat1 -t STATS \ -k SEEING OLD_SEEING SEEING_SDEV OLD_SEEING_SDEV + /home/woho/work/theli/theli//bin/Linux_64//ldacrenkey -i /home/woho/.theli/tmp//chips.cat -o /home/woho/.theli/tmp//chips.cat1 -t STATS -k SEEING OLD_SEEING SEEING_SDEV OLD_SEEING_SDEV > Reading catalog > Changing name(s) > Saving catalog > Cleaning memory > All done  ${P_LDACTOASC} -i ${TEMPDIR}/chips.cat1 -t STATS -s -k IMAGENAME -b > ${TEMPDIR}/catlist_$$ + /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -i /home/woho/.theli/tmp//chips.cat1 -t STATS -s -k IMAGENAME -b > Reading catalog(s) > All done  # transfer the image seeing and its rms to the FIELDS table echo 'COL_NAME = SEEING' > ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_NAME = SEEING' echo 'COL_TTYPE = FLOAT' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_COMM = ""' echo 'COL_UNIT = ""' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_DEPTH = 1' echo 'COL_NAME = SEEING_SDEV' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_NAME = SEEING_SDEV' echo 'COL_TTYPE = FLOAT' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_TTYPE = FLOAT' echo 'COL_HTYPE = FLOAT' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_HTYPE = FLOAT' echo 'COL_COMM = ""' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_COMM = ""' echo 'COL_UNIT = ""' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_UNIT = ""' echo 'COL_DEPTH = 1' >> ${TEMPDIR}/asctoldac.conf_$$ + echo 'COL_DEPTH = 1' test -f ${TEMPDIR}/seeing.table_$$ && rm ${TEMPDIR}/seeing.table_$$ + test -f /home/woho/.theli/tmp//seeing.table_17905 exec < ${TEMPDIR}/catlist_$$ + exec while read base do CHIP=1 test -f ${TEMPDIR}/seeing.list_$$ && rm ${TEMPDIR}/seeing.list_$$ while [ "${CHIP}" -le "${NCHIPS}" ] do ${P_LDACTOASC} -i ${CATDIR}/${base}_${CHIP}${IMENDING}.cat \ -t FIELDS -k FWHM_WORLD -b >> ${TEMPDIR}/seeing.list_$$ CHIP=$((${CHIP}+1)) done seeing=`${P_GETSTATS} -i ${TEMPDIR}/seeing.list_$$ -m mean` seeingsdev=`${P_GETSTATS} -i ${TEMPDIR}/seeing.list_$$ -m sigma` echo ${seeing} ${seeingsdev} >> ${TEMPDIR}/seeing.table_$$ done + read base + CHIP=1 + test -f /home/woho/.theli/tmp//seeing.list_17905 + '[' 1 -le 1 ']' + /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_B_1OFC.cat -t FIELDS -k FWHM_WORLD -b > Reading catalog(s) > All done  + CHIP=2 + '[' 2 -le 1 ']' ${P_GETSTATS} -i ${TEMPDIR}/seeing.list_$$ -m mean ++ /home/woho/work/theli/theli//bin/Linux_64//getstats -i /home/woho/.theli/tmp//seeing.list_17905 -m mean + seeing=119.16 ${P_GETSTATS} -i ${TEMPDIR}/seeing.list_$$ -m sigma ++ /home/woho/work/theli/theli//bin/Linux_64//getstats -i /home/woho/.theli/tmp//seeing.list_17905 -m sigma + seeingsdev=-nan + echo 119.16 -nan + read base + CHIP=1 + test -f /home/woho/.theli/tmp//seeing.list_17905 + rm /home/woho/.theli/tmp//seeing.list_17905 + '[' 1 -le 1 ']' + /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_G_1OFC.cat -t FIELDS -k FWHM_WORLD -b > Reading catalog(s) > All done  + CHIP=2 + '[' 2 -le 1 ']' ${P_GETSTATS} -i ${TEMPDIR}/seeing.list_$$ -m mean ++ /home/woho/work/theli/theli//bin/Linux_64//getstats -i /home/woho/.theli/tmp//seeing.list_17905 -m mean + seeing=177.82 ${P_GETSTATS} -i ${TEMPDIR}/seeing.list_$$ -m sigma ++ /home/woho/work/theli/theli//bin/Linux_64//getstats -i /home/woho/.theli/tmp//seeing.list_17905 -m sigma + seeingsdev=-nan + echo 177.82 -nan + read base + CHIP=1 + test -f /home/woho/.theli/tmp//seeing.list_17905 + rm /home/woho/.theli/tmp//seeing.list_17905 + '[' 1 -le 1 ']' + /home/woho/work/theli/theli//bin/Linux_64//ldactoasc -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/eos5d3_101EOS5D_HM6C1785_R_1OFC.cat -t FIELDS -k FWHM_WORLD -b > Reading catalog(s) > All done  + CHIP=2 + '[' 2 -le 1 ']' ${P_GETSTATS} -i ${TEMPDIR}/seeing.list_$$ -m mean ++ /home/woho/work/theli/theli//bin/Linux_64//getstats -i /home/woho/.theli/tmp//seeing.list_17905 -m mean + seeing=177.67 ${P_GETSTATS} -i ${TEMPDIR}/seeing.list_$$ -m sigma ++ /home/woho/work/theli/theli//bin/Linux_64//getstats -i /home/woho/.theli/tmp//seeing.list_17905 -m sigma + seeingsdev=-nan + echo 177.67 -nan + read base ${P_ASCTOLDAC} -i ${TEMPDIR}/seeing.table_$$ \ -o ${TEMPDIR}/seeing_tmp.cat_$$ -t STATS \ -c ${TEMPDIR}/asctoldac.conf_$$ + /home/woho/work/theli/theli//bin/Linux_64//asctoldac -i /home/woho/.theli/tmp//seeing.table_17905 -o /home/woho/.theli/tmp//seeing_tmp.cat_17905 -t STATS -c /home/woho/.theli/tmp//asctoldac.conf_17905  ASCII table to Binary FITS table conversion Version: 0.6 (Aug 25 2012) 3 row(s) converted ${P_LDACJOINKEY} -i ${TEMPDIR}/chips.cat1 \ -o ${CATDIR}/chips.cat5 \ -p ${TEMPDIR}/seeing_tmp.cat_$$ \ -t STATS -k SEEING SEEING_SDEV + /home/woho/work/theli/theli//bin/Linux_64//ldacjoinkey -i /home/woho/.theli/tmp//chips.cat1 -o //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/chips.cat5 -p /home/woho/.theli/tmp//seeing_tmp.cat_17905 -t STATS -k SEEING SEEING_SDEV > Reading catalog > Saving catalog > Cleaning memory > All done  ################################################################## # END seeing replacement ################################################################## # for compatibility reasons create a dummy 'chips.cat6' catalogue: test -f ${CATDIR}/chips.cat6 || ln -s ${CATDIR}/chips.cat5 ${CATDIR}/chips.cat6 + test -f //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/chips.cat6 rm ${TEMPDIR}/e1e2.asc_$$ + rm /home/woho/.theli/tmp//e1e2.asc_17905 rm: cannot remove `/home/woho/.theli/tmp//e1e2.asc_17905': No such file or directory rm ${TEMPDIR}/filt.cat_$$ + rm /home/woho/.theli/tmp//filt.cat_17905 rm: cannot remove `/home/woho/.theli/tmp//filt.cat_17905': No such file or directory rm ${TEMPDIR}/table.dat_$$ + rm /home/woho/.theli/tmp//table.dat_17905 rm ${TEMPDIR}/asctoldac.conf_$$ + rm /home/woho/.theli/tmp//asctoldac.conf_17905 rm ${TEMPDIR}/statstable.txt_$$ + rm /home/woho/.theli/tmp//statstable.txt_17905 #!/bin/bash -xv # The script estimates an absolute photometric zeropoint for the # coadded image of a set. It relies on presence of information on # relative photometry and photometric zeropoints. If # the script is called with the first two arguments only it uses the # default zeropoints to estimate the zeropoint of a stacked image. INSTDIR=instruments_professional + INSTDIR=instruments_professional if [ ! -f ${INSTDIR}/${INSTRUMENT}.ini ]; then INSTDIR=instruments_commercial fi + '[' '!' -f instruments_professional/EOS5D3@24mm.ini ']' + INSTDIR=instruments_commercial if [ ! -f ${INSTDIR}/${INSTRUMENT}.ini ]; then INSTDIR=~/.theli/instruments_user/ fi + '[' '!' -f instruments_commercial/EOS5D3@24mm.ini ']' + INSTDIR=/home/woho/.theli/instruments_user/ . ${INSTDIR}/${INSTRUMENT:?}.ini + . /home/woho/.theli/instruments_user//EOS5D3@24mm.ini # ************************************************************** # Instrument config file created by THELI # ************************************************************** # Name of the instrument (must be unique!) INSTRUMENT=EOS5D3@24mm ++ INSTRUMENT=EOS5D3@24mm # Number of chips NCHIPS=1 ++ NCHIPS=1 # We need to export these export INSTRUMENT ++ export INSTRUMENT export NCHIPS ++ export NCHIPS # Load directories for programs . progs.ini ++ . progs.ini # # the following language setting ensures that # we do not have to deal with country specific # settings influencing programs like gawk (giving # a ',' instead of '.' for the decimal point in numbers # within a german environment). export LANG=C +++ export LANG=C +++ LANG=C # # how many processors do we have # used directories PIPESOFT=/home/woho/work/theli/theli/ +++ PIPESOFT=/home/woho/work/theli/theli/ BIN_ANET=${PIPESOFT}/gui/packages/astrometry/build/bin/ +++ BIN_ANET=/home/woho/work/theli/theli//gui/packages/astrometry/build/bin/ BIN=${PIPESOFT}/bin/Linux_64/ +++ BIN=/home/woho/work/theli/theli//bin/Linux_64/ CONF=${PIPESOFT}/gui/reduction; export CONF +++ CONF=/home/woho/work/theli/theli//gui/reduction +++ export CONF STANDARDSTARSCAT= +++ STANDARDSTARSCAT= PHOTSTANDARDSTARSCAT= +++ PHOTSTANDARDSTARSCAT= SCRIPTS=${PIPESOFT}/scripts/reduction +++ SCRIPTS=/home/woho/work/theli/theli//scripts/reduction UTILSCRIPTS=${PIPESOFT}/scripts/Linux_64/ +++ UTILSCRIPTS=/home/woho/work/theli/theli//scripts/Linux_64/ SMMACROS=${PIPESOFT}/scripts/sm_macros +++ SMMACROS=/home/woho/work/theli/theli//scripts/sm_macros export TEMPDIR=~/.theli/tmp/ +++ export TEMPDIR=/home/woho/.theli/tmp/ +++ TEMPDIR=/home/woho/.theli/tmp/ # for compatibility I need the following DATACONF=${CONF}; export DATACONF +++ DATACONF=/home/woho/work/theli/theli//gui/reduction +++ export DATACONF # # define here the location of script interpreters: P_PERL=/usr/bin/perl +++ P_PERL=/usr/bin/perl P_PYTHON=/usr/bin/python +++ P_PYTHON=/usr/bin/python # # here are the used programs listed # # LDAC programs # P_ALBUM=${BIN}/album +++ P_ALBUM=/home/woho/work/theli/theli//bin/Linux_64//album P_ANALYSELDAC=${BIN}/analyseldac +++ P_ANALYSELDAC=/home/woho/work/theli/theli//bin/Linux_64//analyseldac P_ANISOTROPY=${BIN}/anisotropy +++ P_ANISOTROPY=/home/woho/work/theli/theli//bin/Linux_64//anisotropy P_ASCTOLDAC=${BIN}/asctoldac +++ P_ASCTOLDAC=/home/woho/work/theli/theli//bin/Linux_64//asctoldac P_ASSOCIATE=${BIN}/associate +++ P_ASSOCIATE=/home/woho/work/theli/theli//bin/Linux_64//associate P_DECIMALTOHMS=${BIN}/decimaltohms +++ P_DECIMALTOHMS=/home/woho/work/theli/theli//bin/Linux_64//decimaltohms P_DECIMALTODMS=${BIN}/decimaltodms +++ P_DECIMALTODMS=/home/woho/work/theli/theli//bin/Linux_64//decimaltodms P_DMSTODECIMAL=${BIN}/dmstodecimal +++ P_DMSTODECIMAL=/home/woho/work/theli/theli//bin/Linux_64//dmstodecimal P_HMSTODECIMAL=${BIN}/hmstodecimal +++ P_HMSTODECIMAL=/home/woho/work/theli/theli//bin/Linux_64//hmstodecimal P_IC=${BIN}/ic +++ P_IC=/home/woho/work/theli/theli//bin/Linux_64//ic P_IMCOMBFLAT_IMCAT=${BIN}/imcombflat +++ P_IMCOMBFLAT_IMCAT=/home/woho/work/theli/theli//bin/Linux_64//imcombflat P_IMSTATS=${BIN}/imstats +++ P_IMSTATS=/home/woho/work/theli/theli//bin/Linux_64//imstats P_LDACADDMASK=${BIN}/ldacaddmask +++ P_LDACADDMASK=/home/woho/work/theli/theli//bin/Linux_64//ldacaddmask P_LDACCONV=${BIN}/ldacconv +++ P_LDACCONV=/home/woho/work/theli/theli//bin/Linux_64//ldacconv P_LDACPASTE=${BIN}/ldacpaste +++ P_LDACPASTE=/home/woho/work/theli/theli//bin/Linux_64//ldacpaste P_LDACCALC=${BIN}/ldaccalc +++ P_LDACCALC=/home/woho/work/theli/theli//bin/Linux_64//ldaccalc P_LDACADDKEY=${BIN}/ldacaddkey +++ P_LDACADDKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacaddkey P_LDACRENKEY=${BIN}/ldacrenkey +++ P_LDACRENKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacrenkey P_LDACADDTAB=${BIN}/ldacaddtab +++ P_LDACADDTAB=/home/woho/work/theli/theli//bin/Linux_64//ldacaddtab P_LDACRENTAB=${BIN}/ldacrentab +++ P_LDACRENTAB=/home/woho/work/theli/theli//bin/Linux_64//ldacrentab P_LDACFILTER=${BIN}/ldacfilter +++ P_LDACFILTER=/home/woho/work/theli/theli//bin/Linux_64//ldacfilter P_LDACTESTEXIST=${BIN}/ldactestexist +++ P_LDACTESTEXIST=/home/woho/work/theli/theli//bin/Linux_64//ldactestexist P_LDACTOASC=${BIN}/ldactoasc +++ P_LDACTOASC=/home/woho/work/theli/theli//bin/Linux_64//ldactoasc P_LDACTOSKYCAT=${BIN}/ldactoskycat +++ P_LDACTOSKYCAT=/home/woho/work/theli/theli//bin/Linux_64//ldactoskycat P_LDACJOINKEY=${BIN}/ldacjoinkey +++ P_LDACJOINKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacjoinkey P_MAKEJOIN=${BIN}/make_join +++ P_MAKEJOIN=/home/woho/work/theli/theli//bin/Linux_64//make_join P_MAKESSC=${BIN}/make_ssc +++ P_MAKESSC=/home/woho/work/theli/theli//bin/Linux_64//make_ssc P_MAKESUBIMAGE=${BIN}/makesubimage +++ P_MAKESUBIMAGE=/home/woho/work/theli/theli//bin/Linux_64//makesubimage P_PREANISOTROPY=${BIN}/preanisotropy +++ P_PREANISOTROPY=/home/woho/work/theli/theli//bin/Linux_64//preanisotropy P_SELECTOVERLAPS=${BIN}/select_overlaps +++ P_SELECTOVERLAPS=/home/woho/work/theli/theli//bin/Linux_64//select_overlaps P_STATS=${BIN}/stats +++ P_STATS=/home/woho/work/theli/theli//bin/Linux_64//stats P_TRANSFORMIMAGE=${BIN}/transformimage +++ P_TRANSFORMIMAGE=/home/woho/work/theli/theli//bin/Linux_64//transformimage # # Terapix programs # P_SEX=${BIN}/sex_theli +++ P_SEX=/home/woho/work/theli/theli//bin/Linux_64//sex_theli P_WW=${BIN}/ww_theli +++ P_WW=/home/woho/work/theli/theli//bin/Linux_64//ww_theli P_SWARP=${BIN}/swarp_theli +++ P_SWARP=/home/woho/work/theli/theli//bin/Linux_64//swarp_theli # # programs from the eclipse package # P_DFITS=${BIN}/dfits +++ P_DFITS=/home/woho/work/theli/theli//bin/Linux_64//dfits P_FITSORT=${BIN}/fitsort +++ P_FITSORT=/home/woho/work/theli/theli//bin/Linux_64//fitsort P_HIERARCH=${BIN}/hierarch28 +++ P_HIERARCH=/home/woho/work/theli/theli//bin/Linux_64//hierarch28 P_REPLACEKEY=${BIN}/replacekey +++ P_REPLACEKEY=/home/woho/work/theli/theli//bin/Linux_64//replacekey P_IOFITS=${BIN}/iofits +++ P_IOFITS=/home/woho/work/theli/theli//bin/Linux_64//iofits # # own programs developed with # eclipse and qfits # P_FITSSPLIT_ECL=${BIN}/mefsplit +++ P_FITSSPLIT_ECL=/home/woho/work/theli/theli//bin/Linux_64//mefsplit P_FIXCR_ECL=${BIN}/fixcr +++ P_FIXCR_ECL=/home/woho/work/theli/theli//bin/Linux_64//fixcr P_IMRED_ECL=${BIN}/preprocess +++ P_IMRED_ECL=/home/woho/work/theli/theli//bin/Linux_64//preprocess # # For THELI modified versions of the ASTROMETRIX and # PHOTOMETRIX scripts: # S_ASTROMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/astrom_theli +++ S_ASTROMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/astrom_theli S_PHOTOMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/photom_theli +++ S_PHOTOMETRIX=/home/woho/work/theli/theli-1.6.1/scripts/astrometrix/photom_theli # # other utility programs and scripts # P_READLINK=${BIN}/readlink +++ P_READLINK=/home/woho/work/theli/theli//bin/Linux_64//readlink P_AIRMASS=${BIN}/airmass +++ P_AIRMASS=/home/woho/work/theli/theli//bin/Linux_64//airmass P_NIGHTID=${BIN}/nightid +++ P_NIGHTID=/home/woho/work/theli/theli//bin/Linux_64//nightid P_CALDATE=${BIN}/caldate +++ P_CALDATE=/home/woho/work/theli/theli//bin/Linux_64//caldate S_SCAMPCAT=${UTILSCRIPTS}/scampcat.py +++ S_SCAMPCAT=/home/woho/work/theli/theli//scripts/Linux_64//scampcat.py S_PHOTOABS=${UTILSCRIPTS}/photo_abs.py +++ S_PHOTOABS=/home/woho/work/theli/theli//scripts/Linux_64//photo_abs.py S_APLASTROMSCAMP=${UTILSCRIPTS}/aplastrom_scamp.py +++ S_APLASTROMSCAMP=/home/woho/work/theli/theli//scripts/Linux_64//aplastrom_scamp.py S_SUPERFLATEXCLUSION=${UTILSCRIPTS}/superflatexclusion.py +++ S_SUPERFLATEXCLUSION=/home/woho/work/theli/theli//scripts/Linux_64//superflatexclusion.py # # Programs and scripts not included in the pipeline distribution # P_FIND=/usr/bin/find +++ P_FIND=/usr/bin/find P_GAWK=/usr/bin/gawk +++ P_GAWK=/usr/bin/gawk P_SM= +++ P_SM= P_SORT=/usr/bin/sort +++ P_SORT=/usr/bin/sort # # this is needed for the GUI # P_PIPELIBS=/home/woho/work/theli/PipeLibs//pipe.csh +++ P_PIPELIBS=/home/woho/work/theli/PipeLibs//pipe.csh P_GETPMMOBJECTS=${BIN}/get_pmm_objects +++ P_GETPMMOBJECTS=/home/woho/work/theli/theli//bin/Linux_64//get_pmm_objects P_LDACDESC=${BIN}/ldacdesc +++ P_LDACDESC=/home/woho/work/theli/theli//bin/Linux_64//ldacdesc P_LDACDELTAB=${BIN}/ldacdeltab +++ P_LDACDELTAB=/home/woho/work/theli/theli//bin/Linux_64//ldacdeltab P_LDACDELKEY=${BIN}/ldacdelkey +++ P_LDACDELKEY=/home/woho/work/theli/theli//bin/Linux_64//ldacdelkey P_LDACPUTXY=${BIN}/ldacputxy +++ P_LDACPUTXY=/home/woho/work/theli/theli//bin/Linux_64//ldacputxy P_FITSFLIP=${BIN}/fitsflip +++ P_FITSFLIP=/home/woho/work/theli/theli//bin/Linux_64//fitsflip P_DEBLOOM=${BIN}/debloom +++ P_DEBLOOM=/home/woho/work/theli/theli//bin/Linux_64//debloom P_EQUALISEBAYERFLAT=${BIN}/equalisebayerflat +++ P_EQUALISEBAYERFLAT=/home/woho/work/theli/theli//bin/Linux_64//equalisebayerflat P_FITSCOLLAPSE=${BIN}/fitscollapse +++ P_FITSCOLLAPSE=/home/woho/work/theli/theli//bin/Linux_64//fitscollapse P_FITSWRAP=${BIN}/fitswrap +++ P_FITSWRAP=/home/woho/work/theli/theli//bin/Linux_64//fitswrap P_FITSCUBESLICE=${BIN}/fitscubeslice +++ P_FITSCUBESLICE=/home/woho/work/theli/theli//bin/Linux_64//fitscubeslice P_FITSADDKEY=${BIN}/fitsaddkey +++ P_FITSADDKEY=/home/woho/work/theli/theli//bin/Linux_64//fitsaddkey P_FITSCUT=${BIN}/fitscut +++ P_FITSCUT=/home/woho/work/theli/theli//bin/Linux_64//fitscut P_FITSBIN=${BIN}/fitsbin +++ P_FITSBIN=/home/woho/work/theli/theli//bin/Linux_64//fitsbin P_FITSBLOOMDETECT=${BIN}/fitsbloomdetect +++ P_FITSBLOOMDETECT=/home/woho/work/theli/theli//bin/Linux_64//fitsbloomdetect P_FITSFILL=${BIN}/fitsfill +++ P_FITSFILL=/home/woho/work/theli/theli//bin/Linux_64//fitsfill P_FITSGRAD=${BIN}/fitsgrad +++ P_FITSGRAD=/home/woho/work/theli/theli//bin/Linux_64//fitsgrad P_FITSDEMOSAICBAYER=${BIN}/fitsdemosaicbayer +++ P_FITSDEMOSAICBAYER=/home/woho/work/theli/theli//bin/Linux_64//fitsdemosaicbayer P_FITS3MAX=${BIN}/fits3max +++ P_FITS3MAX=/home/woho/work/theli/theli//bin/Linux_64//fits3max P_FITSGAUSS=${BIN}/fitsgauss +++ P_FITSGAUSS=/home/woho/work/theli/theli//bin/Linux_64//fitsgauss P_FITS2TIFF=${BIN}/fits2tiff +++ P_FITS2TIFF=/home/woho/work/theli/theli//bin/Linux_64//fits2tiff P_TIFF2FITS=${BIN}/tiff2fits +++ P_TIFF2FITS=/home/woho/work/theli/theli//bin/Linux_64//tiff2fits P_CORRLIRIS=${BIN}/corrliris +++ P_CORRLIRIS=/home/woho/work/theli/theli//bin/Linux_64//corrliris P_CROSSTALK=${BIN}/crosstalk +++ P_CROSSTALK=/home/woho/work/theli/theli//bin/Linux_64//crosstalk P_FINDGSC=${BIN}/findgsc +++ P_FINDGSC=/home/woho/work/theli/theli//bin/Linux_64//findgsc P_FINDUSNOB1=${BIN}/findusnob1 +++ P_FINDUSNOB1=/home/woho/work/theli/theli//bin/Linux_64//findusnob1 P_FIND2MASS=${BIN}/find2mass +++ P_FIND2MASS=/home/woho/work/theli/theli//bin/Linux_64//find2mass P_FINDSDSS7=${BIN}/findsdss7 +++ P_FINDSDSS7=/home/woho/work/theli/theli//bin/Linux_64//findsdss7 P_FINDUCAC3=${BIN}/finducac3 +++ P_FINDUCAC3=/home/woho/work/theli/theli//bin/Linux_64//finducac3 P_FINDNOMAD1=${BIN}/findnomad1 +++ P_FINDNOMAD1=/home/woho/work/theli/theli//bin/Linux_64//findnomad1 P_VIZQUERY=${BIN}/vizquery +++ P_VIZQUERY=/home/woho/work/theli/theli//bin/Linux_64//vizquery P_SESAME=${BIN}/sesame +++ P_SESAME=/home/woho/work/theli/theli//bin/Linux_64//sesame P_ACLIENT=${BIN}/aclient +++ P_ACLIENT=/home/woho/work/theli/theli//bin/Linux_64//aclient P_SCAMP=${BIN}/scamp +++ P_SCAMP=/home/woho/work/theli/theli//bin/Linux_64//scamp P_RENAME=${BIN}/rename +++ P_RENAME=/home/woho/work/theli/theli//bin/Linux_64//rename P_MISSFITS=${BIN}/missfits +++ P_MISSFITS=/home/woho/work/theli/theli//bin/Linux_64//missfits P_SWARPFILTER=${BIN}/swarpfilter +++ P_SWARPFILTER=/home/woho/work/theli/theli//bin/Linux_64//swarpfilter P_FITSBLOCKEDIT=${BIN}/fitsblockedit +++ P_FITSBLOCKEDIT=/home/woho/work/theli/theli//bin/Linux_64//fitsblockedit P_FITSMASK=${BIN}/fitsmask +++ P_FITSMASK=/home/woho/work/theli/theli//bin/Linux_64//fitsmask P_FITSMEDIAN=${BIN}/fitsmedian +++ P_FITSMEDIAN=/home/woho/work/theli/theli//bin/Linux_64//fitsmedian P_FITSNANMASK=${BIN}/fitsnanmask +++ P_FITSNANMASK=/home/woho/work/theli/theli//bin/Linux_64//fitsnanmask P_FITSSTAT=${BIN}/fitsstat +++ P_FITSSTAT=/home/woho/work/theli/theli//bin/Linux_64//fitsstat P_FITSSPLITBAYER=${BIN}/fitssplitbayer +++ P_FITSSPLITBAYER=/home/woho/work/theli/theli//bin/Linux_64//fitssplitbayer P_FITSGUESSGEOM=${BIN}/fitsguessgeom +++ P_FITSGUESSGEOM=/home/woho/work/theli/theli//bin/Linux_64//fitsguessgeom P_SPLITVISIRFITSCUBE=${BIN}/split_visirfitscube +++ P_SPLITVISIRFITSCUBE=/home/woho/work/theli/theli//bin/Linux_64//split_visirfitscube P_SPLITSUPRIMECAM=${BIN}/splitsuprimecam +++ P_SPLITSUPRIMECAM=/home/woho/work/theli/theli//bin/Linux_64//splitsuprimecam P_PASTEMOSAICII=${BIN}/paste_mosaicII +++ P_PASTEMOSAICII=/home/woho/work/theli/theli//bin/Linux_64//paste_mosaicII P_PASTESOI=${BIN}/paste_soi +++ P_PASTESOI=/home/woho/work/theli/theli//bin/Linux_64//paste_soi P_PASTEY4KCAM=${BIN}/paste_Y4KCam +++ P_PASTEY4KCAM=/home/woho/work/theli/theli//bin/Linux_64//paste_Y4KCam P_PASTETEK2K=${BIN}/paste_Tek2K +++ P_PASTETEK2K=/home/woho/work/theli/theli//bin/Linux_64//paste_Tek2K P_GETSHIFT=${BIN}/get_shift +++ P_GETSHIFT=/home/woho/work/theli/theli//bin/Linux_64//get_shift P_FITSNONLINEARITY=${BIN}/fitsnonlinearity +++ P_FITSNONLINEARITY=/home/woho/work/theli/theli//bin/Linux_64//fitsnonlinearity P_FITSPIC=${BIN}/fitspic +++ P_FITSPIC=/home/woho/work/theli/theli//bin/Linux_64//fitspic P_FITSPOLYGON=${BIN}/fitspolygon +++ P_FITSPOLYGON=/home/woho/work/theli/theli//bin/Linux_64//fitspolygon P_DCRAW=${BIN}/dcraw +++ P_DCRAW=/home/woho/work/theli/theli//bin/Linux_64//dcraw P_DECSEXCONV=${BIN}/decsexconv +++ P_DECSEXCONV=/home/woho/work/theli/theli//bin/Linux_64//decsexconv P_STIFF=${BIN}/stiff +++ P_STIFF=/home/woho/work/theli/theli//bin/Linux_64//stiff P_SUBSKY=${BIN}/subsky +++ P_SUBSKY=/home/woho/work/theli/theli//bin/Linux_64//subsky P_GIFSICLE=${BIN}/gifsicle +++ P_GIFSICLE=/home/woho/work/theli/theli//bin/Linux_64//gifsicle P_XY2SKY=${BIN}/xy2sky +++ P_XY2SKY=/home/woho/work/theli/theli//bin/Linux_64//xy2sky P_SKY2XY=${BIN}/sky2xy +++ P_SKY2XY=/home/woho/work/theli/theli//bin/Linux_64//sky2xy P_GETKEY=${BIN}/getkey +++ P_GETKEY=/home/woho/work/theli/theli//bin/Linux_64//getkey P_SKY2XY_HELPER=${BIN}/sky2xy_helper +++ P_SKY2XY_HELPER=/home/woho/work/theli/theli//bin/Linux_64//sky2xy_helper P_GET_ROTIMSIZE=${BIN}/get_rotimsize +++ P_GET_ROTIMSIZE=/home/woho/work/theli/theli//bin/Linux_64//get_rotimsize P_CLEANSTRING=${BIN}/cleanstring +++ P_CLEANSTRING=/home/woho/work/theli/theli//bin/Linux_64//cleanstring P_NUMCPU=${BIN}/numcpu +++ P_NUMCPU=/home/woho/work/theli/theli//bin/Linux_64//numcpu P_GETSTATS=${BIN}/getstats +++ P_GETSTATS=/home/woho/work/theli/theli//bin/Linux_64//getstats P_CDELT2CD=${BIN}/cdelt2cd +++ P_CDELT2CD=/home/woho/work/theli/theli//bin/Linux_64//cdelt2cd P_GETCDMATRIX=${BIN}/get_cdmatrix +++ P_GETCDMATRIX=/home/woho/work/theli/theli//bin/Linux_64//get_cdmatrix P_GETPIXSCALE=${BIN}/get_pixscale +++ P_GETPIXSCALE=/home/woho/work/theli/theli//bin/Linux_64//get_pixscale P_GETPOSANGLE=${BIN}/get_posangle +++ P_GETPOSANGLE=/home/woho/work/theli/theli//bin/Linux_64//get_posangle P_GETREFCATRADIUS=${BIN}/get_refcat_radius +++ P_GETREFCATRADIUS=/home/woho/work/theli/theli//bin/Linux_64//get_refcat_radius P_MERGEDAT=${BIN}/mergedat +++ P_MERGEDAT=/home/woho/work/theli/theli//bin/Linux_64//mergedat P_ROTATECDMATRIX=${BIN}/rotate_cdmatrix +++ P_ROTATECDMATRIX=/home/woho/work/theli/theli//bin/Linux_64//rotate_cdmatrix P_BACKGROUNDDYNAMIC=${BIN}/background_dynamic +++ P_BACKGROUNDDYNAMIC=/home/woho/work/theli/theli//bin/Linux_64//background_dynamic P_BACKGROUNDSTATIC=${BIN}/background_static +++ P_BACKGROUNDSTATIC=/home/woho/work/theli/theli//bin/Linux_64//background_static P_MJD=${BIN}/mjd +++ P_MJD=/home/woho/work/theli/theli//bin/Linux_64//mjd P_LST=${BIN}/lst +++ P_LST=/home/woho/work/theli/theli//bin/Linux_64//lst P_IMALYZER=${BIN}/imalyzer +++ P_IMALYZER=/home/woho/work/theli/theli//bin/Linux_64//imalyzer P_E2ELL=${BIN}/e2ell +++ P_E2ELL=/home/woho/work/theli/theli//bin/Linux_64//e2ell P_FITSSMOOTHEDGE=${BIN}/fitssmoothedge +++ P_FITSSMOOTHEDGE=/home/woho/work/theli/theli//bin/Linux_64//fitssmoothedge P_FITSEXTRACTEXT=${BIN}/fitsextractext +++ P_FITSEXTRACTEXT=/home/woho/work/theli/theli//bin/Linux_64//fitsextractext P_ERRTEST=${BIN}/errtest +++ P_ERRTEST=/home/woho/work/theli/theli//bin/Linux_64//errtest P_BUILDINDEX=${BIN_ANET}/build-index +++ P_BUILDINDEX=/home/woho/work/theli/theli//gui/packages/astrometry/build/bin//build-index P_SOLVEFIELD=${BIN_ANET}/solve-field +++ P_SOLVEFIELD=/home/woho/work/theli/theli//gui/packages/astrometry/build/bin//solve-field P_XCORR=${BIN}/xcorr +++ P_XCORR=/home/woho/work/theli/theli//bin/Linux_64//xcorr # # load the parameter files # . ~/.theli/param_set1.ini +++ . /home/woho/.theli/param_set1.ini PROJECTNAME=milkyway_24mm_tracked ++++ PROJECTNAME=milkyway_24mm_tracked NPARA=8 ++++ NPARA=8 GUIVERSION=2.7.0 ++++ GUIVERSION=2.7.0 KERNEL=Linux ++++ KERNEL=Linux NFRAMES=9 ++++ NFRAMES=9 V_PRE_SPLITMIRCUBE=N ++++ V_PRE_SPLITMIRCUBE=N V_DO_BIAS=Y ++++ V_DO_BIAS=Y V_DO_FLAT=Y ++++ V_DO_FLAT=Y V_NONLINCORR=N ++++ V_NONLINCORR=N V_AP_SERVER=vizier.u-strasbg.fr ++++ V_AP_SERVER=vizier.u-strasbg.fr V_AP_MAGLIM=7 ++++ V_AP_MAGLIM=7 V_AP_RADIUS=5400 ++++ V_AP_RADIUS=5400 V_AP_REFRA=19:00:00 ++++ V_AP_REFRA=19:00:00 V_AP_REFDEC=40:00:00 ++++ V_AP_REFDEC=40:00:00 . ~/.theli/param_set2.ini +++ . /home/woho/.theli/param_set2.ini V_PRE_RENAME_CHECKED=0 ++++ V_PRE_RENAME_CHECKED=0 V_RENAME_FITSKEY=ARCFILE ++++ V_RENAME_FITSKEY=ARCFILE V_SORT_FITSKEY=OBJECT ++++ V_SORT_FITSKEY=OBJECT V_SORT_BIAS= ++++ V_SORT_BIAS= V_SORT_DARK= ++++ V_SORT_DARK= V_SORT_DOMEFLAT= ++++ V_SORT_DOMEFLAT= V_SORT_SKYFLAT= ++++ V_SORT_SKYFLAT= V_SORT_STD= ++++ V_SORT_STD= V_PRE_XTALK_NOR_CHECKED=0 ++++ V_PRE_XTALK_NOR_CHECKED=0 V_PRE_XTALK_ROW_CHECKED=0 ++++ V_PRE_XTALK_ROW_CHECKED=0 V_PRE_XTALK_MULTI_CHECKED=0 ++++ V_PRE_XTALK_MULTI_CHECKED=0 V_PRE_XTALK_NOR_AMPLITUDE= ++++ V_PRE_XTALK_NOR_AMPLITUDE= V_PRE_XTALK_ROW_AMPLITUDE= ++++ V_PRE_XTALK_ROW_AMPLITUDE= V_PRE_XTALK_NOR_BUTTONID=-1 ++++ V_PRE_XTALK_NOR_BUTTONID=-1 V_PRE_XTALK_ROW_BUTTONID=-1 ++++ V_PRE_XTALK_ROW_BUTTONID=-1 V_PRE_XTALK_MULTI_BUTTONID=-1 ++++ V_PRE_XTALK_MULTI_BUTTONID=-1 V_PRE_XTALK_MULTI_NSECTION= ++++ V_PRE_XTALK_MULTI_NSECTION= V_CAL_OVSCANNLOW=0 ++++ V_CAL_OVSCANNLOW=0 V_CAL_OVSCANNHIGH=1 ++++ V_CAL_OVSCANNHIGH=1 V_CAL_BIASNLOW=0 ++++ V_CAL_BIASNLOW=0 V_CAL_BIASNHIGH=1 ++++ V_CAL_BIASNHIGH=1 V_CAL_DARKNLOW=0 ++++ V_CAL_DARKNLOW=0 V_CAL_DARKNHIGH=1 ++++ V_CAL_DARKNHIGH=1 V_CAL_FLATNLOW=0 ++++ V_CAL_FLATNLOW=0 V_CAL_FLATNHIGH=1 ++++ V_CAL_FLATNHIGH=1 V_CAL_USEDARK=FALSE ++++ V_CAL_USEDARK=FALSE V_BACK_NLOW=0 ++++ V_BACK_NLOW=0 V_BACK_NHIGH=1 ++++ V_BACK_NHIGH=1 V_BACK_DETECTTHRESH=1.3 ++++ V_BACK_DETECTTHRESH=1.3 V_BACK_DETECTMINAREA=5 ++++ V_BACK_DETECTMINAREA=5 V_BACK_ILLUMSMOOTH= ++++ V_BACK_ILLUMSMOOTH= V_BACK_FRINGESMOOTH= ++++ V_BACK_FRINGESMOOTH= V_BACK_WINDOWSIZE=0 ++++ V_BACK_WINDOWSIZE=0 V_BACK_GAPSIZE=1.0 ++++ V_BACK_GAPSIZE=1.0 V_BACK_APPLYMODE=0 ++++ V_BACK_APPLYMODE=0 V_BACK_COMBINEMETHOD=0 ++++ V_BACK_COMBINEMETHOD=0 V_BACK_SEXFILTER=Y ++++ V_BACK_SEXFILTER=Y V_BACK_ADJUSTGAINS=N ++++ V_BACK_ADJUSTGAINS=N V_BACK_FRINGESCALE=Y ++++ V_BACK_FRINGESCALE=Y V_BACK_SKY2PASS=Y ++++ V_BACK_SKY2PASS=Y V_COLLDETECTTHRESH= ++++ V_COLLDETECTTHRESH= V_COLLDETECTMINAREA= ++++ V_COLLDETECTMINAREA= V_COLLREJECTTHRESH=1.5 ++++ V_COLLREJECTTHRESH=1.5 V_COLLDIRECTION=x ++++ V_COLLDIRECTION=x V_COLLXMIN= ++++ V_COLLXMIN= V_COLLXMAX= ++++ V_COLLXMAX= V_COLLYMIN= ++++ V_COLLYMIN= V_COLLYMAX= ++++ V_COLLYMAX= V_COLLMASKACTION=1 ++++ V_COLLMASKACTION=1 V_COLLAUTOTHRESHOLD=0 ++++ V_COLLAUTOTHRESHOLD=0 V_WEIGHTBINMIN=-100 ++++ V_WEIGHTBINMIN=-100 V_WEIGHTBINMAX=500 ++++ V_WEIGHTBINMAX=500 V_WEIGHTBINSIZE=4 ++++ V_WEIGHTBINSIZE=4 V_WEIGHTLOWTHRESHOLD= ++++ V_WEIGHTLOWTHRESHOLD= V_WEIGHTHIGHTHRESHOLD= ++++ V_WEIGHTHIGHTHRESHOLD= V_GLOBWFLATMIN=0.5 ++++ V_GLOBWFLATMIN=0.5 V_GLOBWFLATMAX=1.6 ++++ V_GLOBWFLATMAX=1.6 V_GLOBWDARKMIN= ++++ V_GLOBWDARKMIN= V_GLOBWDARKMAX= ++++ V_GLOBWDARKMAX= V_GLOBWDARKDIR= ++++ V_GLOBWDARKDIR= V_COSMICSTHRESHOLD=0.1 ++++ V_COSMICSTHRESHOLD=0.1 V_COSMICDT=6 ++++ V_COSMICDT=6 V_COSMICDMIN=1 ++++ V_COSMICDMIN=1 V_DEFECT_KERNELSIZE= ++++ V_DEFECT_KERNELSIZE= V_DEFECT_ROWTOL= ++++ V_DEFECT_ROWTOL= V_DEFECT_COLTOL= ++++ V_DEFECT_COLTOL= V_DEFECT_CLUSTOL= ++++ V_DEFECT_CLUSTOL= V_DEFECT_KERNELSIZE_SF= ++++ V_DEFECT_KERNELSIZE_SF= V_DEFECT_ROWTOL_SF= ++++ V_DEFECT_ROWTOL_SF= V_DEFECT_COLTOL_SF= ++++ V_DEFECT_COLTOL_SF= V_DEFECT_CLUSTOL_SF= ++++ V_DEFECT_CLUSTOL_SF= V_BLOOMLOWLIMIT=20000 ++++ V_BLOOMLOWLIMIT=20000 V_BLOOMMINAREA=100 ++++ V_BLOOMMINAREA=100 V_BLOOMWIDTH=0 ++++ V_BLOOMWIDTH=0 V_WEIGHT_BINOUTLIER=FALSE ++++ V_WEIGHT_BINOUTLIER=FALSE V_GLOBW_UNIFORMWEIGHT=FALSE ++++ V_GLOBW_UNIFORMWEIGHT=FALSE V_MASKBLOOMSPIKE=0 ++++ V_MASKBLOOMSPIKE=0 V_AP_DETECTTHRESH=40.0 ++++ V_AP_DETECTTHRESH=40.0 V_AP_DETECTMINAREA=5 ++++ V_AP_DETECTMINAREA=5 V_DEBLENDMINCONT=0.0005 ++++ V_DEBLENDMINCONT=0.0005 V_AP_LOWNUM=1 ++++ V_AP_LOWNUM=1 V_SEXCATMINFWHM=1.5 ++++ V_SEXCATMINFWHM=1.5 V_SEXCATFLAG=8 ++++ V_SEXCATFLAG=8 V_SATURATION=10000 ++++ V_SATURATION=10000 V_SEXBACKLEVEL= ++++ V_SEXBACKLEVEL= V_AP_FILTER=N ++++ V_AP_FILTER=N V_SCAMP_MAXPOSANGLE=2.0 ++++ V_SCAMP_MAXPOSANGLE=2.0 V_SCAMP_MAXOFFSET=2.0 ++++ V_SCAMP_MAXOFFSET=2.0 V_SCAMP_MAXSCALE=1.05 ++++ V_SCAMP_MAXSCALE=1.05 V_SCAMP_SNLOW=5 ++++ V_SCAMP_SNLOW=5 V_SCAMP_SNHIGH=20 ++++ V_SCAMP_SNHIGH=20 V_SCAMP_FGROUPRADIUS=180.0 ++++ V_SCAMP_FGROUPRADIUS=180.0 V_SCAMP_CROSSIDRADIUS=500 ++++ V_SCAMP_CROSSIDRADIUS=500 V_SCAMP_ASTREFWEIGHT=1.0 ++++ V_SCAMP_ASTREFWEIGHT=1.0 V_SCAMP_ASTRINSTRUKEY=FILTER,POINTING ++++ V_SCAMP_ASTRINSTRUKEY=FILTER,POINTING V_SCAMP_PHOTINSTRUKEY=FILTER ++++ V_SCAMP_PHOTINSTRUKEY=FILTER V_SCAMP_POLYORDER=4 ++++ V_SCAMP_POLYORDER=4 V_SCAMP_POLYORDER2= ++++ V_SCAMP_POLYORDER2= V_SCAMP_DISTORTGROUPS= ++++ V_SCAMP_DISTORTGROUPS= V_SCAMP_DISTORTKEYS= ++++ V_SCAMP_DISTORTKEYS= V_SCAMP_STABILITY=INSTRUMENT ++++ V_SCAMP_STABILITY=INSTRUMENT V_SCAMP_MOSAICTYPE=UNCHANGED ++++ V_SCAMP_MOSAICTYPE=UNCHANGED V_SCAMP_FOCALPLANE=DEFAULT ++++ V_SCAMP_FOCALPLANE=DEFAULT V_SCAMP_MATCHFLIPPED=N ++++ V_SCAMP_MATCHFLIPPED=N V_ANET_MAXSCALE=1.05 ++++ V_ANET_MAXSCALE=1.05 V_ANET_POLYORDER=3 ++++ V_ANET_POLYORDER=3 V_ANET_SCAMPDISTORT=N ++++ V_ANET_SCAMPDISTORT=N V_ABSPHOT_FILTER=B ++++ V_ABSPHOT_FILTER=B V_ABSPHOT_COLORFIXED=0.1 ++++ V_ABSPHOT_COLORFIXED=0.1 V_ABSPHOT_EXTINCTION=0 ++++ V_ABSPHOT_EXTINCTION=0 V_ABSPHOT_ZPMIN=24 ++++ V_ABSPHOT_ZPMIN=24 V_ABSPHOT_ZPMAX=25 ++++ V_ABSPHOT_ZPMAX=25 V_ABSPHOT_STDMINMAG=0.0 ++++ V_ABSPHOT_STDMINMAG=0.0 V_ABSPHOT_MAXPHOTERR=0.05 ++++ V_ABSPHOT_MAXPHOTERR=0.05 V_ABSPHOT_STDCAT_DIRECT=SDSS ++++ V_ABSPHOT_STDCAT_DIRECT=SDSS V_ABSPHOT_STDFILTERM2=u ++++ V_ABSPHOT_STDFILTERM2=u V_ABSPHOT_STDCAT_INDIRECT=LANDOLT_UBVRI ++++ V_ABSPHOT_STDCAT_INDIRECT=LANDOLT_UBVRI V_ABSPHOT_STDFILTER=U ++++ V_ABSPHOT_STDFILTER=U V_ABSPHOT_STDCOLOR=UmB ++++ V_ABSPHOT_STDCOLOR=UmB V_ABSPHOT_FITTINGMETHODM2=CHIP ++++ V_ABSPHOT_FITTINGMETHODM2=CHIP V_COADD_REFRA=19:00:00 ++++ V_COADD_REFRA=19:00:00 V_COADD_REFDEC=40:00:00 ++++ V_COADD_REFDEC=40:00:00 V_COADD_IDENT=(null) ++++ V_COADD_IDENT=(null) V_COADD_SEEING= ++++ V_COADD_SEEING= V_COADD_RZP= ++++ V_COADD_RZP= V_COADD_PIXSCALE=120 ++++ V_COADD_PIXSCALE=120 V_COADD_SIZEX= ++++ V_COADD_SIZEX= V_COADD_SIZEY= ++++ V_COADD_SIZEY= V_COADD_SKYPOSANGLE= ++++ V_COADD_SKYPOSANGLE= V_COADD_CHIPS="" ++++ V_COADD_CHIPS= V_COADD_FILTERTHRESHOLD= ++++ V_COADD_FILTERTHRESHOLD= V_COADD_FILTERCLUSTERSIZE= ++++ V_COADD_FILTERCLUSTERSIZE= V_COADD_FILTERBORDERWIDTH= ++++ V_COADD_FILTERBORDERWIDTH= V_COADD_SMOOTHEDGE= ++++ V_COADD_SMOOTHEDGE= V_COADD_PROPMOTIONRA= ++++ V_COADD_PROPMOTIONRA= V_COADD_PROPMOTIONDEC= ++++ V_COADD_PROPMOTIONDEC= V_COADD_KERNEL=LANCZOS3 ++++ V_COADD_KERNEL=LANCZOS3 V_COADD_FILTER= ++++ V_COADD_FILTER= V_COADD_PROJECTION=TAN ++++ V_COADD_PROJECTION=TAN V_COADD_CELESTIALTYPE=EQUATORIAL ++++ V_COADD_CELESTIALTYPE=EQUATORIAL V_COADD_COMBINETYPE=WEIGHTED ++++ V_COADD_COMBINETYPE=WEIGHTED . ~/.theli/param_set3.ini +++ . /home/woho/.theli/param_set3.ini V_SKYSUBDETECTTHRESH=1.5 ++++ V_SKYSUBDETECTTHRESH=1.5 V_SKYSUBDETECTMINAREA=5 ++++ V_SKYSUBDETECTMINAREA=5 V_SKYSUBBACKSIZE=1024 ++++ V_SKYSUBBACKSIZE=1024 V_SAVESKYMODEL=N ++++ V_SAVESKYMODEL=N V_CSKY_RA1= ++++ V_CSKY_RA1= V_CSKY_RA2= ++++ V_CSKY_RA2= V_CSKY_DEC1= ++++ V_CSKY_DEC1= V_CSKY_DEC2= ++++ V_CSKY_DEC2= V_CSKY_XMIN= ++++ V_CSKY_XMIN= V_CSKY_XMAX= ++++ V_CSKY_XMAX= V_CSKY_YMIN= ++++ V_CSKY_YMIN= V_CSKY_YMAX= ++++ V_CSKY_YMAX= V_CSKYMANUAL= ++++ V_CSKYMANUAL= V_CSKYMETHOD=0 ++++ V_CSKYMETHOD=0 export PYTHONPATH=/home/woho/work/theli/gui-2.7.1/packages//python/ +++ export PYTHONPATH=/home/woho/work/theli/gui-2.7.1/packages//python/ +++ PYTHONPATH=/home/woho/work/theli/gui-2.7.1/packages//python/ # Geographical latitude of the observatory OBSLAT=47.8 ++ OBSLAT=47.8 # Pixel scale in x and y [degrees] (CDELT1/2 keywords) PIXSCX=-0.0149167 ++ PIXSCX=-0.0149167 PIXSCY=0.0149167 ++ PIXSCY=0.0149167 # Pixel scale in arcsec PIXSCALE=53.7 ++ PIXSCALE=53.7 # Detector gain GAIN=1.0 ++ GAIN=1.0 # Overscan regions. The values are the x-range. # The min is given by OVSCANX1, the max by OVSCANX2. # We need separate regions for each chip. OVSCANX1=([1]=0) ++ OVSCANX1=([1]=0) OVSCANX2=([1]=0) ++ OVSCANX2=([1]=0) # Sections for the cutting. Select those pixels that receive light. # Give min values for x and y, and the extent in x and y. CUTX=([1]=1) ++ CUTX=([1]=1) CUTY=([1]=1) ++ CUTY=([1]=1) SIZEX=([1]=5794) ++ SIZEX=([1]=5794) SIZEY=([1]=3868) ++ SIZEY=([1]=3868) # Reference pixels for each chip. REFPIXX=([1]=2897) ++ REFPIXX=([1]=2897) REFPIXY=([1]=1934) ++ REFPIXY=([1]=1934) # $1: main dir. # $2: science dir. (the cat dir is a subdirectory of this) # $3-$#: pairs of GABODSID and photometric solution that should # be considered in the photometric solution (optional, not used by theli gui) # # check consistency of command line arguments if [ $# -gt 2 ] && [ $(( ($# - 2) % 2 )) -ne 0 ]; then echo "wrong command line syntax !!" exit 1 fi + '[' 2 -gt 2 ']' # leave if chips.cat5 does not exist if [ ! -f /$1/$2/cat/chips.cat5 ]; then exit 1 fi + '[' '!' -f //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/chips.cat5 ']' # check whether the STATS table exists ${P_LDACDESC} -i /$1/$2/cat/chips.cat5 | grep "Extension name" | \ grep STATS | wc | ${P_GAWK} '{print $1}' > ${TEMPDIR}/testtable + /home/woho/work/theli/theli//bin/Linux_64//ldacdesc -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/chips.cat5 + grep 'Extension name' + grep STATS + wc + /usr/bin/gawk '{print $1}' > Reading catalog(s) > All done  testtable=`cat ${TEMPDIR}/testtable` cat ${TEMPDIR}/testtable ++ cat /home/woho/.theli/tmp//testtable + testtable=1 if [ "${testtable}" = "0" ]; then exit 1 fi + '[' 1 = 0 ']' # check whether absphot info is available. # if not, then there is nothing to do and we can exit ${P_LDACTESTEXIST} -i /$1/$2/cat/chips.cat5 -t STATS -k ZP + /home/woho/work/theli/theli//bin/Linux_64//ldactestexist -i //home/woho/work/astro/milkyway_24mm_tracked//lights/cat/chips.cat5 -t STATS -k ZP > Reading catalog  > *Error*: found no such key: ZP if [ "$?" -gt "0" ]; then exit 1 fi + '[' 1 -gt 0 ']' + exit 1