/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 = 17364 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.6+5346_weekly_bin888 RA = 265.159, Dec = 53.7701 tmin = 776044801, tmax = 776649601 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='14121156', job_status='RUN', time_executed='2025-10-20 23:09:38.798563', time_epoch_executed='1761026978.8' WHERE source_name='4FGL J1740.6+5346' and cadence='weekly' and bin_id='888' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/14121156 Creating custom pfile directory: /lscratch/kocevski/14121156/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=776044801.0 && nMetStart<776649601.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=776044801.0 && nMetStart<776649601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/14121156/ft1_4FGL_J1740.6+5346_weekly_bin888.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=776044801.0 && nMetStart<776649601.0' /Data/Flight/Level1/LPA Retrieving 107 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/14121156/ft1_4FGL_J1740.6+5346_weekly_bin888.fits outfile=/lscratch/kocevski/14121156/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin888.fits ra=265.159 dec=53.7701 rad=12.0 tmin=776044801.0 tmax=776649601.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.29 user 3.61 sys 0.44 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.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/14121156/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin888.fits evtable="EVENTS" outfile="/lscratch/kocevski/14121156/ft1_filtered_4FGL_J1740.6+5346_weekly_bin888.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.25 sys 0.20 Number of photons that the gtmktime cut: 3784 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/14121156/ft1_filtered_4FGL_J1740.6+5346_weekly_bin888.fits" evtable="EVENTS" scfile=/lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits sctable="SC_DATA" outfile=/lscratch/kocevski/14121156/ltcube_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.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/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits .....................! real 29.24 user 28.44 sys 0.38 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/14121156/ft1_filtered_4FGL_J1740.6+5346_weekly_bin888.fits evtable="EVENTS" scfile=/lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits sctable="SC_DATA" expcube=/lscratch/kocevski/14121156/ltcube_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.fits outfile=/lscratch/kocevski/14121156/expmap_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.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/14121156/ltcube_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.fits .....................! real 79.79 user 74.11 sys 4.69 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/14121156/ft1_filtered_4FGL_J1740.6+5346_weekly_bin888.fits scfile=/lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits outfile=/lscratch/kocevski/14121156/cmap_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.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.60 user 0.28 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/14121156/ft1_filtered_4FGL_J1740.6+5346_weekly_bin888.fits scfile=/lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits outfile=/lscratch/kocevski/14121156/cmap_HighResolution_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.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.52 user 0.29 sys 0.14 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/14121156/ft1_filtered_4FGL_J1740.6+5346_weekly_bin888.fits evtable="EVENTS" scfile=/lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/14121156/Model_4FGL_J1740.6+5346_weekly_bin888.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/14121156/ft1_filtered_4FGL_J1740.6+5346_weekly_bin888.fits.....................! real 138.60 user 135.86 sys 1.88 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/14121156/ft1_filtered_4FGL_J1740.6+5346_weekly_bin888.fits', '/lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits', expMap='/lscratch/kocevski/14121156/expmap_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.fits', expCube='/lscratch/kocevski/14121156/ltcube_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/14121156/Model_4FGL_J1740.6+5346_weekly_bin888.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/14121156/ft1_filtered_4FGL_J1740.6+5346_weekly_bin888.fits Spacecraft file(s): /lscratch/kocevski/14121156/ft2_4FGL_J1740.6+5346_weekly_bin888.fits Exposure map: /lscratch/kocevski/14121156/expmap_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.fits Exposure cube: /lscratch/kocevski/14121156/ltcube_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/14121156/Model_4FGL_J1740.6+5346_weekly_bin888.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) = 39328.5673305 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 39328.4281075 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .82955 1.0000 .0000 .10000E+07 2 'Prefactor ' .10614E-06 1.0000 .0000 .10000E+07 3 'Prefactor ' .45539E-04 1.0000 .0000 .10000E+07 4 'Prefactor ' 1.5983 1.0000 .0000 .10000E+07 5 'Prefactor ' .88041E-07 1.0000 .0000 .10000E+07 6 'Prefactor ' .54434E-03 1.0000 .0000 .10000E+07 7 'norm ' .42224 1.0000 .0000 .10000E+07 8 'Prefactor ' .19310E-05 1.0000 .0000 .10000E+07 9 'norm ' .60494E-01 1.0000 .0000 .10000E+07 10 'Prefactor ' 7.2730 1.0000 .0000 .10000E+07 11 'Prefactor ' .83822E-08 1.0000 .0000 .10000E+07 12 'norm ' 1.2266 1.0000 .0000 .10000E+07 13 'Prefactor ' 1.7632 1.0000 .0000 .10000E+07 14 'Prefactor ' .44071E-04 1.0000 .0000 .10000E+07 15 'norm ' 5.3648 1.0000 .0000 .10000E+07 16 'Prefactor ' 5.6721 1.0000 .0000 .10000E+07 17 'Prefactor ' 12.596 1.0000 .0000 .10000E+07 18 'Prefactor ' .11818E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' .66611E-03 1.0000 .0000 .10000E+07 20 'Prefactor ' 3.1795 1.0000 .0000 .10000E+07 21 'norm ' 1.7849 1.0000 .0000 .10000E+07 22 'Prefactor ' .44853E-06 1.0000 .0000 .10000E+07 23 'Prefactor ' .30574E-03 1.0000 .0000 .10000E+07 24 'norm ' 16.243 1.0000 .0000 .10000E+07 25 'norm ' .14905E-06 1.0000 .0000 .10000E+07 26 'norm ' 3.5724 1.0000 .0000 .10000E+07 27 'Prefactor ' .48329E-05 1.0000 .0000 .10000E+07 28 'Normalizat' .94707 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.1357 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= 39328.43 FROM MIGRAD STATUS=CONVERGED 171 CALLS 2164 TOTAL EDM= .11E-08 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.6% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .74771 .83623 .31684E-06 .17424E-01 2 Prefactor .55511E-10 1.3639 -.99793E-07** at limit ** 3 Prefactor .11880E-05 6.1832 .18520E-05** at limit ** 4 Prefactor 1.5986 1.1240 -.48016E-07 .41637E-02 5 Prefactor .11655E-05 7.2884 .26438E-08** at limit ** 6 Prefactor .64948E-08 5.5835 .44780E-06** at limit ** 7 norm .42210 .28601 -.16024E-06 .44261E-02 8 Prefactor .0000 1.4256 .22983E-06** at limit ** 9 norm .60365E-01 .28166 -.35973E-06** at limit ** 10 Prefactor 7.2669 3.0754 -.15008E-06 .18643E-02 11 Prefactor .81823E-07 3.3700 .61917E-06** at limit ** 12 norm 1.2260 .80801 .80870E-08 -.11269E-02 13 Prefactor 1.7631 1.2243 -.67359E-07 -.13204E-02 14 Prefactor .39896E-06 13.400 -.71858E-06** at limit ** 15 norm 5.3678 2.7844 .11206E-06 .82782E-03 16 Prefactor 5.6887 1.7763 -.21022E-06 -.87983E-02 17 Prefactor 12.585 2.8894 .48358E-07 .16926E-02 18 Prefactor .32653E-05 16.235 .13142E-05** at limit ** 19 Prefactor .16065E-05 22.973 -.22708E-05** at limit ** 20 Prefactor 3.1830 2.7815 -.15546E-06 -.74464E-03 21 norm 1.7802 3.3923 .34040E-06 -.16470E-03 22 Prefactor .0000 1.7748 -.37387E-06** at limit ** 23 Prefactor .11102E-09 5.0963 .55612E-06** at limit ** 24 norm 16.266 4.0011 -.10697E-06 -.32580E-02 25 norm .0000 .77337 .38607E-06** at limit ** 26 norm 3.6033 2.9193 -.95687E-09 .40808E-03 27 Prefactor .0000 1.7213 -.21485E-06** at limit ** 28 Normalizat .94720 .11085 -.85742E-06 .43173E-03 29 Prefactor 1.1356 .79110E-01 -.12177E-06 .54621E-03 ERR DEF= .500 Final values: norm = 0.747712 Prefactor = 5.55112e-11 Prefactor = 1.18805e-06 Prefactor = 1.59862 Prefactor = 1.16551e-06 Prefactor = 6.4948e-09 norm = 0.422103 Prefactor = 0 norm = 0.0603648 Prefactor = 7.26686 Prefactor = 8.18234e-08 norm = 1.22601 Prefactor = 1.76314 Prefactor = 3.98959e-07 norm = 5.36781 Prefactor = 5.6887 Prefactor = 12.5852 Prefactor = 3.26528e-06 Prefactor = 1.60655e-06 Prefactor = 3.18302 norm = 1.78019 Prefactor = 0 Prefactor = 1.11022e-10 norm = 16.2659 norm = 0 norm = 3.60333 Prefactor = 0 Normalizat = 0.947205 Prefactor = 1.13565 ********** ** 18 **HESSE ********** FCN= 39328.43 FROM HESSE STATUS=OK 635 CALLS 2799 TOTAL EDM= .26E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .74771 10.474 .50758E-03 -1.5691 2 Prefactor .55511E-10 1.3582 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor .11880E-05 1.0296 .61639E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor 1.5986 1.1423 .83841E-03 -1.5683 5 Prefactor .11655E-05 9.3795 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 6 Prefactor .64948E-08 5.6002 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .42210 .34655 .19584E-02 -1.5695 8 Prefactor .0000 1.4227 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .60365E-01 .15897 .24266E-02 -1.5713 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor 7.2669 3.1104 .37169E-03 -1.5654 11 Prefactor .81823E-07 1.1734 .70677E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm 1.2260 .82575 .10162E-02 -1.5686 13 Prefactor 1.7631 1.2247 .78869E-03 -1.5681 14 Prefactor .39896E-06 16.167 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 5.3678 2.8134 .43365E-03 -1.5662 16 Prefactor 5.6887 15.611 .42154E-03 -1.5660 17 Prefactor 12.585 2.8919 .28199E-03 -1.5637 18 Prefactor .32653E-05 22.730 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .16065E-05 26.722 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor 3.1830 2.7821 .56807E-03 -1.5672 21 norm 1.7802 3.4133 .78287E-03 -1.5681 22 Prefactor .0000 1.7740 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 Prefactor .11102E-09 5.0998 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 16.266 4.0175 .24825E-03 -1.5627 25 norm .0000 .77431 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 26 norm 3.6033 2.9155 .53445E-03 -1.5670 27 Prefactor .0000 1.7222 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 28 Normalizat .94720 .97312E-01 .75044E-01 -.94821 29 Prefactor 1.1356 .67718E-01 .36364E-01 -.88335 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.5509e-06 Minuit parameter uncertainties: 1 5.59693 2 1.26536e-05 3 0.00221198 4 1.14226 5 0.00661278 6 0.000381432 7 0.346547 8 1.15289e-05 9 0.15897 10 3.1104 11 0.000619632 12 0.825745 13 1.22473 14 0.00507916 15 2.81336 16 15.6111 17 2.89193 18 0.0172303 19 0.0131043 20 2.78207 21 3.41329 22 8.56751e-06 23 4.1759e-05 24 4.01751 25 4.38174e-06 26 2.91553 27 7.04737e-06 28 0.0973302 29 0.0677229 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 39328.4277917 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 3.265e-06 1.723e-02 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.136e+00 6.772e-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: 9.472e-01 9.733e-02 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.52995485332e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00192256209108 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/14121156/likelihoodResults_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.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) = 39328.4495183 delta logL = -0.0217266262989 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 39328.4277996 delta logL = -7.96195672592e-06 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .51390E-03 1.0000 .0000 .10000E+07 2 'Index ' 2.9462 1.0000 .0000 10.000 3 'Normalizat' .94731 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1357 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= 39328.43 FROM MIGRAD STATUS=CONVERGED 51 CALLS 250 TOTAL EDM= .28E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .0000 16.311 .42118E-03** at limit ** 2 Index 1.7927 .84581 .57940E-05 .0000 3 Normalizat .94720 1.2801 -.25363E-05 -.98841E-04 4 Prefactor 1.1356 1.1285 .15038E-05 -.10986E-03 ERR DEF= .500 Final values: Prefactor = 0 Index = 1.79271 Normalizat = 0.947204 Prefactor = 1.13565 ********** ** 18 **HESSE ********** MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. FCN= 39328.43 FROM HESSE STATUS=FAILED 9 CALLS 259 TOTAL EDM= .28E-11 STRATEGY=1 ERROR MATRIX UNCERTAINTY=100.0% EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .0000 16.311 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .32831 1.5433 .57940E-05 -.69640 3 Normalizat .94720 1.2801 -.25363E-05 -.94821 4 Prefactor 1.1356 1.1285 .15038E-05 -.88335 ERR DEF= .500 Minuit fit quality: 1 estimated distance: 2.76603e-12 Minuit parameter uncertainties: 1 9.57384e-06 2 0.852822 3 1.32541 4 1.15379 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) = 39328.4277916 delta logL = 7.17409420758e-08 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 0.000e+00 9.574e-06 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 1.793e+00 8.528e-01 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.136e+00 1.154e+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: 9.472e-01 1.325e+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/14121156/cmap_HighResolution_776044801_776649601_4FGL_J1740.6+5346_weekly_bin888.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.92e-03', job_status='DONE', photon_flux_upper_limit='2.53e-08', time_completed='2025-10-20 23:39:03.633741', job_id='14121156', GAL2='1.14', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1761028743.63', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='7.17e-08', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='888' AND source_name='4FGL J1740.6+5346' AND cadence='weekly'; Database successfully updated. Analysis Complete. Mon Oct 20 23:39:03 PDT 2025