/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 = 17546 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.0+4737_weekly_bin895 RA = 265.023, Dec = 47.6198 tmin = 780278401, tmax = 780883201 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='14120311', job_status='RUN', time_executed='2025-10-20 23:05:16.836169', time_epoch_executed='1761026716.84' WHERE source_name='4FGL J1740.0+4737' and cadence='weekly' and bin_id='895' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14120311 Creating custom pfile directory: /lscratch/kocevski/14120311/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=780278401.0 && nMetStart<780883201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=780278401.0 && nMetStart<780883201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14120311/ft1_4FGL_J1740.0+4737_weekly_bin895.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=780278401.0 && nMetStart<780883201.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14120311/ft1_4FGL_J1740.0+4737_weekly_bin895.fits outfile=/lscratch/kocevski/14120311/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin895.fits ra=265.023 dec=47.6198 rad=12.0 tmin=780278401.0 tmax=780883201.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.64 user 4.81 sys 0.31 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.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/14120311/ft1_filteredMKT_4FGL_J1740.0+4737_weekly_bin895.fits evtable="EVENTS" outfile="/lscratch/kocevski/14120311/ft1_filtered_4FGL_J1740.0+4737_weekly_bin895.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.75 user 0.18 sys 0.14 Number of photons that the gtmktime cut: 1981 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14120311/ft1_filtered_4FGL_J1740.0+4737_weekly_bin895.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14120311/ltcube_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.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/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits .....................! real 16.04 user 15.30 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14120311/ft1_filtered_4FGL_J1740.0+4737_weekly_bin895.fits evtable="EVENTS" scfile=/lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14120311/ltcube_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.fits outfile=/lscratch/kocevski/14120311/expmap_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.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/14120311/ltcube_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.fits .....................! real 60.08 user 55.94 sys 3.58 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/14120311/ft1_filtered_4FGL_J1740.0+4737_weekly_bin895.fits scfile=/lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits outfile=/lscratch/kocevski/14120311/cmap_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.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.59 user 0.22 sys 0.12 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14120311/ft1_filtered_4FGL_J1740.0+4737_weekly_bin895.fits scfile=/lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits outfile=/lscratch/kocevski/14120311/cmap_HighResolution_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.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.50 user 0.21 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14120311/ft1_filtered_4FGL_J1740.0+4737_weekly_bin895.fits evtable="EVENTS" scfile=/lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14120311/Model_4FGL_J1740.0+4737_weekly_bin895.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/14120311/ft1_filtered_4FGL_J1740.0+4737_weekly_bin895.fits.....................! real 55.76 user 54.12 sys 1.21 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14120311/ft1_filtered_4FGL_J1740.0+4737_weekly_bin895.fits', '/lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits', expMap='/lscratch/kocevski/14120311/expmap_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.fits', expCube='/lscratch/kocevski/14120311/ltcube_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14120311/Model_4FGL_J1740.0+4737_weekly_bin895.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/14120311/ft1_filtered_4FGL_J1740.0+4737_weekly_bin895.fits Spacecraft file(s): /lscratch/kocevski/14120311/ft2_4FGL_J1740.0+4737_weekly_bin895.fits Exposure map: /lscratch/kocevski/14120311/expmap_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.fits Exposure cube: /lscratch/kocevski/14120311/ltcube_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14120311/Model_4FGL_J1740.0+4737_weekly_bin895.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 21053.6061584 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21053.3783629 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .12962E-04 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.2146 1.0000 .0000 .10000E+07 3 'Prefactor ' .74636 1.0000 .0000 .10000E+07 4 'Prefactor ' .17971 1.0000 .0000 .10000E+07 5 'norm ' 2.4236 1.0000 .0000 .10000E+07 6 'norm ' .70690E-01 1.0000 .0000 .10000E+07 7 'Prefactor ' 3.5593 1.0000 .0000 .10000E+07 8 'norm ' .63283E-08 1.0000 .0000 .10000E+07 9 'norm ' .40374E-04 1.0000 .0000 .10000E+07 10 'Prefactor ' 6.4856 1.0000 .0000 .10000E+07 11 'norm ' 2.8022 1.0000 .0000 .10000E+07 12 'Prefactor ' 4.8883 1.0000 .0000 .10000E+07 13 'norm ' 8.7936 1.0000 .0000 .10000E+07 14 'Prefactor ' 1.8750 1.0000 .0000 .10000E+07 15 'norm ' 8.1885 1.0000 .0000 .10000E+07 16 'Prefactor ' .54167E-02 1.0000 .0000 .10000E+07 17 'Prefactor ' 6.4464 1.0000 .0000 .10000E+07 18 'Prefactor ' .19877E-03 1.0000 .0000 .10000E+07 19 'Prefactor ' .85102E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' .16479 1.0000 .0000 .10000E+07 21 'norm ' .44545E-05 1.0000 .0000 .10000E+07 22 'Prefactor ' .22655E-05 1.0000 .0000 .10000E+07 23 'norm ' 16.871 1.0000 .0000 .10000E+07 24 'norm ' .52374E-02 1.0000 .0000 .10000E+07 25 'norm ' 20.480 1.0000 .0000 .10000E+07 26 'Normalizat' 1.1752 1.0000 .10000E-01 10.000 27 'Prefactor ' 1.0392 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= 21053.38 FROM MIGRAD STATUS=CONVERGED 201 CALLS 1979 TOTAL EDM= .13E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 .85360 -.21353E-07** at limit ** 2 Prefactor 2.2167 1.5661 .42882E-07 -.80618E-03 3 Prefactor .74628 1.0819 .91189E-07 -.25580E-02 4 Prefactor .24069 16.925 -.80824E-06** at limit ** 5 norm 2.4237 .97908 .95803E-07 -.62406E-02 6 norm .64730E-01 1.5794 .47020E-07** at limit ** 7 Prefactor 3.5809 4.6582 -.15774E-08 -.71592E-03 8 norm .0000 .13694 .28409E-07** at limit ** 9 norm .0000 2.5085 .80885E-07** at limit ** 10 Prefactor 6.4658 4.6828 -.14971E-06 .20178E-02 11 norm 2.8021 1.1622 .12695E-06 -.75296E-02 12 Prefactor 4.8865 2.5117 -.51569E-07 .21017E-02 13 norm 8.8286 3.7420 .83471E-07 -.49011E-02 14 Prefactor 1.5033 1.9207 .43375E-07 -.14433E-02 15 norm 8.1974 5.0084 -.52420E-07 .67757E-03 16 Prefactor .10525E-06 40.558 -.50239E-06** at limit ** 17 Prefactor 6.4455 3.6893 -.84310E-07 .20969E-03 18 Prefactor .13489E-07 17.387 -.33392E-06** at limit ** 19 Prefactor .13040E-06 29.457 .40067E-06** at limit ** 20 Prefactor .17732 44.757 -.49103E-07** at limit ** 21 norm .10547E-08 6.9470 .78050E-11** at limit ** 22 Prefactor .23870E-08 8.9116 .43315E-06** at limit ** 23 norm 16.909 5.7247 -.23423E-07 .84231E-03 24 norm .41231E-05 5.2121 .41291E-07** at limit ** 25 norm 20.424 8.7197 -.91150E-07 .58429E-03 26 Normalizat 1.1751 .15701 .10429E-06 .77648E-04 27 Prefactor 1.0392 .10219 -.25075E-05 .19898E-03 ERR DEF= .500 Final values: Prefactor = 0 Prefactor = 2.2167 Prefactor = 0.746285 Prefactor = 0.240686 norm = 2.42371 norm = 0.0647301 Prefactor = 3.58094 norm = 0 norm = 0 Prefactor = 6.46577 norm = 2.8021 Prefactor = 4.88654 norm = 8.82856 Prefactor = 1.50331 norm = 8.19736 Prefactor = 1.05249e-07 Prefactor = 6.44554 Prefactor = 1.34892e-08 Prefactor = 1.30396e-07 Prefactor = 0.177321 norm = 1.05471e-09 Prefactor = 2.38698e-09 norm = 16.9089 norm = 4.12315e-06 norm = 20.4242 Normalizat = 1.17508 Prefactor = 1.03919 ********** ** 18 **HESSE ********** FCN= 21053.38 FROM HESSE STATUS=OK 572 CALLS 2551 TOTAL EDM= .36E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 .85025 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.2167 1.5824 .69085E-03 -1.5678 3 Prefactor .74628 1.0933 .57022E-03 -1.5691 4 Prefactor .24069 2.2071 .73308E-02 -1.5698 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 2.4237 .98144 .65715E-03 -1.5677 6 norm .64730E-01 .23281 .34969E-02 -1.5703 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 3.5809 4.7658 .53547E-03 -1.5670 8 norm .0000 .13581 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 2.4917 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 6.4658 4.6795 .39385E-03 -1.5657 11 norm 2.8021 1.1695 .60746E-03 -1.5674 12 Prefactor 4.8865 2.5101 .45470E-03 -1.5664 13 norm 8.8286 3.9323 .33777E-03 -1.5649 14 Prefactor 1.5033 111.18 .76017E-03 -1.5683 15 norm 8.1974 5.0344 .35012E-03 -1.5651 16 Prefactor .10525E-06 41.609 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor 6.4455 3.7081 .39506E-03 -1.5657 18 Prefactor .13489E-07 17.558 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .13040E-06 31.138 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .17732 2.8472 .84832E-02 -1.5700 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .10547E-08 6.9075 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor .23870E-08 8.8895 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 16.909 5.7304 .24357E-03 -1.5626 24 norm .41231E-05 3.1565 .66225E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 norm 20.424 8.8067 .22104E-03 -1.5618 26 Normalizat 1.1751 .13138 .67918E-01 -.87376 27 Prefactor 1.0392 .85281E-01 .40591E-01 -.91434 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.56981e-07 Minuit parameter uncertainties: 1 1.03811e-06 2 1.58243 3 1.09328 4 1.45769 5 0.981438 6 0.23281 7 4.76583 8 1.10876e-06 9 7.78351e-08 10 4.67948 11 1.16953 12 2.51014 13 3.9323 14 25.8563 15 5.03436 16 0.00418522 17 3.70814 18 0.000973104 19 0.00403039 20 1.42108 21 0.000169628 22 0.000290991 23 5.73039 24 0.00721523 25 8.80669 26 0.131413 27 0.0852917 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 21053.3778767 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 1.052e-07 4.185e-03 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: 1.039e+00 8.529e-02 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.175e+00 1.314e-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: 3.9192597226e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00296090944394 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14120311/likelihoodResults_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.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) = 21053.3896967 delta logL = -0.0118200357792 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 21047.938576 delta logL = 5.43930071906 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .58455E-02 1.0000 .0000 .10000E+07 2 'Index ' 5.9730 1.0000 .0000 10.000 3 'Normalizat' 1.0245 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1049 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .7030E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 21053.38 FROM MIGRAD STATUS=CONVERGED 54 CALLS 307 TOTAL EDM= .74E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 2.9985 .42118E-03** at limit ** 2 Index .62263 .49310 -.17930E-03 .0000 3 Normalizat 1.1751 1.3296 .98893E-05 .32798E-03 4 Prefactor 1.0392 1.1150 -.11532E-04 .20816E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 0.622629 Normalizat = 1.17508 Prefactor = 1.03919 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 21053.38 FROM HESSE STATUS=FAILED 9 CALLS 316 TOTAL EDM= .74E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 2.9985 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.3593 1.6445 -.17930E-03 -14.642 3 Normalizat 1.1751 1.3296 .98893E-05 5.4094 4 Prefactor 1.0392 1.1150 -.11532E-04 11.652 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 7.38027e-11 Minuit parameter uncertainties: 1 1.01411e-05 2 0.496593 3 1.37095 4 1.14142 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) = 21053.3778767 delta logL = 1.2296368368e-09 Extracting fit parameters... 4FGL J1740.0+4737 Spectrum: PowerLaw 358 Prefactor: 0.000e+00 1.014e-05 0.000e+00 1.000e+06 ( 1.000e-14) 359 Index: 6.226e-01 4.966e-01 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: 1.039e+00 1.141e+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.175e+00 1.371e+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/14120311/cmap_HighResolution_780278401_780883201_4FGL_J1740.0+4737_weekly_bin895.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.96e-03', job_status='DONE', photon_flux_upper_limit='3.92e-08', time_completed='2025-10-20 23:21:22.278584', job_id='14120311', GAL2='1.04', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1761027682.28', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='1.23e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.09' WHERE bin_id='895' AND source_name='4FGL J1740.0+4737' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 23:21:22 PDT 2025