Started working on galaxy PGC021783 at Sun Jun 7 08:42:00 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 116.75717850000001 16.505193900000002 --width 361 --height 361 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783 --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/116/PGC021783/PGC021783-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/PGC021783-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T08:42:01.788714 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '116.75717850000001', '16.505193900000002', '--width', '361', '--height', '361', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783', '--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/116/PGC021783/PGC021783-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/PGC021783-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.75717850000001 16.505193900000002 --width 361 --height 361 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783 --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/116/PGC021783/PGC021783-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/PGC021783-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 116.75717850000001 16.505193900000002 Starting process 64931 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057368 MB Starting process 64932 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057396 MB Starting process 64933 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.05746 MB Starting process 64934 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057376 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-07T08:42:05.240867 Keeping 18 CCDs: c4d_160109_045836_ooi_r_ls9.fits.fz c4d_160109_045836_ooi_r_ls9-S31 r exptime 61.0 propid 2014B-0404 seeing 1.25 MJD 57396.206 object DECaLS_7449_r c4d_181103_065017_ooi_g_ls9.fits.fz c4d_181103_065017_ooi_g_ls9-N25 g exptime 200.0 propid 2014B-0404 seeing 1.50 MJD 58425.285 object DECaLS_26602_g c4d_181103_064143_ooi_r_ls9.fits.fz c4d_181103_064143_ooi_r_ls9-N25 r exptime 107.0 propid 2014B-0404 seeing 1.50 MJD 58425.279 object DECaLS_26602_r c4d_170421_232744_ooi_z_ls9.fits.fz c4d_170421_232744_ooi_z_ls9-N25 z exptime 250.0 propid 2014B-0404 seeing 1.07 MJD 57864.974 object DECaLS_26602_z c4d_170504_235458_ooi_z_ls9.fits.fz c4d_170504_235458_ooi_z_ls9-S29 z exptime 192.0 propid 2014B-0404 seeing 0.98 MJD 57877.994 object DECaLS_39193_z c4d_181210_045001_ooi_r_ls9.fits.fz c4d_181210_045001_ooi_r_ls9-S29 r exptime 69.0 propid 2014B-0404 seeing 1.70 MJD 58462.201 object DECaLS_39193_r c4d_181210_044726_ooi_g_ls9.fits.fz c4d_181210_044726_ooi_g_ls9-S29 g exptime 125.0 propid 2014B-0404 seeing 1.91 MJD 58462.200 object DECaLS_39193_g c4d_170504_234246_ooi_z_ls9.fits.fz c4d_170504_234246_ooi_z_ls9-N7 z exptime 160.0 propid 2014B-0404 seeing 0.91 MJD 57877.986 object DECaLS_39203_z c4d_181211_044940_ooi_r_ls9.fits.fz c4d_181211_044940_ooi_r_ls9-N7 r exptime 94.0 propid 2014B-0404 seeing 1.40 MJD 58463.201 object DECaLS_39203_r c4d_181211_044612_ooi_g_ls9.fits.fz c4d_181211_044612_ooi_g_ls9-N7 g exptime 180.0 propid 2014B-0404 seeing 1.59 MJD 58463.199 object DECaLS_39203_g c4d_150110_071633_ooi_z_ls9.fits.fz c4d_150110_071633_ooi_z_ls9-N26 z exptime 65.0 propid 2014B-0404 seeing 1.16 MJD 57032.302 object DECaLS_10730_z c4d_160109_050325_ooi_r_ls9.fits.fz c4d_160109_050325_ooi_r_ls9-N26 r exptime 63.0 propid 2014B-0404 seeing 1.05 MJD 57396.209 object DECaLS_10730_r c4d_181216_045750_ooi_z_ls9.fits.fz c4d_181216_045750_ooi_z_ls9-S30 z exptime 80.0 propid 2014B-0404 seeing 0.93 MJD 58468.207 object DECaLS_23321_z c4d_160109_050154_ooi_g_ls9.fits.fz c4d_160109_050154_ooi_g_ls9-N26 g exptime 72.0 propid 2014B-0404 seeing 1.17 MJD 57396.208 object DECaLS_10730_g c4d_190102_063842_ooi_z_ls9.fits.fz c4d_190102_063842_ooi_z_ls9-S31 z exptime 85.0 propid 2014B-0404 seeing 0.84 MJD 58485.277 object DECaLS_7449_z c4d_190306_013858_ooi_g_ls9.fits.fz c4d_190306_013858_ooi_g_ls9-S31 g exptime 143.0 propid 2014B-0404 seeing 1.59 MJD 58548.069 object DECaLS_7449_g c4d_160301_001752_ooi_z_ls9.fits.fz c4d_160301_001752_ooi_z_ls9-S31 z exptime 90.0 propid 2014B-0404 seeing 1.06 MJD 57448.011 object DECaLS_7449_z c4d_160109_050009_ooi_g_ls9.fits.fz c4d_160109_050009_ooi_g_ls9-S31 g exptime 68.0 propid 2014B-0404 seeing 1.39 MJD 57396.207 object DECaLS_7449_g The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_957bbb4-r-20160109T045644_oi[S31,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95130c6-z-20170421T232244_oi[N25,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953878f-g-20181103T065017_oi[N25,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9537eb2-r-20181103T064143_oi[N25,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95155af-z-20170504T235051_oi[S29,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9538963-r-20181210T045001_oi[S29,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95155af-z-20170504T233916_oi[N7,noinherit][2046,4094][real]: DECaLS_3 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9539519-g-20181211T044612_oi[N7,noinherit][2046,4094][real]: DECaLS_3 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95391af-g-20181210T044726_oi[S29,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_957bbb4-r-20160109T050134_oi[N26,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9563f3b-z-20150110T071439_oi[N26,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9538963-r-20181211T044940_oi[N7,noinherit][2046,4094][real]: DECaLS_3 The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9533681-z-20181216T045750_oi[S30,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95340ea-z-20190102T063842_oi[S31,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953a3c6-g-20190306T013858_oi[S31,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_954eeb9-z-20160301T001534_oi[S31,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95775a2-g-20160109T045813_oi[S31,noinherit][2046,4094][real]: DECaLS_ The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95775a2-g-20160109T045954_oi[N26,noinherit][2046,4094][real]: DECaLS_ Stage tims : Wall: 232.58 s, CPU: 5.18 s, VmPeak: 997 MB, VmSize: 997 MB, VmRSS: 195 MB, VmData: 228 MB, maxrss: 0.454664 MB Stage tims finished: 2020-06-07T08:45:57.823978 WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_957bbb4-r-20160109T045644_oi[S31,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95155af-z-20170504T235051_oi[S29,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9538963-r-20181211T044940_oi[N7,noinherit][2046,4094][real]: DECaLS_3 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953a3c6-g-20190306T013858_oi[S31,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_953878f-g-20181103T065017_oi[N25,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95391af-g-20181210T044726_oi[S29,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9533681-z-20181216T045750_oi[S30,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_954eeb9-z-20160301T001534_oi[S31,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95130c6-z-20170421T232244_oi[N25,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9538963-r-20181210T045001_oi[S29,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9539519-g-20181211T044612_oi[N7,noinherit][2046,4094][real]: DECaLS_3 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_957bbb4-r-20160109T050134_oi[N26,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95775a2-g-20160109T045954_oi[N26,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9537eb2-r-20181103T064143_oi[N25,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95155af-z-20170504T233916_oi[N7,noinherit][2046,4094][real]: DECaLS_3 [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_9563f3b-z-20150110T071439_oi[N26,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95340ea-z-20190102T063842_oi[S31,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] WARNING: The following header keyword is invalid or follows an unrecognized non-standard convention: DECALS_DR9_95775a2-g-20160109T045813_oi[S31,noinherit][2046,4094][real]: DECaLS_ [astropy.io.fits.card] Resources for stage tims : 6.106 s worker CPU, 789.686 s worker Wall, Wall: 232.584 s, Cores in use: 0.05, Total efficiency (on 4 cores): 1.2 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/PGC021783-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/PGC021783-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T08:45:58.182997 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-04329.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-04458.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-04457.fits Matched 2 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/metrics/cus/reference-custom-116757p16505.fits Stage refs : Wall: 9.68 s, CPU: 9.16 s, VmPeak: 1056 MB, VmSize: 1049 MB, VmRSS: 249 MB, VmData: 281 MB, maxrss: 0.454664 MB Stage refs finished: 2020-06-07T08:46:07.860737 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 9.679 s, Cores in use: 0.95, Total efficiency (on 4 cores): 23.7 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T08:46:07.862537 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/metrics/cus/outlier-mask-custom-116757p16505.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/metrics/cus/outliers-pre-custom-116757p16505.jpg Image c4d_181103_065017_ooi_g_ls9-N25 g : masking 0 positive outlier pixels and 70 negative outlier pixels Image c4d_190306_013858_ooi_g_ls9-S31 g : masking 362 positive outlier pixels and 0 negative outlier pixels Image c4d_160109_050009_ooi_g_ls9-S31 g : masking 259 positive outlier pixels and 0 negative outlier pixels Image c4d_181103_064143_ooi_r_ls9-N25 r : masking 1035 positive outlier pixels and 0 negative outlier pixels Image c4d_160109_050325_ooi_r_ls9-N26 r : masking 82 positive outlier pixels and 0 negative outlier pixels Image c4d_170421_232744_ooi_z_ls9-N25 z : masking 1105 positive outlier pixels and 0 negative outlier pixels Image c4d_170504_235458_ooi_z_ls9-S29 z : masking 1359 positive outlier pixels and 0 negative outlier pixels Image c4d_181216_045750_ooi_z_ls9-S30 z : masking 942 positive outlier pixels and 0 negative outlier pixels Image c4d_190102_063842_ooi_z_ls9-S31 z : masking 115 positive outlier pixels and 0 negative outlier pixels Image c4d_160301_001752_ooi_z_ls9-S31 z : masking 418 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/metrics/cus/outlier-mask-custom-116757p16505.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/metrics/cus/outliers-post-custom-116757p16505.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/metrics/cus/outliers-masked-pos-custom-116757p16505.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/metrics/cus/outliers-masked-neg-custom-116757p16505.jpg Stage outliers : Wall: 5.93 s, CPU: 5.06 s, VmPeak: 1059 MB, VmSize: 1059 MB, VmRSS: 284 MB, VmData: 312 MB, maxrss: 0.454664 MB Stage outliers finished: 2020-06-07T08:46:13.797522 Resources for stage outliers : 3.802 s worker CPU, 3.911 s worker Wall, Wall: 5.936 s, Cores in use: 1.49, Total efficiency (on 4 cores): 37.3 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T08:46:13.799323 Stage halos : Wall: 7.78 s, CPU: 3.46 s, VmPeak: 1059 MB, VmSize: 1059 MB, VmRSS: 284 MB, VmData: 312 MB, maxrss: 0.454664 MB Stage halos finished: 2020-06-07T08:46:21.580528 Resources for stage halos : 1.406 s worker CPU, 14.765 s worker Wall, Wall: 7.783 s, Cores in use: 0.62, Total efficiency (on 4 cores): 15.6 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-07T08:46:21.582816 PSF sigmas in coadd pixels: ['2.43', '3.10', '2.58', '1.90', '2.58', '2.26'] Using average PSF sigma 2.4767040241670477 Gaussian PSF norm 0.11389927460902433 vs pixelized 0.09899064 average tim pixel scale / coadd scale: 1.0012839840838814 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.03', '2.43', '2.77', '2.28', '1.71'] Using average PSF sigma 2.244138295603106 Gaussian PSF norm 0.12570294456744519 vs pixelized 0.108419314 average tim pixel scale / coadd scale: 1.0013508606872712 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.73', '1.60', '1.48', '1.88', '1.51', '1.36', '1.72'] Using average PSF sigma 1.6127736433013813 Gaussian PSF norm 0.1749128235977519 vs pixelized 0.14556402 average tim pixel scale / coadd scale: 1.0011412388408474 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.62 s, CPU: 0.58 s, VmPeak: 1059 MB, VmSize: 1059 MB, VmRSS: 286 MB, VmData: 312 MB, maxrss: 0.454664 MB Stage fit_on_coadds finished: 2020-06-07T08:46:22.207673 Resources for stage fit_on_coadds : 0.810 s worker CPU, 0.909 s worker Wall, Wall: 0.626 s, Cores in use: 2.21, Total efficiency (on 4 cores): 55.3 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T08:46:22.211206 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 235 potential peaks Of 235 potential peaks: 168 in veto map, 17 cut by saddle test, 1 cut by aper test, 49 kept SED z : 49 new peaks Found 194 potential peaks Of 194 potential peaks: 175 in veto map, 18 cut by saddle test, 0 cut by aper test, 1 kept SED r : 1 new peaks Found 165 potential peaks Of 165 potential peaks: 147 in veto map, 14 cut by saddle test, 0 cut by aper test, 4 kept SED g : 4 new peaks Found 212 potential peaks Of 212 potential peaks: 186 in veto map, 20 cut by saddle test, 0 cut by aper test, 6 kept SED Flat : 6 new peaks Found 322 potential peaks Of 322 potential peaks: 298 in veto map, 20 cut by saddle test, 0 cut by aper test, 4 kept SED Red : 4 new peaks Adding 64 new sources Median coadd sky for g : 0.00014923376 Median coadd sky for r : 0.0002593055 Median coadd sky for z : 0.0007436283 Stage srcs : Wall: 5.41 s, CPU: 5.35 s, VmPeak: 1059 MB, VmSize: 1059 MB, VmRSS: 286 MB, VmData: 312 MB, maxrss: 0.454664 MB Stage srcs finished: 2020-06-07T08:46:27.625671 Resources for stage srcs : 0.211 s worker CPU, 0.226 s worker Wall, Wall: 5.415 s, Cores in use: 1.03, Total efficiency (on 4 cores): 25.7 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/PGC021783-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/PGC021783-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T08:46:27.642511 Blob 1 of 12, id: 0, sources: 58, size: 361x353, npix 78827, brick X: 0,361, Y: 0,353, one pixel: 120 0 Blob 2 of 12, id: 6, sources: 2, size: 29x46, npix 853, brick X: 331,360, Y: 85,131, one pixel: 341 85 Blob 3 of 12, id: 1, sources: 3, size: 36x33, npix 818, brick X: 325,361, Y: 0,33, one pixel: 338 0 Blob 4 of 12, id: 4, sources: 2, size: 43x27, npix 717, brick X: 316,359, Y: 41,68, one pixel: 327 41 Blob 5 of 12, id: 5, sources: 1, size: 25x38, npix 679, brick X: 0,25, Y: 59,97, one pixel: 7 59 Blob 4 finished, total: Wall: 0.91 s, CPU: 0.91 s, VmPeak: 967 MB, VmSize: 727 MB, VmRSS: 152 MB, VmData: 190 MB, maxrss: 0.15528 MB Blob 6 of 12, id: 11, sources: 2, size: 40x23, npix 670, brick X: 228,268, Y: 338,361, one pixel: 252 338 Blob 2 finished, total: Wall: 1.58 s, CPU: 1.58 s, VmPeak: 964 MB, VmSize: 722 MB, VmRSS: 148 MB, VmData: 185 MB, maxrss: 0.151832 MB Blob 7 of 12, id: 9, sources: 1, size: 26x27, npix 470, brick X: 57,83, Y: 291,318, one pixel: 68 291 Measuring 1 iterative sources Blob 3 finished, total: Wall: 2.91 s, CPU: 2.91 s, VmPeak: 967 MB, VmSize: 721 MB, VmRSS: 147 MB, VmData: 184 MB, maxrss: 0.15084 MB Blob 8 of 12, id: 3, sources: 1, size: 22x23, npix 323, brick X: 60,82, Y: 35,58, one pixel: 69 35 Blob 5 finished, total: Wall: 2.45 s, CPU: 2.45 s, VmPeak: 967 MB, VmSize: 727 MB, VmRSS: 152 MB, VmData: 190 MB, maxrss: 0.15528 MB Blob 9 of 12, id: 10, sources: 1, size: 22x22, npix 288, brick X: 335,357, Y: 317,339, one pixel: 346 317 Blob 7 finished, total: Wall: 0.73 s, CPU: 0.73 s, VmPeak: 967 MB, VmSize: 721 MB, VmRSS: 147 MB, VmData: 184 MB, maxrss: 0.15084 MB Blob 10 of 12, id: 2, sources: 1, size: 20x21, npix 238, brick X: 70,90, Y: 6,27, one pixel: 79 6 Blob 6 finished, total: Wall: 2.16 s, CPU: 2.16 s, VmPeak: 964 MB, VmSize: 722 MB, VmRSS: 148 MB, VmData: 185 MB, maxrss: 0.151832 MB Blob 11 of 12, id: 8, sources: 1, size: 19x18, npix 189, brick X: 9,28, Y: 141,159, one pixel: 17 141 Blob 8 finished, total: Wall: 0.40 s, CPU: 0.40 s, VmPeak: 967 MB, VmSize: 727 MB, VmRSS: 152 MB, VmData: 190 MB, maxrss: 0.15528 MB Blob 12 of 12, id: 7, sources: 1, size: 16x18, npix 174, brick X: 0,16, Y: 122,140, one pixel: 6 122 Blob 10 finished, total: Wall: 0.07 s, CPU: 0.07 s, VmPeak: 964 MB, VmSize: 722 MB, VmRSS: 148 MB, VmData: 185 MB, maxrss: 0.151832 MB Blob 11 finished, total: Wall: 0.08 s, CPU: 0.08 s, VmPeak: 967 MB, VmSize: 727 MB, VmRSS: 152 MB, VmData: 190 MB, maxrss: 0.15528 MB Blob 9 finished, total: Wall: 0.54 s, CPU: 0.54 s, VmPeak: 967 MB, VmSize: 721 MB, VmRSS: 147 MB, VmData: 184 MB, maxrss: 0.15084 MB Blob 12 finished, total: Wall: 0.95 s, CPU: 0.95 s, VmPeak: 964 MB, VmSize: 722 MB, VmRSS: 148 MB, VmData: 185 MB, maxrss: 0.151832 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=2.01885, ee1=-0.0109314, ee2=-0.0308005 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (116.74313, 16.50504), pm (0.0, 0.0), parallax 0.000 with NanoMaggies: g=21.8, r=20.6, z=19.4 Reset brightness to NanoMaggies: g=21.7, r=20.7, z=20.3 Measuring 9 iterative sources Blob 1 finished, total: Wall: 51.64 s, CPU: 51.63 s, VmPeak: 965 MB, VmSize: 767 MB, VmRSS: 202 MB, VmData: 230 MB, maxrss: 0.226416 MB Old catalog: 79 New catalog: 68 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/metrics/cus/blobs-custom-116757p16505.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/metrics/cus/all-models-custom-116757p16505.fits Stage fitblobs : Wall: 55.30 s, CPU: 3.61 s, VmPeak: 1059 MB, VmSize: 1059 MB, VmRSS: 290 MB, VmData: 317 MB, maxrss: 0.454664 MB Stage fitblobs finished: 2020-06-07T08:47:22.944997 Resources for stage fitblobs : 64.587 s worker CPU, 64.613 s worker Wall, Wall: 55.304 s, Cores in use: 1.23, Total efficiency (on 4 cores): 30.8 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T08:47:22.947244 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/tmp-legacysurvey-custom-116757p16505-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/tmp-legacysurvey-custom-116757p16505-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/tmp-legacysurvey-custom-116757p16505-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/tmp-legacysurvey-custom-116757p16505-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-resid.jpg Stage coadds : Wall: 9.31 s, CPU: 8.16 s, VmPeak: 1059 MB, VmSize: 1059 MB, VmRSS: 291 MB, VmData: 317 MB, maxrss: 0.454664 MB Stage coadds finished: 2020-06-07T08:47:32.257274 Resources for stage coadds : 3.491 s worker CPU, 3.599 s worker Wall, Wall: 9.311 s, Cores in use: 1.25, Total efficiency (on 4 cores): 31.3 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T08:47:32.258770 Cut to 1 unWISE tiles Reading WISE tile 1163p166 band 2 Reading WISE tile 1163p166 band 1 Reading WISE tile 1163p166 band 3 Reading WISE tile 1163p166 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.23 s, CPU: 0.37 s, VmPeak: 1130 MB, VmSize: 1002 MB, VmRSS: 154 MB, VmData: 189 MB, maxrss: 0.21668 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.32 s, CPU: 0.54 s, VmPeak: 1072 MB, VmSize: 1072 MB, VmRSS: 227 MB, VmData: 259 MB, maxrss: 0.232916 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.13 s, CPU: 0.26 s, VmPeak: 1002 MB, VmSize: 1002 MB, VmRSS: 154 MB, VmData: 189 MB, maxrss: 0.216908 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/116/1163p166/unwise-1163p166-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.22 s, CPU: 0.31 s, VmPeak: 1062 MB, VmSize: 998 MB, VmRSS: 150 MB, VmData: 185 MB, maxrss: 0.21268 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/tmp-legacysurvey-custom-116757p16505-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/tmp-legacysurvey-custom-116757p16505-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 10.52 s, CPU: 8.24 s, VmPeak: 1059 MB, VmSize: 1059 MB, VmRSS: 291 MB, VmData: 317 MB, maxrss: 0.454664 MB Stage wise_forced finished: 2020-06-07T08:47:42.775942 Resources for stage wise_forced : 5.288 s worker CPU, 7.019 s worker Wall, Wall: 10.518 s, Cores in use: 1.29, Total efficiency (on 4 cores): 32.2 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T08:47:42.777749 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/coadd/cus/custom-116757p16505/legacysurvey-custom-116757p16505-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/tractor-i/cus/tractor-custom-116757p16505.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/PGC021783/tractor/cus/tractor-custom-116757p16505.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/116/PGC021783/tractor/cus/brick-custom-116757p16505.sha256sum Stage writecat : Wall: 5.79 s, CPU: 5.53 s, VmPeak: 1191 MB, VmSize: 1063 MB, VmRSS: 293 MB, VmData: 317 MB, maxrss: 0.454664 MB Stage writecat finished: 2020-06-07T08:47:48.566724 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 5.790 s, Cores in use: 0.95, Total efficiency (on 4 cores): 23.9 % Stage writecat finished All done: 85.701 s worker CPU, 884.729 s worker Wall, Wall: 343.330 s, Cores in use: 0.41, Total efficiency (on 4 cores): 10.2 % Finished galaxy PGC021783 in 5.801 minutes.