/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits PyFITSDeprecationWarning) # noqa Likelihood Analysis Tool Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov) Importing modules... This is make3FGLxml version 01r0. The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher. This is make4FGLDR3xml version 01r09. The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations. WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). /sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead. warnings.warn(message, mplDeprecation, stacklevel=1) WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). number of points = 17355 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J0521.2+1637_weekly_bin792 RA = 80.3136, Dec = 16.631 tmin = 717984001, tmax = 718588801 emin = 100.0, emax = 100000.0 irfs = P8R3_SOURCE_V2 ROI = 12 zmax = 90 Fitting strategies: Fix sources to their catalog values = True Leave variable source normalizations free = True Perform pre-fit where ALL sources are frozen to catalog values = False Perform secondary fit with a free spectral index = True Remove all catalog sources = False Remove weak (TS < 2) catalog sources = False Freeze Galactic component = False Likelihood fit parameters: Statistic: UNBINNED Optimizer: MINUIT Catalog: 4FGL Repository job = True LAT data source: Data catalog Updating database... UPDATE lightcurve_data_v2 SET job_id='30109546', job_status='RUN', time_executed='2023-10-10 01:27:09.799032', time_epoch_executed='1696926429.8' WHERE source_name='4FGL J0521.2+1637' and cadence='weekly' and bin_id='792' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/30109546 Creating custom pfile directory: /lscratch/kocevski/30109546/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=717984001.0 && nMetStart<718588801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=717984001.0 && nMetStart<718588801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/30109546/ft1_4FGL_J0521.2+1637_weekly_bin792.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=717984001.0 && nMetStart<718588801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/30109546/ft1_4FGL_J0521.2+1637_weekly_bin792.fits outfile=/lscratch/kocevski/30109546/ft1_filteredMKT_4FGL_J0521.2+1637_weekly_bin792.fits ra=80.3136 dec=16.631 rad=12.0 tmin=717984001.0 tmax=718588801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 7.31 user 5.27 sys 0.25 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/30109546/ft1_filteredMKT_4FGL_J0521.2+1637_weekly_bin792.fits evtable="EVENTS" outfile="/lscratch/kocevski/30109546/ft1_filtered_4FGL_J0521.2+1637_weekly_bin792.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtmktime version HEAD Applying GTI filter: IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2)) real 1.50 user 0.22 sys 0.13 Number of photons that the gtmktime cut: 5628 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/30109546/ft1_filtered_4FGL_J0521.2+1637_weekly_bin792.fits" evtable="EVENTS" scfile=/lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits sctable="SC_DATA" outfile=/lscratch/kocevski/30109546/ltcube_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Working on file /lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits .....................! real 19.78 user 17.92 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/30109546/ft1_filtered_4FGL_J0521.2+1637_weekly_bin792.fits evtable="EVENTS" scfile=/lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits sctable="SC_DATA" expcube=/lscratch/kocevski/30109546/ltcube_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits outfile=/lscratch/kocevski/30109546/expmap_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). The exposure maps generated by this tool are meant to be used for *unbinned* likelihood analysis only. Do not use them for binned analyses. Computing the ExposureMap using /lscratch/kocevski/30109546/ltcube_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits .....................! real 70.61 user 64.66 sys 3.95 Generating the xml model: radLim = 0.001 maxRad = 12 normsOnly = True freeVariableSources = True Fixing all sources to their catalog values, except variable sources Creating file and adding sources from 4FGL Extended source S 147 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/S147.fits is the correct path to the extended template. Extended source IC 443 in ROI with RadialGaussian spatial model. Extended source Rosette in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/Rosette.fits is the correct path to the extended template. Extended source Monoceros in ROI with RadialGaussian spatial model. Added 169 point sources and 4 extended sources If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True Setting source of interest to: 4FGL J0521.2+1637 @ 80.3136 16.631 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/30109546/ft1_filtered_4FGL_J0521.2+1637_weekly_bin792.fits scfile=/lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits outfile=/lscratch/kocevski/30109546/cmap_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=80.3136 yref=16.631 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.10 user 0.24 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/30109546/ft1_filtered_4FGL_J0521.2+1637_weekly_bin792.fits scfile=/lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits outfile=/lscratch/kocevski/30109546/cmap_HighResolution_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=80.3136 yref=16.631 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 1.22 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/30109546/ft1_filtered_4FGL_J0521.2+1637_weekly_bin792.fits evtable="EVENTS" scfile=/lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/30109546/Model_4FGL_J0521.2+1637_weekly_bin792.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). adding source EG_v02 adding source GAL_V02 adding source IC 443 adding source Monoceros adding source Rosette adding source S 147 Working on... /lscratch/kocevski/30109546/ft1_filtered_4FGL_J0521.2+1637_weekly_bin792.fits.....................! real 492.43 user 486.35 sys 0.78 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/30109546/ft1_filtered_4FGL_J0521.2+1637_weekly_bin792.fits', '/lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits', expMap='/lscratch/kocevski/30109546/expmap_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits', expCube='/lscratch/kocevski/30109546/ltcube_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/30109546/Model_4FGL_J0521.2+1637_weekly_bin792.xml', optimizer='MINUIT') Using source of interest name: '4FGL J0521.2+1637' 4FGL J0521.2+1637 Spectrum: PowerLaw 242 Prefactor: 4.819e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 243 Index: 2.231e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 244 Scale: 2.276e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/30109546/ft1_filtered_4FGL_J0521.2+1637_weekly_bin792.fits Spacecraft file(s): /lscratch/kocevski/30109546/ft2_4FGL_J0521.2+1637_weekly_bin792.fits Exposure map: /lscratch/kocevski/30109546/expmap_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits Exposure cube: /lscratch/kocevski/30109546/ltcube_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/30109546/Model_4FGL_J0521.2+1637_weekly_bin792.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 52952.8619992 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 52952.8573044 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 8.1328 1.0000 .0000 .10000E+07 2 'norm ' .25635E-02 1.0000 .0000 .10000E+07 3 'Prefactor ' .99488E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' 9.8944 1.0000 .0000 .10000E+07 5 'Prefactor ' .12423E-06 1.0000 .0000 .10000E+07 6 'norm ' .53790E-07 1.0000 .0000 .10000E+07 7 'Prefactor ' 2.6269 1.0000 .0000 .10000E+07 8 'norm ' .68942 1.0000 .0000 .10000E+07 9 'Prefactor ' .81601E-08 1.0000 .0000 .10000E+07 10 'Prefactor ' 21.232 1.0000 .0000 .10000E+07 11 'norm ' 1.4123 1.0000 .0000 .10000E+07 12 'norm ' .92030E-04 1.0000 .0000 .10000E+07 13 'norm ' 1.1873 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.2487 1.0000 .10000E-03 10000. 15 'Prefactor ' .78139 1.0000 .0000 .10000E+07 16 'Prefactor ' 2.4298 1.0000 .0000 .10000E+07 17 'Prefactor ' .20850E-06 1.0000 .0000 .10000E+07 18 'Prefactor ' 1.3222 1.0000 .0000 .10000E+07 19 'Prefactor ' 2.0109 1.0000 .0000 .10000E+07 20 'Normalizat' 1.0213 1.0000 .10000E-01 10.000 21 'Prefactor ' .99186 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5910E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 52952.86 FROM MIGRAD STATUS=CONVERGED 120 CALLS 1647 TOTAL EDM= .54E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 8.1331 1.7348 -.96127E-08 .76966E-03 2 norm .13017E-06 23.325 -.38344E-06** at limit ** 3 Prefactor .16820E-07 19.603 -.49197E-06** at limit ** 4 Prefactor 9.9508 2.7885 .84517E-08 .99691E-01 5 Prefactor .0000 1.6678 .31796E-07** at limit ** 6 norm .0000 1.0491 -.10480E-06** at limit ** 7 Prefactor 2.6272 1.8998 .32209E-08 -.59033E-03 8 norm .69682 2.1724 -.22129E-06 .73320E-04 9 Prefactor .0000 .49065 -.84258E-08** at limit ** 10 Prefactor 21.235 1.0471 .17170E-08 -.11647E-01 11 norm 1.4132 1.0431 .20786E-07 -.57209E-03 12 norm .56066E-08 9.1034 .14348E-06** at limit ** 13 norm 1.1866 .65706 -.24245E-07 .11734E-02 14 Prefactor 1.2487 .77817E-01 -.81966E-09 .18797E-05 15 Prefactor .78170 .53194 .22368E-07 -.12238E-03 16 Prefactor 2.5216 8.7413 -.55099E-06 .20178E-03 17 Prefactor .0000 2.9506 .27237E-06** at limit ** 18 Prefactor 1.3225 1.5304 -.46462E-07 .93634E-03 19 Prefactor 1.9660 4.5721 -.10109E-10 -.82152E-04 20 Normalizat 1.0208 .21219 -.56324E-05 .20525E-04 21 Prefactor .99192 .29964E-01 .85329E-06 -.32545E-04 ERR DEF= .500 Final values: norm = 8.13307 norm = 1.30174e-07 Prefactor = 1.68199e-08 Prefactor = 9.95084 Prefactor = 0 norm = 0 Prefactor = 2.62718 norm = 0.696824 Prefactor = 0 Prefactor = 21.2351 norm = 1.41325 norm = 5.60663e-09 norm = 1.18659 Prefactor = 1.24866 Prefactor = 0.781696 Prefactor = 2.52156 Prefactor = 0 Prefactor = 1.32254 Prefactor = 1.966 Normalizat = 1.02078 Prefactor = 0.991917 ********** ** 18 **HESSE ********** FCN= 52952.86 FROM HESSE STATUS=OK 373 CALLS 2020 TOTAL EDM= .49E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 8.1331 1.7452 .35132E-03 -1.5651 2 norm .13017E-06 23.715 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .16820E-07 19.649 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 9.9508 17.276 .31832E-03 -1.5645 5 Prefactor .0000 1.6703 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .0000 1.0489 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 2.6272 1.9242 .62895E-03 -1.5676 8 norm .69682 2.1692 .61571E-03 -1.5691 9 Prefactor .0000 .49482 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 21.235 26.142 .21709E-03 -1.5616 11 norm 1.4132 1.0494 .91107E-03 -1.5684 12 norm .56066E-08 .95954 .72375E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 1.1866 .67381 .10461E-02 -1.5686 14 Prefactor 1.2487 .78792E-01 .26263E-02 -1.5484 15 Prefactor .78170 .54796 .54332E-03 -1.5690 16 Prefactor 2.5216 8.7978 .65623E-03 -1.5676 17 Prefactor .0000 2.9575 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 1.3225 1.5581 .95624E-03 -1.5685 19 Prefactor 1.9660 4.5809 .72975E-03 -1.5680 20 Normalizat 1.0208 .22690 .20419 -.92338 21 Prefactor .99192 .30191E-01 .30730E-01 -.92999 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.92283e-06 Minuit parameter uncertainties: 1 1.74524 2 0.003514 3 0.0011491 4 17.2765 5 5.09314e-07 6 1.75028e-06 7 1.92422 8 2.16918 9 5.33726e-07 10 26.1423 11 1.04938 12 0.000146639 13 0.673806 14 0.0787924 15 0.547962 16 8.79783 17 9.5882e-06 18 1.55814 19 4.58089 20 0.227119 21 0.0301915 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 52952.8571064 Extracting fit parameters... 4FGL J0521.2+1637 Spectrum: PowerLaw 242 Prefactor: 2.124e+01 2.614e+01 0.000e+00 1.000e+06 ( 1.000e-14) 243 Index: 2.231e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 244 Scale: 2.276e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 572 Prefactor: 9.919e-01 3.019e-02 0.000e+00 1.000e+01 ( 1.000e+00) 573 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 574 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.021e+00 2.271e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.86 Ra Dec: 80.314 16.631 Photon Flux Upper Limit: 6.95673642485e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00531234335811 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/30109546/likelihoodResults_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.txt Performing a free index iterative likelihood fit... Freezing all point sources, except source of interest... Done. Freeing candidate source... Done. Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 52952.8515108 delta logL = 0.00559562988929 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 52952.8459327 delta logL = 0.0111737296247 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 17.561 1.0000 .0000 .10000E+07 2 'Index ' 2.3907 1.0000 .0000 10.000 3 'Normalizat' 1.0162 1.0000 .10000E-01 10.000 4 'Prefactor ' .99222 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .5910E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MIGRAD TERMINATED WITHOUT CONVERGENCE. FCN= 52952.85 FROM MIGRAD STATUS=FAILED 87 CALLS 251 TOTAL EDM= .28E-07 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.557 60.392 .95491E-05 -.61623E-02 2 Index 2.3914 1.9247 .13030E-01 -.53780E-03 3 Normalizat 1.0162 .20364 .91174E-03 -.50515E-03 4 Prefactor .99223 .29415E-01 .13578E-03 -.24495E-02 ERR DEF= .500 START SIMPLEX MINIMIZATION. CONVERGENCE WHEN EDM .LT. .20E-04 SIMPLEX MINIMIZATION HAS CONVERGED. FCN= 52952.85 FROM SIMPLEX STATUS=UNCHANGED 78 CALLS 329 TOTAL EDM= .11E-04 STRATEGY= 1 ERR MATRIX APPROXIMATE EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 17.557 60.392 .31269E-04 -1.5624 2 Index 2.3914 1.9247 .90974E-03 -.54887 3 Normalizat 1.0162 .20364 .20332E-03 -.92489 4 Prefactor .99223 .29415E-01 .28194E-04 -.92989 ERR DEF= .500 MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 52952.85 FROM MIGRAD STATUS=CONVERGED 29 CALLS 358 TOTAL EDM= .21E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 17.554 35.146 .19098E-05 -.91053E-02 2 Index 2.3915 1.1476 .52122E-03 -.25511E-03 3 Normalizat 1.0162 .19829 .36470E-04 -.40999E-03 4 Prefactor .99223 .29161E-01 .27157E-04 -.18969E-02 ERR DEF= .500 Final values: Prefactor = 17.5536 Index = 2.39149 Normalizat = 1.01623 Prefactor = 0.992227 ********** ** 18 **HESSE ********** FCN= 52952.85 FROM HESSE STATUS=OK 23 CALLS 381 TOTAL EDM= .22E-08 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 17.554 34.775 .38197E-06 -1.5624 2 Index 2.3915 1.1354 .20849E-04 -.54884 3 Normalizat 1.0162 .19829 .72939E-05 -.92489 4 Prefactor .99223 .29163E-01 .54314E-05 -.92989 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.15481e-09 Minuit parameter uncertainties: 1 34.7754 2 1.1493 3 0.198435 4 0.0291636 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 52952.8459319 delta logL = 0.0111745724571 Extracting fit parameters... 4FGL J0521.2+1637 Spectrum: PowerLaw 242 Prefactor: 1.755e+01 3.478e+01 0.000e+00 1.000e+06 ( 1.000e-14) 243 Index: 2.391e+00 1.149e+00 0.000e+00 1.000e+01 (-1.000e+00) 244 Scale: 2.276e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 572 Prefactor: 9.922e-01 2.916e-02 0.000e+00 1.000e+01 ( 1.000e+00) 573 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 574 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 571 Normalization: 1.016e+00 1.984e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.86 Ra Dec: 80.314 16.631 Creating a high resolution counts map... INFO: Auto-setting vmin to -1.000e-01 [aplpy.core] INFO: Auto-setting vmax to 1.110e+00 [aplpy.core] Saving /lscratch/kocevski/30109546/cmap_HighResolution_717984001_718588801_4FGL_J0521.2+1637_weekly_bin792.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.31e-03', job_status='DONE', photon_flux_upper_limit='6.96e-08', time_completed='2023-10-10 01:55:35.203529', job_id='30109546', GAL2='0.99', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1696928135.2', return_code2='0', ts='0.86', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.12e-02', ts2='0.89', photon_index_error='0.00', photon_index='2.23' WHERE bin_id='792' AND source_name='4FGL J0521.2+1637' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Oct 10 01:55:35 PDT 2023