********** ** 18 **HESSE ********** FCN= 5306.875 FROM HESSE STATUS=OK 31 CALLS 672 TOTAL EDM= .25E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .72828E-04 .33719E-03 .74902E-06 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 9.0218 1.8640 .93704E-02 -363.49 3 Normalizat .98888 .19642 .20767E-03 -.93404 4 Prefactor .68940 .20082 .25465E-03 -1.0394 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.5491e-06 Minuit parameter uncertainties: 1 0.000313415 2 2.01495 3 0.196567 4 0.201028 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) = 5306.87517438 delta logL = 0.679454752336 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 7.283e-05 3.134e-04 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 9.022e+00 2.015e+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: 6.894e-01 2.010e-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.889e-01 1.966e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.56 Ra Dec: 230.135 42.160 Photon Index (Free Index): 9.02 +/- 2.01 Photon Flux (Free Index): 5.38e-08 +/- 4.46e-07 Energy Flux (Free Index): 6.11e-06 +/- 5.07e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/32913318/cmap_HighResolution_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', comment='SUCCESS', energy_flux2='6.11e-06', dlogl='6.79e-01', photon_flux2='5.38e-08', job_status='DONE', time_completed='2026-07-23 13:39:36.534376', photon_index_error2='2.01', photon_index2='9.02', ts='0.09', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='8.87e-08', energy_flux_error2='5.07e-05', EG='1.06', time_epoch_completed='1784839176.53', return_code='0', job_id='32913318', GAL2='0.69', EG2='0.99', return_code2='0', photon_flux_error2='4.46e-07', ts2='1.56', photon_index='2.50' WHERE bin_id='2187' AND source_name='4FGL J1520.5+4209' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jul 23 13:39:37 PDT 2026 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5307.55462913 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 5.266e+00 2.364e+01 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: 6.378e-01 1.671e-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: 1.055e+00 1.650e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.09 Ra Dec: 230.135 42.160 Photon Flux Upper Limit: 8.87270716491e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00690309538104 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32913320/likelihoodResults_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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) = 5307.48956038 delta logL = 0.0650687525094 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5306.87520288 delta logL = 0.679426251401 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .78201E-04 1.0000 .0000 .10000E+07 2 'Index ' 8.9865 1.0000 .0000 10.000 3 'Normalizat' .98877 1.0000 .10000E-01 10.000 4 'Prefactor ' .68958 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. FCN= 5306.875 FROM MIGRAD STATUS=CONVERGED 333 CALLS 641 TOTAL EDM= .59E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .72828E-04 .26670E-03 .12514E-04** at limit ** 2 Index 9.0218 1.5275 .22351 .12127E-04 3 Normalizat .98888 .17118 .46026E-01 -.73212E-03 4 Prefactor .68940 .16985 .42262E-01 -.57147E-03 ERR DEF= .500 Final values: Prefactor = 7.28283e-05 Index = 9.02175 Normalizat = 0.988877 Prefactor = 0.689399 ********** ** 18 **HESSE ********** FCN= 5306.875 FROM HESSE STATUS=OK 31 CALLS 672 TOTAL EDM= .25E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .72828E-04 .33719E-03 .74902E-06 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 9.0218 1.8640 .93704E-02 -363.49 3 Normalizat .98888 .19642 .20767E-03 -.93404 4 Prefactor .68940 .20082 .25465E-03 -1.0394 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.5491e-06 Minuit parameter uncertainties: 1 0.000313415 2 2.01495 3 0.196567 4 0.201028 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) = 5306.87517438 delta logL = 0.679454752336 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 7.283e-05 3.134e-04 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 9.022e+00 2.015e+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: 6.894e-01 2.010e-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.889e-01 1.966e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.56 Ra Dec: 230.135 42.160 Photon Index (Free Index): 9.02 +/- 2.01 Photon Flux (Free Index): 5.38e-08 +/- 4.46e-07 Energy Flux (Free Index): 6.11e-06 +/- 5.07e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/32913320/cmap_HighResolution_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', comment='SUCCESS', energy_flux2='6.11e-06', dlogl='6.79e-01', photon_flux2='5.38e-08', job_status='DONE', time_completed='2026-07-23 13:39:55.957929', photon_index_error2='2.01', photon_index2='9.02', ts='0.09', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='8.87e-08', energy_flux_error2='5.07e-05', EG='1.06', time_epoch_completed='1784839195.96', return_code='0', job_id='32913320', GAL2='0.69', EG2='0.99', return_code2='0', photon_flux_error2='4.46e-07', ts2='1.56', photon_index='2.50' WHERE bin_id='2187' AND source_name='4FGL J1520.5+4209' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jul 23 13:39:57 PDT 2026 /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 = 7590 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1520.5+4209_daily_bin2187 RA = 230.135, Dec = 42.16 tmin = 806198401, tmax = 806457601 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='32914127', job_status='RUN', time_executed='2026-07-23 13:34:35.313350', time_epoch_executed='1784838875.31' WHERE source_name='4FGL J1520.5+4209' and cadence='daily' and bin_id='2187' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/32914127 Creating custom pfile directory: /lscratch/kocevski/32914127/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806198401.0 && nMetStart<806457601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806198401.0 && nMetStart<806457601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/32914127/ft1_4FGL_J1520.5+4209_daily_bin2187.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806198401.0 && nMetStart<806457601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/32914127/ft1_4FGL_J1520.5+4209_daily_bin2187.fits outfile=/lscratch/kocevski/32914127/ft1_filteredMKT_4FGL_J1520.5+4209_daily_bin2187.fits ra=230.135 dec=42.16 rad=12.0 tmin=806198401.0 tmax=806457601.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 3.02 user 1.94 sys 0.18 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.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/32914127/ft1_filteredMKT_4FGL_J1520.5+4209_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32914127/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.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.27 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 491 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/32914127/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32914127/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits .....................! real 8.88 user 7.77 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/32914127/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32914127/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits outfile=/lscratch/kocevski/32914127/expmap_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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/32914127/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits .....................! real 67.97 user 62.71 sys 4.01 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/32914127/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits scfile=/lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits outfile=/lscratch/kocevski/32914127/cmap_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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 1.31 user 0.23 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/32914127/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits scfile=/lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits outfile=/lscratch/kocevski/32914127/cmap_HighResolution_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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 1.32 user 0.23 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/32914127/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32914127/Model_4FGL_J1520.5+4209_daily_bin2187.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/32914127/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits.....................! real 18.68 user 16.56 sys 1.03 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32914127/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits', '/lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits', expMap='/lscratch/kocevski/32914127/expmap_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits', expCube='/lscratch/kocevski/32914127/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32914127/Model_4FGL_J1520.5+4209_daily_bin2187.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/32914127/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits Spacecraft file(s): /lscratch/kocevski/32914127/ft2_4FGL_J1520.5+4209_daily_bin2187.fits Exposure map: /lscratch/kocevski/32914127/expmap_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits Exposure cube: /lscratch/kocevski/32914127/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32914127/Model_4FGL_J1520.5+4209_daily_bin2187.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) = 5307.5715848 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5307.55697299 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 24.580 1.0000 .0000 .10000E+07 2 'Prefactor ' .14240E-02 1.0000 .0000 .10000E+07 3 'norm ' 31.172 1.0000 .0000 .10000E+07 4 'Prefactor ' 48.762 1.0000 .0000 .10000E+07 5 'norm ' 7.6742 1.0000 .0000 .10000E+07 6 'Prefactor ' .12475E-02 1.0000 .0000 .10000E+07 7 'norm ' 7.0280 1.0000 .0000 .10000E+07 8 'Prefactor ' .12294E-02 1.0000 .0000 .10000E+07 9 'norm ' 1.4928 1.0000 .0000 .10000E+07 10 'Prefactor ' .56666E-03 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.4099 1.0000 .0000 .10000E+07 12 'norm ' .87667 1.0000 .0000 .10000E+07 13 'norm ' .32090E-04 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.8625 1.0000 .0000 .10000E+07 15 'Prefactor ' .23341E-04 1.0000 .0000 .10000E+07 16 'Prefactor ' 5.6875 1.0000 .0000 .10000E+07 17 'Prefactor ' 5.9835 1.0000 .0000 .10000E+07 18 'norm ' 3.6117 1.0000 .0000 .10000E+07 19 'Prefactor ' .47416E-03 1.0000 .0000 .10000E+07 20 'norm ' .65982E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.2335 1.0000 .0000 .10000E+07 22 'Prefactor ' .46721 1.0000 .0000 .10000E+07 23 'Prefactor ' .12810E-03 1.0000 .0000 .10000E+07 24 'Prefactor ' .16903E-02 1.0000 .0000 .10000E+07 25 'Normalizat' 1.0563 1.0000 .10000E-01 10.000 26 'Prefactor ' .63702 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= 5307.555 FROM MIGRAD STATUS=CONVERGED 187 CALLS 2237 TOTAL EDM= .58E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 24.863 12.331 .77368E-07 -.24992E-01 2 Prefactor .0000 7.8905 -.35446E-06** at limit ** 3 norm 31.250 13.369 .50536E-07 -.10270E-01 4 Prefactor 50.981 67.444 -.15379E-06 -.36810E-03 5 norm 7.6883 7.4601 .12127E-07 -.80127E-03 6 Prefactor .55511E-10 5.3795 -.11825E-06** at limit ** 7 norm 7.0290 6.7018 -.24279E-07 -.54512E-04 8 Prefactor .55511E-10 5.4918 .22183E-07** at limit ** 9 norm 1.4905 1.2408 .76072E-08 -.56787E-04 10 Prefactor .40135E-07 2.8748 .20958E-06** at limit ** 11 Prefactor 2.3924 4.0886 -.26759E-07 -.75208E-04 12 norm .87731 1.1183 -.41995E-08 .28018E-03 13 norm .0000 2.5640 -.35731E-07** at limit ** 14 Prefactor 3.8119 5.1682 -.31700E-07 .18594E-02 15 Prefactor .14433E-08 45.047 .17841E-06** at limit ** 16 Prefactor 5.2664 19.519 -.14405E-06 -.11365E-01 17 Prefactor 6.1934 9.8999 .52140E-07 -.79367E-02 18 norm 3.6121 1.2290 -.94696E-08 .77996E-04 19 Prefactor .0000 2.8557 -.15697E-06** at limit ** 20 norm .0000 5.9801 -.73131E-07** at limit ** 21 Prefactor 6.2191 16.037 -.10088E-06 -.70543E-02 22 Prefactor .29143E-07 276.55 -.16507E-05** at limit ** 23 Prefactor .33307E-09 7.4019 .34933E-07** at limit ** 24 Prefactor .17264E-07 5.5575 .29007E-06** at limit ** 25 Normalizat 1.0554 .19210 .14476E-05 -.67828E-05 26 Prefactor .63777 .19750 -.77705E-06 -.33951E-05 ERR DEF= .500 Final values: Prefactor = 24.8627 Prefactor = 0 norm = 31.2503 Prefactor = 50.9806 norm = 7.68834 Prefactor = 5.55112e-11 norm = 7.02905 Prefactor = 5.55112e-11 norm = 1.49049 Prefactor = 4.01346e-08 Prefactor = 2.39235 norm = 0.87731 norm = 0 Prefactor = 3.81188 Prefactor = 1.44329e-09 Prefactor = 5.26644 Prefactor = 6.19337 norm = 3.61209 Prefactor = 0 norm = 0 Prefactor = 6.21905 Prefactor = 2.91434e-08 Prefactor = 3.33067e-10 Prefactor = 1.7264e-08 Normalizat = 1.05542 Prefactor = 0.637773 ********** ** 18 **HESSE ********** FCN= 5307.555 FROM HESSE STATUS=OK 510 CALLS 2747 TOTAL EDM= .50E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 24.863 24.463 .20175E-03 -1.5608 2 Prefactor .0000 7.8916 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 31.250 21.376 .17914E-03 -1.5596 4 Prefactor 50.981 67.348 .14322E-03 -1.5565 5 norm 7.6883 7.5038 .36175E-03 -1.5653 6 Prefactor .55511E-10 5.3723 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 7.0290 6.7015 .37817E-03 -1.5655 8 Prefactor .55511E-10 5.4916 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.4905 1.2315 .87686E-03 -1.5684 10 Prefactor .40135E-07 8.4261 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 2.3924 4.1095 .65919E-03 -1.5677 12 norm .87731 1.1267 .47387E-03 -1.5689 13 norm .0000 2.5116 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 3.8119 5.7229 .51322E-03 -1.5669 15 Prefactor .14433E-08 45.095 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 5.2664 26.531 .42096E-03 -1.5662 17 Prefactor 6.1934 15.548 .41026E-03 -1.5658 18 norm 3.6121 1.2311 .53142E-03 -1.5670 19 Prefactor .0000 2.8565 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .0000 5.9785 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 6.2191 21.117 .40184E-03 -1.5658 22 Prefactor .29143E-07 273.89 .82079E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .33307E-09 7.4295 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .17264E-07 8.1522 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0554 .16495 .40155E-01 -.91196 26 Prefactor .63777 .16693 .59694E-01 -1.0602 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.02335e-08 Minuit parameter uncertainties: 1 24.4634 2 6.30467e-06 3 21.3761 4 67.3489 5 7.50386 6 2.71387e-05 7 6.70146 8 3.4713e-05 9 1.23146 10 0.00116291 11 4.10953 12 1.12669 13 5.22562e-06 14 5.72287 15 0.000512926 16 23.6411 17 15.5482 18 1.23112 19 6.98971e-06 20 1.55804e-05 21 21.117 22 0.00565345 23 0.000101376 24 0.000750821 25 0.165025 26 0.167058 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5307.55462913 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 5.266e+00 2.364e+01 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: 6.378e-01 1.671e-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: 1.055e+00 1.650e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.09 Ra Dec: 230.135 42.160 Photon Flux Upper Limit: 8.87270716491e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00690309538104 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32914127/likelihoodResults_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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) = 5307.48956038 delta logL = 0.0650687525094 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5306.87520288 delta logL = 0.679426251401 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .78201E-04 1.0000 .0000 .10000E+07 2 'Index ' 8.9865 1.0000 .0000 10.000 3 'Normalizat' .98877 1.0000 .10000E-01 10.000 4 'Prefactor ' .68958 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. FCN= 5306.875 FROM MIGRAD STATUS=CONVERGED 333 CALLS 641 TOTAL EDM= .59E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .72828E-04 .26670E-03 .12514E-04** at limit ** 2 Index 9.0218 1.5275 .22351 .12127E-04 3 Normalizat .98888 .17118 .46026E-01 -.73212E-03 4 Prefactor .68940 .16985 .42262E-01 -.57147E-03 ERR DEF= .500 Final values: Prefactor = 7.28283e-05 Index = 9.02175 Normalizat = 0.988877 Prefactor = 0.689399 ********** ** 18 **HESSE ********** FCN= 5306.875 FROM HESSE STATUS=OK 31 CALLS 672 TOTAL EDM= .25E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .72828E-04 .33719E-03 .74902E-06 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 9.0218 1.8640 .93704E-02 -363.49 3 Normalizat .98888 .19642 .20767E-03 -.93404 4 Prefactor .68940 .20082 .25465E-03 -1.0394 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.5491e-06 Minuit parameter uncertainties: 1 0.000313415 2 2.01495 3 0.196567 4 0.201028 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) = 5306.87517438 delta logL = 0.679454752336 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 7.283e-05 3.134e-04 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 9.022e+00 2.015e+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: 6.894e-01 2.010e-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.889e-01 1.966e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.56 Ra Dec: 230.135 42.160 Photon Index (Free Index): 9.02 +/- 2.01 Photon Flux (Free Index): 5.38e-08 +/- 4.46e-07 Energy Flux (Free Index): 6.11e-06 +/- 5.07e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/32914127/cmap_HighResolution_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', comment='SUCCESS', energy_flux2='6.11e-06', dlogl='6.79e-01', photon_flux2='5.38e-08', job_status='DONE', time_completed='2026-07-23 13:45:03.842348', photon_index_error2='2.01', photon_index2='9.02', ts='0.09', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='8.87e-08', energy_flux_error2='5.07e-05', EG='1.06', time_epoch_completed='1784839503.84', return_code='0', job_id='32914127', GAL2='0.69', EG2='0.99', return_code2='0', photon_flux_error2='4.46e-07', ts2='1.56', photon_index='2.50' WHERE bin_id='2187' AND source_name='4FGL J1520.5+4209' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jul 23 13:45:04 PDT 2026 number of points = 7590 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1520.5+4209_daily_bin2187 RA = 230.135, Dec = 42.16 tmin = 806198401, tmax = 806457601 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='32914807', job_status='RUN', time_executed='2026-07-23 13:40:31.835104', time_epoch_executed='1784839231.84' WHERE source_name='4FGL J1520.5+4209' and cadence='daily' and bin_id='2187' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/32914807 Creating custom pfile directory: /lscratch/kocevski/32914807/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=806198401.0 && nMetStart<806457601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=806198401.0 && nMetStart<806457601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/32914807/ft1_4FGL_J1520.5+4209_daily_bin2187.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=806198401.0 && nMetStart<806457601.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/32914807/ft1_4FGL_J1520.5+4209_daily_bin2187.fits outfile=/lscratch/kocevski/32914807/ft1_filteredMKT_4FGL_J1520.5+4209_daily_bin2187.fits ra=230.135 dec=42.16 rad=12.0 tmin=806198401.0 tmax=806457601.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 2.82 user 1.91 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.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/32914807/ft1_filteredMKT_4FGL_J1520.5+4209_daily_bin2187.fits evtable="EVENTS" outfile="/lscratch/kocevski/32914807/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.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.94 user 0.19 sys 0.13 Number of photons that the gtmktime cut: 491 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/32914807/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits" evtable="EVENTS" scfile=/lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits sctable="SC_DATA" outfile=/lscratch/kocevski/32914807/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits .....................! real 8.40 user 7.40 sys 0.24 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/32914807/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits sctable="SC_DATA" expcube=/lscratch/kocevski/32914807/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits outfile=/lscratch/kocevski/32914807/expmap_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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/32914807/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits .....................! real 66.48 user 61.56 sys 3.89 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/32914807/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits scfile=/lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits outfile=/lscratch/kocevski/32914807/cmap_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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.99 user 0.22 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/32914807/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits scfile=/lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits outfile=/lscratch/kocevski/32914807/cmap_HighResolution_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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.83 user 0.21 sys 0.12 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/32914807/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits evtable="EVENTS" scfile=/lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/32914807/Model_4FGL_J1520.5+4209_daily_bin2187.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/32914807/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits.....................! real 18.14 user 16.22 sys 1.15 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/32914807/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits', '/lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits', expMap='/lscratch/kocevski/32914807/expmap_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits', expCube='/lscratch/kocevski/32914807/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/32914807/Model_4FGL_J1520.5+4209_daily_bin2187.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/32914807/ft1_filtered_4FGL_J1520.5+4209_daily_bin2187.fits Spacecraft file(s): /lscratch/kocevski/32914807/ft2_4FGL_J1520.5+4209_daily_bin2187.fits Exposure map: /lscratch/kocevski/32914807/expmap_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits Exposure cube: /lscratch/kocevski/32914807/ltcube_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/32914807/Model_4FGL_J1520.5+4209_daily_bin2187.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) = 5307.5715848 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5307.55697299 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 24.580 1.0000 .0000 .10000E+07 2 'Prefactor ' .14240E-02 1.0000 .0000 .10000E+07 3 'norm ' 31.172 1.0000 .0000 .10000E+07 4 'Prefactor ' 48.762 1.0000 .0000 .10000E+07 5 'norm ' 7.6742 1.0000 .0000 .10000E+07 6 'Prefactor ' .12475E-02 1.0000 .0000 .10000E+07 7 'norm ' 7.0280 1.0000 .0000 .10000E+07 8 'Prefactor ' .12294E-02 1.0000 .0000 .10000E+07 9 'norm ' 1.4928 1.0000 .0000 .10000E+07 10 'Prefactor ' .56666E-03 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.4099 1.0000 .0000 .10000E+07 12 'norm ' .87667 1.0000 .0000 .10000E+07 13 'norm ' .32090E-04 1.0000 .0000 .10000E+07 14 'Prefactor ' 3.8625 1.0000 .0000 .10000E+07 15 'Prefactor ' .23341E-04 1.0000 .0000 .10000E+07 16 'Prefactor ' 5.6875 1.0000 .0000 .10000E+07 17 'Prefactor ' 5.9835 1.0000 .0000 .10000E+07 18 'norm ' 3.6117 1.0000 .0000 .10000E+07 19 'Prefactor ' .47416E-03 1.0000 .0000 .10000E+07 20 'norm ' .65982E-03 1.0000 .0000 .10000E+07 21 'Prefactor ' 6.2335 1.0000 .0000 .10000E+07 22 'Prefactor ' .46721 1.0000 .0000 .10000E+07 23 'Prefactor ' .12810E-03 1.0000 .0000 .10000E+07 24 'Prefactor ' .16903E-02 1.0000 .0000 .10000E+07 25 'Normalizat' 1.0563 1.0000 .10000E-01 10.000 26 'Prefactor ' .63702 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= 5307.555 FROM MIGRAD STATUS=CONVERGED 187 CALLS 2237 TOTAL EDM= .58E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.2% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 24.863 12.331 .77368E-07 -.24992E-01 2 Prefactor .0000 7.8905 -.35446E-06** at limit ** 3 norm 31.250 13.369 .50536E-07 -.10270E-01 4 Prefactor 50.981 67.444 -.15379E-06 -.36810E-03 5 norm 7.6883 7.4601 .12127E-07 -.80127E-03 6 Prefactor .55511E-10 5.3795 -.11825E-06** at limit ** 7 norm 7.0290 6.7018 -.24279E-07 -.54512E-04 8 Prefactor .55511E-10 5.4918 .22183E-07** at limit ** 9 norm 1.4905 1.2408 .76072E-08 -.56787E-04 10 Prefactor .40135E-07 2.8748 .20958E-06** at limit ** 11 Prefactor 2.3924 4.0886 -.26759E-07 -.75208E-04 12 norm .87731 1.1183 -.41995E-08 .28018E-03 13 norm .0000 2.5640 -.35731E-07** at limit ** 14 Prefactor 3.8119 5.1682 -.31700E-07 .18594E-02 15 Prefactor .14433E-08 45.047 .17841E-06** at limit ** 16 Prefactor 5.2664 19.519 -.14405E-06 -.11365E-01 17 Prefactor 6.1934 9.8999 .52140E-07 -.79367E-02 18 norm 3.6121 1.2290 -.94696E-08 .77996E-04 19 Prefactor .0000 2.8557 -.15697E-06** at limit ** 20 norm .0000 5.9801 -.73131E-07** at limit ** 21 Prefactor 6.2191 16.037 -.10088E-06 -.70543E-02 22 Prefactor .29143E-07 276.55 -.16507E-05** at limit ** 23 Prefactor .33307E-09 7.4019 .34933E-07** at limit ** 24 Prefactor .17264E-07 5.5575 .29007E-06** at limit ** 25 Normalizat 1.0554 .19210 .14476E-05 -.67828E-05 26 Prefactor .63777 .19750 -.77705E-06 -.33951E-05 ERR DEF= .500 Final values: Prefactor = 24.8627 Prefactor = 0 norm = 31.2503 Prefactor = 50.9806 norm = 7.68834 Prefactor = 5.55112e-11 norm = 7.02905 Prefactor = 5.55112e-11 norm = 1.49049 Prefactor = 4.01346e-08 Prefactor = 2.39235 norm = 0.87731 norm = 0 Prefactor = 3.81188 Prefactor = 1.44329e-09 Prefactor = 5.26644 Prefactor = 6.19337 norm = 3.61209 Prefactor = 0 norm = 0 Prefactor = 6.21905 Prefactor = 2.91434e-08 Prefactor = 3.33067e-10 Prefactor = 1.7264e-08 Normalizat = 1.05542 Prefactor = 0.637773 ********** ** 18 **HESSE ********** FCN= 5307.555 FROM HESSE STATUS=OK 510 CALLS 2747 TOTAL EDM= .50E-07 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 24.863 24.463 .20175E-03 -1.5608 2 Prefactor .0000 7.8916 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 norm 31.250 21.376 .17914E-03 -1.5596 4 Prefactor 50.981 67.348 .14322E-03 -1.5565 5 norm 7.6883 7.5038 .36175E-03 -1.5653 6 Prefactor .55511E-10 5.3723 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm 7.0290 6.7015 .37817E-03 -1.5655 8 Prefactor .55511E-10 5.4916 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm 1.4905 1.2315 .87686E-03 -1.5684 10 Prefactor .40135E-07 8.4261 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 2.3924 4.1095 .65919E-03 -1.5677 12 norm .87731 1.1267 .47387E-03 -1.5689 13 norm .0000 2.5116 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 3.8119 5.7229 .51322E-03 -1.5669 15 Prefactor .14433E-08 45.095 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor 5.2664 26.531 .42096E-03 -1.5662 17 Prefactor 6.1934 15.548 .41026E-03 -1.5658 18 norm 3.6121 1.2311 .53142E-03 -1.5670 19 Prefactor .0000 2.8565 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 norm .0000 5.9785 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 Prefactor 6.2191 21.117 .40184E-03 -1.5658 22 Prefactor .29143E-07 273.89 .82079E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .33307E-09 7.4295 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .17264E-07 8.1522 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat 1.0554 .16495 .40155E-01 -.91196 26 Prefactor .63777 .16693 .59694E-01 -1.0602 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 5.02335e-08 Minuit parameter uncertainties: 1 24.4634 2 6.30467e-06 3 21.3761 4 67.3489 5 7.50386 6 2.71387e-05 7 6.70146 8 3.4713e-05 9 1.23146 10 0.00116291 11 4.10953 12 1.12669 13 5.22562e-06 14 5.72287 15 0.000512926 16 23.6411 17 15.5482 18 1.23112 19 6.98971e-06 20 1.55804e-05 21 21.117 22 0.00565345 23 0.000101376 24 0.000750821 25 0.165025 26 0.167058 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 5307.55462913 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 5.266e+00 2.364e+01 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: 6.378e-01 1.671e-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: 1.055e+00 1.650e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.09 Ra Dec: 230.135 42.160 Photon Flux Upper Limit: 8.87270716491e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00690309538104 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/32914807/likelihoodResults_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.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) = 5307.48956038 delta logL = 0.0650687525094 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 5306.87520288 delta logL = 0.679426251401 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .78201E-04 1.0000 .0000 .10000E+07 2 'Index ' 8.9865 1.0000 .0000 10.000 3 'Normalizat' .98877 1.0000 .10000E-01 10.000 4 'Prefactor ' .68958 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. FCN= 5306.875 FROM MIGRAD STATUS=CONVERGED 333 CALLS 641 TOTAL EDM= .59E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .72828E-04 .26670E-03 .12514E-04** at limit ** 2 Index 9.0218 1.5275 .22351 .12127E-04 3 Normalizat .98888 .17118 .46026E-01 -.73212E-03 4 Prefactor .68940 .16985 .42262E-01 -.57147E-03 ERR DEF= .500 Final values: Prefactor = 7.28283e-05 Index = 9.02175 Normalizat = 0.988877 Prefactor = 0.689399 ********** ** 18 **HESSE ********** FCN= 5306.875 FROM HESSE STATUS=OK 31 CALLS 672 TOTAL EDM= .25E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .72828E-04 .33719E-03 .74902E-06 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 9.0218 1.8640 .93704E-02 -363.49 3 Normalizat .98888 .19642 .20767E-03 -.93404 4 Prefactor .68940 .20082 .25465E-03 -1.0394 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.5491e-06 Minuit parameter uncertainties: 1 0.000313415 2 2.01495 3 0.196567 4 0.201028 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) = 5306.87517438 delta logL = 0.679454752336 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 7.283e-05 3.134e-04 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 9.022e+00 2.015e+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: 6.894e-01 2.010e-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.889e-01 1.966e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 1.56 Ra Dec: 230.135 42.160 Photon Index (Free Index): 9.02 +/- 2.01 Photon Flux (Free Index): 5.38e-08 +/- 4.46e-07 Energy Flux (Free Index): 6.11e-06 +/- 5.07e-05 Creating a high resolution counts map... INFO: Auto-setting vmin to 0.000e+00 [aplpy.core] INFO: Auto-setting vmax to 0.000e+00 [aplpy.core] Saving /lscratch/kocevski/32914807/cmap_HighResolution_806198401_806457601_4FGL_J1520.5+4209_daily_bin2187.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', comment='SUCCESS', energy_flux2='6.11e-06', dlogl='6.79e-01', photon_flux2='5.38e-08', job_status='DONE', time_completed='2026-07-23 13:49:26.546325', photon_index_error2='2.01', photon_index2='9.02', ts='0.09', fit_tolerance='1e-08', GAL='0.64', photon_index_error='0.00', photon_flux_upper_limit='8.87e-08', energy_flux_error2='5.07e-05', EG='1.06', time_epoch_completed='1784839766.55', return_code='0', job_id='32914807', GAL2='0.69', EG2='0.99', return_code2='0', photon_flux_error2='4.46e-07', ts2='1.56', photon_index='2.50' WHERE bin_id='2187' AND source_name='4FGL J1520.5+4209' AND cadence='daily'; Database successfully updated. Analysis Complete. Thu Jul 23 13:49:26 PDT 2026