Started working on galaxy PGC2741124 at Tue Jun 9 18:11:53 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 166.750083 71.15244440000001 --width 251 --height 251 --pixscale 0.262 --threads 32 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124 --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/PGC2741124/PGC2741124-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/PGC2741124-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-09T18:11:54.341597 legacypipe git version: DR9.5.2-28-g2e6e3233 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '166.750083', '71.15244440000001', '--width', '251', '--height', '251', '--pixscale', '0.262', '--threads', '32', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124', '--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/PGC2741124/PGC2741124-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/PGC2741124-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.750083 71.15244440000001 --width 251 --height 251 --pixscale 0.262 --threads 32 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124 --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/PGC2741124/PGC2741124-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/PGC2741124-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 166.750083 71.15244440000001 Starting process 7781 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.05768 MB Starting process 7782 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057772 MB Starting process 7783 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057692 MB Starting process 7784 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057696 MB Starting process 7785 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057724 MB Starting process 7786 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057724 MB Starting process 7787 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057704 MB Starting process 7788 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057708 MB Starting process 7789 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057712 MB Starting process 7790 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057712 MB Starting process 7791 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057712 MB Starting process 7792 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057736 MB Starting process 7793 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057736 MB Starting process 7794 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057716 MB Starting process 7795 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057716 MB Starting process 7796 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057716 MB Starting process 7797 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057652 MB Starting process 7798 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057656 MB Starting process 7799 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057664 MB Starting process 7800 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057664 MB Starting process 7801 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057664 MB Starting process 7802 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057668 MB Starting process 7803 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057668 MB Starting process 7804 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057672 MB Starting process 7805 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057676 MB Starting process 7806 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057676 MB Starting process 7807 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057676 MB Starting process 7808 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.05768 MB Starting process 7809 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.05768 MB Starting process 7810 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.05768 MB Starting process 7811 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057688 MB Starting process 7812 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057688 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-09T18:11:54.701833 Keeping 11 CCDs: k4m_171124_085810_ooi_zd_ls9.fits.fz k4m_171124_085810_ooi_zd_ls9-CCD3 z exptime 103.104 propid 2016A-0453 seeing 0.88 MJD 58081.374 object MzLS_716508_z k4m_180117_070551_ooi_zd_ls9.fits.fz k4m_180117_070551_ooi_zd_ls9-CCD2 z exptime 157.103 propid 2016A-0453 seeing 0.97 MJD 58135.296 object MzLS_716098_z k4m_171207_082729_ooi_zd_ls9.fits.fz k4m_171207_082729_ooi_zd_ls9-CCD2 z exptime 132.102 propid 2016A-0453 seeing 1.47 MJD 58094.352 object MzLS_716098_z k4m_170422_061235_ooi_zd_ls9.fits.fz k4m_170422_061235_ooi_zd_ls9-CCD4 z exptime 103.104 propid 2016A-0453 seeing 0.90 MJD 57865.259 object MzLS_715684_z ksb_180325_110348_ooi_g_ls9.fits.fz ksb_180325_110348_ooi_g_ls9-CCD4 g exptime 199.75 propid BASS seeing 1.71 MJD 58202.461 object 46662 ksb_180507_065407_ooi_r_ls9.fits.fz ksb_180507_065407_ooi_r_ls9-CCD4 r exptime 250.0 propid NOTBASS seeing 1.58 MJD 58245.288 object 46662 ksb_180516_051743_ooi_g_ls9.fits.fz ksb_180516_051743_ooi_g_ls9-CCD1 g exptime 116.325 propid NOTBASS seeing 1.70 MJD 58254.221 object 46663 ksb_180424_031651_ooi_r_ls9.fits.fz ksb_180424_031651_ooi_r_ls9-CCD1 r exptime 250.0 propid BASS seeing 1.65 MJD 58232.137 object 46663 ksb_180226_092608_ooi_r_ls9.fits.fz ksb_180226_092608_ooi_r_ls9-CCD1 r exptime 250.0 propid BASS seeing 1.27 MJD 58175.393 object 46663 ksb_180519_043851_ooi_r_ls9.fits.fz ksb_180519_043851_ooi_r_ls9-CCD3 r exptime 199.001 propid NOTBASS seeing 1.86 MJD 58257.194 object 46661 ksb_180510_035040_ooi_g_ls9.fits.fz ksb_180510_035040_ooi_g_ls9-CCD3 g exptime 117.5 propid NOTBASS seeing 1.51 MJD 58248.160 object 46661 Faked up EXPNUM 82480042 Faked up EXPNUM 82480042 Faked up EXPNUM 82480042 90prime get_fwhm: self.fwhm = 3.33 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2864 3009 and amp range 2016 4031 and image y 603 748 and amp range 0 2047 Range in image: x 0 146 , y 0 146 (with image size 146 x 146) dzp -0.0012233759 -> scaling image by 0.9988738637196966 mosaic get_fwhm: self.fwhm = 3.75 Found 4 relevant rows in amp-corrections file. Found overlap: image x 827 1082 and amp range 0 2047 and image y 2490 2744 and amp range 2040 4078 Range in image: x 0 256 , y 0 255 (with image size 256 x 255) dzp 0.003927584 -> scaling image by 1.0036239891963392 Faked up EXPNUM 82570057 Faked up EXPNUM 82570057 Faked up EXPNUM 82570057 90prime get_fwhm: self.fwhm = 4.11 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2853 2998 and amp range 2016 4031 and image y 622 768 and amp range 0 2047 Range in image: x 0 146 , y 0 147 (with image size 146 x 147) dzp 0.0057031885 -> scaling image by 1.00526665101287 mosaic get_fwhm: self.fwhm = 3.37 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2395 2648 and amp range 2006 4053 and image y 1580 1835 and amp range 0 2039 Range in image: x 0 254 , y 0 256 (with image size 254 x 256) dzp -0.006757846 -> scaling image by 0.993795123967763 Faked up EXPNUM 82540062 Faked up EXPNUM 82540062 Faked up EXPNUM 82540062 90prime get_fwhm: self.fwhm = 3.75 Found 4 relevant rows in amp-corrections file. Found overlap: image x 829 977 and amp range 0 2015 and image y 3136 3283 and amp range 2048 4095 Range in image: x 0 149 , y 0 148 (with image size 149 x 148) dzp -0.031697065 -> scaling image by 0.9712279547101786 Faked up EXPNUM 82320026 Faked up EXPNUM 82320026 Faked up EXPNUM 82320026 90prime get_fwhm: self.fwhm = 3.65 Found 4 relevant rows in amp-corrections file. Found overlap: image x 830 978 and amp range 0 2015 and image y 3135 3282 and amp range 2048 4095 Range in image: x 0 149 , y 0 148 (with image size 149 x 148) dzp -0.05213645 -> scaling image by 0.953115252660837 Faked up EXPNUM 81750117 Faked up EXPNUM 81750117 Faked up EXPNUM 81750117 90prime get_fwhm: self.fwhm = 2.81 Found 4 relevant rows in amp-corrections file. Found overlap: image x 839 987 and amp range 0 2015 and image y 3108 3255 and amp range 2048 4095 Range in image: x 0 149 , y 0 148 (with image size 149 x 148) dzp -0.05213645 -> scaling image by 0.953115252660837 mosaic get_fwhm: self.fwhm = 3.45 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3558 3820 and amp range 2048 4095 and image y 1998 2255 and amp range 0 2021 Range in image: x 0 263 , y 0 24 (with image size 263 x 258) dzp -0.03444113 -> scaling image by 0.9687763957004109 Found overlap: image x 3558 3820 and amp range 2048 4095 and image y 1998 2255 and amp range 2022 4060 Range in image: x 0 263 , y 24 258 (with image size 263 x 258) dzp -0.02499645 -> scaling image by 0.9772404160512723 mosaic get_fwhm: self.fwhm = 5.65 Found 4 relevant rows in amp-corrections file. Found overlap: image x 804 1058 and amp range 0 2047 and image y 2520 2773 and amp range 2040 4078 Range in image: x 0 255 , y 0 254 (with image size 255 x 254) dzp 0.003927584 -> scaling image by 1.0036239891963392 Faked up EXPNUM 82020070 Faked up EXPNUM 82020070 Faked up EXPNUM 82020070 90prime get_fwhm: self.fwhm = 3.77 Found 4 relevant rows in amp-corrections file. Found overlap: image x 644 791 and amp range 0 2015 and image y 2527 2674 and amp range 2048 4095 Range in image: x 0 148 , y 0 148 (with image size 148 x 148) dzp 0.027550658 -> scaling image by 1.0256997821704772 Faked up EXPNUM 82450069 Faked up EXPNUM 82450069 Faked up EXPNUM 82450069 90prime get_fwhm: self.fwhm = 3.49 Found 4 relevant rows in amp-corrections file. Found overlap: image x 646 792 and amp range 0 2015 and image y 2527 2675 and amp range 2048 4095 Range in image: x 0 147 , y 0 149 (with image size 147 x 149) dzp 0.04491909 -> scaling image by 1.0422397564357018 Stage tims : Wall: 2.40 s, CPU: 0.73 s, VmPeak: 942 MB, VmSize: 942 MB, VmRSS: 173 MB, VmData: 206 MB, maxrss: 0.343388 MB Stage tims finished: 2020-06-09T18:11:57.099919 Resources for stage tims : 5.491 s worker CPU, 13.049 s worker Wall, Wall: 2.402 s, Cores in use: 2.59, Total efficiency (on 32 cores): 8.1 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/PGC2741124-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/PGC2741124-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-09T18:11:57.221190 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00336.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00389.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00286.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-00335.fits Matched 13 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/metrics/cus/reference-custom-166750p71152.fits Stage refs : Wall: 1.68 s, CPU: 1.36 s, VmPeak: 973 MB, VmSize: 957 MB, VmRSS: 189 MB, VmData: 221 MB, maxrss: 0.343388 MB Stage refs finished: 2020-06-09T18:11:58.897184 Resources for stage refs : 0.001 s worker CPU, 0.001 s worker Wall, Wall: 1.678 s, Cores in use: 0.81, Total efficiency (on 32 cores): 2.5 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-09T18:11:58.900891 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/metrics/cus/outlier-mask-custom-166750p71152.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/metrics/cus/outliers-pre-custom-166750p71152.jpg Image ksb_180510_035040_ooi_g_ls9-CCD3 g : masking 112 positive outlier pixels and 0 negative outlier pixels Image ksb_180507_065407_ooi_r_ls9-CCD4 r : masking 32 positive outlier pixels and 0 negative outlier pixels Image k4m_171207_082729_ooi_zd_ls9-CCD2 z : masking 207 positive outlier pixels and 133 negative outlier pixels Image k4m_180117_070551_ooi_zd_ls9-CCD2 z : masking 257 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/metrics/cus/outlier-mask-custom-166750p71152.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/metrics/cus/outliers-post-custom-166750p71152.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/metrics/cus/outliers-masked-pos-custom-166750p71152.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/metrics/cus/outliers-masked-neg-custom-166750p71152.jpg Stage outliers : Wall: 0.87 s, CPU: 0.57 s, VmPeak: 973 MB, VmSize: 967 MB, VmRSS: 204 MB, VmData: 235 MB, maxrss: 0.343388 MB Stage outliers finished: 2020-06-09T18:11:59.770766 Resources for stage outliers : 0.907 s worker CPU, 1.122 s worker Wall, Wall: 0.873 s, Cores in use: 1.70, Total efficiency (on 32 cores): 5.3 % Stage outliers finished Running stage halos Running stage halos at 2020-06-09T18:11:59.775482 Stage halos : Wall: 0.16 s, CPU: 0.15 s, VmPeak: 973 MB, VmSize: 967 MB, VmRSS: 204 MB, VmData: 235 MB, maxrss: 0.343388 MB Stage halos finished: 2020-06-09T18:11:59.932007 Resources for stage halos : 0.001 s worker CPU, 0.001 s worker Wall, Wall: 0.158 s, Cores in use: 0.99, Total efficiency (on 32 cores): 3.1 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-09T18:11:59.935253 PSF sigmas in coadd pixels: ['2.78', '2.76', '2.45'] Using average PSF sigma 2.6632964826653365 Gaussian PSF norm 0.10591940987792967 vs pixelized 0.09045733 average tim pixel scale / coadd scale: 1.7305071606080382 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.57', '2.69', '2.07', '3.03'] Using average PSF sigma 2.5879851687763185 Gaussian PSF norm 0.109001703401284 vs pixelized 0.085425116 average tim pixel scale / coadd scale: 1.7302453594339144 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.42', '1.58', '2.38', '1.45'] Using average PSF sigma 1.7101433250327394 Gaussian PSF norm 0.16495388874407804 vs pixelized 0.1485654 average tim pixel scale / coadd scale: 0.9910685229310694 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.17 s, CPU: 0.16 s, VmPeak: 973 MB, VmSize: 967 MB, VmRSS: 206 MB, VmData: 235 MB, maxrss: 0.343388 MB Stage fit_on_coadds finished: 2020-06-09T18:12:00.102463 Resources for stage fit_on_coadds : 0.173 s worker CPU, 0.174 s worker Wall, Wall: 0.170 s, Cores in use: 1.97, Total efficiency (on 32 cores): 6.1 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-09T18:12:00.108065 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 29 potential peaks Of 29 potential peaks: 8 in veto map, 3 cut by saddle test, 0 cut by aper test, 18 kept SED z : 18 new peaks Found 36 potential peaks Of 36 potential peaks: 30 in veto map, 5 cut by saddle test, 0 cut by aper test, 1 kept SED r : 1 new peaks Found 28 potential peaks Of 28 potential peaks: 24 in veto map, 3 cut by saddle test, 0 cut by aper test, 1 kept SED g : 1 new peaks Found 32 potential peaks Of 32 potential peaks: 27 in veto map, 3 cut by saddle test, 0 cut by aper test, 2 kept SED Flat : 2 new peaks Found 44 potential peaks Of 44 potential peaks: 39 in veto map, 5 cut by saddle test, 0 cut by aper test, 0 kept SED Red : 0 new peaks Adding 22 new sources Median coadd sky for g : 0.00011891657 Median coadd sky for r : 0.00039751906 Median coadd sky for z : -0.0007218218 Stage srcs : Wall: 0.45 s, CPU: 0.42 s, VmPeak: 973 MB, VmSize: 967 MB, VmRSS: 206 MB, VmData: 235 MB, maxrss: 0.343388 MB Stage srcs finished: 2020-06-09T18:12:00.561391 Resources for stage srcs : 0.073 s worker CPU, 0.073 s worker Wall, Wall: 0.456 s, Cores in use: 1.09, Total efficiency (on 32 cores): 3.4 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/PGC2741124-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/PGC2741124-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-09T18:12:00.579552 Blob 1 of 10, id: 2, sources: 14, size: 205x156, npix 18828, brick X: 46,251, Y: 39,195, one pixel: 228 39 Blob 2 of 10, id: 0, sources: 4, size: 70x47, npix 2258, brick X: 10,80, Y: 0,47, one pixel: 36 0 Blob 3 of 10, id: 6, sources: 4, size: 66x55, npix 2153, brick X: 88,154, Y: 196,251, one pixel: 137 196 Blob 4 of 10, id: 3, sources: 2, size: 44x49, npix 1441, brick X: 0,44, Y: 94,143, one pixel: 7 94 Blob 5 of 10, id: 4, sources: 1, size: 38x36, npix 987, brick X: 14,52, Y: 136,172, one pixel: 28 136 Blob 6 of 10, id: 9, sources: 1, size: 34x31, npix 749, brick X: 185,219, Y: 220,251, one pixel: 200 220 Blob 7 of 10, id: 8, sources: 1, size: 32x31, npix 630, brick X: 42,74, Y: 220,251, one pixel: 63 220 Blob 8 of 10, id: 5, sources: 1, size: 28x27, npix 497, brick X: 65,93, Y: 174,201, one pixel: 78 174 Blob 9 of 10, id: 1, sources: 1, size: 26x22, npix 394, brick X: 70,96, Y: 0,22, one pixel: 77 0 Blob 10 of 10, id: 7, sources: 1, size: 22x21, npix 251, brick X: 17,39, Y: 200,221, one pixel: 26 200 Blob 10 finished, total: Wall: 0.27 s, CPU: 0.27 s, VmPeak: 795 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 178 MB, maxrss: 0.141888 MB Blob 8 finished, total: Wall: 0.34 s, CPU: 0.34 s, VmPeak: 658 MB, VmSize: 658 MB, VmRSS: 89 MB, VmData: 137 MB, maxrss: 0.090748 MB Measuring 1 iterative sources Blob 6 finished, total: Wall: 0.62 s, CPU: 0.62 s, VmPeak: 791 MB, VmSize: 713 MB, VmRSS: 138 MB, VmData: 178 MB, maxrss: 0.14156 MB Blob 5 finished, total: Wall: 0.63 s, CPU: 0.63 s, VmPeak: 792 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143448 MB Blob 9 finished, total: Wall: 0.68 s, CPU: 0.67 s, VmPeak: 790 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 178 MB, maxrss: 0.142584 MB Blob 7 finished, total: Wall: 0.75 s, CPU: 0.75 s, VmPeak: 657 MB, VmSize: 657 MB, VmRSS: 89 MB, VmData: 136 MB, maxrss: 0.091308 MB Blob 4 finished, total: Wall: 1.04 s, CPU: 1.04 s, VmPeak: 658 MB, VmSize: 658 MB, VmRSS: 90 MB, VmData: 137 MB, maxrss: 0.092656 MB Measuring 1 iterative sources Blob 3 finished, total: Wall: 1.77 s, CPU: 1.77 s, VmPeak: 660 MB, VmSize: 658 MB, VmRSS: 90 MB, VmData: 137 MB, maxrss: 0.093656 MB Measuring 1 iterative sources Blob 2 finished, total: Wall: 2.39 s, CPU: 2.39 s, VmPeak: 659 MB, VmSize: 659 MB, VmRSS: 92 MB, VmData: 138 MB, maxrss: 0.09434 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=0.517091, ee1=-0.117468, ee2=-0.055227 Measuring 5 iterative sources Blob 1 finished, total: Wall: 17.07 s, CPU: 17.07 s, VmPeak: 685 MB, VmSize: 679 MB, VmRSS: 114 MB, VmData: 158 MB, maxrss: 0.120124 MB Old catalog: 31 New catalog: 36 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/metrics/cus/blobs-custom-166750p71152.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/metrics/cus/all-models-custom-166750p71152.fits Stage fitblobs : Wall: 17.37 s, CPU: 0.30 s, VmPeak: 973 MB, VmSize: 967 MB, VmRSS: 206 MB, VmData: 235 MB, maxrss: 0.343388 MB Stage fitblobs finished: 2020-06-09T18:12:17.945574 Resources for stage fitblobs : 25.675 s worker CPU, 25.719 s worker Wall, Wall: 17.369 s, Cores in use: 1.50, Total efficiency (on 32 cores): 4.7 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-09T18:12:17.950448 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/tmp-legacysurvey-custom-166750p71152-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/tmp-legacysurvey-custom-166750p71152-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/tmp-legacysurvey-custom-166750p71152-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/tmp-legacysurvey-custom-166750p71152-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-resid.jpg Stage coadds : Wall: 1.99 s, CPU: 0.49 s, VmPeak: 973 MB, VmSize: 967 MB, VmRSS: 207 MB, VmData: 235 MB, maxrss: 0.343388 MB Stage coadds finished: 2020-06-09T18:12:19.939691 Resources for stage coadds : 20.692 s worker CPU, 21.657 s worker Wall, Wall: 1.992 s, Cores in use: 10.63, Total efficiency (on 32 cores): 33.2 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-09T18:12:19.944377 Cut to 1 unWISE tiles Reading WISE tile 1665p711 band 1 Reading WISE tile 1665p711 band 2 Reading WISE tile 1665p711 band 3 Reading WISE tile 1665p711 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.07 s, CPU: 0.07 s, VmPeak: 798 MB, VmSize: 788 MB, VmRSS: 143 MB, VmData: 175 MB, maxrss: 0.182608 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.06 s, CPU: 0.06 s, VmPeak: 795 MB, VmSize: 786 MB, VmRSS: 140 MB, VmData: 170 MB, maxrss: 0.202844 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.06 s, CPU: 0.06 s, VmPeak: 791 MB, VmSize: 782 MB, VmRSS: 136 MB, VmData: 170 MB, maxrss: 0.198108 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1665p711/unwise-1665p711-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.06 s, CPU: 0.06 s, VmPeak: 797 MB, VmSize: 785 MB, VmRSS: 142 MB, VmData: 173 MB, maxrss: 0.20196 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/tmp-legacysurvey-custom-166750p71152-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/tmp-legacysurvey-custom-166750p71152-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 1.74 s, CPU: 0.41 s, VmPeak: 973 MB, VmSize: 967 MB, VmRSS: 208 MB, VmData: 235 MB, maxrss: 0.343388 MB Stage wise_forced finished: 2020-06-09T18:12:21.682595 Resources for stage wise_forced : 3.149 s worker CPU, 4.292 s worker Wall, Wall: 1.741 s, Cores in use: 2.04, Total efficiency (on 32 cores): 6.4 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-09T18:12:21.686927 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/coadd/cus/custom-166750p71152/legacysurvey-custom-166750p71152-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/tractor-i/cus/tractor-custom-166750p71152.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/PGC2741124/tractor/cus/tractor-custom-166750p71152.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC2741124/tractor/cus/brick-custom-166750p71152.sha256sum Stage writecat : Wall: 0.68 s, CPU: 0.49 s, VmPeak: 1099 MB, VmSize: 971 MB, VmRSS: 210 MB, VmData: 235 MB, maxrss: 0.34578 MB Stage writecat finished: 2020-06-09T18:12:22.364162 Resources for stage writecat : 0.001 s worker CPU, 0.001 s worker Wall, Wall: 0.679 s, Cores in use: 0.73, Total efficiency (on 32 cores): 2.3 % Stage writecat finished All done: 56.170 s worker CPU, 66.100 s worker Wall, Wall: 27.674 s, Cores in use: 2.22, Total efficiency (on 32 cores): 6.9 % Finished galaxy PGC2741124 in 0.486 minutes.