Started working on galaxy PGC2164762 at Mon Jun 15 07:49:31 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 243.865842 40.3681586 --width 235 --height 235 --pixscale 0.262 --threads 8 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-15T07:49:32.086280 legacypipe git version: DR9.5.2-29-gb5a6d7b1 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '243.865842', '40.3681586', '--width', '235', '--height', '235', '--pixscale', '0.262', '--threads', '8', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762', '--survey-dir', '/global/cfs/cdirs/cosmo/work/legacysurvey/dr9', '--run', 'north', '--skip-calibs', '--checkpoint', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-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 243.865842 40.3681586 --width 235 --height 235 --pixscale 0.262 --threads 8 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 243.865842 40.3681586 Starting process 37464 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057324 MB Starting process 37466 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057324 MB Starting process 37468 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057328 MB Starting process 37470 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057328 MB Starting process 37472 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057332 MB Starting process 37474 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057336 MB Starting process 37476 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057336 MB Starting process 37479 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057336 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-15T07:49:32.824780 Keeping 9 CCDs: k4m_160404_101441_ooi_zd_ls9.fits.fz k4m_160404_101441_ooi_zd_ls9-CCD3 z exptime 80.104 propid 2016A-0453 seeing 1.08 MJD 57482.427 object MzLS_606144_z k4m_160320_111513_ooi_zd_ls9.fits.fz k4m_160320_111513_ooi_zd_ls9-CCD2 z exptime 81.105 propid 2016A-0453 seeing 0.90 MJD 57467.469 object MzLS_605187_z k4m_160518_075202_ooi_zd_ls9.fits.fz k4m_160518_075202_ooi_zd_ls9-CCD3 z exptime 190.102 propid 2016A-0453 seeing 1.21 MJD 57526.328 object MzLS_607098_z ksb_160503_085324_ooi_g_ls9.fits.fz ksb_160503_085324_ooi_g_ls9-CCD1 g exptime 120.0 propid BASS seeing 2.27 MJD 57511.370 object 14662 ksb_160531_092108_ooi_r_ls9.fits.fz ksb_160531_092108_ooi_r_ls9-CCD1 r exptime 60.9 propid BASS seeing 1.35 MJD 57539.390 object 14662 ksb_170224_124234_ooi_g_ls9.fits.fz ksb_170224_124234_ooi_g_ls9-CCD4 g exptime 135.939 propid BASS seeing 1.66 MJD 57808.530 object 15973 ksb_170419_112751_ooi_r_ls9.fits.fz ksb_170419_112751_ooi_r_ls9-CCD4 r exptime 76.448 propid BASS seeing 0.99 MJD 57862.478 object 15973 ksb_160413_105216_ooi_r_ls9.fits.fz ksb_160413_105216_ooi_r_ls9-CCD3 r exptime 50.0 propid BASS seeing 1.29 MJD 57491.453 object 14671 ksb_160311_120109_ooi_g_ls9.fits.fz ksb_160311_120109_ooi_g_ls9-CCD3 g exptime 72.6 propid 2015A-0801 seeing 1.23 MJD 57458.501 object 14671 Faked up EXPNUM 75390192 Faked up EXPNUM 75390192 Faked up EXPNUM 75390192 90prime get_fwhm: self.fwhm = 2.99 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3114 3252 and amp range 2016 4031 and image y 1569 1707 and amp range 0 2047 Range in image: x 0 139 , y 0 139 (with image size 139 x 139) dzp -0.0041296566 -> scaling image by 0.9962036700684744 Faked up EXPNUM 75110141 Faked up EXPNUM 75110141 Faked up EXPNUM 75110141 90prime get_fwhm: self.fwhm = 5.01 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3071 3209 and amp range 2016 4031 and image y 1580 1718 and amp range 0 2047 Range in image: x 0 139 , y 0 139 (with image size 139 x 139) dzp -0.0032519526 -> scaling image by 0.9970093219958882 mosaic get_fwhm: self.fwhm = 4.15 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3816 4046 and amp range 2006 4053 and image y 1725 1963 and amp range 0 2039 Range in image: x 0 231 , y 0 239 (with image size 231 x 239) dzp -0.00064781494 -> scaling image by 0.9994035183523652 Faked up EXPNUM 78620286 Faked up EXPNUM 78620286 Faked up EXPNUM 78620286 90prime get_fwhm: self.fwhm = 2.19 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2911 3048 and amp range 2016 4031 and image y 1893 2030 and amp range 0 2047 Range in image: x 0 138 , y 0 138 (with image size 138 x 138) dzp 0.02499258 -> scaling image by 1.0232859986636875 mosaic get_fwhm: self.fwhm = 4.67 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1100 1341 and amp range 0 2005 and image y 2639 2882 and amp range 2040 4078 Range in image: x 0 242 , y 0 244 (with image size 242 x 244) dzp 0.0022078273 -> scaling image by 1.0020355530120029 mosaic get_fwhm: self.fwhm = 3.47 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2228 2468 and amp range 2048 4095 and image y 1559 1799 and amp range 0 2039 Range in image: x 0 241 , y 0 241 (with image size 241 x 241) dzp 0.0072022504 -> scaling image by 1.0066555682883527 Faked up EXPNUM 74910206 Faked up EXPNUM 74910206 Faked up EXPNUM 74910206 90prime get_fwhm: self.fwhm = 2.85 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1126 1263 and amp range 0 2015 and image y 3115 3253 and amp range 2048 4095 Range in image: x 0 138 , y 0 139 (with image size 138 x 139) dzp -0.011545347 -> scaling image by 0.9894226798649194 Faked up EXPNUM 78080214 Faked up EXPNUM 78080214 Faked up EXPNUM 78080214 90prime get_fwhm: self.fwhm = 3.65 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2928 3065 and amp range 2016 4031 and image y 1876 2012 and amp range 0 2047 Range in image: x 0 138 , y 0 137 (with image size 138 x 137) dzp 0.016679538 -> scaling image by 1.0154810312115594 Faked up EXPNUM 74580233 Faked up EXPNUM 74580233 Faked up EXPNUM 74580233 90prime get_fwhm: self.fwhm = 2.71 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1128 1265 and amp range 0 2015 and image y 3123 3261 and amp range 2048 4095 Range in image: x 0 138 , y 0 139 (with image size 138 x 139) dzp -0.0045482004 -> scaling image by 0.9958197144381092 Stage tims : Wall: 3.36 s, CPU: 1.19 s, VmPeak: 941 MB, VmSize: 941 MB, VmRSS: 170 MB, VmData: 204 MB, maxrss: 0.246096 MB Stage tims finished: 2020-06-15T07:49:36.187301 Resources for stage tims : 3.826 s worker CPU, 13.518 s worker Wall, Wall: 3.364 s, Cores in use: 1.49, Total efficiency (on 8 cores): 18.7 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-15T07:49:36.214967 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02198.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02070.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02326.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02199.fits Matched 6 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/metrics/cus/reference-custom-243865p40368.fits Stage refs : Wall: 2.81 s, CPU: 2.37 s, VmPeak: 972 MB, VmSize: 962 MB, VmRSS: 192 MB, VmData: 225 MB, maxrss: 0.246096 MB Stage refs finished: 2020-06-15T07:49:39.027470 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 2.814 s, Cores in use: 0.84, Total efficiency (on 8 cores): 10.5 % Stage refs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-refs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-refs.p Running stage outliers Running stage outliers at 2020-06-15T07:49:39.050424 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/metrics/cus/outlier-mask-custom-243865p40368.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/metrics/cus/outliers-pre-custom-243865p40368.jpg Image ksb_170224_124234_ooi_g_ls9-CCD4 g : masking 37 positive outlier pixels and 0 negative outlier pixels Image ksb_160413_105216_ooi_r_ls9-CCD3 r : masking 78 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/metrics/cus/outlier-mask-custom-243865p40368.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/metrics/cus/outliers-post-custom-243865p40368.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/metrics/cus/outliers-masked-pos-custom-243865p40368.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/metrics/cus/outliers-masked-neg-custom-243865p40368.jpg Stage outliers : Wall: 0.79 s, CPU: 0.60 s, VmPeak: 972 MB, VmSize: 972 MB, VmRSS: 205 MB, VmData: 236 MB, maxrss: 0.246096 MB Stage outliers finished: 2020-06-15T07:49:39.839358 Resources for stage outliers : 0.497 s worker CPU, 0.497 s worker Wall, Wall: 0.790 s, Cores in use: 1.39, Total efficiency (on 8 cores): 17.4 % Stage outliers finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-outliers.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-outliers.p Running stage halos Running stage halos at 2020-06-15T07:49:39.863797 Stage halos : Wall: 0.44 s, CPU: 0.43 s, VmPeak: 972 MB, VmSize: 972 MB, VmRSS: 206 MB, VmData: 236 MB, maxrss: 0.246096 MB Stage halos finished: 2020-06-15T07:49:40.299405 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.437 s, Cores in use: 0.98, Total efficiency (on 8 cores): 12.3 % Stage halos finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-halos.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-halos.p Running stage fit_on_coadds Warning: Stellar halo subtraction is only implemented for DECam Running stage fit_on_coadds at 2020-06-15T07:49:40.324947 PSF sigmas in coadd pixels: ['3.69', '2.69', '1.99'] Using average PSF sigma 2.790022154428177 Gaussian PSF norm 0.10110844149611933 vs pixelized 0.08124921 average tim pixel scale / coadd scale: 1.7299896900591845 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.20', '1.61', '2.10'] Using average PSF sigma 1.9700212897387426 Gaussian PSF norm 0.14319377828210608 vs pixelized 0.12581939 average tim pixel scale / coadd scale: 1.72965990589178 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.75', '1.46', '1.97'] Using average PSF sigma 1.7274060938925997 Gaussian PSF norm 0.16330542816263635 vs pixelized 0.13445465 average tim pixel scale / coadd scale: 0.9909084463093912 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.16 s, CPU: 0.13 s, VmPeak: 972 MB, VmSize: 972 MB, VmRSS: 207 MB, VmData: 236 MB, maxrss: 0.246096 MB Stage fit_on_coadds finished: 2020-06-15T07:49:40.485192 Resources for stage fit_on_coadds : 0.117 s worker CPU, 0.117 s worker Wall, Wall: 0.162 s, Cores in use: 1.53, Total efficiency (on 8 cores): 19.1 % Stage fit_on_coadds finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-fit_on_coadds.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-fit_on_coadds.p Running stage srcs Running stage srcs at 2020-06-15T07:49:40.497324 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 8 potential peaks Of 8 potential peaks: 4 in veto map, 1 cut by saddle test, 0 cut by aper test, 3 kept SED z : 3 new peaks Found 20 potential peaks Of 20 potential peaks: 17 in veto map, 1 cut by saddle test, 0 cut by aper test, 2 kept SED r : 2 new peaks Found 13 potential peaks Of 13 potential peaks: 10 in veto map, 2 cut by saddle test, 0 cut by aper test, 1 kept SED g : 1 new peaks Found 24 potential peaks Of 24 potential peaks: 19 in veto map, 3 cut by saddle test, 0 cut by aper test, 2 kept SED Flat : 2 new peaks Found 30 potential peaks Of 30 potential peaks: 26 in veto map, 3 cut by saddle test, 0 cut by aper test, 1 kept SED Red : 1 new peaks Adding 9 new sources Median coadd sky for g : 0.00019342618 Median coadd sky for r : 0.00020546908 Median coadd sky for z : -0.0002858707 Stage srcs : Wall: 0.55 s, CPU: 0.52 s, VmPeak: 972 MB, VmSize: 972 MB, VmRSS: 208 MB, VmData: 236 MB, maxrss: 0.246096 MB Stage srcs finished: 2020-06-15T07:49:41.049306 Resources for stage srcs : 0.061 s worker CPU, 0.061 s worker Wall, Wall: 0.553 s, Cores in use: 1.06, Total efficiency (on 8 cores): 13.3 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-15T07:49:41.070210 Blob 1 of 8, id: 4, sources: 5, size: 151x160, npix 16070, brick X: 37,188, Y: 59,219, one pixel: 121 59 Blob 2 of 8, id: 0, sources: 1, size: 30x27, npix 554, brick X: 140,170, Y: 14,41, one pixel: 150 14 Blob 3 of 8, id: 1, sources: 1, size: 26x26, npix 440, brick X: 175,201, Y: 25,51, one pixel: 185 25 Blob 4 of 8, id: 7, sources: 1, size: 23x22, npix 313, brick X: 121,144, Y: 197,219, one pixel: 130 197 Blob 5 of 8, id: 3, sources: 1, size: 21x23, npix 311, brick X: 214,235, Y: 33,56, one pixel: 224 33 Blob 6 of 8, id: 5, sources: 1, size: 20x21, npix 239, brick X: 200,220, Y: 176,197, one pixel: 209 176 Blob 7 of 8, id: 6, sources: 1, size: 20x21, npix 239, brick X: 36,56, Y: 193,214, one pixel: 45 193 Blob 8 of 8, id: 2, sources: 1, size: 20x19, npix 217, brick X: 54,74, Y: 29,48, one pixel: 64 29 Blob 8 finished, total: Wall: 0.05 s, CPU: 0.05 s, VmPeak: 796 MB, VmSize: 712 MB, VmRSS: 136 MB, VmData: 178 MB, maxrss: 0.139476 MB Blob 7 finished, total: Wall: 0.15 s, CPU: 0.15 s, VmPeak: 796 MB, VmSize: 712 MB, VmRSS: 137 MB, VmData: 178 MB, maxrss: 0.140004 MB Blob 4 finished, total: Wall: 0.22 s, CPU: 0.22 s, VmPeak: 804 MB, VmSize: 712 MB, VmRSS: 138 MB, VmData: 178 MB, maxrss: 0.141096 MB Blob 6 finished, total: Wall: 0.31 s, CPU: 0.31 s, VmPeak: 790 MB, VmSize: 712 MB, VmRSS: 138 MB, VmData: 178 MB, maxrss: 0.141556 MB Blob 5 finished, total: Wall: 0.36 s, CPU: 0.36 s, VmPeak: 796 MB, VmSize: 712 MB, VmRSS: 138 MB, VmData: 178 MB, maxrss: 0.141096 MB Blob 3 finished, total: Wall: 0.42 s, CPU: 0.42 s, VmPeak: 791 MB, VmSize: 712 MB, VmRSS: 136 MB, VmData: 178 MB, maxrss: 0.139456 MB Blob 2 finished, total: Wall: 0.56 s, CPU: 0.56 s, VmPeak: 793 MB, VmSize: 712 MB, VmRSS: 138 MB, VmData: 178 MB, maxrss: 0.141596 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=0.72149, ee1=-0.00431644, ee2=-0.0281383 Measuring 1 iterative sources Blob 1 finished, total: Wall: 4.35 s, CPU: 4.35 s, VmPeak: 793 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 178 MB, maxrss: 0.144324 MB Old catalog: 12 New catalog: 11 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/metrics/cus/blobs-custom-243865p40368.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/metrics/cus/all-models-custom-243865p40368.fits Stage fitblobs : Wall: 4.81 s, CPU: 0.40 s, VmPeak: 972 MB, VmSize: 972 MB, VmRSS: 208 MB, VmData: 236 MB, maxrss: 0.246096 MB Stage fitblobs finished: 2020-06-15T07:49:45.884044 Resources for stage fitblobs : 6.512 s worker CPU, 6.564 s worker Wall, Wall: 4.815 s, Cores in use: 1.43, Total efficiency (on 8 cores): 17.9 % Stage fitblobs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-fitblobs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-fitblobs.p Running stage coadds Running stage coadds at 2020-06-15T07:49:45.903391 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/tmp-legacysurvey-custom-243865p40368-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/tmp-legacysurvey-custom-243865p40368-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/tmp-legacysurvey-custom-243865p40368-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/tmp-legacysurvey-custom-243865p40368-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-resid.jpg Stage coadds : Wall: 1.82 s, CPU: 0.98 s, VmPeak: 972 MB, VmSize: 972 MB, VmRSS: 208 MB, VmData: 236 MB, maxrss: 0.246096 MB Stage coadds finished: 2020-06-15T07:49:47.727246 Resources for stage coadds : 1.893 s worker CPU, 3.486 s worker Wall, Wall: 1.825 s, Cores in use: 1.58, Total efficiency (on 8 cores): 19.7 % Stage coadds finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-coadds.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-coadds.p Running stage wise_forced Running stage wise_forced at 2020-06-15T07:49:47.744666 Cut to 1 unWISE tiles Reading WISE tile 2432p408 band 1 Reading WISE tile 2432p408 band 2 Reading WISE tile 2432p408 band 4 Reading WISE tile 2432p408 band 3 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.03 s, CPU: 0.03 s, VmPeak: 796 MB, VmSize: 794 MB, VmRSS: 146 MB, VmData: 175 MB, maxrss: 0.189072 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.03 s, CPU: 0.03 s, VmPeak: 796 MB, VmSize: 788 MB, VmRSS: 139 MB, VmData: 169 MB, maxrss: 0.202096 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.02 s, CPU: 0.02 s, VmPeak: 804 MB, VmSize: 788 MB, VmRSS: 140 MB, VmData: 169 MB, maxrss: 0.204008 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/243/2432p408/unwise-2432p408-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.03 s, CPU: 0.03 s, VmPeak: 794 MB, VmSize: 792 MB, VmRSS: 143 MB, VmData: 173 MB, maxrss: 0.206336 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/tmp-legacysurvey-custom-243865p40368-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/tmp-legacysurvey-custom-243865p40368-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 1.92 s, CPU: 0.60 s, VmPeak: 972 MB, VmSize: 972 MB, VmRSS: 209 MB, VmData: 236 MB, maxrss: 0.246096 MB Stage wise_forced finished: 2020-06-15T07:49:49.662251 Resources for stage wise_forced : 3.073 s worker CPU, 3.778 s worker Wall, Wall: 1.919 s, Cores in use: 1.92, Total efficiency (on 8 cores): 23.9 % Stage wise_forced finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-wise_forced.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-wise_forced.p Running stage writecat Running stage writecat at 2020-06-15T07:49:49.688868 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/coadd/cus/custom-243865p40368/legacysurvey-custom-243865p40368-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/tractor-i/cus/tractor-custom-243865p40368.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/243/PGC2164762/tractor/cus/tractor-custom-243865p40368.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/tractor/cus/brick-custom-243865p40368.sha256sum Stage writecat : Wall: 1.67 s, CPU: 1.42 s, VmPeak: 1104 MB, VmSize: 976 MB, VmRSS: 211 MB, VmData: 236 MB, maxrss: 0.347252 MB Stage writecat finished: 2020-06-15T07:49:51.359486 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.672 s, Cores in use: 0.85, Total efficiency (on 8 cores): 10.7 % Stage writecat finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-writecat.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/243/PGC2164762/PGC2164762-largegalaxy-writecat.p All done: 15.982 s worker CPU, 28.026 s worker Wall, Wall: 18.569 s, Cores in use: 1.33, Total efficiency (on 8 cores): 16.7 % Finished galaxy PGC2164762 in 0.344 minutes.