Started working on galaxy PGC661952 at Sat Jun 6 08:23:33 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 32.244462 -34.461174799999995 --width 257 --height 257 --pixscale 0.262 --threads 8 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run south --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-06T08:23:34.340790 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '32.244462', '-34.461174799999995', '--width', '257', '--height', '257', '--pixscale', '0.262', '--threads', '8', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952', '--survey-dir', '/global/cfs/cdirs/cosmo/work/legacysurvey/dr9', '--run', 'south', '--write-stage', 'tims', '--write-stage', 'srcs', '--skip-calibs', '--checkpoint', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-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 32.244462 -34.461174799999995 --width 257 --height 257 --pixscale 0.262 --threads 8 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run south --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 32.244462 -34.461174799999995 Starting process 31021 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 31022 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 31023 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 MB Starting process 31024 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057312 MB Starting process 31025 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057316 MB Starting process 31026 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 31027 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 31028 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057324 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-06T08:23:34.995789 Keeping 18 CCDs: c4d_171207_051048_ooi_z_v1.fits.fz c4d_171207_051048_ooi_z_v1-N19 z exptime 90.0 propid 2012B-0001 seeing 1.08 MJD 58094.216 object DES survey hex 318-339 tiling 8 c4d_171020_081227_ooi_r_v1.fits.fz c4d_171020_081227_ooi_r_v1-N19 r exptime 90.0 propid 2012B-0001 seeing 1.05 MJD 58046.342 object DES survey hex 318-339 tiling 8 c4d_171020_081425_ooi_g_v1.fits.fz c4d_171020_081425_ooi_g_v1-N19 g exptime 90.0 propid 2012B-0001 seeing 1.04 MJD 58046.343 object DES survey hex 318-339 tiling 8 c4d_180911_092048_ooi_r_v1.fits.fz c4d_180911_092048_ooi_r_v1-S1 r exptime 90.0 propid 2012B-0001 seeing 1.26 MJD 58372.389 object DES survey hex 335-349 tiling 10 c4d_150109_030741_ooi_z_ls9.fits.fz c4d_150109_030741_ooi_z_ls9-N3 z exptime 90.0 propid 2012B-0001 seeing 1.11 MJD 57031.129 object DES survey hex 335-349 tiling 2 c4d_141225_031821_ooi_r_ls9.fits.fz c4d_141225_031821_ooi_r_ls9-N3 r exptime 90.0 propid 2012B-0001 seeing 1.25 MJD 57016.136 object DES survey hex 335-349 tiling 2 c4d_141225_031431_ooi_g_ls9.fits.fz c4d_141225_031431_ooi_g_ls9-N3 g exptime 90.0 propid 2012B-0001 seeing 1.27 MJD 57016.133 object DES survey hex 335-349 tiling 2 c4d_150817_085807_ooi_g_ls9.fits.fz c4d_150817_085807_ooi_g_ls9-S28 g exptime 90.0 propid 2012B-0001 seeing 1.35 MJD 57251.372 object DES survey hex 314-359 tiling 4 c4d_151101_064205_ooi_z_ls9.fits.fz c4d_151101_064205_ooi_z_ls9-S28 z exptime 90.0 propid 2012B-0001 seeing 1.22 MJD 57327.278 object DES survey hex 314-359 tiling 4 c4d_150121_021541_ooi_r_ls9.fits.fz c4d_150121_021541_ooi_r_ls9-N23 r exptime 90.0 propid 2012B-0001 seeing 1.22 MJD 57043.093 object DES survey hex 318-339 tiling 1 c4d_141115_064238_ooi_z_ls9.fits.fz c4d_141115_064238_ooi_z_ls9-N23 z exptime 90.0 propid 2012B-0001 seeing 1.10 MJD 56976.278 object DES survey hex 318-339 tiling 1 c4d_141127_053518_ooi_g_ls9.fits.fz c4d_141127_053518_ooi_g_ls9-N23 g exptime 90.0 propid 2012B-0001 seeing 1.30 MJD 56988.231 object DES survey hex 318-339 tiling 1 c4d_160922_033351_ooi_r_ls9.fits.fz c4d_160922_033351_ooi_r_ls9-N31 r exptime 90.0 propid 2012B-0001 seeing 1.16 MJD 57653.147 object DES survey hex 318-339 tiling 5 c4d_160120_021056_ooi_z_ls9.fits.fz c4d_160120_021056_ooi_z_ls9-N31 z exptime 90.0 propid 2012B-0001 seeing 1.06 MJD 57407.089 object DES survey hex 318-339 tiling 5 c4d_160922_033549_ooi_g_ls9.fits.fz c4d_160922_033549_ooi_g_ls9-N31 g exptime 90.0 propid 2012B-0001 seeing 1.11 MJD 57653.148 object DES survey hex 318-339 tiling 5 c4d_161029_074902_ooi_r_ls9.fits.fz c4d_161029_074902_ooi_r_ls9-N2 r exptime 90.0 propid 2012B-0001 seeing 1.21 MJD 57690.324 object DES survey hex 335-349 tiling 6 c4d_161029_075101_ooi_g_ls9.fits.fz c4d_161029_075101_ooi_g_ls9-N2 g exptime 90.0 propid 2012B-0001 seeing 1.13 MJD 57690.325 object DES survey hex 335-349 tiling 6 c4d_161218_042414_ooi_z_ls9.fits.fz c4d_161218_042414_ooi_z_ls9-N2 z exptime 90.0 propid 2012B-0001 seeing 1.05 MJD 57740.182 object DES survey hex 335-349 tiling 6 The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171017_8fe5678-r-20171020T081227_oi[N19,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DES18B_20180908_9293ab0-r-20180911T092048_oi[S1,noinherit][2046,4094][real]: DES The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961a5f3-g-20141225T031206_oi[N3,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171017_8fe5678-g-20171020T081425_oi[N19,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171204_904491c-z-20171207T051048_oi[N19,noinherit][2046,4094][real]: DE The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961c811-r-20141225T031602_oi[N3,noinherit][2046,4094][real]: DES surv Zeroing out 0 weight-map pixels below quantization error (= median 3.64e-05) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9623afc-z-20151101T063944_oi[S28,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961e1ae-z-20150109T030520_oi[N3,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961dcfb-r-20150121T021320_oi[N23,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961da5a-g-20150817T085547_oi[S28,noinherit][2046,4094][real]: DES sur Zeroing out 262 weight-map pixels below quantization error (= median 6.76e-05) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961ac62-z-20141115T064019_oi[N23,noinherit][2046,4094][real]: DES sur Zeroing out 346 weight-map pixels below quantization error (= median 0.000249) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9618eb0-g-20141127T053257_oi[N23,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_962a3f5-g-20160922T033329_oi[N31,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9627da7-z-20160120T020836_oi[N31,noinherit][2046,4094][real]: DES sur Zeroing out 3640 weight-map pixels below quantization error (= median 2.27e-06) The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_962b673-r-20160922T033131_oi[N31,noinherit][2046,4094][real]: DES sur The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9631cd2-r-20161029T074642_oi[N2,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95044db-z-20161218T042153_oi[N2,noinherit][2046,4094][real]: DES surv The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_962fa53-g-20161029T074841_oi[N2,noinherit][2046,4094][real]: DES surv Stage tims : Wall: 102.69 s, CPU: 1.14 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 182 MB, VmData: 216 MB, maxrss: 0.450444 MB Stage tims finished: 2020-06-06T08:25:17.687551 WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961da5a-g-20150817T085547_oi[S28,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171017_8fe5678-g-20171020T081425_oi[N19,noinherit][2046,4094][real]: DE [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9618eb0-g-20141127T053257_oi[N23,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961c811-r-20141225T031602_oi[N3,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_962a3f5-g-20160922T033329_oi[N31,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171017_8fe5678-r-20171020T081227_oi[N19,noinherit][2046,4094][real]: DE [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9623afc-z-20151101T063944_oi[S28,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9627da7-z-20160120T020836_oi[N31,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES17B_20171204_904491c-z-20171207T051048_oi[N19,noinherit][2046,4094][real]: DE [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_962b673-r-20160922T033131_oi[N31,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DES18B_20180908_9293ab0-r-20180911T092048_oi[S1,noinherit][2046,4094][real]: DES [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961ac62-z-20141115T064019_oi[N23,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95044db-z-20161218T042153_oi[N2,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] Resources for stage tims : 7.251 s worker CPU, 681.531 s worker Wall, Wall: 102.693 s, Cores in use: 0.08, Total efficiency (on 8 cores): 1.0 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-largegalaxy-tims.p Running stage refs WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961e1ae-z-20150109T030520_oi[N3,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9631cd2-r-20161029T074642_oi[N2,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961a5f3-g-20141225T031206_oi[N3,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_961dcfb-r-20150121T021320_oi[N23,noinherit][2046,4094][real]: DES sur [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_962fa53-g-20161029T074841_oi[N2,noinherit][2046,4094][real]: DES surv [astropy.io.fits.card] Running stage refs at 2020-06-06T08:25:17.723237 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-09547.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-09675.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-09548.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-09419.fits Matched 10 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/metrics/cus/reference-custom-032244m34461.fits Stage refs : Wall: 1.48 s, CPU: 1.09 s, VmPeak: 1028 MB, VmSize: 1008 MB, VmRSS: 194 MB, VmData: 227 MB, maxrss: 0.450444 MB Stage refs finished: 2020-06-06T08:25:19.199057 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.477 s, Cores in use: 0.74, Total efficiency (on 8 cores): 9.2 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-06T08:25:19.200831 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/metrics/cus/outlier-mask-custom-032244m34461.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/metrics/cus/outliers-pre-custom-032244m34461.jpg Image c4d_141225_031431_ooi_g_ls9-N3 g : masking 403 positive outlier pixels and 0 negative outlier pixels Image c4d_141127_053518_ooi_g_ls9-N23 g : masking 166 positive outlier pixels and 0 negative outlier pixels Image c4d_160922_033351_ooi_r_ls9-N31 r : masking 298 positive outlier pixels and 0 negative outlier pixels Image c4d_180911_092048_ooi_r_v1-S1 r : masking 0 positive outlier pixels and 181 negative outlier pixels Image c4d_141225_031821_ooi_r_ls9-N3 r : masking 708 positive outlier pixels and 0 negative outlier pixels Image c4d_161029_074902_ooi_r_ls9-N2 r : masking 285 positive outlier pixels and 0 negative outlier pixels Image c4d_150109_030741_ooi_z_ls9-N3 z : masking 47 positive outlier pixels and 0 negative outlier pixels Image c4d_171207_051048_ooi_z_v1-N19 z : masking 481 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/metrics/cus/outlier-mask-custom-032244m34461.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/metrics/cus/outliers-post-custom-032244m34461.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/metrics/cus/outliers-masked-pos-custom-032244m34461.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/metrics/cus/outliers-masked-neg-custom-032244m34461.jpg Stage outliers : Wall: 1.03 s, CPU: 0.80 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 212 MB, VmData: 243 MB, maxrss: 0.450444 MB Stage outliers finished: 2020-06-06T08:25:20.226624 Resources for stage outliers : 1.474 s worker CPU, 1.475 s worker Wall, Wall: 1.027 s, Cores in use: 2.22, Total efficiency (on 8 cores): 27.7 % Stage outliers finished Running stage halos Running stage halos at 2020-06-06T08:25:20.228553 Stage halos : Wall: 0.75 s, CPU: 0.23 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 212 MB, VmData: 243 MB, maxrss: 0.450444 MB Stage halos finished: 2020-06-06T08:25:20.974582 Resources for stage halos : 0.463 s worker CPU, 2.635 s worker Wall, Wall: 0.747 s, Cores in use: 0.93, Total efficiency (on 8 cores): 11.6 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-06T08:25:20.976792 PSF sigmas in coadd pixels: ['1.69', '2.06', '2.19', '2.11', '1.81', '1.83'] Using average PSF sigma 1.9489320006944293 Gaussian PSF norm 0.1447432705057766 vs pixelized 0.12669322 average tim pixel scale / coadd scale: 1.00109024921553 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-copsf-g.fits.fz PSF sigmas in coadd pixels: ['1.71', '2.05', '2.02', '1.98', '1.88', '1.96'] Using average PSF sigma 1.9330859368874804 Gaussian PSF norm 0.14592977290398557 vs pixelized 0.145653 average tim pixel scale / coadd scale: 1.0011082613762496 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.76', '1.80', '1.98', '1.79', '1.72', '1.70'] Using average PSF sigma 1.7916279330057534 Gaussian PSF norm 0.1574516597877648 vs pixelized 0.15912049 average tim pixel scale / coadd scale: 1.0010211498348596 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.27 s, CPU: 0.27 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 215 MB, VmData: 244 MB, maxrss: 0.450444 MB Stage fit_on_coadds finished: 2020-06-06T08:25:21.244135 Resources for stage fit_on_coadds : 0.320 s worker CPU, 0.322 s worker Wall, Wall: 0.269 s, Cores in use: 2.20, Total efficiency (on 8 cores): 27.4 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-06T08:25:21.247800 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 52 potential peaks Of 52 potential peaks: 41 in veto map, 5 cut by saddle test, 0 cut by aper test, 6 kept SED z : 6 new peaks Found 76 potential peaks Of 76 potential peaks: 52 in veto map, 8 cut by saddle test, 0 cut by aper test, 16 kept SED r : 16 new peaks Found 57 potential peaks Of 57 potential peaks: 51 in veto map, 5 cut by saddle test, 0 cut by aper test, 1 kept SED g : 1 new peaks Found 85 potential peaks Of 85 potential peaks: 71 in veto map, 8 cut by saddle test, 0 cut by aper test, 6 kept SED Flat : 6 new peaks Found 87 potential peaks Of 87 potential peaks: 76 in veto map, 11 cut by saddle test, 0 cut by aper test, 0 kept SED Red : 0 new peaks Adding 29 new sources Median coadd sky for g : 7.094218e-05 Median coadd sky for r : 0.00024784502 Median coadd sky for z : 0.00056720804 Stage srcs : Wall: 0.55 s, CPU: 0.51 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 215 MB, VmData: 244 MB, maxrss: 0.450444 MB Stage srcs finished: 2020-06-06T08:25:21.795139 Resources for stage srcs : 0.087 s worker CPU, 0.087 s worker Wall, Wall: 0.548 s, Cores in use: 1.09, Total efficiency (on 8 cores): 13.6 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/PGC661952-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-06T08:25:21.806205 Blob 1 of 11, id: 4, sources: 18, size: 242x197, npix 27306, brick X: 4,246, Y: 17,214, one pixel: 68 17 Blob 2 of 11, id: 2, sources: 2, size: 31x53, npix 1025, brick X: 211,242, Y: 5,58, one pixel: 225 5 Blob 3 of 11, id: 8, sources: 2, size: 47x34, npix 840, brick X: 151,198, Y: 220,254, one pixel: 161 220 Blob 4 of 11, id: 7, sources: 2, size: 32x29, npix 450, brick X: 17,49, Y: 197,226, one pixel: 39 197 Blob 5 of 11, id: 0, sources: 1, size: 26x23, npix 409, brick X: 128,154, Y: 0,23, one pixel: 136 0 Blob 6 of 11, id: 5, sources: 1, size: 22x25, npix 329, brick X: 182,204, Y: 37,62, one pixel: 192 37 Blob 7 of 11, id: 9, sources: 1, size: 24x18, npix 270, brick X: 69,93, Y: 232,250, one pixel: 77 232 Blob 8 of 11, id: 1, sources: 1, size: 20x20, npix 238, brick X: 4,24, Y: 3,23, one pixel: 13 3 Blob 9 of 11, id: 3, sources: 1, size: 15x20, npix 194, brick X: 242,257, Y: 5,25, one pixel: 250 5 Blob 7 finished, total: Wall: 0.08 s, CPU: 0.08 s, VmPeak: 957 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.147092 MB Blob 10 of 11, id: 6, sources: 1, size: 15x20, npix 193, brick X: 242,257, Y: 105,125, one pixel: 251 105 Blob 6 finished, total: Wall: 0.38 s, CPU: 0.37 s, VmPeak: 953 MB, VmSize: 720 MB, VmRSS: 143 MB, VmData: 183 MB, maxrss: 0.146504 MB Blob 11 of 11, id: 10, sources: 1, size: 19x19, npix 190, brick X: 100,119, Y: 236,255, one pixel: 109 236 Blob 4 finished, total: Wall: 0.68 s, CPU: 0.68 s, VmPeak: 999 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146656 MB Blob 8 finished, total: Wall: 0.67 s, CPU: 0.66 s, VmPeak: 1001 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146404 MB Blob 5 finished, total: Wall: 0.72 s, CPU: 0.72 s, VmPeak: 940 MB, VmSize: 718 MB, VmRSS: 142 MB, VmData: 181 MB, maxrss: 0.145844 MB Blob 11 finished, total: Wall: 0.08 s, CPU: 0.08 s, VmPeak: 999 MB, VmSize: 719 MB, VmRSS: 143 MB, VmData: 182 MB, maxrss: 0.146656 MB Blob 9 finished, total: Wall: 0.71 s, CPU: 0.71 s, VmPeak: 957 MB, VmSize: 720 MB, VmRSS: 144 MB, VmData: 183 MB, maxrss: 0.147092 MB Blob 10 finished, total: Wall: 0.95 s, CPU: 0.95 s, VmPeak: 953 MB, VmSize: 720 MB, VmRSS: 143 MB, VmData: 183 MB, maxrss: 0.146504 MB Measuring 1 iterative sources Measuring 1 iterative sources Blob 3 finished, total: Wall: 1.93 s, CPU: 1.92 s, VmPeak: 1003 MB, VmSize: 719 MB, VmRSS: 145 MB, VmData: 182 MB, maxrss: 0.148812 MB Blob 2 finished, total: Wall: 2.17 s, CPU: 2.16 s, VmPeak: 1005 MB, VmSize: 719 MB, VmRSS: 146 MB, VmData: 182 MB, maxrss: 0.149116 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=0.860944, ee1=-0.182895, ee2=-0.0710612 Measuring 12 iterative sources Blob 1 finished, total: Wall: 18.69 s, CPU: 18.68 s, VmPeak: 951 MB, VmSize: 726 MB, VmRSS: 157 MB, VmData: 189 MB, maxrss: 0.161012 MB Old catalog: 34 New catalog: 38 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/metrics/cus/blobs-custom-032244m34461.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/metrics/cus/all-models-custom-032244m34461.fits Stage fitblobs : Wall: 19.07 s, CPU: 0.36 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 216 MB, VmData: 244 MB, maxrss: 0.450444 MB Stage fitblobs finished: 2020-06-06T08:25:40.872396 Resources for stage fitblobs : 27.164 s worker CPU, 27.234 s worker Wall, Wall: 19.068 s, Cores in use: 1.44, Total efficiency (on 8 cores): 18.0 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-06T08:25:40.874751 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/tmp-legacysurvey-custom-032244m34461-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/tmp-legacysurvey-custom-032244m34461-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/tmp-legacysurvey-custom-032244m34461-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/tmp-legacysurvey-custom-032244m34461-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-resid.jpg Stage coadds : Wall: 1.19 s, CPU: 0.47 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 216 MB, VmData: 244 MB, maxrss: 0.450444 MB Stage coadds finished: 2020-06-06T08:25:42.067958 Resources for stage coadds : 4.094 s worker CPU, 4.478 s worker Wall, Wall: 1.194 s, Cores in use: 3.82, Total efficiency (on 8 cores): 47.8 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-06T08:25:42.069616 Cut to 1 unWISE tiles Reading WISE tile 0328m349 band 1 Reading WISE tile 0328m349 band 2 Reading WISE tile 0328m349 band 3 Reading WISE tile 0328m349 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-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: 951 MB, VmSize: 803 MB, VmRSS: 157 MB, VmData: 181 MB, maxrss: 0.20398 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.05 s, CPU: 0.05 s, VmPeak: 957 MB, VmSize: 792 MB, VmRSS: 142 MB, VmData: 170 MB, maxrss: 0.20656 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.05 s, CPU: 0.05 s, VmPeak: 1005 MB, VmSize: 795 MB, VmRSS: 145 MB, VmData: 174 MB, maxrss: 0.208744 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/032/0328m349/unwise-0328m349-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.05 s, CPU: 0.05 s, VmPeak: 1003 MB, VmSize: 795 MB, VmRSS: 145 MB, VmData: 174 MB, maxrss: 0.208428 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/tmp-legacysurvey-custom-032244m34461-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/tmp-legacysurvey-custom-032244m34461-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 10.77 s, CPU: 0.38 s, VmPeak: 1028 MB, VmSize: 1018 MB, VmRSS: 217 MB, VmData: 244 MB, maxrss: 0.450444 MB Stage wise_forced finished: 2020-06-06T08:25:52.842877 Resources for stage wise_forced : 3.001 s worker CPU, 14.376 s worker Wall, Wall: 10.775 s, Cores in use: 0.31, Total efficiency (on 8 cores): 3.9 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-06T08:25:52.844817 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/coadd/cus/custom-032244m34461/legacysurvey-custom-032244m34461-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/tractor-i/cus/tractor-custom-032244m34461.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/032/PGC661952/tractor/cus/tractor-custom-032244m34461.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/032/PGC661952/tractor/cus/brick-custom-032244m34461.sha256sum Stage writecat : Wall: 0.67 s, CPU: 0.51 s, VmPeak: 1150 MB, VmSize: 1022 MB, VmRSS: 219 MB, VmData: 244 MB, maxrss: 0.450444 MB Stage writecat finished: 2020-06-06T08:25:53.514189 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 0.671 s, Cores in use: 0.77, Total efficiency (on 8 cores): 9.6 % Stage writecat finished All done: 43.856 s worker CPU, 732.141 s worker Wall, Wall: 138.523 s, Cores in use: 0.36, Total efficiency (on 8 cores): 4.5 % Finished galaxy PGC661952 in 2.346 minutes.