/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 = 17546 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1520.5+4209_weekly_bin895 RA = 230.135, Dec = 42.16 tmin = 780278401, tmax = 780883201 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='14071073', job_status='RUN', time_executed='2025-10-20 05:36:28.243463', time_epoch_executed='1760963788.24' WHERE source_name='4FGL J1520.5+4209' and cadence='weekly' and bin_id='895' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14071073 Creating custom pfile directory: /lscratch/kocevski/14071073/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=780278401.0 && nMetStart<780883201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=780278401.0 && nMetStart<780883201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14071073/ft1_4FGL_J1520.5+4209_weekly_bin895.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=780278401.0 && nMetStart<780883201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14071073/ft1_4FGL_J1520.5+4209_weekly_bin895.fits outfile=/lscratch/kocevski/14071073/ft1_filteredMKT_4FGL_J1520.5+4209_weekly_bin895.fits ra=230.135 dec=42.16 rad=12.0 tmin=780278401.0 tmax=780883201.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 5.53 user 4.79 sys 0.34 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.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/14071073/ft1_filteredMKT_4FGL_J1520.5+4209_weekly_bin895.fits evtable="EVENTS" outfile="/lscratch/kocevski/14071073/ft1_filtered_4FGL_J1520.5+4209_weekly_bin895.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.74 user 0.18 sys 0.16 Number of photons that the gtmktime cut: 1397 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14071073/ft1_filtered_4FGL_J1520.5+4209_weekly_bin895.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14071073/ltcube_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.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/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits .....................! real 15.82 user 15.08 sys 0.33 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14071073/ft1_filtered_4FGL_J1520.5+4209_weekly_bin895.fits evtable="EVENTS" scfile=/lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14071073/ltcube_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.fits outfile=/lscratch/kocevski/14071073/expmap_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.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/14071073/ltcube_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.fits .....................! real 61.66 user 57.47 sys 3.50 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 195 point sources and 0 extended sources Setting source of interest to: 4FGL J1520.5+4209 @ 230.135 42.16 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14071073/ft1_filtered_4FGL_J1520.5+4209_weekly_bin895.fits scfile=/lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits outfile=/lscratch/kocevski/14071073/cmap_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.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.135 yref=42.16 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/14071073/ft1_filtered_4FGL_J1520.5+4209_weekly_bin895.fits scfile=/lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits outfile=/lscratch/kocevski/14071073/cmap_HighResolution_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.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.135 yref=42.16 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.78 user 0.22 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14071073/ft1_filtered_4FGL_J1520.5+4209_weekly_bin895.fits evtable="EVENTS" scfile=/lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14071073/Model_4FGL_J1520.5+4209_weekly_bin895.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/14071073/ft1_filtered_4FGL_J1520.5+4209_weekly_bin895.fits.....................! real 39.92 user 38.07 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14071073/ft1_filtered_4FGL_J1520.5+4209_weekly_bin895.fits', '/lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits', expMap='/lscratch/kocevski/14071073/expmap_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.fits', expCube='/lscratch/kocevski/14071073/ltcube_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14071073/Model_4FGL_J1520.5+4209_weekly_bin895.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1520.5+4209' 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 3.393e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 2.505e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 9.357e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14071073/ft1_filtered_4FGL_J1520.5+4209_weekly_bin895.fits Spacecraft file(s): /lscratch/kocevski/14071073/ft2_4FGL_J1520.5+4209_weekly_bin895.fits Exposure map: /lscratch/kocevski/14071073/expmap_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.fits Exposure cube: /lscratch/kocevski/14071073/ltcube_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14071073/Model_4FGL_J1520.5+4209_weekly_bin895.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) = 15185.6569001 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15185.6563551 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .24522E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' 16.543 1.0000 .0000 .10000E+07 3 'norm ' 14.218 1.0000 .0000 .10000E+07 4 'Prefactor ' .32441 1.0000 .0000 .10000E+07 5 'norm ' 4.5179 1.0000 .0000 .10000E+07 6 'Prefactor ' 8.9071 1.0000 .0000 .10000E+07 7 'norm ' .89036E-04 1.0000 .0000 .10000E+07 8 'Prefactor ' 20.893 1.0000 .0000 .10000E+07 9 'norm ' 1.5066 1.0000 .0000 .10000E+07 10 'Prefactor ' 2.8445 1.0000 .0000 .10000E+07 11 'Prefactor ' 3.2868 1.0000 .0000 .10000E+07 12 'norm ' .41078E-08 1.0000 .0000 .10000E+07 13 'norm ' 3.5373 1.0000 .0000 .10000E+07 14 'Prefactor ' .23903E-06 1.0000 .0000 .10000E+07 15 'Prefactor ' 11.980 1.0000 .0000 .10000E+07 16 'Prefactor ' .46624E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' .16774E-02 1.0000 .0000 .10000E+07 18 'norm ' 2.5724 1.0000 .0000 .10000E+07 19 'Prefactor ' 11.148 1.0000 .0000 .10000E+07 20 'norm ' 8.1079 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.7478 1.0000 .0000 .10000E+07 22 'Prefactor ' 32.860 1.0000 .0000 .10000E+07 23 'Prefactor ' .18752E-05 1.0000 .0000 .10000E+07 24 'Prefactor ' .79434E-03 1.0000 .0000 .10000E+07 25 'Normalizat' .94532 1.0000 .10000E-01 10.000 26 'Prefactor ' .98965 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 15185.65 FROM MIGRAD STATUS=CONVERGED 131 CALLS 2210 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 4.1% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .11102E-09 3.2537 .12560E-06** at limit ** 2 Prefactor 16.547 2.3422 .70540E-07 -.45832E-01 3 norm 14.231 4.5987 -.13996E-06 .32520E-01 4 Prefactor .97994E-06 23.972 -.14177E-05** at limit ** 5 norm 4.4943 4.8569 -.63175E-07 .21658E-03 6 Prefactor 8.9267 4.0610 -.42178E-07 .48201E-01 7 norm .0000 2.1972 -.23868E-06** at limit ** 8 Prefactor 20.892 1.2875 -.47579E-08 .94274E-02 9 norm 1.5065 .70264 .46094E-07 .32855E-02 10 Prefactor 2.8366 3.6173 -.12980E-06 -.31675E-03 11 Prefactor 3.2584 3.6614 -.34456E-07 -.14310E-02 12 norm .0000 .42625 .76164E-07** at limit ** 13 norm 3.5376 1.6841 .64023E-08 .90040E-04 14 Prefactor .14155E-07 1.0042 -.44917E-06** at limit ** 15 Prefactor 11.712 33.108 -.28926E-06 -.10636E-01 16 Prefactor .12401E-06 3.4537 -.15886E-06** at limit ** 17 Prefactor .17708E-07 7.5473 -.40268E-06** at limit ** 18 norm 2.5713 .93445 -.26866E-07 -.34069E-02 19 Prefactor 11.158 3.8205 -.94905E-07 -.17647E-02 20 norm 8.1163 5.6178 -.63310E-07 -.37190E-01 21 Prefactor 6.7462 1.3541 -.25143E-07 .55828E-02 22 Prefactor 33.007 21.640 .15166E-06 -.38457E-01 23 Prefactor .14266E-07 1.0282 .12487E-06** at limit ** 24 Prefactor .11469E-06 3.6706 .22388E-07** at limit ** 25 Normalizat .94558 .12350 .51563E-05 .12643E-03 26 Prefactor .98964 .13011 -.40931E-05 .51823E-04 ERR DEF= .500 Final values: Prefactor = 1.11022e-10 Prefactor = 16.5473 norm = 14.231 Prefactor = 9.79938e-07 norm = 4.4943 Prefactor = 8.9267 norm = 0 Prefactor = 20.8923 norm = 1.5065 Prefactor = 2.8366 Prefactor = 3.25838 norm = 0 norm = 3.5376 Prefactor = 1.41553e-08 Prefactor = 11.712 Prefactor = 1.24012e-07 Prefactor = 1.77081e-08 norm = 2.57133 Prefactor = 11.1579 norm = 8.11626 Prefactor = 6.74616 Prefactor = 33.0069 Prefactor = 1.42664e-08 Prefactor = 1.14686e-07 Normalizat = 0.94558 Prefactor = 0.989642 ********** ** 18 **HESSE ********** FCN= 15185.65 FROM HESSE STATUS=OK 512 CALLS 2722 TOTAL EDM= .95E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .11102E-09 3.2595 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 16.547 13.432 .24598E-03 -1.5627 3 norm 14.231 13.204 .26537E-03 -1.5633 4 Prefactor .97994E-06 39.468 .98825E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.4943 4.9914 .47341E-03 -1.5666 6 Prefactor 8.9267 7.7560 .33560E-03 -1.5648 7 norm .0000 2.1933 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 20.892 10.343 .21884E-03 -1.5617 9 norm 1.5065 .70351 .87148E-03 -1.5683 10 Prefactor 2.8366 3.6805 .60262E-03 -1.5674 11 Prefactor 3.2584 3.6821 .55824E-03 -1.5672 12 norm .0000 .42210 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm 3.5376 1.6876 .53721E-03 -1.5670 14 Prefactor .14155E-07 1.0906 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor 11.712 39.277 .28917E-03 -1.5640 16 Prefactor .12401E-06 4.5559 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .17708E-07 7.8240 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 2.5713 1.0866 .63613E-03 -1.5676 19 Prefactor 11.158 8.6104 .29981E-03 -1.5641 20 norm 8.1163 8.1778 .35187E-03 -1.5651 21 Prefactor 6.7462 9.5283 .38603E-03 -1.5656 22 Prefactor 33.007 43.608 .17447E-03 -1.5593 23 Prefactor .14266E-07 1.1134 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .11469E-06 4.6189 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .94558 .10703 .45478E-01 -.94877 26 Prefactor .98964 .11137 .46138E-01 -.93076 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 9.54009e-07 Minuit parameter uncertainties: 1 3.86306e-05 2 13.4325 3 13.2044 4 0.0124379 5 4.99138 6 7.75605 7 1.59803e-06 8 10.3431 9 0.70351 10 3.68045 11 3.68214 12 5.91638e-07 13 1.68759 14 0.000248651 15 39.278 16 0.00150336 17 0.000744702 18 1.08665 19 8.61044 20 8.17783 21 9.5283 22 43.6089 23 0.000251986 24 0.00145553 25 0.107057 26 0.1114 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 15185.6515269 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 1.240e-07 1.503e-03 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 2.505e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 310 Scale: 9.357e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 625 Prefactor: 9.896e-01 1.114e-01 0.000e+00 1.000e+01 ( 1.000e+00) 626 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 627 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 624 Normalization: 9.456e-01 1.071e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 230.135 42.160 Photon Flux Upper Limit: 2.86958025426e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00223257522541 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14071073/likelihoodResults_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.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) = 15185.652002 delta logL = -0.000475114549772 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 15185.6515269 delta logL = 1.02318153949e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .0000 1.0000 .0000 .10000E+07 2 'Index ' 1.5956 1.0000 .0000 10.000 3 'Normalizat' .94559 1.0000 .10000E-01 10.000 4 'Prefactor ' .98963 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6280E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 15185.65 FROM MIGRAD STATUS=CONVERGED 41 CALLS 190 TOTAL EDM= .17E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 5.3704 .42118E-03** at limit ** 2 Index 2.3915 1.2117 .12385E-04 .0000 3 Normalizat .94558 1.2786 .58813E-05 .18151E-03 4 Prefactor .98964 1.3294 .28470E-05 .75555E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.39145 Normalizat = 0.94558 Prefactor = 0.989642 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 15185.65 FROM HESSE STATUS=FAILED 9 CALLS 199 TOTAL EDM= .17E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 5.3704 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .64103 1.8579 .12385E-04 -.54885 3 Normalizat .94558 1.2786 .58813E-05 -.94877 4 Prefactor .98964 1.3294 .28470E-05 -.93076 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 1.68376e-11 Minuit parameter uncertainties: 1 5.72041e-06 2 1.22861 3 1.32375 4 1.37773 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 101 logL (Free Index) = 15185.6515269 delta logL = 1.35805748869e-08 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 0.000e+00 5.720e-06 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 2.391e+00 1.229e+00 0.000e+00 1.000e+01 (-1.000e+00) 310 Scale: 9.357e+02 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 625 Prefactor: 9.896e-01 1.378e+00 0.000e+00 1.000e+01 ( 1.000e+00) 626 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 627 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 624 Normalization: 9.456e-01 1.324e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 230.135 42.160 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/14071073/cmap_HighResolution_780278401_780883201_4FGL_J1520.5+4209_weekly_bin895.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.23e-03', job_status='DONE', photon_flux_upper_limit='2.87e-08', time_completed='2025-10-20 05:50:28.415158', job_id='14071073', GAL2='0.99', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1760964628.42', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='1.36e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='895' AND source_name='4FGL J1520.5+4209' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 05:50:28 PDT 2025