/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_J1740.6+5346_weekly_bin885 RA = 265.159, Dec = 53.7701 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='14121148', job_status='RUN', time_executed='2025-10-20 23:09:38.798807', time_epoch_executed='1761026978.8' WHERE source_name='4FGL J1740.6+5346' and cadence='weekly' and bin_id='885' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14121148 Creating custom pfile directory: /lscratch/kocevski/14121148/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/14121148/ft1_4FGL_J1740.6+5346_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/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14121148/ft1_4FGL_J1740.6+5346_weekly_bin885.fits outfile=/lscratch/kocevski/14121148/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin885.fits ra=265.159 dec=53.7701 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 5.26 user 4.64 sys 0.35 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14121148/ft2_4FGL_J1740.6+5346_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/14121148/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin885.fits evtable="EVENTS" outfile="/lscratch/kocevski/14121148/ft1_filtered_4FGL_J1740.6+5346_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.77 user 0.29 sys 0.15 Number of photons that the gtmktime cut: 1929 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14121148/ft1_filtered_4FGL_J1740.6+5346_weekly_bin885.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14121148/ltcube_774230401_774835201_4FGL_J1740.6+5346_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/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits .....................! real 27.62 user 26.74 sys 0.43 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14121148/ft1_filtered_4FGL_J1740.6+5346_weekly_bin885.fits evtable="EVENTS" scfile=/lscratch/kocevski/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14121148/ltcube_774230401_774835201_4FGL_J1740.6+5346_weekly_bin885.fits outfile=/lscratch/kocevski/14121148/expmap_774230401_774835201_4FGL_J1740.6+5346_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/14121148/ltcube_774230401_774835201_4FGL_J1740.6+5346_weekly_bin885.fits .....................! real 78.98 user 73.99 sys 4.30 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 206 point sources and 0 extended sources Setting source of interest to: 4FGL J1740.6+5346 @ 265.159 53.7701 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/14121148/ft1_filtered_4FGL_J1740.6+5346_weekly_bin885.fits scfile=/lscratch/kocevski/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits outfile=/lscratch/kocevski/14121148/cmap_774230401_774835201_4FGL_J1740.6+5346_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=265.159 yref=53.7701 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.58 user 0.28 sys 0.17 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14121148/ft1_filtered_4FGL_J1740.6+5346_weekly_bin885.fits scfile=/lscratch/kocevski/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits outfile=/lscratch/kocevski/14121148/cmap_HighResolution_774230401_774835201_4FGL_J1740.6+5346_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=265.159 yref=53.7701 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.67 user 0.29 sys 0.16 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14121148/ft1_filtered_4FGL_J1740.6+5346_weekly_bin885.fits evtable="EVENTS" scfile=/lscratch/kocevski/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14121148/Model_4FGL_J1740.6+5346_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/14121148/ft1_filtered_4FGL_J1740.6+5346_weekly_bin885.fits.....................! real 73.98 user 71.88 sys 1.58 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14121148/ft1_filtered_4FGL_J1740.6+5346_weekly_bin885.fits', '/lscratch/kocevski/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits', expMap='/lscratch/kocevski/14121148/expmap_774230401_774835201_4FGL_J1740.6+5346_weekly_bin885.fits', expCube='/lscratch/kocevski/14121148/ltcube_774230401_774835201_4FGL_J1740.6+5346_weekly_bin885.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14121148/Model_4FGL_J1740.6+5346_weekly_bin885.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1740.6+5346' 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 8.657e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.165e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 1.972e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/14121148/ft1_filtered_4FGL_J1740.6+5346_weekly_bin885.fits Spacecraft file(s): /lscratch/kocevski/14121148/ft2_4FGL_J1740.6+5346_weekly_bin885.fits Exposure map: /lscratch/kocevski/14121148/expmap_774230401_774835201_4FGL_J1740.6+5346_weekly_bin885.fits Exposure cube: /lscratch/kocevski/14121148/ltcube_774230401_774835201_4FGL_J1740.6+5346_weekly_bin885.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14121148/Model_4FGL_J1740.6+5346_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) = 20003.7285319 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20003.7221726 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 10.354 1.0000 .0000 .10000E+07 2 'Prefactor ' 1.4443 1.0000 .0000 .10000E+07 3 'Prefactor ' 4.2596 1.0000 .0000 .10000E+07 4 'Prefactor ' 2.5133 1.0000 .0000 .10000E+07 5 'Prefactor ' 1.9618 1.0000 .0000 .10000E+07 6 'Prefactor ' .35773E-05 1.0000 .0000 .10000E+07 7 'norm ' .42552E-01 1.0000 .0000 .10000E+07 8 'Prefactor ' .20358E-04 1.0000 .0000 .10000E+07 9 'norm ' .11791E-06 1.0000 .0000 .10000E+07 10 'Prefactor ' .25070E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' 2.0061 1.0000 .0000 .10000E+07 12 'norm ' 1.4276 1.0000 .0000 .10000E+07 13 'Prefactor ' 4.6324 1.0000 .0000 .10000E+07 14 'Prefactor ' 22.372 1.0000 .0000 .10000E+07 15 'norm ' 3.9380 1.0000 .0000 .10000E+07 16 'Prefactor ' 31.458 1.0000 .0000 .10000E+07 17 'Prefactor ' 5.6956 1.0000 .0000 .10000E+07 18 'Prefactor ' .11370E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' 3.0914 1.0000 .0000 .10000E+07 20 'Prefactor ' 1.8045 1.0000 .0000 .10000E+07 21 'norm ' .11861E-05 1.0000 .0000 .10000E+07 22 'Prefactor ' .11988E-03 1.0000 .0000 .10000E+07 23 'Prefactor ' .64519E-03 1.0000 .0000 .10000E+07 24 'norm ' .93886E-06 1.0000 .0000 .10000E+07 25 'norm ' 5.5302 1.0000 .0000 .10000E+07 26 'norm ' 9.9378 1.0000 .0000 .10000E+07 27 'Prefactor ' .16789E-03 1.0000 .0000 .10000E+07 28 'Normalizat' .77414 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.2467 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 20003.72 FROM MIGRAD STATUS=CONVERGED 189 CALLS 2703 TOTAL EDM= .20E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 10.353 2.3561 .60944E-08 .50407E-01 2 Prefactor 1.4432 1.9177 -.96560E-08 -.15890E-02 3 Prefactor 4.2475 3.9961 -.68679E-08 -.14253E-02 4 Prefactor 2.5144 1.6103 -.61858E-08 -.38079E-02 5 Prefactor 1.9660 4.2916 -.43563E-07 -.16414E-02 6 Prefactor .18630E-06 4.0942 .13308E-06** at limit ** 7 norm .42638E-01 .52655 -.60407E-07** at limit ** 8 Prefactor .61062E-09 2.0233 .42229E-07** at limit ** 9 norm .0000 .16620 -.87847E-08** at limit ** 10 Prefactor .22204E-09 2.0158 .10278E-07** at limit ** 11 Prefactor 2.0161 4.2475 -.28848E-07 -.14239E-02 12 norm 1.4280 .99637 .10078E-07 .10164E-02 13 Prefactor 4.6371 3.5109 .34985E-08 -.20156E-03 14 Prefactor 22.733 22.119 .44011E-06 .77167E-01 15 norm 3.9412 3.9308 .97246E-08 .11479E-02 16 Prefactor 31.372 12.969 -.61244E-07 -.11902 17 Prefactor 5.6961 3.1312 -.16108E-08 -.13055E-02 18 Prefactor .37026E-07 9.9292 .39053E-07** at limit ** 19 Prefactor 2.2993 117.68 -.20558E-05 .19490E-01 20 Prefactor 1.8027 2.5764 .59835E-09 -.12284E-05 21 norm .53840E-06 4.6768 .14113E-06** at limit ** 22 Prefactor .29976E-08 4.0772 -.11029E-06** at limit ** 23 Prefactor .28622E-06 6.1553 -.63548E-07** at limit ** 24 norm .77716E-09 2.5277 -.71752E-08** at limit ** 25 norm 5.5422 4.2979 .77386E-08 .12689E-04 26 norm 9.9423 6.5161 -.61297E-07 .20231E-02 27 Prefactor .38958E-06 7.5551 -.50995E-07** at limit ** 28 Normalizat .77422 .14801 -.17390E-05 -.33008E-03 29 Prefactor 1.2468 .10837 .71068E-06 -.37131E-03 ERR DEF= .500 Final values: norm = 10.3534 Prefactor = 1.44318 Prefactor = 4.24753 Prefactor = 2.5144 Prefactor = 1.96604 Prefactor = 1.86295e-07 norm = 0.0426384 Prefactor = 6.10623e-10 norm = 0 Prefactor = 2.22045e-10 Prefactor = 2.01606 norm = 1.428 Prefactor = 4.63715 Prefactor = 22.7327 norm = 3.94123 Prefactor = 31.3722 Prefactor = 5.69613 Prefactor = 3.70259e-08 Prefactor = 2.29935 Prefactor = 1.80266 norm = 5.38403e-07 Prefactor = 2.9976e-09 Prefactor = 2.86215e-07 norm = 7.77156e-10 norm = 5.5422 norm = 9.94226 Prefactor = 3.89577e-07 Normalizat = 0.774223 Prefactor = 1.24678 ********** ** 18 **HESSE ********** FCN= 20003.72 FROM HESSE STATUS=OK 625 CALLS 3328 TOTAL EDM= .29E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 10.353 8.9569 .31113E-03 -1.5644 2 Prefactor 1.4432 1.9436 .89685E-03 -1.5684 3 Prefactor 4.2475 3.9797 .48795E-03 -1.5667 4 Prefactor 2.5144 1.6284 .64422E-03 -1.5676 5 Prefactor 1.9660 4.3250 .74027E-03 -1.5680 6 Prefactor .18630E-06 4.4572 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .42638E-01 .16777 .21827E-02 -1.5704 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor .61062E-09 2.0119 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 .16109 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .22204E-09 2.0071 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 2.0161 4.3315 .73077E-03 -1.5680 12 norm 1.4280 1.0137 .90417E-03 -1.5684 13 Prefactor 4.6371 3.5369 .46738E-03 -1.5665 14 Prefactor 22.733 37.955 .21148E-03 -1.5613 15 norm 3.9412 3.9952 .50810E-03 -1.5668 16 Prefactor 31.372 26.874 .17832E-03 -1.5596 17 Prefactor 5.6961 3.1442 .42065E-03 -1.5660 18 Prefactor .37026E-07 9.9839 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 2.2993 165.26 .57655E-03 -1.5678 20 Prefactor 1.8027 2.5933 .77772E-03 -1.5681 21 norm .53840E-06 5.3009 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .29976E-08 4.0992 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .28622E-06 6.4799 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm .77716E-09 2.5206 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 5.5422 4.3016 .42700E-03 -1.5661 26 norm 9.9423 6.5151 .31762E-03 -1.5645 27 Prefactor .38958E-06 7.9681 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat .77422 .12837 .78855E-01 -1.0103 29 Prefactor 1.2468 .91862E-01 .48410E-01 -.84904 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.87356e-06 Minuit parameter uncertainties: 1 8.9569 2 1.94365 3 3.97971 4 1.62838 5 4.325 6 0.00182252 7 0.167766 8 7.09041e-05 9 7.2049e-07 10 4.37213e-05 11 4.33153 12 1.01374 13 3.53689 14 37.9556 15 3.99521 16 26.8745 17 3.14415 18 0.00121609 19 38.988 20 2.59331 21 0.0033787 22 0.000220678 23 0.00272376 24 8.79147e-05 25 4.30161 26 6.51514 27 0.00352377 28 0.128424 29 0.0918735 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 20003.7217631 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 3.703e-08 1.216e-03 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.165e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 374 Scale: 1.972e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 674 Prefactor: 1.247e+00 9.187e-02 0.000e+00 1.000e+01 ( 1.000e+00) 675 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 676 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 673 Normalization: 7.742e-01 1.284e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 265.159 53.770 Photon Flux Upper Limit: 2.56487067971e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.0019490953093 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14121148/likelihoodResults_774230401_774835201_4FGL_J1740.6+5346_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): 0 logL (Free Index) = 20003.7697114 delta logL = -0.0479483394265 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 20003.7217631 delta logL = -9.78616299108e-10 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .20484E-07 1.0000 .0000 .10000E+07 2 'Index ' .71331 1.0000 .0000 10.000 3 'Normalizat' .77422 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.2468 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6770E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 20003.72 FROM MIGRAD STATUS=CONVERGED 48 CALLS 221 TOTAL EDM= .45E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 3.3060 .42118E-03** at limit ** 2 Index 3.4643 1.9653 .28510E-03 .0000 3 Normalizat .77422 1.1135 .83659E-05 -.14039E-04 4 Prefactor 1.2468 1.0895 -.24443E-05 -.89361E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 3.46427 Normalizat = 0.774224 Prefactor = 1.24678 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 20003.72 FROM HESSE STATUS=FAILED 9 CALLS 230 TOTAL EDM= .45E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 3.3060 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 1.3368 2.2646 .28510E-03 -.31219 3 Normalizat .77422 1.1135 .83659E-05 -1.0103 4 Prefactor 1.2468 1.0895 -.24443E-05 -.84904 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 4.50424e-12 Minuit parameter uncertainties: 1 3.73621e-07 2 2.026 3 1.14902 4 1.11027 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) = 20003.7217631 delta logL = 1.89174897969e-09 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 0.000e+00 3.736e-07 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 3.464e+00 2.026e+00 0.000e+00 1.000e+01 (-1.000e+00) 374 Scale: 1.972e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 674 Prefactor: 1.247e+00 1.110e+00 0.000e+00 1.000e+01 ( 1.000e+00) 675 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 676 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 673 Normalization: 7.742e-01 1.149e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 265.159 53.770 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/14121148/cmap_HighResolution_774230401_774835201_4FGL_J1740.6+5346_weekly_bin885.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.95e-03', job_status='DONE', photon_flux_upper_limit='2.56e-08', time_completed='2025-10-20 23:29:18.771129', job_id='14121148', GAL2='1.25', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1761028158.77', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='1.89e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='885' AND source_name='4FGL J1740.6+5346' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 23:29:18 PDT 2025