/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 = 17486 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1521.8+4338_weekly_bin883 RA = 230.464, Dec = 43.6344 tmin = 773020801, tmax = 773625601 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='14071076', job_status='RUN', time_executed='2025-10-20 05:36:27.963285', time_epoch_executed='1760963787.96' WHERE source_name='4FGL J1521.8+4338' and cadence='weekly' and bin_id='883' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14071076 Creating custom pfile directory: /lscratch/kocevski/14071076/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=773020801.0 && nMetStart<773625601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=773020801.0 && nMetStart<773625601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14071076/ft1_4FGL_J1521.8+4338_weekly_bin883.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=773020801.0 && nMetStart<773625601.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14071076/ft1_4FGL_J1521.8+4338_weekly_bin883.fits outfile=/lscratch/kocevski/14071076/ft1_filteredMKT_4FGL_J1521.8+4338_weekly_bin883.fits ra=230.464 dec=43.6344 rad=12.0 tmin=773020801.0 tmax=773625601.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 6.86 user 6.10 sys 0.29 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.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/14071076/ft1_filteredMKT_4FGL_J1521.8+4338_weekly_bin883.fits evtable="EVENTS" outfile="/lscratch/kocevski/14071076/ft1_filtered_4FGL_J1521.8+4338_weekly_bin883.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 0.77 user 0.20 sys 0.15 Number of photons that the gtmktime cut: 1017 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14071076/ft1_filtered_4FGL_J1521.8+4338_weekly_bin883.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14071076/ltcube_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.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/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits .....................! real 18.43 user 17.64 sys 0.29 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14071076/ft1_filtered_4FGL_J1521.8+4338_weekly_bin883.fits evtable="EVENTS" scfile=/lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14071076/ltcube_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.fits outfile=/lscratch/kocevski/14071076/expmap_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.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/14071076/ltcube_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.fits .....................! real 67.51 user 62.84 sys 3.94 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 Added 196 point sources and 0 extended sources Setting source of interest to: 4FGL J1521.8+4338 @ 230.464 43.6344 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14071076/ft1_filtered_4FGL_J1521.8+4338_weekly_bin883.fits scfile=/lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits outfile=/lscratch/kocevski/14071076/cmap_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.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=230.464 yref=43.6344 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 0.75 user 0.21 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14071076/ft1_filtered_4FGL_J1521.8+4338_weekly_bin883.fits scfile=/lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits outfile=/lscratch/kocevski/14071076/cmap_HighResolution_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.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=230.464 yref=43.6344 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 0.75 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14071076/ft1_filtered_4FGL_J1521.8+4338_weekly_bin883.fits evtable="EVENTS" scfile=/lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14071076/Model_4FGL_J1521.8+4338_weekly_bin883.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 Working on... /lscratch/kocevski/14071076/ft1_filtered_4FGL_J1521.8+4338_weekly_bin883.fits.....................! real 31.30 user 29.73 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14071076/ft1_filtered_4FGL_J1521.8+4338_weekly_bin883.fits', '/lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits', expMap='/lscratch/kocevski/14071076/expmap_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.fits', expCube='/lscratch/kocevski/14071076/ltcube_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14071076/Model_4FGL_J1521.8+4338_weekly_bin883.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1521.8+4338' 4FGL J1521.8+4338 Spectrum: PowerLaw 310 Prefactor: 3.344e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-12) 311 Index: 2.936e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 312 Scale: 4.193e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14071076/ft1_filtered_4FGL_J1521.8+4338_weekly_bin883.fits Spacecraft file(s): /lscratch/kocevski/14071076/ft2_4FGL_J1521.8+4338_weekly_bin883.fits Exposure map: /lscratch/kocevski/14071076/expmap_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.fits Exposure cube: /lscratch/kocevski/14071076/ltcube_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14071076/Model_4FGL_J1521.8+4338_weekly_bin883.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) = 11271.5803071 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 11271.4558608 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .53679E-06 1.0000 .0000 .10000E+07 2 'Prefactor ' .55217E-06 1.0000 .0000 .10000E+07 3 'norm ' .29421E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' .93480E-05 1.0000 .0000 .10000E+07 5 'norm ' .17110E-05 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.5148 1.0000 .0000 .10000E+07 7 'norm ' 4.5133 1.0000 .0000 .10000E+07 8 'Prefactor ' .95401E-04 1.0000 .0000 .10000E+07 9 'Prefactor ' 1.6228 1.0000 .0000 .10000E+07 10 'norm ' 2.8410 1.0000 .0000 .10000E+07 11 'norm ' 1.1649 1.0000 .0000 .10000E+07 12 'Prefactor ' .28868E-02 1.0000 .0000 .10000E+07 13 'Prefactor ' .66838E-04 1.0000 .0000 .10000E+07 14 'Prefactor ' .35088E-03 1.0000 .0000 .10000E+07 15 'Prefactor ' .78898E-06 1.0000 .0000 .10000E+07 16 'norm ' .22181 1.0000 .0000 .10000E+07 17 'norm ' 4.4642 1.0000 .0000 .10000E+07 18 'Prefactor ' .64575E-04 1.0000 .0000 .10000E+07 19 'Prefactor ' 7.7648 1.0000 .0000 .10000E+07 20 'Prefactor ' .49428E-05 1.0000 .0000 .10000E+07 21 'Prefactor ' .16030E-03 1.0000 .0000 .10000E+07 22 'Prefactor ' .20981E-05 1.0000 .0000 .10000E+07 23 'Normalizat' 1.1548 1.0000 .10000E-01 10.000 24 'Prefactor ' .73398 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 11271.46 FROM MIGRAD STATUS=CONVERGED 151 CALLS 1608 TOTAL EDM= .48E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .53624E-07 9.2043 -.10964E-07** at limit ** 2 Prefactor .33917E-07 7.0816 .18888E-06** at limit ** 3 norm .57732E-08 2.3712 -.14793E-07** at limit ** 4 Prefactor .45519E-08 3.5561 -.15301E-07** at limit ** 5 norm .0000 1.4101 -.37661E-07** at limit ** 6 Prefactor 4.5281 7.7924 -.67976E-07 -.28289E-01 7 norm 4.5108 1.3754 .18751E-07 .26367E-02 8 Prefactor .79381E-08 2.6122 -.12143E-07** at limit ** 9 Prefactor 1.6821 4.5707 .48658E-07 -.70063E-04 10 norm 2.8429 1.2586 -.46249E-07 -.31371E-02 11 norm 1.1654 1.9747 -.12330E-06 -.15111E-02 12 Prefactor .13454E-05 5.1146 .18885E-06** at limit ** 13 Prefactor .65448E-07 21.456 .23708E-06** at limit ** 14 Prefactor .22260E-07 3.3399 -.37542E-07** at limit ** 15 Prefactor .23703E-07 2.7619 -.17314E-07** at limit ** 16 norm .22171 .94662 -.98530E-07** at limit ** 17 norm 4.4516 1.2490 -.19622E-08 .45332E-03 18 Prefactor .19817E-07 4.1864 -.98752E-07** at limit ** 19 Prefactor 7.5484 2.5066 -.10963E-08 .13331E-01 20 Prefactor .0000 1.4089 .60736E-07** at limit ** 21 Prefactor .11166E-05 5.9419 .57009E-07** at limit ** 22 Prefactor .22204E-09 3.1771 .12060E-06** at limit ** 23 Normalizat 1.1545 .14023 .15305E-05 -.33132E-04 24 Prefactor .73419 .14220 -.14911E-05 -.52302E-04 ERR DEF= .500 Final values: Prefactor = 5.36238e-08 Prefactor = 3.39173e-08 norm = 5.77316e-09 Prefactor = 4.55191e-09 norm = 0 Prefactor = 4.52806 norm = 4.51084 Prefactor = 7.93809e-09 Prefactor = 1.68208 norm = 2.8429 norm = 1.16538 Prefactor = 1.34542e-06 Prefactor = 6.54476e-08 Prefactor = 2.226e-08 Prefactor = 2.37033e-08 norm = 0.221715 norm = 4.45161 Prefactor = 1.98175e-08 Prefactor = 7.54842 Prefactor = 0 Prefactor = 1.11655e-06 Prefactor = 2.22045e-10 Normalizat = 1.15454 Prefactor = 0.73419 ********** ** 18 **HESSE ********** FCN= 11271.46 FROM HESSE STATUS=OK 445 CALLS 2053 TOTAL EDM= .19E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .53624E-07 9.5516 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor .33917E-07 15.141 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm .57732E-08 6.1474 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .45519E-08 3.6321 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm .0000 1.4189 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor 4.5281 8.3753 .47358E-03 -1.5665 7 norm 4.5108 1.3792 .47366E-03 -1.5665 8 Prefactor .79381E-08 4.3864 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 Prefactor 1.6821 4.6145 .83034E-03 -1.5682 10 norm 2.8429 1.2646 .60302E-03 -1.5674 11 norm 1.1654 2.0242 .10653E-02 -1.5686 12 Prefactor .13454E-05 17.784 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor .65448E-07 22.026 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .22260E-07 5.8164 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .23703E-07 4.0697 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 norm .22171 .70814 .28646E-02 -1.5699 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 norm 4.4516 10.303 .47633E-03 -1.5666 18 Prefactor .19817E-07 5.1481 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 7.5484 23.792 .35962E-03 -1.5653 20 Prefactor .0000 1.4185 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor .11166E-05 13.682 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .22204E-09 3.0892 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Normalizat 1.1545 .12141 .36108E-01 -.88020 24 Prefactor .73419 .12365 .42852E-01 -1.0220 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.92048e-06 Minuit parameter uncertainties: 1 0.00143156 2 0.00143284 3 0.000377616 4 0.000256635 5 6.26373e-06 6 8.37528 7 1.3792 8 0.000373191 9 4.61453 10 1.26463 11 2.02422 12 0.00978316 13 0.00240169 14 0.000719749 15 0.000621514 16 0.708141 17 10.303 18 0.000638628 19 23.7923 20 6.89862e-07 21 0.00781702 22 5.0436e-05 23 0.12144 24 0.123693 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 11271.4555869 Extracting fit parameters... 4FGL J1521.8+4338 Spectrum: PowerLaw 310 Prefactor: 2.370e-08 6.215e-04 0.000e+00 1.000e+06 ( 1.000e-12) 311 Index: 2.936e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 312 Scale: 4.193e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 626 Prefactor: 7.342e-01 1.237e-01 0.000e+00 1.000e+01 ( 1.000e+00) 627 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 628 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 625 Normalization: 1.155e+00 1.214e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 230.464 43.634 Photon Flux Upper Limit: 5.09370230484e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00406172989362 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14071076/likelihoodResults_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.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): 102 logL (Free Index) = 11271.4562151 delta logL = -0.000628244872132 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 11271.1557137 delta logL = 0.299873244549 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .65953E-01 1.0000 .0000 .10000E+07 2 'Index ' 7.1617 1.0000 .0000 10.000 3 'Normalizat' 1.1144 1.0000 .10000E-01 10.000 4 'Prefactor ' .76154 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6290E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 11271.16 FROM MIGRAD STATUS=CONVERGED 52 CALLS 283 TOTAL EDM= .31E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .66015E-01 .73713 .76175E-03** at limit ** 2 Index 7.1617 3.2519 .29882 .14873E-03 3 Normalizat 1.1144 .16260E-01 .37442E-01 -.11245E-04 4 Prefactor .76150 .16802E-01 .43215E-01 .47855E-04 ERR DEF= .500 Final values: Prefactor = 0.066015 Index = 7.16172 Normalizat = 1.11441 Prefactor = 0.761503 ********** ** 18 **HESSE ********** FCN= 11271.16 FROM HESSE STATUS=NOT POSDEF 35 CALLS 318 TOTAL EDM= .16E-05 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .66015E-01 5.1621 .32529E-04 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 7.1617 7.6679 .15263E-01 .44709 3 Normalizat 1.1144 .84831E-01 .21255E-03 -.89290 4 Prefactor .76150 .84272E-01 .25965E-03 -1.0116 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 1.55804e-06 Minuit parameter uncertainties: 1 1.16752 2 13.079 3 0.0848411 4 0.0842857 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 11271.1557133 delta logL = 0.299873616099 Extracting fit parameters... 4FGL J1521.8+4338 Spectrum: PowerLaw 310 Prefactor: 6.602e-02 1.168e+00 0.000e+00 1.000e+06 ( 1.000e-12) 311 Index: 7.162e+00 1.308e+01 0.000e+00 1.000e+01 (-1.000e+00) 312 Scale: 4.193e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 626 Prefactor: 7.615e-01 8.429e-02 0.000e+00 1.000e+01 ( 1.000e+00) 627 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 628 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 625 Normalization: 1.114e+00 8.484e-02 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 230.464 43.634 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/14071076/cmap_HighResolution_773020801_773625601_4FGL_J1521.8+4338_weekly_bin883.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.06e-03', job_status='DONE', photon_flux_upper_limit='5.09e-08', time_completed='2025-10-20 05:47:24.055326', job_id='14071076', GAL2='0.76', fit_tolerance='1e-08', EG2='1.11', EG='1.15', time_epoch_completed='1760964444.06', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.73', dlogl='3.00e-01', ts2='0.66', photon_index_error='0.00', photon_index='2.94' WHERE bin_id='883' AND source_name='4FGL J1521.8+4338' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 05:47:24 PDT 2025