Started working on galaxy PGC2338169 at Sun Jun 7 17:52:48 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 116.02744050000001 49.2702349 --width 251 --height 251 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169 --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/116/PGC2338169/PGC2338169-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/PGC2338169-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T17:52:49.625108 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '116.02744050000001', '49.2702349', '--width', '251', '--height', '251', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169', '--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/116/PGC2338169/PGC2338169-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/PGC2338169-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 116.02744050000001 49.2702349 --width 251 --height 251 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169 --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/116/PGC2338169/PGC2338169-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/PGC2338169-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 116.02744050000001 49.2702349 Starting process 11380 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.0574 MB Starting process 11381 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057376 MB Starting process 11382 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057404 MB Starting process 11383 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.05738 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-07T17:52:50.118255 Keeping 15 CCDs: k4m_160313_041222_ooi_zd_ls9.fits.fz k4m_160313_041222_ooi_zd_ls9-CCD2 z exptime 97.104 propid 2016A-0453 seeing 0.94 MJD 57460.175 object MzLS_645252_z k4m_171001_121203_ooi_zd_ls9.fits.fz k4m_171001_121203_ooi_zd_ls9-CCD1 z exptime 119.102 propid 2016A-0453 seeing 1.14 MJD 58027.508 object MzLS_646896_z k4m_160313_035154_ooi_zd_ls9.fits.fz k4m_160313_035154_ooi_zd_ls9-CCD4 z exptime 123.106 propid 2016A-0453 seeing 0.81 MJD 57460.161 object MzLS_645251_z k4m_170205_055917_ooi_zd_ls9.fits.fz k4m_170205_055917_ooi_zd_ls9-CCD1 z exptime 80.104 propid 2016A-0453 seeing 0.90 MJD 57789.250 object MzLS_647714_z k4m_160326_030636_ooi_zd_ls9.fits.fz k4m_160326_030636_ooi_zd_ls9-CCD2 z exptime 96.104 propid 2016A-0453 seeing 0.97 MJD 57473.130 object MzLS_646076_z ksb_170201_072503_ooi_g_ls9.fits.fz ksb_170201_072503_ooi_g_ls9-CCD3 g exptime 99.4 propid BASS seeing 1.53 MJD 57785.309 object 25011 ksb_170421_031215_ooi_r_ls9.fits.fz ksb_170421_031215_ooi_r_ls9-CCD3 r exptime 226.05 propid BASS seeing 1.88 MJD 57864.134 object 25011 ksb_180118_044034_ooi_r_ls9.fits.fz ksb_180118_044034_ooi_r_ls9-CCD3 r exptime 96.46 propid BASS seeing 1.31 MJD 58136.195 object 25013 ksb_170302_052640_ooi_g_ls9.fits.fz ksb_170302_052640_ooi_g_ls9-CCD3 g exptime 129.929 propid BASS seeing 1.49 MJD 57814.227 object 25013 ksb_160309_031610_ooi_g_ls9.fits.fz ksb_160309_031610_ooi_g_ls9-CCD1 g exptime 214.3 propid 2015A-0801 seeing 2.11 MJD 57456.136 object 25002 ksb_170321_041820_ooi_r_ls9.fits.fz ksb_170321_041820_ooi_r_ls9-CCD1 r exptime 104.832 propid BASS seeing 1.35 MJD 57833.179 object 25002 ksb_180114_045813_ooi_g_ls9.fits.fz ksb_180114_045813_ooi_g_ls9-CCD4 g exptime 178.49 propid BASS seeing 1.64 MJD 58132.207 object 26193 ksb_180118_043815_ooi_r_ls9.fits.fz ksb_180118_043815_ooi_r_ls9-CCD4 r exptime 102.604 propid BASS seeing 1.33 MJD 58136.193 object 26193 ksb_170201_070833_ooi_g_ls9.fits.fz ksb_170201_070833_ooi_g_ls9-CCD1 g exptime 108.3 propid BASS seeing 1.45 MJD 57785.298 object 25001 ksb_170423_033439_ooi_r_ls9.fits.fz ksb_170423_033439_ooi_r_ls9-CCD1 r exptime 151.008 propid BASS seeing 1.44 MJD 57866.149 object 25001 mosaic get_fwhm: self.fwhm = 3.61 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3727 3993 and amp range 2048 4095 and image y 317 580 and amp range 0 2039 Range in image: x 0 267 , y 0 264 (with image size 267 x 264) dzp 0.0072022504 -> scaling image by 1.0066555682883527 mosaic get_fwhm: self.fwhm = 3.45 Found 4 relevant rows in amp-corrections file. Found overlap: image x 0 95 and amp range 0 2005 and image y 2200 2456 and amp range 2040 4078 Range in image: x 0 96 , y 0 257 (with image size 96 x 257) dzp 0.032569118 -> scaling image by 1.0304517167935139 mosaic get_fwhm: self.fwhm = 3.11 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3727 3990 and amp range 2048 4095 and image y 3970 4054 and amp range 2022 4060 Range in image: x 0 264 , y 0 85 (with image size 264 x 85) dzp -0.0028835079 -> scaling image by 0.9973477146455455 mosaic get_fwhm: self.fwhm = 4.39 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2576 2829 and amp range 2006 4053 and image y 3172 3425 and amp range 2040 4078 Range in image: x 0 254 , y 0 254 (with image size 254 x 254) dzp 0.0036595785 -> scaling image by 1.003376283213225 mosaic get_fwhm: self.fwhm = 3.73 Found 4 relevant rows in amp-corrections file. Found overlap: image x 988 1242 and amp range 0 2047 and image y 2251 2504 and amp range 2040 4078 Range in image: x 0 255 , y 0 254 (with image size 255 x 254) dzp 0.008550294 -> scaling image by 1.0079062018164673 Faked up EXPNUM 78640027 Faked up EXPNUM 78640027 Faked up EXPNUM 78640027 90prime get_fwhm: self.fwhm = 4.15 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1884 2031 and amp range 0 2015 and image y 3509 3656 and amp range 2048 4095 Range in image: x 0 132 , y 0 148 (with image size 148 x 148) dzp -0.07725406 -> scaling image by 0.9313188157188347 Found overlap: image x 1884 2031 and amp range 2016 4031 and image y 3509 3656 and amp range 2048 4095 Range in image: x 132 148 , y 0 148 (with image size 148 x 148) dzp -0.035697103 -> scaling image by 0.9676563679910417 Faked up EXPNUM 77850126 Faked up EXPNUM 77850126 Faked up EXPNUM 77850126 90prime get_fwhm: self.fwhm = 3.37 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1873 2021 and amp range 0 2015 and image y 3515 3662 and amp range 2048 4095 Range in image: x 0 143 , y 0 148 (with image size 149 x 148) dzp -0.045992933 -> scaling image by 0.958523636456738 Found overlap: image x 1873 2021 and amp range 2016 4031 and image y 3515 3662 and amp range 2048 4095 Range in image: x 143 149 , y 0 148 (with image size 149 x 148) dzp -0.02530836 -> scaling image by 0.9769597156943128 Faked up EXPNUM 81360077 Faked up EXPNUM 81360077 Faked up EXPNUM 81360077 90prime get_fwhm: self.fwhm = 2.89 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 53 and amp range 0 2015 and image y 1526 1671 and amp range 0 2047 Range in image: x 0 39 , y 0 146 (with image size 39 x 146) dzp -0.039144866 -> scaling image by 0.9645884414840357 Faked up EXPNUM 78140126 Faked up EXPNUM 78140126 Faked up EXPNUM 78140126 90prime get_fwhm: self.fwhm = 3.29 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 47 and amp range 0 2015 and image y 1513 1658 and amp range 0 2047 Range in image: x 0 33 , y 0 146 (with image size 33 x 146) dzp -0.036130503 -> scaling image by 0.9672701794860779 Faked up EXPNUM 74560035 Faked up EXPNUM 74560035 Faked up EXPNUM 74560035 90prime get_fwhm: self.fwhm = 4.65 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3837 3984 and amp range 2016 4031 and image y 2016 2162 and amp range 0 2047 Range in image: x 0 148 , y 0 32 (with image size 148 x 147) dzp -0.0032519526 -> scaling image by 0.9970093219958882 Found overlap: image x 3837 3984 and amp range 2016 4031 and image y 2016 2162 and amp range 2048 4095 Range in image: x 0 148 , y 32 147 (with image size 148 x 147) dzp 0.009677861 -> scaling image by 1.0089534840651213 Faked up EXPNUM 78330063 Faked up EXPNUM 78330063 Faked up EXPNUM 78330063 90prime get_fwhm: self.fwhm = 2.99 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3862 4008 and amp range 2016 4031 and image y 1995 2141 and amp range 0 2047 Range in image: x 0 147 , y 0 53 (with image size 147 x 147) dzp -0.006547878 -> scaling image by 0.9939873303458991 Found overlap: image x 3862 4008 and amp range 2016 4031 and image y 1995 2141 and amp range 2048 4095 Range in image: x 0 147 , y 53 147 (with image size 147 x 147) dzp 0.02308583 -> scaling image by 1.021490500713915 Faked up EXPNUM 81320079 Faked up EXPNUM 81320079 Faked up EXPNUM 81320079 90prime get_fwhm: self.fwhm = 3.61 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3663 3810 and amp range 2016 4031 and image y 1175 1321 and amp range 0 2047 Range in image: x 0 148 , y 0 147 (with image size 148 x 147) dzp 0.023266561 -> scaling image by 1.0216605511853067 Faked up EXPNUM 81360076 Faked up EXPNUM 81360076 Faked up EXPNUM 81360076 90prime get_fwhm: self.fwhm = 2.93 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3683 3830 and amp range 2016 4031 and image y 1180 1326 and amp range 0 2047 Range in image: x 0 148 , y 0 147 (with image size 148 x 147) dzp 0.043530058 -> scaling image by 1.0409072255640852 Faked up EXPNUM 77850120 Faked up EXPNUM 77850120 Faked up EXPNUM 77850120 90prime get_fwhm: self.fwhm = 3.21 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1824 1972 and amp range 0 2015 and image y 15 155 and amp range 0 2047 Range in image: x 0 149 , y 0 141 (with image size 149 x 141) dzp -0.023075538 -> scaling image by 0.9789709052881876 Faked up EXPNUM 78660035 Faked up EXPNUM 78660035 Faked up EXPNUM 78660035 90prime get_fwhm: self.fwhm = 3.17 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1847 1996 and amp range 0 2015 and image y 15 141 and amp range 0 2047 Range in image: x 0 150 , y 0 127 (with image size 150 x 127) dzp -0.024106435 -> scaling image by 0.9780418215011345 Stage tims : Wall: 8.95 s, CPU: 1.08 s, VmPeak: 943 MB, VmSize: 943 MB, VmRSS: 174 MB, VmData: 207 MB, maxrss: 0.566628 MB Stage tims finished: 2020-06-07T17:52:59.065703 Resources for stage tims : 4.405 s worker CPU, 19.123 s worker Wall, Wall: 8.949 s, Cores in use: 0.61, Total efficiency (on 4 cores): 15.3 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/PGC2338169-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/PGC2338169-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T17:52:59.093285 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-01548.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-01333.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-01438.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-01439.fits Matched 8 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/metrics/cus/reference-custom-116027p49270.fits Stage refs : Wall: 4.25 s, CPU: 2.70 s, VmPeak: 973 MB, VmSize: 967 MB, VmRSS: 199 MB, VmData: 231 MB, maxrss: 0.566628 MB Stage refs finished: 2020-06-07T17:53:03.339878 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 4.248 s, Cores in use: 0.64, Total efficiency (on 4 cores): 15.9 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T17:53:03.341391 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/metrics/cus/outlier-mask-custom-116027p49270.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/metrics/cus/outliers-pre-custom-116027p49270.jpg Image ksb_170302_052640_ooi_g_ls9-CCD3 g : masking 161 positive outlier pixels and 0 negative outlier pixels Image ksb_170201_072503_ooi_g_ls9-CCD3 g : masking 95 positive outlier pixels and 85 negative outlier pixels Image ksb_180114_045813_ooi_g_ls9-CCD4 g : masking 2913 positive outlier pixels and 0 negative outlier pixels Image ksb_160309_031610_ooi_g_ls9-CCD1 g : masking 39 positive outlier pixels and 206 negative outlier pixels Image ksb_170201_070833_ooi_g_ls9-CCD1 g : masking 71 positive outlier pixels and 0 negative outlier pixels Image ksb_180118_044034_ooi_r_ls9-CCD3 r : masking 1893 positive outlier pixels and 0 negative outlier pixels Image ksb_170421_031215_ooi_r_ls9-CCD3 r : masking 54 positive outlier pixels and 0 negative outlier pixels Image k4m_160313_035154_ooi_zd_ls9-CCD4 z : masking 1611 positive outlier pixels and 0 negative outlier pixels Image k4m_160313_041222_ooi_zd_ls9-CCD2 z : masking 1473 positive outlier pixels and 0 negative outlier pixels Image k4m_160326_030636_ooi_zd_ls9-CCD2 z : masking 136 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/metrics/cus/outlier-mask-custom-116027p49270.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/metrics/cus/outliers-post-custom-116027p49270.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/metrics/cus/outliers-masked-pos-custom-116027p49270.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/metrics/cus/outliers-masked-neg-custom-116027p49270.jpg Stage outliers : Wall: 1.07 s, CPU: 0.74 s, VmPeak: 977 MB, VmSize: 977 MB, VmRSS: 213 MB, VmData: 244 MB, maxrss: 0.566628 MB Stage outliers finished: 2020-06-07T17:53:04.409848 Resources for stage outliers : 1.259 s worker CPU, 1.264 s worker Wall, Wall: 1.070 s, Cores in use: 1.87, Total efficiency (on 4 cores): 46.7 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T17:53:04.411651 Stage halos : Wall: 0.29 s, CPU: 0.28 s, VmPeak: 977 MB, VmSize: 977 MB, VmRSS: 213 MB, VmData: 244 MB, maxrss: 0.566628 MB Stage halos finished: 2020-06-07T17:53:04.699549 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 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.289 s, Cores in use: 0.97, Total efficiency (on 4 cores): 24.2 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-07T17:53:04.701343 PSF sigmas in coadd pixels: ['2.48', '2.42', '3.42', '2.66', '2.36'] Using average PSF sigma 2.669156915878614 Gaussian PSF norm 0.10568685194029524 vs pixelized 0.08825565 average tim pixel scale / coadd scale: 1.72987905107012 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-copsf-g.fits.fz PSF sigmas in coadd pixels: ['3.05', '2.13', '2.20', '2.16', '2.33'] Using average PSF sigma 2.3743026728721537 Gaussian PSF norm 0.11881163888537973 vs pixelized 0.098253146 average tim pixel scale / coadd scale: 1.729635312044211 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.52', '1.85', '1.31', '1.45', '1.57'] Using average PSF sigma 1.542394760303838 Gaussian PSF norm 0.18289402884013173 vs pixelized 0.1505134 average tim pixel scale / coadd scale: 0.9908722220379717 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.26 s, CPU: 0.23 s, VmPeak: 977 MB, VmSize: 977 MB, VmRSS: 215 MB, VmData: 244 MB, maxrss: 0.566628 MB Stage fit_on_coadds finished: 2020-06-07T17:53:04.958440 Resources for stage fit_on_coadds : 0.300 s worker CPU, 0.310 s worker Wall, Wall: 0.258 s, Cores in use: 2.04, Total efficiency (on 4 cores): 51.1 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T17:53:04.961768 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 15 potential peaks Of 15 potential peaks: 4 in veto map, 2 cut by saddle test, 0 cut by aper test, 9 kept SED z : 9 new peaks Found 9 potential peaks Of 9 potential peaks: 9 in veto map, 0 cut by saddle test, 0 cut by aper test, 0 kept SED r : 0 new peaks Found 9 potential peaks Of 9 potential peaks: 9 in veto map, 0 cut by saddle test, 0 cut by aper test, 0 kept SED g : 0 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 Flat : 1 new peaks Found 19 potential peaks Of 19 potential peaks: 15 in veto map, 3 cut by saddle test, 0 cut by aper test, 1 kept SED Red : 1 new peaks Adding 11 new sources Median coadd sky for g : 7.138935e-05 Median coadd sky for r : 5.260147e-05 Median coadd sky for z : 8.332593e-05 Stage srcs : Wall: 0.56 s, CPU: 0.51 s, VmPeak: 977 MB, VmSize: 977 MB, VmRSS: 215 MB, VmData: 244 MB, maxrss: 0.566628 MB Stage srcs finished: 2020-06-07T17:53:05.525513 Resources for stage srcs : 0.109 s worker CPU, 0.119 s worker Wall, Wall: 0.565 s, Cores in use: 1.11, Total efficiency (on 4 cores): 27.6 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/PGC2338169-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/PGC2338169-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T17:53:05.776555 Blob 1 of 10, id: 0, sources: 4, size: 112x114, npix 8017, brick X: 83,195, Y: 69,183, one pixel: 122 69 Blob 2 of 10, id: 7, sources: 1, size: 35x45, npix 1066, brick X: 216,251, Y: 205,250, one pixel: 233 205 Blob 3 of 10, id: 2, sources: 2, size: 44x42, npix 957, brick X: 0,44, Y: 77,119, one pixel: 27 77 Blob 4 of 10, id: 8, sources: 1, size: 38x33, npix 951, brick X: 81,119, Y: 218,251, one pixel: 97 218 Blob 5 of 10, id: 3, sources: 1, size: 39x28, npix 738, brick X: 49,88, Y: 133,161, one pixel: 70 133 Blob 4 finished, total: Wall: 0.94 s, CPU: 0.94 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 178 MB, maxrss: 0.141896 MB Measuring 1 iterative sources Blob 6 of 10, id: 5, sources: 2, size: 38x26, npix 597, brick X: 174,212, Y: 165,191, one pixel: 183 165 Blob 3 finished, total: Wall: 1.08 s, CPU: 1.08 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 178 MB, maxrss: 0.141844 MB Blob 7 of 10, id: 6, sources: 1, size: 28x27, npix 501, brick X: 7,35, Y: 199,226, one pixel: 18 199 Blob 2 finished, total: Wall: 1.25 s, CPU: 1.24 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 179 MB, maxrss: 0.14248 MB Blob 8 of 10, id: 9, sources: 1, size: 26x23, npix 395, brick X: 40,66, Y: 228,251, one pixel: 51 228 Measuring 1 iterative sources Blob 6 finished, total: Wall: 0.64 s, CPU: 0.64 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 178 MB, maxrss: 0.141844 MB Blob 9 of 10, id: 4, sources: 1, size: 20x20, npix 228, brick X: 1,21, Y: 159,179, one pixel: 10 159 Blob 10 of 10, id: 1, sources: 1, size: 18x18, npix 180, brick X: 66,84, Y: 70,88, one pixel: 74 70 Blob 7 finished, total: Wall: 0.51 s, CPU: 0.51 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 179 MB, maxrss: 0.14248 MB Blob 5 finished, total: Wall: 1.06 s, CPU: 1.06 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 179 MB, maxrss: 0.142148 MB Blob 9 finished, total: Wall: 0.28 s, CPU: 0.28 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 179 MB, maxrss: 0.14248 MB Blob 10 finished, total: Wall: 0.05 s, CPU: 0.05 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 179 MB, maxrss: 0.142148 MB Blob 8 finished, total: Wall: 0.46 s, CPU: 0.46 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 139 MB, VmData: 178 MB, maxrss: 0.141844 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.30967, ee1=0.288127, ee2=0.0147639 Blob 1 finished, total: Wall: 3.73 s, CPU: 3.73 s, VmPeak: 807 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143256 MB Old catalog: 16 New catalog: 15 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/metrics/cus/blobs-custom-116027p49270.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/metrics/cus/all-models-custom-116027p49270.fits Stage fitblobs : Wall: 4.09 s, CPU: 0.33 s, VmPeak: 977 MB, VmSize: 977 MB, VmRSS: 215 MB, VmData: 244 MB, maxrss: 0.566628 MB Stage fitblobs finished: 2020-06-07T17:53:09.862852 Resources for stage fitblobs : 10.099 s worker CPU, 10.166 s worker Wall, Wall: 4.088 s, Cores in use: 2.55, Total efficiency (on 4 cores): 63.8 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T17:53:09.864723 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/tmp-legacysurvey-custom-116027p49270-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/tmp-legacysurvey-custom-116027p49270-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/tmp-legacysurvey-custom-116027p49270-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/tmp-legacysurvey-custom-116027p49270-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-resid.jpg Stage coadds : Wall: 1.24 s, CPU: 0.62 s, VmPeak: 977 MB, VmSize: 977 MB, VmRSS: 216 MB, VmData: 244 MB, maxrss: 0.566628 MB Stage coadds finished: 2020-06-07T17:53:11.107247 Resources for stage coadds : 1.710 s worker CPU, 1.804 s worker Wall, Wall: 1.243 s, Cores in use: 1.87, Total efficiency (on 4 cores): 46.8 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T17:53:11.108889 Cut to 1 unWISE tiles Reading WISE tile 1161p499 band 2 Reading WISE tile 1161p499 band 3 Reading WISE tile 1161p499 band 1 Reading WISE tile 1161p499 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-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: 806 MB, VmSize: 794 MB, VmRSS: 146 MB, VmData: 176 MB, maxrss: 0.188112 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.04 s, CPU: 0.04 s, VmPeak: 806 MB, VmSize: 788 MB, VmRSS: 140 MB, VmData: 170 MB, maxrss: 0.204592 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-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: 806 MB, VmSize: 792 MB, VmRSS: 144 MB, VmData: 174 MB, maxrss: 0.20832 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1161p499/unwise-1161p499-w2-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: 807 MB, VmSize: 792 MB, VmRSS: 144 MB, VmData: 174 MB, maxrss: 0.20794 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/tmp-legacysurvey-custom-116027p49270-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/tmp-legacysurvey-custom-116027p49270-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 2.87 s, CPU: 0.68 s, VmPeak: 977 MB, VmSize: 977 MB, VmRSS: 217 MB, VmData: 244 MB, maxrss: 0.566628 MB Stage wise_forced finished: 2020-06-07T17:53:13.979190 Resources for stage wise_forced : 3.913 s worker CPU, 5.836 s worker Wall, Wall: 2.872 s, Cores in use: 1.60, Total efficiency (on 4 cores): 40.0 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T17:53:13.981125 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/coadd/cus/custom-116027p49270/legacysurvey-custom-116027p49270-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/tractor-i/cus/tractor-custom-116027p49270.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/116/PGC2338169/tractor/cus/tractor-custom-116027p49270.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC2338169/tractor/cus/brick-custom-116027p49270.sha256sum Stage writecat : Wall: 0.93 s, CPU: 0.75 s, VmPeak: 1109 MB, VmSize: 981 MB, VmRSS: 219 MB, VmData: 244 MB, maxrss: 0.566628 MB Stage writecat finished: 2020-06-07T17:53:14.908427 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 0.928 s, Cores in use: 0.81, Total efficiency (on 4 cores): 20.2 % Stage writecat finished All done: 21.797 s worker CPU, 38.625 s worker Wall, Wall: 24.798 s, Cores in use: 1.20, Total efficiency (on 4 cores): 30.0 % Finished galaxy PGC2338169 in 0.454 minutes.