Started working on galaxy PGC1983770 at Tue Jun 16 12:45:51 2020 Read 1 galaxy(ies) from /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-sample.fits Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-tractor.fits Read 26 sources from /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-tractor.fits Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-maskbits.fits.fz Sort by flux! [ 283.97388] Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-image-g.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-model-g.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-invvar-g.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-image-r.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-model-r.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-invvar-r.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-image-z.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-model-z.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-largegalaxy-invvar-z.fits.fz Reading /global/cscratch1/sd/ioannis/SGA-data-dr9alpha/013/PGC1983770/PGC1983770-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: 1666 Peak Img[j, k]: 119 119 Mean (j, k): 120.12 116.74 Theta (deg): 20.7 Astro PA (deg): 69.3 Eps: 0.224 Major axis (pix): 26.7 Iteratively unmasking pixels: r=26.69 pixels r=26.69 pixels r=32.47 pixels r=38.58 pixels r=43.40 pixels 120.194253577 119.637 116.290271477 118.418 Starting ellipse-fitting for galaxy 153615 Fitting g-band took......5.505 sec Fitting r-band took......5.657 sec Fitting z-band took......6.737 sec Time for all images = 17.900 sec Performing elliptical aperture photometry. g CoG modeling succeeded with a chi^2 minimum of 105.88 r CoG modeling succeeded with a chi^2 minimum of 112.53 WARNING: The fit may be unsuccessful; check fit_info['message'] for more information. [astropy.modeling.fitting] z CoG modeling succeeded with a chi^2 minimum of 0.05 /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.030 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/PGC1983770/PGC1983770-largegalaxy-153615-ellipse.fits Finished galaxy PGC1983770 in 0.853 minutes.