/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 = 7549 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.0+4737_daily_bin2140 RA = 265.023, Dec = 47.6198 tmin = 794016001, tmax = 794275201 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='22707609', job_status='RUN', time_executed='2026-03-04 05:26:56.978406', time_epoch_executed='1772630816.98' WHERE source_name='4FGL J1740.0+4737' and cadence='daily' and bin_id='2140' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/22707609 Creating custom pfile directory: /lscratch/kocevski/22707609/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=794016001.0 && nMetStart<794275201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=794016001.0 && nMetStart<794275201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/22707609/ft1_4FGL_J1740.0+4737_daily_bin2140.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=794016001.0 && nMetStart<794275201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/22707609/ft1_4FGL_J1740.0+4737_daily_bin2140.fits outfile=/lscratch/kocevski/22707609/ft1_filteredMKT_4FGL_J1740.0+4737_daily_bin2140.fits ra=265.023 dec=47.6198 rad=12.0 tmin=794016001.0 tmax=794275201.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 1.95 user 1.42 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.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/22707609/ft1_filteredMKT_4FGL_J1740.0+4737_daily_bin2140.fits evtable="EVENTS" outfile="/lscratch/kocevski/22707609/ft1_filtered_4FGL_J1740.0+4737_daily_bin2140.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.70 user 0.21 sys 0.13 Number of photons that the gtmktime cut: 1208 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/22707609/ft1_filtered_4FGL_J1740.0+4737_daily_bin2140.fits" evtable="EVENTS" scfile=/lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits sctable="SC_DATA" outfile=/lscratch/kocevski/22707609/ltcube_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.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/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits .....................! real 9.61 user 8.98 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/22707609/ft1_filtered_4FGL_J1740.0+4737_daily_bin2140.fits evtable="EVENTS" scfile=/lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits sctable="SC_DATA" expcube=/lscratch/kocevski/22707609/ltcube_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.fits outfile=/lscratch/kocevski/22707609/expmap_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.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/22707609/ltcube_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.fits .....................! real 62.92 user 58.43 sys 3.75 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 214 point sources and 0 extended sources Setting source of interest to: 4FGL J1740.0+4737 @ 265.023 47.6198 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/22707609/ft1_filtered_4FGL_J1740.0+4737_daily_bin2140.fits scfile=/lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits outfile=/lscratch/kocevski/22707609/cmap_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.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.023 yref=47.6198 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.79 user 0.22 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/22707609/ft1_filtered_4FGL_J1740.0+4737_daily_bin2140.fits scfile=/lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits outfile=/lscratch/kocevski/22707609/cmap_HighResolution_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.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.023 yref=47.6198 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.79 user 0.22 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/22707609/ft1_filtered_4FGL_J1740.0+4737_daily_bin2140.fits evtable="EVENTS" scfile=/lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/22707609/Model_4FGL_J1740.0+4737_daily_bin2140.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/22707609/ft1_filtered_4FGL_J1740.0+4737_daily_bin2140.fits.....................! real 36.88 user 35.20 sys 0.87 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/22707609/ft1_filtered_4FGL_J1740.0+4737_daily_bin2140.fits', '/lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits', expMap='/lscratch/kocevski/22707609/expmap_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.fits', expCube='/lscratch/kocevski/22707609/ltcube_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/22707609/Model_4FGL_J1740.0+4737_daily_bin2140.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1740.0+4737' 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 7.827e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/22707609/ft1_filtered_4FGL_J1740.0+4737_daily_bin2140.fits Spacecraft file(s): /lscratch/kocevski/22707609/ft2_4FGL_J1740.0+4737_daily_bin2140.fits Exposure map: /lscratch/kocevski/22707609/expmap_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.fits Exposure cube: /lscratch/kocevski/22707609/ltcube_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/22707609/Model_4FGL_J1740.0+4737_daily_bin2140.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) = 12689.2629944 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12689.2611103 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .30204E-06 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.9632 1.0000 .0000 .10000E+07 3 'Prefactor ' .14627 1.0000 .0000 .10000E+07 4 'Prefactor ' 8.5593 1.0000 .0000 .10000E+07 5 'norm ' .16653E-08 1.0000 .0000 .10000E+07 6 'norm ' .17843E-01 1.0000 .0000 .10000E+07 7 'Prefactor ' 5.6323 1.0000 .0000 .10000E+07 8 'norm ' .25535E-08 1.0000 .0000 .10000E+07 9 'norm ' .78929E-05 1.0000 .0000 .10000E+07 10 'Prefactor ' 7.6536 1.0000 .0000 .10000E+07 11 'norm ' .31022 1.0000 .0000 .10000E+07 12 'Prefactor ' 3.9424 1.0000 .0000 .10000E+07 13 'norm ' 17.331 1.0000 .0000 .10000E+07 14 'Prefactor ' 33.595 1.0000 .0000 .10000E+07 15 'norm ' .56213E-03 1.0000 .0000 .10000E+07 16 'Prefactor ' .37266E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' 29.037 1.0000 .0000 .10000E+07 18 'Prefactor ' .28307E-03 1.0000 .0000 .10000E+07 19 'Prefactor ' .20692E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' 9.1909 1.0000 .0000 .10000E+07 21 'norm ' 9.1860 1.0000 .0000 .10000E+07 22 'Prefactor ' .88200E-03 1.0000 .0000 .10000E+07 23 'norm ' 1.5983 1.0000 .0000 .10000E+07 24 'norm ' 18.360 1.0000 .0000 .10000E+07 25 'norm ' .93957E-03 1.0000 .0000 .10000E+07 26 'Normalizat' 1.0556 1.0000 .10000E-01 10.000 27 'Prefactor ' .94884 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12689.26 FROM MIGRAD STATUS=CONVERGED 225 CALLS 2637 TOTAL EDM= .14E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= .8% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 1.3204 -.19643E-06** at limit ** 2 Prefactor 2.9660 2.2509 -.10011E-08 .12889E-02 3 Prefactor .14767 3.5516 .25947E-06** at limit ** 4 Prefactor 8.5609 6.1324 .45127E-07 -.61555E-01 5 norm .0000 .54056 -.25419E-07** at limit ** 6 norm .17704E-01 1.9096 -.12069E-06** at limit ** 7 Prefactor 5.6419 4.5152 -.95396E-07 -.13058E-02 8 norm .0000 .25159 -.26114E-07** at limit ** 9 norm .53624E-07 12.943 -.23254E-06** at limit ** 10 Prefactor 7.6636 5.6556 .69012E-07 .87728E-01 11 norm .31011 .66881 -.64201E-07 -.37643E-02 12 Prefactor 3.9391 2.3642 .11092E-07 .14554E-02 13 norm 17.302 6.6379 -.37472E-07 .18876E-02 14 Prefactor 33.840 66.461 .16233E-06 -.55880E-02 15 norm .16098E-08 3.5621 -.88293E-07** at limit ** 16 Prefactor .27756E-09 8.8743 -.14112E-06** at limit ** 17 Prefactor 29.064 5.6751 .50350E-07 .56658E-02 18 Prefactor .20872E-07 15.941 -.55174E-07** at limit ** 19 Prefactor .24425E-08 17.148 .43718E-07** at limit ** 20 Prefactor 9.1737 8.3496 .11012E-07 -.43591E-01 21 norm 9.1964 6.2954 -.10196E-07 .52574E-01 22 Prefactor .11102E-09 8.9306 -.11739E-06** at limit ** 23 norm 1.6010 2.8694 -.28173E-08 .15626E-03 24 norm 18.383 7.1299 .25930E-07 -.94158E-01 25 norm .33307E-09 3.8234 -.78697E-07** at limit ** 26 Normalizat 1.0555 .19149 .34644E-06 .17949E-03 27 Prefactor .94881 .12640 .72621E-06 .26499E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Prefactor = 2.96599 Prefactor = 0.147675 Prefactor = 8.56085 norm = 0 norm = 0.0177036 Prefactor = 5.64191 norm = 0 norm = 5.36238e-08 Prefactor = 7.6636 norm = 0.310109 Prefactor = 3.93911 norm = 17.3021 Prefactor = 33.8402 norm = 1.60982e-09 Prefactor = 2.77556e-10 Prefactor = 29.0642 Prefactor = 2.08722e-08 Prefactor = 2.44249e-09 Prefactor = 9.17375 norm = 9.19642 Prefactor = 1.11022e-10 norm = 1.60104 norm = 18.3831 norm = 3.33067e-10 Normalizat = 1.05547 Prefactor = 0.948805 ********** ** 18 **HESSE ********** FCN= 12689.26 FROM HESSE STATUS=OK 556 CALLS 3193 TOTAL EDM= .18E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 1.3178 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.9660 2.2673 .58964E-03 -1.5674 3 Prefactor .14767 .76761 .51351E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 8.5609 6.6218 .34239E-03 -1.5649 5 norm .0000 .53474 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 norm .17704E-01 .21073 .28317E-02 -1.5705 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 5.6419 4.5443 .42305E-03 -1.5660 8 norm .0000 .24679 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .53624E-07 19.594 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 7.6636 6.7388 .36224E-03 -1.5653 11 norm .31011 .69746 .31609E-02 -1.5697 12 Prefactor 3.9391 2.3640 .50781E-03 -1.5668 13 norm 17.302 6.6591 .24031E-03 -1.5625 14 Prefactor 33.840 67.151 .17255E-03 -1.5592 15 norm .16098E-08 3.5558 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 16 Prefactor .27756E-09 18.403 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 29.064 5.6579 .18561E-03 -1.5600 18 Prefactor .20872E-07 16.222 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .24425E-08 19.801 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 9.1737 9.1376 .33035E-03 -1.5647 21 norm 9.1964 6.7850 .33043E-03 -1.5647 22 Prefactor .11102E-09 8.9130 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 1.6010 2.9024 .83843E-03 -1.5683 24 norm 18.383 8.1044 .23347E-03 -1.5622 25 norm .33307E-09 3.8195 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 Normalizat 1.0555 .16073 .67943E-01 -.91195 27 Prefactor .94881 .10525 .45624E-01 -.94456 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 1.75923e-07 Minuit parameter uncertainties: 1 1.34338e-05 2 2.26734 3 0.673369 4 6.62176 5 1.75145e-06 6 0.12216 7 4.54431 8 1.24655e-06 9 0.00204974 10 6.73885 11 0.697463 12 2.36403 13 6.65908 14 67.1527 15 0.000150043 16 0.000147008 17 5.65791 18 0.00116345 19 0.000440318 20 9.13761 21 6.78504 22 6.16962e-05 23 2.90237 24 8.10443 25 7.27745e-05 26 0.160807 27 0.105276 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 12689.260755 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 2.776e-10 1.470e-04 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.090e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 9.488e-01 1.053e-01 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.055e+00 1.608e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): -0.00 Ra Dec: 265.023 47.620 Photon Flux Upper Limit: 4.02288692993e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00303919738569 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/22707609/likelihoodResults_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.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) = 12689.2868162 delta logL = -0.026061229446 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 12689.2607551 delta logL = -9.36724973144e-08 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .46291E-06 1.0000 .0000 .10000E+07 2 'Index ' .69751 1.0000 .0000 10.000 3 'Normalizat' 1.0555 1.0000 .10000E-01 10.000 4 'Prefactor ' .94877 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 12689.26 FROM MIGRAD STATUS=CONVERGED 32 CALLS 208 TOTAL EDM= .23E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 3.5% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 15.097 .17718E-04** at limit ** 2 Index 2.4226 6.0488 -.12852E-02 .0000 3 Normalizat 1.0555 .18011 -.17349E-05 -.13498E-04 4 Prefactor .94880 .12410 .77869E-05 -.48731E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 2.42258 Normalizat = 1.05547 Prefactor = 0.948803 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 12689.26 FROM HESSE STATUS=FAILED 11 CALLS 219 TOTAL EDM= .23E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 15.186 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .65898 1.9915 -.12852E-02 -.54157 3 Normalizat 1.0555 1.1965 -.17349E-05 -.91195 4 Prefactor .94880 1.2911 .77869E-05 -.94456 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.25582e-10 Minuit parameter uncertainties: 1 7.89031e-06 2 1.81526 3 1.22934 4 1.337 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) = 12689.260755 delta logL = -1.78260961547e-10 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 0.000e+00 7.890e-06 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 2.423e+00 1.815e+00 0.000e+00 1.000e+01 (-1.000e+00) 360 Scale: 2.179e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 700 Prefactor: 9.488e-01 1.337e+00 0.000e+00 1.000e+01 ( 1.000e+00) 701 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 702 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 699 Normalization: 1.055e+00 1.229e+00 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): -0.00 Ra Dec: 265.023 47.620 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/22707609/cmap_HighResolution_794016001_794275201_4FGL_J1740.0+4737_daily_bin2140.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-03', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2026-03-04 05:36:24.395542', job_id='22707609', GAL2='0.95', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1772631384.4', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='-1.78e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='2140' AND source_name='4FGL J1740.0+4737' AND cadence='daily'; Database successfully updated. Analysis Complete. Wed Mar 4 05:36:24 PST 2026