Started working on galaxy PGC1998530 at Tue Jun 16 15:10:32 2020 Read 1 galaxy(ies) from /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-sample.fits Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-tractor.fits Read 47 sources from /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-tractor.fits Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-maskbits.fits.fz Sort by flux! [ 365.91498] Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-image-g.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-model-g.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-invvar-g.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-image-r.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-model-r.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-invvar-r.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-image-z.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-model-z.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-invvar-z.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-psf-r.fits.fz Building masked image for central 1/1. Central position has been masked, possibly by a star (or saturated core). Pixels used: 2290 Peak Img[j, k]: 193 192 Mean (j, k): 193.03 192.50 Theta (deg): 152.7 Astro PA (deg): 117.3 Eps: 0.100 Major axis (pix): 28.4 Iteratively unmasking pixels: r=28.45 pixels r=28.45 pixels r=34.18 pixels r=41.22 pixels r=49.33 pixels 192.940320343 193.108 193.044439562 192.333 Starting ellipse-fitting for galaxy 215046 Fitting g-band took......7.597 sec Fitting r-band took......8.406 sec Fitting z-band took......8.765 sec Time for all images = 24.768 sec Performing elliptical aperture photometry. g CoG modeling succeeded with a chi^2 minimum of 143.39 r CoG modeling succeeded with a chi^2 minimum of 301.96 z CoG modeling succeeded with a chi^2 minimum of 20.76 /global/homes/i/ioannis/repos/git/legacyhalos/py/legacyhalos/ellipse.py:342: RuntimeWarning: invalid value encountered in log10 results[magkey] = np.float32(22.5 - 2.5 * np.log10(flux)) Time = 0.040 min WARNING: The unit 'mgy / arcsec2' could not be saved in native FITS format and cannot be recovered in reading. If pyyaml is installed, it can roundtrip within astropy by using QTable both to write and read back, though one has to enable the unit before reading. [astropy.io.fits.convenience] Writing /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1998530/PGC1998530-largegalaxy-215046-ellipse.fits Finished galaxy PGC1998530 in 1.016 minutes.