Started working on galaxy PGC140622 at Sun Jun 7 19:33:47 2020 Bands touching this brick, g r z python /global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py --radec 246.861681 41.507100799999996 --width 291 --height 291 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622 --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/246/PGC140622/PGC140622-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/PGC140622-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 runbrick.py starting at 2020-06-07T19:33:48.637678 legacypipe git version: DR9.5.2 Command-line args: ['/global/homes/i/ioannis/repos/git/legacypipe/py/legacypipe/runbrick.py', '--radec', '246.861681', '41.507100799999996', '--width', '291', '--height', '291', '--pixscale', '0.262', '--threads', '4', '--outdir', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622', '--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/246/PGC140622/PGC140622-largegalaxy-checkpoint.p', '--pickle', '/global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/PGC140622-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 246.861681 41.507100799999996 --width 291 --height 291 --pixscale 0.262 --threads 4 --outdir /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622 --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/246/PGC140622/PGC140622-largegalaxy-checkpoint.p --pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/PGC140622-largegalaxy-%%(stage)s.p --fit-on-coadds --saddle-fraction 0.2 --saddle-min 4.0 Parsed RA,Dec 246.861681 41.507100799999996 Starting process 35233 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057304 MB Starting process 35237 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057304 MB Starting process 35241 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 35248 Wall: -0.00 s, CPU: -0.00 s, VmPeak: 632 MB, VmSize: 632 MB, VmRSS: 56 MB, VmData: 127 MB, maxrss: 0.057308 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-07T19:33:49.347612 Keeping 14 CCDs: k4m_170314_122946_ooi_zd_ls9.fits.fz k4m_170314_122946_ooi_zd_ls9-CCD4 z exptime 80.105 propid 2016A-0453 seeing 0.74 MJD 57826.521 object MzLS_610893_z k4m_170319_122218_ooi_zd_ls9.fits.fz k4m_170319_122218_ooi_zd_ls9-CCD4 z exptime 80.105 propid 2016A-0453 seeing 0.75 MJD 57831.515 object MzLS_610893_z k4m_170426_105015_ooi_zd_ls9.fits.fz k4m_170426_105015_ooi_zd_ls9-CCD1 z exptime 85.104 propid 2016A-0453 seeing 0.89 MJD 57869.452 object MzLS_612772_z k4m_170316_121857_ooi_zd_ls9.fits.fz k4m_170316_121857_ooi_zd_ls9-CCD1 z exptime 80.103 propid 2016A-0453 seeing 0.82 MJD 57828.513 object MzLS_611834_z ksb_160603_054934_ooi_g_ls9.fits.fz ksb_160603_054934_ooi_g_ls9-CCD1 g exptime 79.1 propid BASS seeing 1.84 MJD 57542.243 object 15982 ksb_170618_063757_ooi_g_ls9.fits.fz ksb_170618_063757_ooi_g_ls9-CCD2 g exptime 106.064 propid BASS seeing 1.36 MJD 57922.276 object 17271 ksb_160509_080853_ooi_r_ls9.fits.fz ksb_160509_080853_ooi_r_ls9-CCD2 r exptime 52.4 propid BASS seeing 1.38 MJD 57517.340 object 17271 ksb_160531_094233_ooi_r_ls9.fits.fz ksb_160531_094233_ooi_r_ls9-CCD3 r exptime 59.9 propid BASS seeing 1.16 MJD 57539.405 object 15992 ksb_170527_062601_ooi_g_ls9.fits.fz ksb_170527_062601_ooi_g_ls9-CCD3 g exptime 97.486 propid 2015A-0801 seeing 1.49 MJD 57900.268 object 15992 ksb_170419_113612_ooi_r_ls9.fits.fz ksb_170419_113612_ooi_r_ls9-CCD2 r exptime 94.719 propid BASS seeing 1.16 MJD 57862.483 object 17273 ksb_170302_115557_ooi_g_ls9.fits.fz ksb_170302_115557_ooi_g_ls9-CCD2 g exptime 75.022 propid BASS seeing 1.57 MJD 57814.497 object 17273 ksb_160531_093642_ooi_r_ls9.fits.fz ksb_160531_093642_ooi_r_ls9-CCD1 r exptime 60.4 propid BASS seeing 1.33 MJD 57539.400 object 15982 ksb_160311_121206_ooi_g_ls9.fits.fz ksb_160311_121206_ooi_g_ls9-CCD3 g exptime 71.2 propid 2015A-0801 seeing 1.22 MJD 57458.508 object 15991 ksb_160414_102259_ooi_r_ls9.fits.fz ksb_160414_102259_ooi_r_ls9-CCD3 r exptime 53.4 propid BASS seeing 1.28 MJD 57492.433 object 15991 mosaic get_fwhm: self.fwhm = 3.43 Found 4 relevant rows in amp-corrections file. Found overlap: image x 568 870 and amp range 0 2005 and image y 1206 1506 and amp range 0 2039 Range in image: x 0 303 , y 0 301 (with image size 303 x 301) dzp 0.007397243 -> scaling image by 1.006836374469654 mosaic get_fwhm: self.fwhm = 3.17 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3306 3598 and amp range 2006 4053 and image y 3470 3762 and amp range 2040 4078 Range in image: x 0 293 , y 0 293 (with image size 293 x 293) dzp 0.012593497 -> scaling image by 1.0116665687010755 mosaic get_fwhm: self.fwhm = 2.87 Found 4 relevant rows in amp-corrections file. mosaic get_fwhm: self.fwhm = 2.85 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1751 2049 and amp range 0 2047 and image y 2716 3013 and amp range 2022 4060 Found overlap: image x 1744 2042 and amp range 0 2047 and image y 2709 3005 and amp range 2022 4060 Range in image: x 0 297 , y 0 298 (with image size 299 x 298) Range in image: x 0 299 , y 0 297 (with image size 299 x 297) dzp -0.017482605 -> scaling image by 0.9840268712629925 dzp -0.017482605 -> scaling image by 0.9840268712629925 Found overlap: image x 1751 2049 and amp range 2048 4095 and image y 2716 3013 and amp range 2022 4060 Range in image: x 297 299 , y 0 298 (with image size 299 x 298) dzp -0.02499645 -> scaling image by 0.9772404160512723 Faked up EXPNUM 75420058 Faked up EXPNUM 75420058 Faked up EXPNUM 75420058 90prime get_fwhm: self.fwhm = 4.07 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1931 2103 and amp range 0 2015 and image y 475 646 and amp range 0 2047 Range in image: x 0 85 , y 0 172 (with image size 173 x 172) dzp -0.011813398 -> scaling image by 0.989178436928226 Found overlap: image x 1931 2103 and amp range 2016 4031 and image y 475 646 and amp range 0 2047 Range in image: x 85 173 , y 0 172 (with image size 173 x 172) dzp -0.0032519526 -> scaling image by 0.9970093219958882 Faked up EXPNUM 79220081 Faked up EXPNUM 79220081 Faked up EXPNUM 79220081 90prime get_fwhm: self.fwhm = 3.01 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3673 3844 and amp range 2016 4031 and image y 2478 2649 and amp range 2048 4095 Range in image: x 0 172 , y 0 172 (with image size 172 x 172) dzp 0.010008041 -> scaling image by 1.0092603604948323 Faked up EXPNUM 75170160 Faked up EXPNUM 75170160 Faked up EXPNUM 75170160 90prime get_fwhm: self.fwhm = 3.05 Found 4 relevant rows in amp-corrections file. Found overlap: image x 3741 3912 and amp range 2016 4031 and image y 2548 2719 and amp range 2048 4095 Range in image: x 0 172 , y 0 172 (with image size 172 x 172) dzp 0.0002007609 -> scaling image by 1.0001849247187462 Faked up EXPNUM 75390203 Faked up EXPNUM 75390203 Faked up EXPNUM 75390203 90prime get_fwhm: self.fwhm = 2.57 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1985 2155 and amp range 0 2015 and image y 3998 4080 and amp range 2048 4095 Range in image: x 0 31 , y 0 83 (with image size 171 x 83) dzp -0.011545347 -> scaling image by 0.9894226798649194 Found overlap: image x 1985 2155 and amp range 2016 4031 and image y 3998 4080 and amp range 2048 4095 Range in image: x 31 171 , y 0 83 (with image size 171 x 83) dzp -0.0005558773 -> scaling image by 0.99948814914245 Faked up EXPNUM 79000077 Faked up EXPNUM 79000077 Faked up EXPNUM 79000077 90prime get_fwhm: self.fwhm = 3.29 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1995 2165 and amp range 0 2015 and image y 3998 4080 and amp range 2048 4095 Range in image: x 0 21 , y 0 83 (with image size 171 x 83) dzp -0.045992933 -> scaling image by 0.958523636456738 Found overlap: image x 1995 2165 and amp range 2016 4031 and image y 3998 4080 and amp range 2048 4095 Range in image: x 21 171 , y 0 83 (with image size 171 x 83) dzp -0.02530836 -> scaling image by 0.9769597156943128 Faked up EXPNUM 78620290 Faked up EXPNUM 78620290 Faked up EXPNUM 78620290 90prime get_fwhm: self.fwhm = 2.55 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1732 1902 and amp range 0 2015 and image y 536 709 and amp range 0 2047 Range in image: x 0 171 , y 0 174 (with image size 171 x 174) dzp 0.005335051 -> scaling image by 1.0049258559887364 Faked up EXPNUM 78140284 Faked up EXPNUM 78140284 Faked up EXPNUM 78140284 90prime get_fwhm: self.fwhm = 3.47 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1722 1892 and amp range 0 2015 and image y 540 712 and amp range 0 2047 Range in image: x 0 171 , y 0 173 (with image size 171 x 173) dzp 0.0003063402 -> scaling image by 1.0002821895558327 Faked up EXPNUM 75390200 Faked up EXPNUM 75390200 Faked up EXPNUM 75390200 90prime get_fwhm: self.fwhm = 2.93 Found 4 relevant rows in amp-corrections file. Found overlap: image x 1930 2102 and amp range 0 2015 and image y 474 646 and amp range 0 2047 Range in image: x 0 86 , y 0 173 (with image size 173 x 173) dzp -0.01149955 -> scaling image by 0.9894644150522871 Found overlap: image x 1930 2102 and amp range 2016 4031 and image y 474 646 and amp range 0 2047 Range in image: x 86 173 , y 0 173 (with image size 173 x 173) dzp -0.0041296566 -> scaling image by 0.9962036700684744 Faked up EXPNUM 74580238 Faked up EXPNUM 74580238 Faked up EXPNUM 74580238 90prime get_fwhm: self.fwhm = 2.69 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 177 and amp range 0 2015 and image y 2015 2185 and amp range 0 2047 Range in image: x 0 163 , y 0 33 (with image size 163 x 171) dzp -0.03470582 -> scaling image by 0.9685402452207784 Found overlap: image x 15 177 and amp range 0 2015 and image y 2015 2185 and amp range 2048 4095 Range in image: x 0 163 , y 33 171 (with image size 163 x 171) dzp -0.0045482004 -> scaling image by 0.9958197144381092 Faked up EXPNUM 74920166 Faked up EXPNUM 74920166 Faked up EXPNUM 74920166 90prime get_fwhm: self.fwhm = 2.83 Found 4 relevant rows in amp-corrections file. Found overlap: image x 15 168 and amp range 0 2015 and image y 2043 2213 and amp range 0 2047 Range in image: x 0 154 , y 0 5 (with image size 154 x 171) dzp -0.024507914 -> scaling image by 0.9776802328037623 Found overlap: image x 15 168 and amp range 0 2015 and image y 2043 2213 and amp range 2048 4095 Range in image: x 0 154 , y 5 171 (with image size 154 x 171) dzp -0.011545347 -> scaling image by 0.9894226798649194 Stage tims : Wall: 7.74 s, CPU: 1.10 s, VmPeak: 942 MB, VmSize: 942 MB, VmRSS: 175 MB, VmData: 208 MB, maxrss: 0.566496 MB Stage tims finished: 2020-06-07T19:33:57.090458 Resources for stage tims : 4.489 s worker CPU, 19.045 s worker Wall, Wall: 7.744 s, Cores in use: 0.72, Total efficiency (on 4 cores): 18.1 % Stage tims finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/PGC140622-largegalaxy-tims.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/PGC140622-largegalaxy-tims.p Running stage refs Running stage refs at 2020-06-07T19:33:57.186607 Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02200.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-01945.fits Reading /global/cfs/cdirs/cosmo/work/gaia/chunks-gaia-dr2-astrom-2/chunk-02071.fits Matched 21 large galaxies to Gaia stars. Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/metrics/cus/reference-custom-246861p41507.fits Stage refs : Wall: 2.91 s, CPU: 2.53 s, VmPeak: 973 MB, VmSize: 966 MB, VmRSS: 199 MB, VmData: 232 MB, maxrss: 0.566496 MB Stage refs finished: 2020-06-07T19:34:00.095232 Resources for stage refs : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 2.910 s, Cores in use: 0.87, Total efficiency (on 4 cores): 21.8 % Stage refs finished Running stage outliers Running stage outliers at 2020-06-07T19:34:00.096900 Failed to apply outlier mask: No such file: /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/metrics/cus/outlier-mask-custom-246861p41507.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/metrics/cus/outliers-pre-custom-246861p41507.jpg Image ksb_170527_062601_ooi_g_ls9-CCD3 g : masking 686 positive outlier pixels and 0 negative outlier pixels Image ksb_170618_063757_ooi_g_ls9-CCD2 g : masking 58 positive outlier pixels and 0 negative outlier pixels Image k4m_170319_122218_ooi_zd_ls9-CCD4 z : masking 2774 positive outlier pixels and 68 negative outlier pixels Image k4m_170314_122946_ooi_zd_ls9-CCD4 z : masking 797 positive outlier pixels and 0 negative outlier pixels Image k4m_170316_121857_ooi_zd_ls9-CCD1 z : masking 1884 positive outlier pixels and 0 negative outlier pixels Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/metrics/cus/outlier-mask-custom-246861p41507.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/metrics/cus/outliers-post-custom-246861p41507.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/metrics/cus/outliers-masked-pos-custom-246861p41507.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/metrics/cus/outliers-masked-neg-custom-246861p41507.jpg Stage outliers : Wall: 1.27 s, CPU: 0.88 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 220 MB, VmData: 249 MB, maxrss: 0.566496 MB Stage outliers finished: 2020-06-07T19:34:01.366012 Resources for stage outliers : 1.664 s worker CPU, 1.719 s worker Wall, Wall: 1.270 s, Cores in use: 2.01, Total efficiency (on 4 cores): 50.1 % Stage outliers finished Running stage halos Running stage halos at 2020-06-07T19:34:01.367925 Stage halos : Wall: 0.28 s, CPU: 0.27 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 220 MB, VmData: 249 MB, maxrss: 0.566496 MB Stage halos finished: 2020-06-07T19:34:01.650025 Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Warning: Stellar halo subtraction is only implemented for DECam Resources for stage halos : 0.001 s worker CPU, 0.001 s worker Wall, Wall: 0.283 s, Cores in use: 0.97, Total efficiency (on 4 cores): 24.3 % Stage halos finished Running stage fit_on_coadds Running stage fit_on_coadds at 2020-06-07T19:34:01.652045 PSF sigmas in coadd pixels: ['2.99', '2.22', '2.42', '2.56', '1.98'] Using average PSF sigma 2.4328834784954414 Gaussian PSF norm 0.1159508025219247 vs pixelized 0.09967404 average tim pixel scale / coadd scale: 1.729400130877456 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-copsf-g.fits.fz PSF sigmas in coadd pixels: ['2.25', '1.89', '1.88', '2.16', '2.08'] Using average PSF sigma 2.0504340720707606 Gaussian PSF norm 0.13757808437556196 vs pixelized 0.11955551 average tim pixel scale / coadd scale: 1.7295458544230529 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-copsf-r.fits.fz PSF sigmas in coadd pixels: ['1.20', '1.21', '1.45', '1.34'] Using average PSF sigma 1.298739360552061 Gaussian PSF norm 0.2172066238555878 vs pixelized 0.18095697 average tim pixel scale / coadd scale: 0.9909210848143921 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-copsf-z.fits.fz Stage fit_on_coadds : Wall: 0.35 s, CPU: 0.30 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 222 MB, VmData: 250 MB, maxrss: 0.566496 MB Stage fit_on_coadds finished: 2020-06-07T19:34:02.002382 Resources for stage fit_on_coadds : 0.394 s worker CPU, 0.412 s worker Wall, Wall: 0.352 s, Cores in use: 1.98, Total efficiency (on 4 cores): 49.4 % Stage fit_on_coadds finished Running stage srcs Running stage srcs at 2020-06-07T19:34:02.005654 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 93 potential peaks Of 93 potential peaks: 68 in veto map, 8 cut by saddle test, 0 cut by aper test, 17 kept SED z : 17 new peaks Found 129 potential peaks Of 129 potential peaks: 119 in veto map, 8 cut by saddle test, 1 cut by aper test, 1 kept SED r : 1 new peaks Found 103 potential peaks Of 103 potential peaks: 91 in veto map, 9 cut by saddle test, 1 cut by aper test, 2 kept SED g : 2 new peaks Found 201 potential peaks Of 201 potential peaks: 185 in veto map, 12 cut by saddle test, 0 cut by aper test, 4 kept SED Flat : 4 new peaks Found 253 potential peaks Of 253 potential peaks: 239 in veto map, 12 cut by saddle test, 0 cut by aper test, 2 kept SED Red : 2 new peaks Adding 26 new sources Median coadd sky for g : 0.0006358797 Median coadd sky for r : 0.0010909649 Median coadd sky for z : 0.00015069159 Stage srcs : Wall: 0.92 s, CPU: 0.86 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 222 MB, VmData: 250 MB, maxrss: 0.566496 MB Stage srcs finished: 2020-06-07T19:34:02.921183 Resources for stage srcs : 0.150 s worker CPU, 0.162 s worker Wall, Wall: 0.916 s, Cores in use: 1.11, Total efficiency (on 4 cores): 27.7 % Stage srcs finished Saving pickle /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/PGC140622-largegalaxy-srcs.p Saved /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/PGC140622-largegalaxy-srcs.p Running stage fitblobs Running stage fitblobs at 2020-06-07T19:34:02.936610 Blob 1 of 8, id: 0, sources: 22, size: 291x237, npix 43047, brick X: 0,291, Y: 0,237, one pixel: 3 0 Blob 2 of 8, id: 4, sources: 5, size: 137x90, npix 6638, brick X: 5,142, Y: 201,291, one pixel: 52 201 Blob 3 of 8, id: 6, sources: 2, size: 56x37, npix 1210, brick X: 151,207, Y: 250,287, one pixel: 168 250 Blob 4 of 8, id: 1, sources: 1, size: 38x37, npix 917, brick X: 78,116, Y: 3,40, one pixel: 96 3 Blob 5 of 8, id: 7, sources: 1, size: 27x21, npix 384, brick X: 198,225, Y: 270,291, one pixel: 211 270 Blob 6 of 8, id: 2, sources: 1, size: 27x23, npix 337, brick X: 224,251, Y: 13,36, one pixel: 232 13 Blob 3 finished, total: Wall: 0.88 s, CPU: 0.88 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 138 MB, VmData: 179 MB, maxrss: 0.14142 MB Blob 4 finished, total: Wall: 1.22 s, CPU: 1.22 s, VmPeak: 807 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.14354 MB Blob 7 of 8, id: 3, sources: 1, size: 17x20, npix 222, brick X: 0,17, Y: 185,205, one pixel: 6 185 Blob 8 of 8, id: 5, sources: 1, size: 18x18, npix 180, brick X: 2,20, Y: 210,228, one pixel: 10 210 Blob 5 finished, total: Wall: 1.03 s, CPU: 1.03 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143368 MB Error getting update direction Error getting update direction Error getting update direction Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (246.88021, 41.51046), pm (-7.2, 4.8), parallax 0.392 with NanoMaggies: g=14, r=13.6, z=13.4 Reset brightness to NanoMaggies: g=14, r=13.6, z=13.4 Blob 7 finished, total: Wall: 0.05 s, CPU: 0.05 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143368 MB Blob 6 finished, total: Wall: 0.77 s, CPU: 0.77 s, VmPeak: 807 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144108 MB Blob 8 finished, total: Wall: 0.35 s, CPU: 0.35 s, VmPeak: 806 MB, VmSize: 713 MB, VmRSS: 140 MB, VmData: 179 MB, maxrss: 0.143368 MB Measuring 1 iterative sources Blob 2 finished, total: Wall: 6.22 s, CPU: 6.22 s, VmPeak: 805 MB, VmSize: 713 MB, VmRSS: 141 MB, VmData: 179 MB, maxrss: 0.144676 MB Known galaxy. Initial shape: EllipseWithPriors(0.25): log r_e=1.67224, ee1=-0.16522, ee2=-0.126032 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (246.87926, 41.50751), pm (0.0, 0.0), parallax 0.000 with NanoMaggies: g=20.2, r=19.1, z=18.5 Reset brightness to NanoMaggies: g=20.2, r=19.1, z=18.5 Dropped reference star: GaiaSource at GaiaPosition: RA, Dec = (246.87729, 41.50294), pm (0.0, 0.0), parallax 0.000 with NanoMaggies: g=17.1, r=15.7, z=(flux -28.9) Reset brightness to NanoMaggies: g=21.3, r=20, z=19.3 Measuring 14 iterative sources Blob 1 finished, total: Wall: 31.98 s, CPU: 31.97 s, VmPeak: 806 MB, VmSize: 747 MB, VmRSS: 184 MB, VmData: 213 MB, maxrss: 0.188404 MB Old catalog: 42 New catalog: 42 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/metrics/cus/blobs-custom-246861p41507.fits.gz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/metrics/cus/all-models-custom-246861p41507.fits Stage fitblobs : Wall: 32.48 s, CPU: 0.45 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 224 MB, VmData: 251 MB, maxrss: 0.566496 MB Stage fitblobs finished: 2020-06-07T19:34:35.416922 Resources for stage fitblobs : 42.625 s worker CPU, 42.699 s worker Wall, Wall: 32.484 s, Cores in use: 1.33, Total efficiency (on 4 cores): 33.2 % Stage fitblobs finished Running stage coadds Running stage coadds at 2020-06-07T19:34:35.421315 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-ccds.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-image-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-invvar-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-nexp-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-depth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-galdepth-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-psfsize-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-model-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-chi2-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-blobmodel-g.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-image-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-invvar-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-nexp-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-depth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-galdepth-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-psfsize-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-model-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-chi2-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-blobmodel-r.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-image-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-invvar-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-nexp-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-depth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-galdepth-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-psfsize-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-model-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-chi2-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-blobmodel-z.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-depth.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/tmp-legacysurvey-custom-246861p41507-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-image.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/tmp-legacysurvey-custom-246861p41507-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-model.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/tmp-legacysurvey-custom-246861p41507-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-blobmodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/tmp-legacysurvey-custom-246861p41507-resid.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-resid.jpg Stage coadds : Wall: 1.72 s, CPU: 0.83 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 224 MB, VmData: 251 MB, maxrss: 0.566496 MB Stage coadds finished: 2020-06-07T19:34:37.145782 Resources for stage coadds : 2.686 s worker CPU, 2.779 s worker Wall, Wall: 1.726 s, Cores in use: 2.04, Total efficiency (on 4 cores): 50.9 % Stage coadds finished Running stage wise_forced Running stage wise_forced at 2020-06-07T19:34:37.147442 Cut to 1 unWISE tiles Reading WISE tile 2472p408 band 4 Reading WISE tile 2472p408 band 1 Reading WISE tile 2472p408 band 2 Reading WISE tile 2472p408 band 3 Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w4-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w4-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w4-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-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: 807 MB, VmSize: 793 MB, VmRSS: 149 MB, VmData: 175 MB, maxrss: 0.193344 MB Does not exist: /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w3-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w3-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w3-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/allwise/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w3-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.10 s, CPU: 0.10 s, VmPeak: 805 MB, VmSize: 792 MB, VmRSS: 148 MB, VmData: 174 MB, maxrss: 0.212868 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w2-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w2-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w2-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w2-n-u.fits.gz Reading /usr/local/lib/python/wise/wise-psf-avg.fits unWISE forced photometry took Wall: 0.08 s, CPU: 0.08 s, VmPeak: 806 MB, VmSize: 806 MB, VmRSS: 166 MB, VmData: 188 MB, maxrss: 0.225044 MB Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w1-img-m.fits Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w1-invvar-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w1-n-m.fits.gz Reading /global/cfs/cdirs/cosmo/data/unwise/neo6/unwise-coadds/fulldepth/247/2472p408/unwise-2472p408-w1-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: 806 MB, VmSize: 792 MB, VmRSS: 148 MB, VmData: 174 MB, maxrss: 0.212704 MB Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-image-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-model-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-invvar-W1.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-image-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-model-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-invvar-W2.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-image-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-model-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-invvar-W3.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-image-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-model-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-invvar-W4.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/tmp-legacysurvey-custom-246861p41507-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-wise.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/tmp-legacysurvey-custom-246861p41507-wisemodel.jpg Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-wisemodel.jpg Setting WISE apphot Setting WISE apphot Setting WISE apphot Setting WISE apphot Stage wise_forced : Wall: 2.48 s, CPU: 0.55 s, VmPeak: 976 MB, VmSize: 976 MB, VmRSS: 225 MB, VmData: 251 MB, maxrss: 0.566496 MB Stage wise_forced finished: 2020-06-07T19:34:39.627575 Resources for stage wise_forced : 4.634 s worker CPU, 6.112 s worker Wall, Wall: 2.481 s, Cores in use: 2.09, Total efficiency (on 4 cores): 52.2 % Stage wise_forced finished Running stage writecat Running stage writecat at 2020-06-07T19:34:39.629455 Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/coadd/cus/custom-246861p41507/legacysurvey-custom-246861p41507-maskbits.fits.fz Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/tractor-i/cus/tractor-custom-246861p41507.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/246/PGC140622/tractor/cus/tractor-custom-246861p41507.fits Wrote /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/246/PGC140622/tractor/cus/brick-custom-246861p41507.sha256sum Stage writecat : Wall: 1.05 s, CPU: 0.65 s, VmPeak: 1108 MB, VmSize: 980 MB, VmRSS: 227 MB, VmData: 251 MB, maxrss: 0.566496 MB Stage writecat finished: 2020-06-07T19:34:40.677449 Resources for stage writecat : 0.000 s worker CPU, 0.000 s worker Wall, Wall: 1.049 s, Cores in use: 0.62, Total efficiency (on 4 cores): 15.5 % Stage writecat finished All done: 56.644 s worker CPU, 72.931 s worker Wall, Wall: 51.335 s, Cores in use: 1.27, Total efficiency (on 4 cores): 31.7 % Finished galaxy PGC140622 in 0.898 minutes.