Started working on galaxy UGC06140_GROUP at Sun Jun 7 18:02:01 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 166.17847974163735 38.226949548273396 --width 605 --height 605 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T18:02:03.183155 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '166.17847974163735', '38.226949548273396', '--width', '605', '--height', '605', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP', '--survey-dir', '/global/cfs/cdirs/cosmo/work/legacysurvey/dr9', '--run', 'north', '--write-stage', 'tims', '--write-stage', 'srcs', '--skip-calibs', '--checkpoint', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-%%(stage)s.p', '--fit-on-coadds', '--saddle-fraction', '0.2', '--saddle-min', '4.0'] python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 166.17847974163735 38.226949548273396 --width 605 --height 605 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 166.17847974163735 38.226949548273396 Starting process 7188 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057312 MB Starting process 7189 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057408 MB Starting process 7190 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057476 MB Starting process 7191 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057412 MB Runstage writecat Runstage wise_forced Runstage coadds Runstage fitblobs Runstage srcs Runstage fit_on_coadds Runstage halos Runstage outliers Runstage refs Runstage tims Running stage tims Running stage tims at 2020-06-07T18:02:03.734338 Keeping 15 CCDs: k4m_170216_101214_ooi_zd_ls9.fits.fz k4m_170216_101214_ooi_zd_ls9-CCD3 z exptime 92.104 propid 2016A-0453 seeing 1.05 MJD 57800.425 object MzLS_596342_z k4m_170204_095616_ooi_zd_ls9.fits.fz k4m_170204_095616_ooi_zd_ls9-CCD2 z exptime 82.107 propid 2016A-0453 seeing 0.79 MJD 57788.414 object MzLS_595358_z k4m_170204_095616_ooi_zd_ls9.fits.fz k4m_170204_095616_ooi_zd_ls9-CCD1 z exptime 82.107 propid 2016A-0453 seeing 0.77 MJD 57788.414 object MzLS_595358_z k4m_170202_095534_ooi_zd_ls9.fits.fz k4m_170202_095534_ooi_zd_ls9-CCD4 z exptime 80.105 propid 2016A-0453 seeing 0.77 MJD 57786.414 object MzLS_594370_z k4m_170129_101828_ooi_zd_ls9.fits.fz k4m_170129_101828_ooi_zd_ls9-CCD4 z exptime 118.105 propid 2016A-0453 seeing 1.50 MJD 57782.429 object MzLS_595357_z k4m_170216_101214_ooi_zd_ls9.fits.fz k4m_170216_101214_ooi_zd_ls9-CCD1 z exptime 92.104 propid 2016A-0453 seeing 1.23 MJD 57800.425 object MzLS_596342_z k4m_170129_101828_ooi_zd_ls9.fits.fz k4m_170129_101828_ooi_zd_ls9-CCD3 z exptime 118.105 propid 2016A-0453 seeing 1.56 MJD 57782.429 object MzLS_595357_z ksb_160207_102921_ooi_r_ls9.fits.fz ksb_160207_102921_ooi_r_ls9-CCD2 r exptime 140.3 propid 2015A-0801 seeing 1.52 MJD 57425.437 object 11432 ksb_160211_091652_ooi_g_ls9.fits.fz ksb_160211_091652_ooi_g_ls9-CCD2 g exptime 98.1 propid 2015A-0801 seeing 1.17 MJD 57429.387 object 11432 ksb_170222_084424_ooi_g_ls9.fits.fz ksb_170222_084424_ooi_g_ls9-CCD3 g exptime 65.604 propid BASS seeing 1.23 MJD 57806.364 object 11443 ksb_170304_081530_ooi_r_ls9.fits.fz ksb_170304_081530_ooi_r_ls9-CCD3 r exptime 67.475 propid BASS seeing 1.25 MJD 57816.344 object 11443 ksb_170222_084936_ooi_g_ls9.fits.fz ksb_170222_084936_ooi_g_ls9-CCD2 g exptime 68.574 propid BASS seeing 1.17 MJD 57806.368 object 12763 ksb_180222_081227_ooi_r_ls9.fits.fz ksb_180222_081227_ooi_r_ls9-CCD2 r exptime 92.626 propid BASS seeing 1.45 MJD 58171.342 object 12763 ksb_170528_034038_ooi_g_ls9.fits.fz ksb_170528_034038_ooi_g_ls9-CCD1 g exptime 250.0 propid 2015A-0801 seeing 1.54 MJD 57901.153 object 11431 ksb_160217_093115_ooi_r_ls9.fits.fz ksb_160217_093115_ooi_r_ls9-CCD1 r exptime 97.4 propid 2015A-0801 seeing 1.14 MJD 57435.397 object 11431 mosaic get_fwhm: self.fwhm = 2.97 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3740 4046 and amp range 2006 4053 and image y 7 544 and amp range 0 2039 Range in image: x 0 307 , y 0 538 (with image size 307 x 538) dzp 0.000620604 -> scaling image by 1.0005717608254892 mosaic get_fwhm: self.fwhm = 3.03 Found 4 relevant rows in amp-corrections file. Found overlap: image x 7 76 and amp range 0 2047 and image y 7 542 and amp range 0 2039 Range in image: x 0 70 , y 0 536 (with image size 70 x 536) dzp -0.0096683735 -> scaling image by 0.9911346301237048 mosaic get_fwhm: self.fwhm = 4.03 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1065 1678 and amp range 0 2005 and image y 7 53 and amp range 0 2039 Range in image: x 0 614 , y 0 47 (with image size 614 x 47) dzp 0.0013971253 -> scaling image by 1.0012876282438632 mosaic get_fwhm: self.fwhm = 4.75 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1058 1671 and amp range 0 2005 and image y 3738 4072 and amp range 2040 4078 Range in image: x 0 614 , y 0 335 (with image size 614 x 335) dzp 0.032569118 -> scaling image by 1.0304517167935139 mosaic get_fwhm: self.fwhm = 5.77 WARNING: image median 0.02246089 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 7 87 and amp range 0 2047 and image y 3589 4054 and amp range 2022 4060 Range in image: x 0 81 , y 0 466 (with image size 81 x 466) dzp -0.017482605 -> scaling image by 0.9840268712629925 mosaic get_fwhm: self.fwhm = 5.99 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3749 4046 and amp range 2006 4053 and image y 3617 4072 and amp range 2040 4078 Range in image: x 0 298 , y 0 456 (with image size 298 x 456) dzp -0.0021409686 -> scaling image by 0.9980300379995196 mosaic get_fwhm: self.fwhm = 2.97 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2173 2793 and amp range 2048 4095 and image y 2050 2668 and amp range 2022 4060 Range in image: x 0 621 , y 0 619 (with image size 621 x 619) dzp -0.02499645 -> scaling image by 0.9772404160512723 Faked up EXPNUM 74250142 Faked up EXPNUM 74250142 Faked up EXPNUM 74250142 90prime get_fwhm: self.fwhm = 3.35 WARNING: image median 0.032776535 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 263 and amp range 0 2015 and image y 3165 3516 and amp range 2048 4095 Range in image: x 0 249 , y 0 352 (with image size 249 x 352) dzp 0.016961161 -> scaling image by 1.0157444649385616 Faked up EXPNUM 74290197 Faked up EXPNUM 74290197 Faked up EXPNUM 74290197 90prime get_fwhm: self.fwhm = 2.59 WARNING: image median 0.078197554 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 279 and amp range 0 2015 and image y 3154 3505 and amp range 2048 4095 Range in image: x 0 265 , y 0 352 (with image size 265 x 352) dzp 0.01693853 -> scaling image by 1.015723292931903 Faked up EXPNUM 78160136 Faked up EXPNUM 78160136 Faked up EXPNUM 78160136 90prime get_fwhm: self.fwhm = 2.75 Found 4 relevant rows in amp-corrections file. Found overlap: image x 130 485 and amp range 0 2015 and image y 2723 3076 and amp range 2048 4095 Range in image: x 0 356 , y 0 354 (with image size 356 x 354) dzp -0.07725406 -> scaling image by 0.9313188157188347 Faked up EXPNUM 78060168 Faked up EXPNUM 78060168 Faked up EXPNUM 78060168 90prime get_fwhm: self.fwhm = 2.71 WARNING: image median 0.037250012 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 144 500 and amp range 0 2015 and image y 2735 3088 and amp range 2048 4095 Range in image: x 0 357 , y 0 354 (with image size 357 x 354) dzp -0.045992933 -> scaling image by 0.958523636456738 Faked up EXPNUM 78060171 Faked up EXPNUM 78060171 Faked up EXPNUM 78060171 90prime get_fwhm: self.fwhm = 2.59 WARNING: image median 0.12181438 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 3890 4016 and amp range 2016 4031 and image y 1977 2330 and amp range 0 2047 Range in image: x 0 127 , y 0 71 (with image size 127 x 354) dzp 0.01918938 -> scaling image by 1.017831182878158 Found overlap: image x 3890 4016 and amp range 2016 4031 and image y 1977 2330 and amp range 2048 4095 Range in image: x 0 127 , y 71 354 (with image size 127 x 354) dzp 0.010008041 -> scaling image by 1.0092603604948323 Faked up EXPNUM 81710065 Faked up EXPNUM 81710065 Faked up EXPNUM 81710065 90prime get_fwhm: self.fwhm = 3.19 WARNING: image median 0.099355444 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 3895 4016 and amp range 2016 4031 and image y 1962 2315 and amp range 0 2047 Range in image: x 0 122 , y 0 86 (with image size 122 x 354) dzp 0.014483032 -> scaling image by 1.0134287315188357 Found overlap: image x 3895 4016 and amp range 2016 4031 and image y 1962 2315 and amp range 2048 4095 Range in image: x 0 122 , y 86 354 (with image size 122 x 354) dzp 0.019008487 -> scaling image by 1.0176616178968958 Faked up EXPNUM 79010028 Faked up EXPNUM 79010028 Faked up EXPNUM 79010028 90prime get_fwhm: self.fwhm = 3.41 WARNING: image median 0.040060673 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 2097 2452 and amp range 2016 4031 and image y 1159 1513 and amp range 0 2047 Range in image: x 0 356 , y 0 355 (with image size 356 x 355) dzp -0.011406615 -> scaling image by 0.9895491130016149 Faked up EXPNUM 74350147 Faked up EXPNUM 74350147 Faked up EXPNUM 74350147 90prime get_fwhm: self.fwhm = 2.51 WARNING: image median 0.040884335 is more than 1 sigma away from zero! Found 4 relevant rows in amp-corrections file. Found overlap: image x 2100 2454 and amp range 2016 4031 and image y 1145 1499 and amp range 0 2047 Range in image: x 0 355 , y 0 355 (with image size 355 x 355) dzp -0.0041296566 -> scaling image by 0.9962036700684744 Stage tims : Wall: 7.36 s, CPU: 1.02 s, VmPeak: 943 MB, VmSize: 943 MB, VmRSS: 187 MB, VmData: 221 MB, maxrss: 0.566588 MB Stage tims finished: 2020-06-07T18:02:11.089298 Resources for stage tims : 4.752 s worker CPU, 21.497 s worker Wall, Wall: 7.356 s, Cores in use: 0.78, Total efficiency (on 4 cores): 19.6 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T18:02:11.130157 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02171.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02298.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02427.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02299.fits Matched 11 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/metrics/cus/reference-custom-166178p38226.fits Stage refs : Wall: 1.79 s, CPU: 1.22 s, VmPeak: 973 MB, VmSize: 953 MB, VmRSS: 199 MB, VmData: 231 MB, maxrss: 0.566588 MB Stage refs finished: 2020-06-07T18:02:12.915498 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.786 s, Cores in use: 0.69, Total efficiency (on 4 cores): 17.1 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T18:02:12.917039 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/metrics/cus/outlier-mask-custom-166178p38226.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/metrics/cus/outliers-pre-custom-166178p38226.jpg Image ksb_170222_084936_ooi_g_ls9-CCD2 g : masking 2666 positive outlier pixels and 0 negative outlier pixels Image ksb_160211_091652_ooi_g_ls9-CCD2 g : masking 39468 positive outlier pixels and 0 negative outlier pixels Image ksb_180222_081227_ooi_r_ls9-CCD2 r : masking 66 positive outlier pixels and 0 negative outlier pixels Image ksb_160207_102921_ooi_r_ls9-CCD2 r : masking 17256 positive outlier pixels and 0 negative outlier pixels Image ksb_170304_081530_ooi_r_ls9-CCD3 r : masking 2440 positive outlier pixels and 4043 negative outlier pixels Image ksb_160217_093115_ooi_r_ls9-CCD1 r : masking 28914 positive outlier pixels and 0 negative outlier pixels Image k4m_170204_095616_ooi_zd_ls9-CCD2 z : masking 0 positive outlier pixels and 2448 negative outlier pixels Image k4m_170204_095616_ooi_zd_ls9-CCD1 z : masking 307 positive outlier pixels and 1327 negative outlier pixels Image k4m_170129_101828_ooi_zd_ls9-CCD3 z : masking 106 positive outlier pixels and 0 negative outlier pixels Image k4m_170216_101214_ooi_zd_ls9-CCD1 z : masking 18896 positive outlier pixels and 0 negative outlier pixels Image k4m_170202_095534_ooi_zd_ls9-CCD4 z : masking 16035 positive outlier pixels and 449 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/metrics/cus/outlier-mask-custom-166178p38226.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/metrics/cus/outliers-post-custom-166178p38226.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/metrics/cus/outliers-masked-pos-custom-166178p38226.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/metrics/cus/outliers-masked-neg-custom-166178p38226.jpg Stage outliers : Wall: 4.17 s, CPU: 2.15 s, VmPeak: 973 MB, VmSize: 973 MB, VmRSS: 257 MB, VmData: 292 MB, maxrss: 0.566588 MB Stage outliers finished: 2020-06-07T18:02:17.083492 Resources for stage outliers : 8.512 s worker CPU, 8.973 s worker Wall, Wall: 4.168 s, Cores in use: 2.56, Total efficiency (on 4 cores): 63.9 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T18:02:17.085277 Stage halos : Wall: 0.39 s, CPU: 0.38 s, VmPeak: 973 MB, VmSize: 973 MB, VmRSS: 257 MB, VmData: 292 MB, maxrss: 0.566588 MB Stage halos finished: 2020-06-07T18:02:17.478341 Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Resources for stage halos : 0.001 s worker CPU, 0.001 s worker Wall, Wall: 0.394 s, Cores in use: 0.96, Total efficiency (on 4 cores): 24.1 % Stage halos finished Running stage fit_on_coadds Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Running stage fit_on_coadds at 2020-06-07T18:02:17.480373 PSF sigmas in coadd pixels: ['1.91', '1.99', '1.91', '2.51'] Using average PSF sigma 2.078949549596641 Gaussian PSF norm 0.13569102330001725 vs pixelized 0.11293203 average tim pixel scale / coadd scale: 1.7294584062991962 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.47', '2.02', '2.35', '1.85'] Using average PSF sigma 2.171646315366807 Gaussian PSF norm 0.1298990492962618 vs pixelized 0.110593095 average tim pixel scale / coadd scale: 1.729880700657457 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.70', '1.28', '1.25', '1.25', '2.43', '2.00', '2.53'] Using average PSF sigma 1.7776493765570103 Gaussian PSF norm 0.15868978185127006 vs pixelized 0.12925176 average tim pixel scale / coadd scale: 0.9909252801934417 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-copsf-z.fits.fz Stage fit_on_coadds : Wall: 1.22 s, CPU: 0.85 s, VmPeak: 973 MB, VmSize: 973 MB, VmRSS: 264 MB, VmData: 293 MB, maxrss: 0.566588 MB Stage fit_on_coadds finished: 2020-06-07T18:02:18.698971 Resources for stage fit_on_coadds : 2.902 s worker CPU, 3.125 s worker Wall, Wall: 1.221 s, Cores in use: 3.07, Total efficiency (on 4 cores): 76.8 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T18:02:18.704288 SED-matched filters: [('z', array([0., 0., 1.])), ('r', array([0., 1., 0.])), ('g', array([1., 0., 0.])), ('Flat', [1.0, 1.0, 1.0]), ('Red', [2.5, 1.0, 0.4])] Found 427 potential peaks Of 427 potential peaks: 354 in veto map, 29 cut by saddle test, 0 cut by aper test, 44 kept SED z : 44 new peaks Found 1440 potential peaks Of 1440 potential peaks: 1359 in veto map, 52 cut by saddle test, 1 cut by aper test, 28 kept SED r : 28 new peaks Found 2449 potential peaks Of 2449 potential peaks: 2394 in veto map, 48 cut by saddle test, 0 cut by aper test, 7 kept SED g : 7 new peaks Found 2012 potential peaks Of 2012 potential peaks: 1957 in veto map, 46 cut by saddle test, 2 cut by aper test, 7 kept SED Flat : 7 new peaks Found 2112 potential peaks Of 2112 potential peaks: 2052 in veto map, 47 cut by saddle test, 1 cut by aper test, 12 kept SED Red : 12 new peaks Adding 98 new sources Median coadd sky for g : 0.0022259138 Median coadd sky for r : 0.0017941608 Median coadd sky for z : -0.00015513998 Stage srcs : Wall: 6.42 s, CPU: 5.96 s, VmPeak: 973 MB, VmSize: 973 MB, VmRSS: 244 MB, VmData: 293 MB, maxrss: 0.566588 MB Stage srcs finished: 2020-06-07T18:02:25.126973 Resources for stage srcs : 1.069 s worker CPU, 1.069 s worker Wall, Wall: 6.424 s, Cores in use: 1.09, Total efficiency (on 4 cores): 27.4 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/UGC06140_GROUP-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T18:02:25.157674 Blob 1 of 2, id: 0, sources: 107, size: 605x605, npix 353222, brick X: 0,605, Y: 0,605, one pixel: 223 0 Blob 2 of 2, id: 1, sources: 1, size: 20x19, npix 218, brick X: 61,81, Y: 20,39, one pixel: 69 20 Blob 2 finished, total: Wall: 0.05 s, CPU: 0.05 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 138 MB, VmData: 178 MB, maxrss: 0.141548 MB Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (166.12975, 38.24137), pm (-61.1, -0.3), parallax 12.747 with NanoMaggies: g=5.97, r=6.03, z=6.25 Reset brightness to NanoMaggies: g=5.97, r=6.03, z=6.25 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (166.45106, 38.39428), pm (-74.5, -17.4), parallax 3.131 with NanoMaggies: g=7.43, r=6.34, z=5.79 Reset brightness to NanoMaggies: g=7.43, r=6.34, z=5.79 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (166.12712, 38.24060), pm (-59.4, -2.4), parallax 12.931 with NanoMaggies: g=12.8, r=11.6, z=10.9 Reset brightness to NanoMaggies: g=12.8, r=11.6, z=10.9 Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=2.58862, ee1=0.692623, ee2=0.34595 Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=2.46405, ee1=-0.205206, ee2=0.0528042 Measuring 1 iterative sources Blob 1 finished, total: Wall: 108.74 s, CPU: 108.72 s, VmPeak: 1032 MB, VmSize: 888 MB, VmRSS: 337 MB, VmData: 353 MB, maxrss: 0.493044 MB Old catalog: 108 New catalog: 69 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/metrics/cus/blobs-custom-166178p38226.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/metrics/cus/all-models-custom-166178p38226.fits Stage fitblobs : Wall: 109.37 s, CPU: 0.48 s, VmPeak: 973 MB, VmSize: 973 MB, VmRSS: 255 MB, VmData: 305 MB, maxrss: 0.566588 MB Stage fitblobs finished: 2020-06-07T18:04:14.528952 /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/oneblob.py:1443: RuntimeWarning: invalid value encountered in true_divide f = (mod * (tim.getInvError() > 0)).sum() / fluxes[tim.band] Resources for stage fitblobs : 108.940 s worker CPU, 108.973 s worker Wall, Wall: 109.377 s, Cores in use: 1.00, Total efficiency (on 4 cores): 25.0 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T18:04:14.535129 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/tmp-legacysurvey-custom-166178p38226-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/tmp-legacysurvey-custom-166178p38226-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/tmp-legacysurvey-custom-166178p38226-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/tmp-legacysurvey-custom-166178p38226-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-resid.jpg Stage coadds : Wall: 3.81 s, CPU: 1.35 s, VmPeak: 1021 MB, VmSize: 1021 MB, VmRSS: 321 MB, VmData: 353 MB, maxrss: 0.566588 MB Stage coadds finished: 2020-06-07T18:04:18.349901 Resources for stage coadds : 6.451 s worker CPU, 6.553 s worker Wall, Wall: 3.818 s, Cores in use: 2.04, Total efficiency (on 4 cores): 51.1 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T18:04:18.354223 Cut to 1 unWISE tiles Reading WISE tile 1667p378 band 3 Reading WISE tile 1667p378 band 2 Reading WISE tile 1667p378 band 1 Reading WISE tile 1667p378 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.51 s, CPU: 0.89 s, VmPeak: 1128 MB, VmSize: 1000 MB, VmRSS: 165 MB, VmData: 194 MB, maxrss: 0.278056 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.31 s, CPU: 0.46 s, VmPeak: 996 MB, VmSize: 996 MB, VmRSS: 160 MB, VmData: 186 MB, maxrss: 0.280292 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.14 s, CPU: 0.31 s, VmPeak: 1104 MB, VmSize: 1104 MB, VmRSS: 274 MB, VmData: 294 MB, maxrss: 0.493044 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.15 s, CPU: 0.29 s, VmPeak: 998 MB, VmSize: 998 MB, VmRSS: 164 MB, VmData: 192 MB, maxrss: 0.279216 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/tmp-legacysurvey-custom-166178p38226-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/tmp-legacysurvey-custom-166178p38226-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 3.00 s, CPU: 0.70 s, VmPeak: 1021 MB, VmSize: 978 MB, VmRSS: 280 MB, VmData: 311 MB, maxrss: 0.566588 MB Stage wise_forced finished: 2020-06-07T18:04:21.357875 Resources for stage wise_forced : 6.892 s worker CPU, 7.304 s worker Wall, Wall: 3.005 s, Cores in use: 2.53, Total efficiency (on 4 cores): 63.2 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T18:04:21.359898 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/coadd/cus/custom-166178p38226/legacysurvey-custom-166178p38226-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/tractor-i/cus/tractor-custom-166178p38226.fits Reading SFD maps... END Rejected (1), keyrecords following the END keyrecord were ignored. END Rejected (1), keyrecords following the END keyrecord were ignored. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/tractor/cus/tractor-custom-166178p38226.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/UGC06140_GROUP/tractor/cus/brick-custom-166178p38226.sha256sum Stage writecat : Wall: 2.52 s, CPU: 0.84 s, VmPeak: 1117 MB, VmSize: 989 MB, VmRSS: 288 MB, VmData: 317 MB, maxrss: 0.566588 MB Stage writecat finished: 2020-06-07T18:04:23.881401 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 2.523 s, Cores in use: 0.33, Total efficiency (on 4 cores): 8.3 % Stage writecat finished All done: 139.520 s worker CPU, 157.497 s worker Wall, Wall: 140.153 s, Cores in use: 1.10, Total efficiency (on 4 cores): 27.6 % Finished galaxy UGC06140_GROUP in 2.371 minutes.