Started working on galaxy PGC033514 at Sun Jun 7 18:59:56 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 166.34119349999997 38.2338261 --width 307 --height 307 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T18:59:59.032684 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '166.34119349999997', '38.2338261', '--width', '307', '--height', '307', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514', '--survey-dir', '/global/cfs/cdirs/cosmo/work/legacysurvey/dr9', '--run', 'north', '--write-stage', 'tims', '--write-stage', 'srcs', '--skip-calibs', '--checkpoint', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-%%(stage)s.p', '--fit-on-coadds', '--saddle-fraction', '0.2', '--saddle-min', '4.0'] python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 166.34119349999997 38.2338261 --width 307 --height 307 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514 --survey-dir /global/cfs/cdirs/cosmo/work/legacysurvey/dr9 --run north --write-stage tims --write-stage srcs --skip-calibs --checkpoint /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 166.34119349999997 38.2338261 Starting process 60450 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 60451 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 60454 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 60456 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057312 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-07T18:59:59.690059 Keeping 16 CCDs: k4m_170202_095534_ooi_zd_ls9.fits.fz k4m_170202_095534_ooi_zd_ls9-CCD4 z exptime 80.105 propid 2016A-0453 seeing 0.77 MJD 57786.414 object MzLS_594370_z k4m_160302_082416_ooi_zd_ls9.fits.fz k4m_160302_082416_ooi_zd_ls9-CCD2 z exptime 80.103 propid 2016A-0453 seeing 0.84 MJD 57449.350 object MzLS_594371_z k4m_170216_101214_ooi_zd_ls9.fits.fz k4m_170216_101214_ooi_zd_ls9-CCD3 z exptime 92.104 propid 2016A-0453 seeing 1.05 MJD 57800.425 object MzLS_596342_z k4m_170204_095616_ooi_zd_ls9.fits.fz k4m_170204_095616_ooi_zd_ls9-CCD2 z exptime 82.107 propid 2016A-0453 seeing 0.79 MJD 57788.414 object MzLS_595358_z k4m_170204_095616_ooi_zd_ls9.fits.fz k4m_170204_095616_ooi_zd_ls9-CCD1 z exptime 82.107 propid 2016A-0453 seeing 0.77 MJD 57788.414 object MzLS_595358_z ksb_160209_092142_ooi_r_ls9.fits.fz ksb_160209_092142_ooi_r_ls9-CCD3 r exptime 86.7 propid 2015A-0801 seeing 1.37 MJD 57427.390 object 11441 ksb_170528_035609_ooi_g_ls9.fits.fz ksb_170528_035609_ooi_g_ls9-CCD3 g exptime 193.446 propid 2015A-0801 seeing 1.39 MJD 57901.164 object 11441 ksb_160217_093851_ooi_r_ls9.fits.fz ksb_160217_093851_ooi_r_ls9-CCD3 r exptime 97.2 propid 2015A-0801 seeing 1.25 MJD 57435.402 object 11441 ksb_170222_084936_ooi_g_ls9.fits.fz ksb_170222_084936_ooi_g_ls9-CCD2 g exptime 68.574 propid BASS seeing 1.17 MJD 57806.368 object 12763 ksb_180222_081227_ooi_r_ls9.fits.fz ksb_180222_081227_ooi_r_ls9-CCD2 r exptime 92.626 propid BASS seeing 1.45 MJD 58171.342 object 12763 ksb_170528_034038_ooi_g_ls9.fits.fz ksb_170528_034038_ooi_g_ls9-CCD1 g exptime 250.0 propid 2015A-0801 seeing 1.54 MJD 57901.153 object 11431 ksb_160217_093115_ooi_r_ls9.fits.fz ksb_160217_093115_ooi_r_ls9-CCD1 r exptime 97.4 propid 2015A-0801 seeing 1.14 MJD 57435.397 object 11431 ksb_160207_102921_ooi_r_ls9.fits.fz ksb_160207_102921_ooi_r_ls9-CCD2 r exptime 140.3 propid 2015A-0801 seeing 1.52 MJD 57425.437 object 11432 ksb_160211_091652_ooi_g_ls9.fits.fz ksb_160211_091652_ooi_g_ls9-CCD2 g exptime 98.1 propid 2015A-0801 seeing 1.17 MJD 57429.387 object 11432 ksb_170222_084424_ooi_g_ls9.fits.fz ksb_170222_084424_ooi_g_ls9-CCD3 g exptime 65.604 propid BASS seeing 1.23 MJD 57806.364 object 11443 ksb_170304_081530_ooi_r_ls9.fits.fz ksb_170304_081530_ooi_r_ls9-CCD3 r exptime 67.475 propid BASS seeing 1.25 MJD 57816.344 object 11443 mosaic get_fwhm: self.fwhm = 4.03 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1311 1623 and amp range 0 2005 and image y 1359 1671 and amp range 0 2039 Range in image: x 0 313 , y 0 313 (with image size 313 x 313) dzp 0.0013971253 -> scaling image by 1.0012876282438632 mosaic get_fwhm: self.fwhm = 3.03 Found 4 relevant rows in amp-corrections file. Found overlap: image x 7 17 and amp range 0 2047 and image y 1862 2172 and amp range 0 2039 Range in image: x 0 11 , y 0 178 (with image size 11 x 311) dzp -0.0096683735 -> scaling image by 0.9911346301237048 Found overlap: image x 7 17 and amp range 0 2047 and image y 1862 2172 and amp range 2040 4078 Range in image: x 0 11 , y 178 311 (with image size 11 x 311) dzp 0.015739892 -> scaling image by 1.0146025667655956 mosaic get_fwhm: self.fwhm = 3.25 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2426 2744 and amp range 2048 4095 and image y 328 646 and amp range 0 2039 Range in image: x 0 319 , y 0 319 (with image size 319 x 319) dzp 0.0072022504 -> scaling image by 1.0066555682883527 mosaic get_fwhm: self.fwhm = 2.97 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2443 2751 and amp range 2048 4095 and image y 3998 4054 and amp range 2022 4060 Range in image: x 0 309 , y 0 57 (with image size 309 x 57) dzp -0.02499645 -> scaling image by 0.9772404160512723 mosaic get_fwhm: self.fwhm = 2.97 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3983 4046 and amp range 2006 4053 and image y 1865 2174 and amp range 0 2039 Range in image: x 0 64 , y 0 175 (with image size 64 x 310) dzp 0.000620604 -> scaling image by 1.0005717608254892 Found overlap: image x 3983 4046 and amp range 2006 4053 and image y 1865 2174 and amp range 2040 4078 Range in image: x 0 64 , y 175 310 (with image size 64 x 310) dzp 0.012593497 -> scaling image by 1.0116665687010755 Faked up EXPNUM 74270166 Faked up EXPNUM 74270166 Faked up EXPNUM 74270166 90prime get_fwhm: self.fwhm = 3.03 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2168 2347 and amp range 2016 4031 and image y 3783 3963 and amp range 2048 4095 Range in image: x 0 180 , y 0 181 (with image size 180 x 181) dzp -0.0005558773 -> scaling image by 0.99948814914245 Faked up EXPNUM 79010031 Faked up EXPNUM 79010031 Faked up EXPNUM 79010031 90prime get_fwhm: self.fwhm = 3.07 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2170 2349 and amp range 2016 4031 and image y 3792 3971 and amp range 2048 4095 Range in image: x 0 180 , y 0 180 (with image size 180 x 180) dzp -0.02530836 -> scaling image by 0.9769597156943128 Faked up EXPNUM 74350150 Faked up EXPNUM 74350150 Faked up EXPNUM 74350150 90prime get_fwhm: self.fwhm = 2.77 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2179 2358 and amp range 2016 4031 and image y 3780 3959 and amp range 2048 4095 Range in image: x 0 180 , y 0 180 (with image size 180 x 180) dzp -0.0005558773 -> scaling image by 0.99948814914245 Faked up EXPNUM 78060171 Faked up EXPNUM 78060171 Faked up EXPNUM 78060171 90prime get_fwhm: self.fwhm = 2.59 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3919 4016 and amp range 2016 4031 and image y 1043 1224 and amp range 0 2047 Range in image: x 0 98 , y 0 182 (with image size 98 x 182) dzp 0.01918938 -> scaling image by 1.017831182878158 Faked up EXPNUM 79010028 Faked up EXPNUM 79010028 Faked up EXPNUM 79010028 90prime get_fwhm: self.fwhm = 3.41 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2129 2297 and amp range 2016 4031 and image y 225 406 and amp range 0 2047 Range in image: x 0 169 , y 0 182 (with image size 169 x 182) dzp -0.011406615 -> scaling image by 0.9895491130016149 Faked up EXPNUM 81710065 Faked up EXPNUM 81710065 Faked up EXPNUM 81710065 90prime get_fwhm: self.fwhm = 3.19 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3925 4016 and amp range 2016 4031 and image y 1029 1210 and amp range 0 2047 Range in image: x 0 92 , y 0 182 (with image size 92 x 182) dzp 0.014483032 -> scaling image by 1.0134287315188357 Faked up EXPNUM 74250142 Faked up EXPNUM 74250142 Faked up EXPNUM 74250142 90prime get_fwhm: self.fwhm = 3.35 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 115 and amp range 0 2015 and image y 2238 2417 and amp range 2048 4095 Range in image: x 0 101 , y 0 180 (with image size 101 x 180) dzp 0.016961161 -> scaling image by 1.0157444649385616 Faked up EXPNUM 74350147 Faked up EXPNUM 74350147 Faked up EXPNUM 74350147 90prime get_fwhm: self.fwhm = 2.51 Found 4 relevant rows in amp-corrections file. Found overlap: image x 2130 2299 and amp range 2016 4031 and image y 210 391 and amp range 0 2047 Range in image: x 0 170 , y 0 182 (with image size 170 x 182) dzp -0.0041296566 -> scaling image by 0.9962036700684744 Faked up EXPNUM 74290197 Faked up EXPNUM 74290197 Faked up EXPNUM 74290197 90prime get_fwhm: self.fwhm = 2.59 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 130 and amp range 0 2015 and image y 2227 2406 and amp range 2048 4095 Range in image: x 0 116 , y 0 180 (with image size 116 x 180) dzp 0.01693853 -> scaling image by 1.015723292931903 Faked up EXPNUM 78060168 Faked up EXPNUM 78060168 Faked up EXPNUM 78060168 90prime get_fwhm: self.fwhm = 2.71 Found 4 relevant rows in amp-corrections file. Found overlap: image x 182 362 and amp range 0 2015 and image y 1802 1981 and amp range 0 2047 Range in image: x 0 181 , y 0 180 (with image size 181 x 180) dzp -0.036130503 -> scaling image by 0.9672701794860779 Faked up EXPNUM 78160136 Faked up EXPNUM 78160136 Faked up EXPNUM 78160136 90prime get_fwhm: self.fwhm = 2.75 Found 4 relevant rows in amp-corrections file. Found overlap: image x 168 348 and amp range 0 2015 and image y 1790 1969 and amp range 0 2047 Range in image: x 0 181 , y 0 180 (with image size 181 x 180) dzp -0.043123975 -> scaling image by 0.961059796099719 Stage tims : Wall: 10.37 s, CPU: 1.03 s, VmPeak: 943 MB, VmSize: 943 MB, VmRSS: 175 MB, VmData: 208 MB, maxrss: 0.566532 MB Stage tims finished: 2020-06-07T19:00:10.059233 Resources for stage tims : 4.181 s worker CPU, 26.470 s worker Wall, Wall: 10.370 s, Cores in use: 0.50, Total efficiency (on 4 cores): 12.6 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T19:00:10.169813 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02171.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02427.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02299.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02298.fits Matched 10 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/metrics/cus/reference-custom-166341p38233.fits Stage refs : Wall: 1.83 s, CPU: 1.32 s, VmPeak: 974 MB, VmSize: 953 MB, VmRSS: 186 MB, VmData: 219 MB, maxrss: 0.566532 MB Stage refs finished: 2020-06-07T19:00:11.999762 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.831 s, Cores in use: 0.72, Total efficiency (on 4 cores): 18.1 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T19:00:12.001483 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/metrics/cus/outlier-mask-custom-166341p38233.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/metrics/cus/outliers-pre-custom-166341p38233.jpg Image ksb_170528_035609_ooi_g_ls9-CCD3 g : masking 109 positive outlier pixels and 0 negative outlier pixels Image ksb_170222_084424_ooi_g_ls9-CCD3 g : masking 215 positive outlier pixels and 0 negative outlier pixels Image ksb_180222_081227_ooi_r_ls9-CCD2 r : masking 0 positive outlier pixels and 265 negative outlier pixels Image ksb_160217_093851_ooi_r_ls9-CCD3 r : masking 77 positive outlier pixels and 0 negative outlier pixels Image ksb_160207_102921_ooi_r_ls9-CCD2 r : masking 164 positive outlier pixels and 0 negative outlier pixels Image k4m_170202_095534_ooi_zd_ls9-CCD4 z : masking 946 positive outlier pixels and 0 negative outlier pixels Image k4m_170204_095616_ooi_zd_ls9-CCD2 z : masking 210 positive outlier pixels and 0 negative outlier pixels Image k4m_160302_082416_ooi_zd_ls9-CCD2 z : masking 170 positive outlier pixels and 0 negative outlier pixels Image k4m_170216_101214_ooi_zd_ls9-CCD3 z : masking 0 positive outlier pixels and 171 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/metrics/cus/outlier-mask-custom-166341p38233.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/metrics/cus/outliers-post-custom-166341p38233.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/metrics/cus/outliers-masked-pos-custom-166341p38233.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/metrics/cus/outliers-masked-neg-custom-166341p38233.jpg Stage outliers : Wall: 1.47 s, CPU: 0.97 s, VmPeak: 974 MB, VmSize: 962 MB, VmRSS: 204 MB, VmData: 234 MB, maxrss: 0.566532 MB Stage outliers finished: 2020-06-07T19:00:13.471337 Resources for stage outliers : 2.128 s worker CPU, 2.210 s worker Wall, Wall: 1.471 s, Cores in use: 2.10, Total efficiency (on 4 cores): 52.6 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T19:00:13.473439 Stage halos : Wall: 0.43 s, CPU: 0.42 s, VmPeak: 974 MB, VmSize: 962 MB, VmRSS: 205 MB, VmData: 234 MB, maxrss: 0.566532 MB Stage halos finished: 2020-06-07T19:00:13.907052 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.435 s, Cores in use: 0.97, Total efficiency (on 4 cores): 24.3 % Stage halos finished Running stage fit_on_coadds 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 Running stage fit_on_coadds at 2020-06-07T19:00:13.909202 PSF sigmas in coadd pixels: ['2.26', '1.91', '2.51', '1.91', '1.99'] Using average PSF sigma 2.114930182479079 Gaussian PSF norm 0.13338255518355327 vs pixelized 0.11166978 average tim pixel scale / coadd scale: 1.7293845747689935 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.23', '2.04', '2.35', '1.85', '2.47', '2.02'] Using average PSF sigma 2.159105204704987 Gaussian PSF norm 0.13065356480043439 vs pixelized 0.11426773 average tim pixel scale / coadd scale: 1.7296847330143261 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.25', '1.37', '1.70', '1.28', '1.25'] Using average PSF sigma 1.3704107111711237 Gaussian PSF norm 0.20584689646274434 vs pixelized 0.17260322 average tim pixel scale / coadd scale: 0.9909124319789974 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.39 s, CPU: 0.33 s, VmPeak: 974 MB, VmSize: 962 MB, VmRSS: 207 MB, VmData: 235 MB, maxrss: 0.566532 MB Stage fit_on_coadds finished: 2020-06-07T19:00:14.299715 Resources for stage fit_on_coadds : 0.514 s worker CPU, 0.538 s worker Wall, Wall: 0.392 s, Cores in use: 2.17, Total efficiency (on 4 cores): 54.2 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T19:00:14.303387 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 50 potential peaks Of 50 potential peaks: 27 in veto map, 7 cut by saddle test, 0 cut by aper test, 16 kept SED z : 16 new peaks Found 66 potential peaks Of 66 potential peaks: 55 in veto map, 8 cut by saddle test, 0 cut by aper test, 3 kept SED r : 3 new peaks Found 109 potential peaks Of 109 potential peaks: 96 in veto map, 8 cut by saddle test, 0 cut by aper test, 5 kept SED g : 5 new peaks Found 135 potential peaks Of 135 potential peaks: 121 in veto map, 10 cut by saddle test, 0 cut by aper test, 4 kept SED Flat : 4 new peaks Found 116 potential peaks Of 116 potential peaks: 107 in veto map, 7 cut by saddle test, 1 cut by aper test, 1 kept SED Red : 1 new peaks Adding 29 new sources Median coadd sky for g : 0.00047281 Median coadd sky for r : 0.0008007422 Median coadd sky for z : -0.00017424961 Stage srcs : Wall: 0.82 s, CPU: 0.75 s, VmPeak: 974 MB, VmSize: 962 MB, VmRSS: 208 MB, VmData: 235 MB, maxrss: 0.566532 MB Stage srcs finished: 2020-06-07T19:00:15.121093 Resources for stage srcs : 0.166 s worker CPU, 0.166 s worker Wall, Wall: 0.819 s, Cores in use: 1.12, Total efficiency (on 4 cores): 27.9 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/PGC033514-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T19:00:15.142663 Blob 1 of 13, id: 4, sources: 17, size: 307x274, npix 41523, brick X: 0,307, Y: 19,293, one pixel: 235 19 Blob 2 of 13, id: 2, sources: 2, size: 37x27, npix 755, brick X: 195,232, Y: 0,27, one pixel: 203 0 Blob 3 of 13, id: 3, sources: 2, size: 33x29, npix 695, brick X: 266,299, Y: 0,29, one pixel: 269 0 Blob 4 of 13, id: 0, sources: 1, size: 28x26, npix 456, brick X: 49,77, Y: 0,26, one pixel: 59 0 Blob 5 of 13, id: 1, sources: 2, size: 30x21, npix 437, brick X: 93,123, Y: 0,21, one pixel: 99 0 Measuring 1 iterative sources Blob 4 finished, total: Wall: 1.24 s, CPU: 0.71 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 138 MB, VmData: 179 MB, maxrss: 0.141408 MB Blob 6 of 13, id: 11, sources: 1, size: 26x24, npix 426, brick X: 172,198, Y: 283,307, one pixel: 181 283 Blob 3 finished, total: Wall: 1.49 s, CPU: 1.49 s, VmPeak: 803 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143408 MB Blob 7 of 13, id: 9, sources: 1, size: 23x24, npix 329, brick X: 252,275, Y: 134,158, one pixel: 263 134 Blob 8 of 13, id: 6, sources: 1, size: 21x23, npix 300, brick X: 232,253, Y: 61,84, one pixel: 241 61 Blob 2 finished, total: Wall: 1.84 s, CPU: 1.49 s, VmPeak: 801 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.142864 MB Blob 9 of 13, id: 12, sources: 1, size: 25x17, npix 298, brick X: 75,100, Y: 290,307, one pixel: 85 290 Blob 6 finished, total: Wall: 0.60 s, CPU: 0.60 s, VmPeak: 803 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143408 MB Blob 10 of 13, id: 5, sources: 1, size: 21x19, npix 236, brick X: 167,188, Y: 26,45, one pixel: 175 26 Blob 5 finished, total: Wall: 1.07 s, CPU: 1.07 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143296 MB Blob 11 of 13, id: 7, sources: 1, size: 19x19, npix 190, brick X: 34,53, Y: 66,85, one pixel: 42 66 Blob 8 finished, total: Wall: 0.31 s, CPU: 0.31 s, VmPeak: 803 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143408 MB Blob 12 of 13, id: 10, sources: 1, size: 18x17, npix 162, brick X: 264,282, Y: 182,199, one pixel: 272 182 Blob 7 finished, total: Wall: 0.64 s, CPU: 0.64 s, VmPeak: 801 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143448 MB Blob 13 of 13, id: 8, sources: 1, size: 17x17, npix 145, brick X: 248,265, Y: 108,125, one pixel: 256 108 Blob 10 finished, total: Wall: 0.08 s, CPU: 0.08 s, VmPeak: 803 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143408 MB Blob 11 finished, total: Wall: 0.08 s, CPU: 0.08 s, VmPeak: 801 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143448 MB Blob 12 finished, total: Wall: 0.06 s, CPU: 0.06 s, VmPeak: 803 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 178 MB, maxrss: 0.143408 MB Blob 13 finished, total: Wall: 0.37 s, CPU: 0.37 s, VmPeak: 801 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143448 MB Blob 9 finished, total: Wall: 0.63 s, CPU: 0.63 s, VmPeak: 804 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143296 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.39217, ee1=-0.00489486, ee2=-0.13165 Measuring 12 iterative sources Blob 1 finished, total: Wall: 30.88 s, CPU: 30.51 s, VmPeak: 803 MB, VmSize: 731 MB, VmRSS: 165 MB, VmData: 197 MB, maxrss: 0.183992 MB Old catalog: 38 New catalog: 34 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/metrics/cus/blobs-custom-166341p38233.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/metrics/cus/all-models-custom-166341p38233.fits Stage fitblobs : Wall: 31.61 s, CPU: 0.65 s, VmPeak: 974 MB, VmSize: 962 MB, VmRSS: 210 MB, VmData: 237 MB, maxrss: 0.566532 MB Stage fitblobs finished: 2020-06-07T19:00:46.754033 Resources for stage fitblobs : 38.215 s worker CPU, 39.561 s worker Wall, Wall: 31.613 s, Cores in use: 1.23, Total efficiency (on 4 cores): 30.7 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T19:00:46.755878 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/tmp-legacysurvey-custom-166341p38233-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/tmp-legacysurvey-custom-166341p38233-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/tmp-legacysurvey-custom-166341p38233-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/tmp-legacysurvey-custom-166341p38233-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-resid.jpg Stage coadds : Wall: 1.56 s, CPU: 0.72 s, VmPeak: 974 MB, VmSize: 962 MB, VmRSS: 210 MB, VmData: 237 MB, maxrss: 0.566532 MB Stage coadds finished: 2020-06-07T19:00:48.313965 Resources for stage coadds : 2.427 s worker CPU, 2.499 s worker Wall, Wall: 1.559 s, Cores in use: 2.02, Total efficiency (on 4 cores): 50.5 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T19:00:48.315456 Cut to 1 unWISE tiles Reading WISE tile 1667p378 band 1 Reading WISE tile 1667p378 band 2 Reading WISE tile 1667p378 band 3 Reading WISE tile 1667p378 band 4 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w4-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.13 s, CPU: 0.13 s, VmPeak: 801 MB, VmSize: 796 MB, VmRSS: 148 MB, VmData: 177 MB, maxrss: 0.193132 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w3-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: 803 MB, VmSize: 798 MB, VmRSS: 154 MB, VmData: 179 MB, maxrss: 0.2191 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.06 s, CPU: 0.06 s, VmPeak: 804 MB, VmSize: 792 MB, VmRSS: 144 MB, VmData: 174 MB, maxrss: 0.208996 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/166/1667p378/unwise-1667p378-w1-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.06 s, CPU: 0.06 s, VmPeak: 803 MB, VmSize: 792 MB, VmRSS: 144 MB, VmData: 173 MB, maxrss: 0.208908 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/tmp-legacysurvey-custom-166341p38233-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/tmp-legacysurvey-custom-166341p38233-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 4.28 s, CPU: 0.61 s, VmPeak: 974 MB, VmSize: 962 MB, VmRSS: 211 MB, VmData: 237 MB, maxrss: 0.566532 MB Stage wise_forced finished: 2020-06-07T19:00:52.600487 Resources for stage wise_forced : 4.905 s worker CPU, 5.595 s worker Wall, Wall: 4.286 s, Cores in use: 1.29, Total efficiency (on 4 cores): 32.1 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T19:00:52.602164 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/coadd/cus/custom-166341p38233/legacysurvey-custom-166341p38233-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/tractor-i/cus/tractor-custom-166341p38233.fits Reading SFD maps... END Rejected (1), keyrecords following the END keyrecord were ignored. END Rejected (1), keyrecords following the END keyrecord were ignored. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/tractor/cus/tractor-custom-166341p38233.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/166/PGC033514/tractor/cus/brick-custom-166341p38233.sha256sum Stage writecat : Wall: 1.61 s, CPU: 0.59 s, VmPeak: 1095 MB, VmSize: 967 MB, VmRSS: 213 MB, VmData: 237 MB, maxrss: 0.566532 MB Stage writecat finished: 2020-06-07T19:00:54.209785 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.609 s, Cores in use: 0.37, Total efficiency (on 4 cores): 9.2 % Stage writecat finished All done: 52.537 s worker CPU, 77.041 s worker Wall, Wall: 54.525 s, Cores in use: 1.10, Total efficiency (on 4 cores): 27.5 % Finished galaxy PGC033514 in 0.966 minutes.