/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 = 17275 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1520.5+4209_weekly_bin885 RA = 230.135, Dec = 42.16 tmin = 774230401, tmax = 774835201 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='14071063', job_status='RUN', time_executed='2025-10-20 05:35:27.838119', time_epoch_executed='1760963727.84' WHERE source_name='4FGL J1520.5+4209' and cadence='weekly' and bin_id='885' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14071063 Creating custom pfile directory: /lscratch/kocevski/14071063/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=774230401.0 && nMetStart<774835201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=774230401.0 && nMetStart<774835201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14071063/ft1_4FGL_J1520.5+4209_weekly_bin885.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=774230401.0 && nMetStart<774835201.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14071063/ft1_4FGL_J1520.5+4209_weekly_bin885.fits outfile=/lscratch/kocevski/14071063/ft1_filteredMKT_4FGL_J1520.5+4209_weekly_bin885.fits ra=230.135 dec=42.16 rad=12.0 tmin=774230401.0 tmax=774835201.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 4.26 user 3.51 sys 0.37 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.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/14071063/ft1_filteredMKT_4FGL_J1520.5+4209_weekly_bin885.fits evtable="EVENTS" outfile="/lscratch/kocevski/14071063/ft1_filtered_4FGL_J1520.5+4209_weekly_bin885.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.69 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 1276 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14071063/ft1_filtered_4FGL_J1520.5+4209_weekly_bin885.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14071063/ltcube_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.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/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits .....................! real 16.35 user 15.61 sys 0.35 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14071063/ft1_filtered_4FGL_J1520.5+4209_weekly_bin885.fits evtable="EVENTS" scfile=/lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14071063/ltcube_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.fits outfile=/lscratch/kocevski/14071063/expmap_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.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/14071063/ltcube_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.fits .....................! real 60.03 user 56.09 sys 3.42 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/14071063/ft1_filtered_4FGL_J1520.5+4209_weekly_bin885.fits scfile=/lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits outfile=/lscratch/kocevski/14071063/cmap_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.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.76 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14071063/ft1_filtered_4FGL_J1520.5+4209_weekly_bin885.fits scfile=/lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits outfile=/lscratch/kocevski/14071063/cmap_HighResolution_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.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.70 user 0.25 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14071063/ft1_filtered_4FGL_J1520.5+4209_weekly_bin885.fits evtable="EVENTS" scfile=/lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14071063/Model_4FGL_J1520.5+4209_weekly_bin885.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/14071063/ft1_filtered_4FGL_J1520.5+4209_weekly_bin885.fits.....................! real 33.61 user 32.22 sys 0.93 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14071063/ft1_filtered_4FGL_J1520.5+4209_weekly_bin885.fits', '/lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits', expMap='/lscratch/kocevski/14071063/expmap_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.fits', expCube='/lscratch/kocevski/14071063/ltcube_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14071063/Model_4FGL_J1520.5+4209_weekly_bin885.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/14071063/ft1_filtered_4FGL_J1520.5+4209_weekly_bin885.fits Spacecraft file(s): /lscratch/kocevski/14071063/ft2_4FGL_J1520.5+4209_weekly_bin885.fits Exposure map: /lscratch/kocevski/14071063/expmap_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.fits Exposure cube: /lscratch/kocevski/14071063/ltcube_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14071063/Model_4FGL_J1520.5+4209_weekly_bin885.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) = 13864.560236 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13864.5506374 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 21.771 1.0000 .0000 .10000E+07 2 'Prefactor ' 9.5645 1.0000 .0000 .10000E+07 3 'norm ' .11959E-03 1.0000 .0000 .10000E+07 4 'Prefactor ' 30.155 1.0000 .0000 .10000E+07 5 'norm ' 5.4415 1.0000 .0000 .10000E+07 6 'Prefactor ' 5.6123 1.0000 .0000 .10000E+07 7 'norm ' 7.1440 1.0000 .0000 .10000E+07 8 'Prefactor ' 9.1029 1.0000 .0000 .10000E+07 9 'norm ' 3.2581 1.0000 .0000 .10000E+07 10 'Prefactor ' 4.7880 1.0000 .0000 .10000E+07 11 'Prefactor ' .98698 1.0000 .0000 .10000E+07 12 'norm ' .28338E-06 1.0000 .0000 .10000E+07 13 'norm ' .16653E-09 1.0000 .0000 .10000E+07 14 'Prefactor ' .16087E-06 1.0000 .0000 .10000E+07 15 'Prefactor ' .23474E-04 1.0000 .0000 .10000E+07 16 'Prefactor ' .43086E-04 1.0000 .0000 .10000E+07 17 'Prefactor ' .49194E-06 1.0000 .0000 .10000E+07 18 'norm ' 1.4392 1.0000 .0000 .10000E+07 19 'Prefactor ' 1.5393 1.0000 .0000 .10000E+07 20 'norm ' 4.1225 1.0000 .0000 .10000E+07 21 'Prefactor ' .37414E-04 1.0000 .0000 .10000E+07 22 'Prefactor ' .30414E-01 1.0000 .0000 .10000E+07 23 'Prefactor ' 4.5058 1.0000 .0000 .10000E+07 24 'Prefactor ' .57761E-04 1.0000 .0000 .10000E+07 25 'Normalizat' .91645 1.0000 .10000E-01 10.000 26 'Prefactor ' .85884 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= 13864.55 FROM MIGRAD STATUS=CONVERGED 155 CALLS 2252 TOTAL EDM= .16E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 21.730 6.3794 -.14923E-06 .78993E-01 2 Prefactor 9.5642 1.0497 -.60264E-08 -.79976E-02 3 norm .56566E-07 3.0566 -.72596E-06** at limit ** 4 Prefactor 30.017 2.3514 -.51357E-07 .10293 5 norm 5.4427 2.9719 .82080E-08 -.24686E-02 6 Prefactor 5.6351 6.2922 .40029E-06 .65139E-02 7 norm 7.1251 4.5642 -.12450E-06 -.94055E-02 8 Prefactor 9.0916 6.9983 .24635E-06 .70869E-01 9 norm 3.2579 .99593 .18886E-07 .43270E-02 10 Prefactor 4.7892 4.1596 .44762E-06 -.38081E-02 11 Prefactor .98953 2.5003 .60634E-07 -.34985E-02 12 norm .77938E-07 1.9720 .38919E-06** at limit ** 13 norm .16653E-09 .51922 .13691E-06** at limit ** 14 Prefactor .88818E-09 1.6222 -.33322E-07** at limit ** 15 Prefactor .22427E-07 50.218 -.38735E-06** at limit ** 16 Prefactor .19684E-06 3.6150 .38475E-06** at limit ** 17 Prefactor .38947E-06 2.1195 .30213E-07** at limit ** 18 norm 1.4409 .66390 .19188E-07 -.30860E-05 19 Prefactor 1.5083 4.3645 -.80861E-06 -.58482E-03 20 norm 4.1190 1.4353 .10581E-07 .66528E-02 21 Prefactor .10048E-07 3.0036 -.19418E-06** at limit ** 22 Prefactor .15599E-07 88.961 -.17088E-05** at limit ** 23 Prefactor 4.5080 3.3458 -.13836E-06 .42640E-02 24 Prefactor .88818E-09 17.700 .83395E-06** at limit ** 25 Normalizat .91656 .12059 -.49129E-05 .74021E-04 26 Prefactor .85883 .12743 .86445E-05 .11768E-03 ERR DEF= .500 Final values: Prefactor = 21.7299 Prefactor = 9.56422 norm = 5.65659e-08 Prefactor = 30.0172 norm = 5.44275 Prefactor = 5.63513 norm = 7.12508 Prefactor = 9.09156 norm = 3.2579 Prefactor = 4.78921 Prefactor = 0.989532 norm = 7.79377e-08 norm = 1.66533e-10 Prefactor = 8.88178e-10 Prefactor = 2.24265e-08 Prefactor = 1.96843e-07 Prefactor = 3.89466e-07 norm = 1.44092 Prefactor = 1.50834 norm = 4.11897 Prefactor = 1.00475e-08 Prefactor = 1.55986e-08 Prefactor = 4.50805 Prefactor = 8.88178e-10 Normalizat = 0.916564 Prefactor = 0.858825 ********** ** 18 **HESSE ********** FCN= 13864.55 FROM HESSE STATUS=OK 520 CALLS 2772 TOTAL EDM= .37E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 21.730 14.905 .21438E-03 -1.5615 2 Prefactor 9.5642 9.6521 .32379E-03 -1.5646 3 norm .56566E-07 3.4728 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 30.017 39.501 .18213E-03 -1.5598 5 norm 5.4427 2.9789 .43053E-03 -1.5661 6 Prefactor 5.6351 6.5262 .42381E-03 -1.5660 7 norm 7.1251 4.5918 .37506E-03 -1.5655 8 Prefactor 9.0916 7.6819 .33195E-03 -1.5648 9 norm 3.2579 .99708 .56082E-03 -1.5672 10 Prefactor 4.7892 4.4419 .45955E-03 -1.5664 11 Prefactor .98953 2.5128 .43304E-03 -1.5688 12 norm .77938E-07 .56755 .26510E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 norm .16653E-09 .53004 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor .88818E-09 1.7108 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 Prefactor .22427E-07 50.274 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .19684E-06 4.7746 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .38947E-06 4.8328 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 norm 1.4409 .67902 .89906E-03 -1.5684 19 Prefactor 1.5083 4.4486 .85914E-03 -1.5683 20 norm 4.1190 7.3277 .49624E-03 -1.5667 21 Prefactor .10048E-07 3.2171 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .15599E-07 19.144 .16429E-01 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor 4.5080 3.3598 .47407E-03 -1.5665 24 Prefactor .88818E-09 17.718 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Normalizat .91656 .10286 .45111E-01 -.95881 26 Prefactor .85883 .10698 .44478E-01 -.97595 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.65492e-06 Minuit parameter uncertainties: 1 14.9053 2 9.65207 3 0.000886456 4 39.5015 5 2.97888 6 6.52618 7 4.59177 8 7.68187 9 0.997076 10 4.44195 11 2.51277 12 0.000420646 13 1.96063e-05 14 7.90217e-05 15 0.00212253 16 0.00193903 17 0.00274379 18 0.679022 19 4.44865 20 7.32773 21 0.000359298 22 0.00109196 23 3.35984 24 0.000251018 25 0.10288 26 0.107002 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 13864.5504318 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 1.968e-07 1.939e-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: 8.588e-01 1.070e-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.166e-01 1.029e-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.83320494259e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00220427470323 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14071063/likelihoodResults_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.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) = 13864.5508352 delta logL = -0.000403397536502 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 13864.5504318 delta logL = -7.10006133886e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .25646E-06 1.0000 .0000 .10000E+07 2 'Index ' 1.3588 1.0000 .0000 10.000 3 'Normalizat' .91656 1.0000 .10000E-01 10.000 4 'Prefactor ' .85885 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= 13864.55 FROM MIGRAD STATUS=CONVERGED 66 CALLS 267 TOTAL EDM= .50E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .23870E-08 .71629E-01 .42118E-03** at limit ** 2 Index 2.5420 7.6394 .50000 .17280E-08 3 Normalizat .91656 .30542E-03 .45113E-01 -.85023E-03 4 Prefactor .85883 .32694E-03 .44478E-01 .16100E-03 ERR DEF= .500 Final values: Prefactor = 2.38698e-09 Index = 2.54197 Normalizat = 0.91656 Prefactor = 0.85883 ********** ** 18 **HESSE ********** FCN= 13864.55 FROM HESSE STATUS=NOT POSDEF 31 CALLS 298 TOTAL EDM= .26E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .23870E-08 .37229 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.5420 7.7998 .50000 -.51393 3 Normalizat .91656 .69500E-03 .21746E-03 -.95881 4 Prefactor .85883 .74401E-03 .23841E-03 -.97595 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.58296e-11 Minuit parameter uncertainties: 1 5.92747e-05 2 3707.67 3 0.000694997 4 0.000744006 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) = 13864.5504317 delta logL = 1.94413587451e-08 Extracting fit parameters... 4FGL J1520.5+4209 Spectrum: PowerLaw 308 Prefactor: 2.387e-09 5.927e-05 0.000e+00 1.000e+06 ( 1.000e-13) 309 Index: 2.542e+00 3.708e+03 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: 8.588e-01 7.440e-04 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.166e-01 6.950e-04 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/14071063/cmap_HighResolution_774230401_774835201_4FGL_J1520.5+4209_weekly_bin885.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.20e-03', job_status='DONE', photon_flux_upper_limit='2.83e-08', time_completed='2025-10-20 05:49:15.704178', job_id='14071063', GAL2='0.86', fit_tolerance='1e-08', EG2='0.92', EG='0.92', time_epoch_completed='1760964555.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.94e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='885' AND source_name='4FGL J1520.5+4209' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 05:49:15 PDT 2025