/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 = 17363 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.6+5346_weekly_bin917 RA = 265.159, Dec = 53.7701 tmin = 793584001, tmax = 794188801 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='22513315', job_status='RUN', time_executed='2026-03-03 01:49:44.512594', time_epoch_executed='1772531384.51' WHERE source_name='4FGL J1740.6+5346' and cadence='weekly' and bin_id='917' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/22513315 Creating custom pfile directory: /lscratch/kocevski/22513315/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=793584001.0 && nMetStart<794188801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=793584001.0 && nMetStart<794188801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/22513315/ft1_4FGL_J1740.6+5346_weekly_bin917.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=793584001.0 && nMetStart<794188801.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/22513315/ft1_4FGL_J1740.6+5346_weekly_bin917.fits outfile=/lscratch/kocevski/22513315/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin917.fits ra=265.159 dec=53.7701 rad=12.0 tmin=793584001.0 tmax=794188801.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.50 user 2.93 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.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/22513315/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin917.fits evtable="EVENTS" outfile="/lscratch/kocevski/22513315/ft1_filtered_4FGL_J1740.6+5346_weekly_bin917.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.52 user 0.20 sys 0.13 Number of photons that the gtmktime cut: 3836 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/22513315/ft1_filtered_4FGL_J1740.6+5346_weekly_bin917.fits" evtable="EVENTS" scfile=/lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits sctable="SC_DATA" outfile=/lscratch/kocevski/22513315/ltcube_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.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/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits .....................! real 16.37 user 15.73 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/22513315/ft1_filtered_4FGL_J1740.6+5346_weekly_bin917.fits evtable="EVENTS" scfile=/lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits sctable="SC_DATA" expcube=/lscratch/kocevski/22513315/ltcube_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.fits outfile=/lscratch/kocevski/22513315/expmap_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.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/22513315/ltcube_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.fits .....................! real 59.69 user 55.49 sys 3.47 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/22513315/ft1_filtered_4FGL_J1740.6+5346_weekly_bin917.fits scfile=/lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits outfile=/lscratch/kocevski/22513315/cmap_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.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.67 user 0.21 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/22513315/ft1_filtered_4FGL_J1740.6+5346_weekly_bin917.fits scfile=/lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits outfile=/lscratch/kocevski/22513315/cmap_HighResolution_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.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.72 user 0.20 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/22513315/ft1_filtered_4FGL_J1740.6+5346_weekly_bin917.fits evtable="EVENTS" scfile=/lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/22513315/Model_4FGL_J1740.6+5346_weekly_bin917.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/22513315/ft1_filtered_4FGL_J1740.6+5346_weekly_bin917.fits.....................! real 103.48 user 101.54 sys 0.92 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/22513315/ft1_filtered_4FGL_J1740.6+5346_weekly_bin917.fits', '/lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits', expMap='/lscratch/kocevski/22513315/expmap_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.fits', expCube='/lscratch/kocevski/22513315/ltcube_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/22513315/Model_4FGL_J1740.6+5346_weekly_bin917.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/22513315/ft1_filtered_4FGL_J1740.6+5346_weekly_bin917.fits Spacecraft file(s): /lscratch/kocevski/22513315/ft2_4FGL_J1740.6+5346_weekly_bin917.fits Exposure map: /lscratch/kocevski/22513315/expmap_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.fits Exposure cube: /lscratch/kocevski/22513315/ltcube_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/22513315/Model_4FGL_J1740.6+5346_weekly_bin917.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) = 39147.78032 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 39146.5598295 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 7.6706 1.0000 .0000 .10000E+07 2 'Prefactor ' .61284E-07 1.0000 .0000 .10000E+07 3 'Prefactor ' 1.9265 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.7088 1.0000 .0000 .10000E+07 5 'Prefactor ' 12.266 1.0000 .0000 .10000E+07 6 'Prefactor ' 4.9505 1.0000 .0000 .10000E+07 7 'norm ' .10093E-05 1.0000 .0000 .10000E+07 8 'Prefactor ' 3.3554 1.0000 .0000 .10000E+07 9 'norm ' .13939E-04 1.0000 .0000 .10000E+07 10 'Prefactor ' .72363E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' 4.3249 1.0000 .0000 .10000E+07 12 'norm ' .71452 1.0000 .0000 .10000E+07 13 'Prefactor ' 1.8413 1.0000 .0000 .10000E+07 14 'Prefactor ' .41346E-02 1.0000 .0000 .10000E+07 15 'norm ' 1.5153 1.0000 .0000 .10000E+07 16 'Prefactor ' 3.9248 1.0000 .0000 .10000E+07 17 'Prefactor ' 33.419 1.0000 .0000 .10000E+07 18 'Prefactor ' .31882E-04 1.0000 .0000 .10000E+07 19 'Prefactor ' 12.108 1.0000 .0000 .10000E+07 20 'Prefactor ' 2.5402 1.0000 .0000 .10000E+07 21 'norm ' 3.3310 1.0000 .0000 .10000E+07 22 'Prefactor ' 23.729 1.0000 .0000 .10000E+07 23 'Prefactor ' .60474E-06 1.0000 .0000 .10000E+07 24 'norm ' 1.4021 1.0000 .0000 .10000E+07 25 'norm ' 4.5254 1.0000 .0000 .10000E+07 26 'norm ' 17.965 1.0000 .0000 .10000E+07 27 'Prefactor ' 16.339 1.0000 .0000 .10000E+07 28 'Normalizat' 1.0491 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.0847 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= 39146.56 FROM MIGRAD STATUS=CONVERGED 160 CALLS 1569 TOTAL EDM= .56E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 7.6659 1.8196 .19198E-06 -.77645E-02 2 Prefactor .55511E-10 .71778 .15540E-07** at limit ** 3 Prefactor 1.9262 2.3243 -.74474E-09 .62110E-02 4 Prefactor 1.7094 1.3950 .21402E-07 .40704E-02 5 Prefactor 12.225 5.5934 -.27184E-06 -.17741E-01 6 Prefactor 4.9428 3.2022 .59041E-06 -.13052E-01 7 norm .0000 .19861 -.17741E-09** at limit ** 8 Prefactor 3.3586 3.0404 -.88553E-08 -.31476E-02 9 norm .0000 .40863 .19436E-07** at limit ** 10 Prefactor .55511E-10 2.5654 .29168E-07** at limit ** 11 Prefactor 4.3318 3.0702 -.20614E-09 .41259E-03 12 norm .71409 .64401 .27920E-07 -.11244E-01 13 Prefactor 1.8416 1.7378 -.12920E-07 .11962E-02 14 Prefactor .81601E-08 13.631 .40021E-07** at limit ** 15 norm 1.5189 3.1430 .91787E-07 .19743E-03 16 Prefactor 3.7609 3.3599 -.47976E-06 .38182E-01 17 Prefactor 33.421 3.7822 .21185E-07 -.24706E-03 18 Prefactor .11102E-09 5.9835 -.17627E-07** at limit ** 19 Prefactor 12.712 25.230 .30649E-06 -.56827E-02 20 Prefactor 2.5694 3.2015 .55736E-07 -.30540E-03 21 norm 3.3188 3.7706 -.22287E-07 -.11401E-02 22 Prefactor 23.567 8.1384 .12202E-06 .57506E-02 23 Prefactor .0000 1.8434 .11010E-06** at limit ** 24 norm 1.4063 2.4851 .18341E-07 -.21389E-02 25 norm 4.5170 4.0789 -.21917E-06 -.65891E-02 26 norm 18.042 5.2571 .45629E-06 .51718E-01 27 Prefactor 16.314 2.9152 -.74699E-07 .17054E-01 28 Normalizat 1.0493 .11660 .11448E-06 -.35890E-03 29 Prefactor 1.0846 .82418E-01 -.44952E-06 -.43642E-03 ERR DEF= .500 Final values: norm = 7.66586 Prefactor = 5.55112e-11 Prefactor = 1.9262 Prefactor = 1.70936 Prefactor = 12.2249 Prefactor = 4.94284 norm = 0 Prefactor = 3.35856 norm = 0 Prefactor = 5.55112e-11 Prefactor = 4.33184 norm = 0.714093 Prefactor = 1.84159 Prefactor = 8.16014e-09 norm = 1.51892 Prefactor = 3.76092 Prefactor = 33.4212 Prefactor = 1.11022e-10 Prefactor = 12.712 Prefactor = 2.56942 norm = 3.3188 Prefactor = 23.5672 Prefactor = 0 norm = 1.40628 norm = 4.51699 norm = 18.0419 Prefactor = 16.3141 Normalizat = 1.04932 Prefactor = 1.08465 ********** ** 18 **HESSE ********** FCN= 39146.56 FROM HESSE STATUS=OK 631 CALLS 2200 TOTAL EDM= .14E-04 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 7.6659 6.9375 .36184E-03 -1.5653 2 Prefactor .55511E-10 .72016 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 1.9262 2.3369 .74816E-03 -1.5680 4 Prefactor 1.7094 1.4105 .80396E-03 -1.5682 5 Prefactor 12.225 5.7452 .28577E-03 -1.5638 6 Prefactor 4.9428 7.4051 .45178E-03 -1.5663 7 norm .0000 .19114 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 3.3586 3.0922 .55223E-03 -1.5671 9 norm .0000 .11251 .22574E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .55511E-10 2.5505 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 4.3318 3.0756 .48414E-03 -1.5666 12 norm .71409 .65410 .59538E-03 -1.5691 13 Prefactor 1.8416 1.7732 .76840E-03 -1.5681 14 Prefactor .81601E-08 13.669 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 1.5189 3.2439 .86814E-03 -1.5683 16 Prefactor 3.7609 16.433 .50898E-03 -1.5669 17 Prefactor 33.421 3.8153 .17300E-03 -1.5592 18 Prefactor .11102E-09 5.9919 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor 12.712 25.356 .28763E-03 -1.5637 20 Prefactor 2.5694 3.2183 .64050E-03 -1.5676 21 norm 3.3188 3.7877 .55434E-03 -1.5672 22 Prefactor 23.567 8.5305 .20533E-03 -1.5611 23 Prefactor .0000 1.8524 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 1.4063 2.5054 .91574E-03 -1.5684 25 norm 4.5170 4.1409 .47301E-03 -1.5665 26 norm 18.042 5.8756 .23603E-03 -1.5623 27 Prefactor 16.314 8.0977 .24751E-03 -1.5627 28 Normalizat 1.0493 .10153 .75272E-01 -.91396 29 Prefactor 1.0846 .70663E-01 .38197E-01 -.89959 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.39298e-05 Minuit parameter uncertainties: 1 6.93748 2 1.05286e-05 3 2.33692 4 1.41046 5 5.74517 6 7.40508 7 3.05956e-06 8 3.09219 9 6.15943e-07 10 2.15992e-05 11 3.07559 12 0.654098 13 1.77318 14 0.000667051 15 3.24395 16 15.723 17 3.81535 18 5.14597e-05 19 25.3562 20 3.21828 21 3.78775 22 8.53048 23 1.41154e-05 24 2.50542 25 4.14092 26 5.87565 27 8.0977 28 0.101548 29 0.0706687 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 39146.5589477 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 1.110e-10 5.146e-05 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.085e+00 7.067e-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: 1.049e+00 1.015e-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: 1.62168270507e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00123234835137 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/22513315/likelihoodResults_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.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) = 39146.638893 delta logL = -0.0799453087966 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 39146.5589491 delta logL = -1.42228236655e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .35011E-06 1.0000 .0000 .10000E+07 2 'Index ' .59574 1.0000 .0000 10.000 3 'Normalizat' 1.0494 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.0846 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= 39146.56 FROM MIGRAD STATUS=CONVERGED 30 CALLS 201 TOTAL EDM= .25E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.7% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 7.2849 -.28725E-06** at limit ** 2 Index 1.9259 2.5207 .75283E-05 .0000 3 Normalizat 1.0493 .11060 .87322E-06 .78577E-04 4 Prefactor 1.0846 .81130E-01 .17491E-05 .34571E-04 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.92594 Normalizat = 1.04932 Prefactor = 1.08465 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 39146.56 FROM HESSE STATUS=FAILED 11 CALLS 212 TOTAL EDM= .25E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 7.3033 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .39207 1.7886 .75283E-05 -.66215 3 Normalizat 1.0493 1.2045 .87322E-06 -.91396 4 Prefactor 1.0846 1.1594 .17491E-05 -.89959 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.53651e-12 Minuit parameter uncertainties: 1 5.94586e-06 2 1.61662 3 1.23829 4 1.18804 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) = 39146.5589477 delta logL = 2.18278728426e-11 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 0.000e+00 5.946e-06 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 1.926e+00 1.617e+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.085e+00 1.188e+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: 1.049e+00 1.238e+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/22513315/cmap_HighResolution_793584001_794188801_4FGL_J1740.6+5346_weekly_bin917.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-03', job_status='DONE', photon_flux_upper_limit='1.62e-08', time_completed='2026-03-03 02:09:17.425497', job_id='22513315', GAL2='1.08', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1772532557.43', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='2.18e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='917' AND source_name='4FGL J1740.6+5346' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Mar 3 02:09:17 PST 2026