/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). outfile=/lscratch/kocevski/28173566/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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/28173566/ft2_4FGL_J1740.6+5346_weekly_bin931.fits .....................! real 16.70 user 16.20 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28173566/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28173566/ft2_4FGL_J1740.6+5346_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28173566/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits outfile=/lscratch/kocevski/28173566/expmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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/28173566/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits .....................! real 62.79 user 58.48 sys 3.63 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/28173566/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits scfile=/lscratch/kocevski/28173566/ft2_4FGL_J1740.6+5346_weekly_bin931.fits outfile=/lscratch/kocevski/28173566/cmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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.49 user 0.22 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28173566/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits scfile=/lscratch/kocevski/28173566/ft2_4FGL_J1740.6+5346_weekly_bin931.fits outfile=/lscratch/kocevski/28173566/cmap_HighResolution_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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.46 user 0.22 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/28173566/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28173566/ft2_4FGL_J1740.6+5346_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28173566/Model_4FGL_J1740.6+5346_weekly_bin931.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 sourcee GAL_V02 Working on... /lscratch/kocevski/28173256/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits.....................! real 70.30 user 68.52 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28173256/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits', '/lscratch/kocevski/28173256/ft2_4FGL_J1740.6+5346_weekly_bin931.fits', expMap='/lscratch/kocevski/28173256/expmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits', expCube='/lscratch/kocevski/28173256/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28173256/Model_4FGL_J1740.6+5346_weekly_bin931.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/28173256/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits Spacecraft file(s): /lscratch/kocevski/28173256/ft2_4FGL_J1740.6+5346_weekly_bin931.fits Exposure map: /lscratch/kocevski/28173256/expmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits Exposure cube: /lscratch/kocevski/28173256/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28173256/Model_4FGL_J1740.6+5346_weekly_bin931.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) = 24265.905679 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24265.8295866 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 11.173 1.0000 .0000 .10000E+07 2 'Prefactor ' .16202E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 3.9018 1.0000 .0000 .10000E+07 4 'Prefactor ' 3.0101 1.0000 .0000 .10000E+07 5 'Prefactor ' 9.8124 1.0000 .0000 .10000E+07 6 'Prefactor ' .10343E-02 1.0000 .0000 .10000E+07 7 'norm ' .54290E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' 2.1681 1.0000 .0000 .10000E+07 9 'norm ' .39430E-06 1.0000 .0000 .10000E+07 10 'Prefactor ' .25246E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .32917E-04 1.0000 .0000 .10000E+07 12 'norm ' .79156 1.0000 .0000 .10000E+07 13 'Prefactor ' .93368 1.0000 .0000 .10000E+07 14 'Prefactor ' .22915E-02 1.0000 .0000 .10000E+07 15 'norm ' 5.0477 1.0000 .0000 .10000E+07 16 'Prefactor ' 18.531 1.0000 .0000 .10000E+07 17 'Prefactor ' .11550 1.0000 .0000 .10000E+07 18 'Prefactor ' .39320E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' .21314E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' .22263E-03 1.0000 .0000 .10000E+07 21 'norm ' .52546E-04 1.0000 .0000 .10000E+07 22 'Prefactor ' 22.055 1.0000 .0000 .10000E+07 23 'Prefactor ' .27302E-03 1.0000 .0000 .10000E+07 24 'norm ' 4.9279 1.0000 .0000 .10000E+07 25 'norm ' 8.0653 1.0000 .0000 .10000E+07 26 'norm ' 25.497 1.0000 .0000 .10000E+07 27 'Prefactor ' 9.9255 1.0000 number of points = 17382 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1740.6+5346_weekly_bin931 RA = 265.159, Dec = 53.7701 tmin = 802051201, tmax = 802656001 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='28173584', job_status='RUN', time_executed='2026-06-09 16:34:29.503477', time_epoch_executed='1781048069.5' WHERE source_name='4FGL J1740.6+5346' and cadence='weekly' and bin_id='931' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/28173584 Creating custom pfile directory: /lscratch/kocevski/28173584/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/28173584/ft1_4FGL_J1740.6+5346_weekly_bin931.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=802051201.0 && nMetStart<802656001.0' /Data/Flight/Level1/LPA Retrieving 108 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/28173584/ft1_4FGL_J1740.6+5346_weekly_bin931.fits outfile=/lscratch/kocevski/28173584/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin931.fits ra=265.159 dec=53.7701 rad=12.0 tmin=802051201.0 tmax=802656001.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.81 user 4.59 sys 0.25 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.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/28173584/ft1_filteredMKT_4FGL_J1740.6+5346_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28173584/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.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.62 user 0.19 sys 0.14 Number of photons that the gtmktime cut: 2344 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/28173584/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits sctable="SC_DATA" .0000 .10000E+07 28 'Normalizat' 1.0105 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.1072 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= 24265.83 FROM MIGRAD STATUS=CONVERGED 201 CALLS 2185 TOTAL EDM= .14E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 11.194 2.9405 -.10309E-06 .39515E-01 2 Prefactor .0000 1.2578 .67832E-07** at limit ** 3 Prefactor 3.9016 3.2938 -.16282E-06 -.71346E-03 4 Prefactor 3.0121 1.7419 .64759E-07 -.68382E-03 5 Prefactor 9.8107 5.9448 .34828E-07 -.89478E-03 6 Prefactor .16653E-09 2.5678 -.86751E-07** at limit ** 7 norm .0000 .27503 .28388E-07** at limit ** 8 Prefactor 2.1681 3.0964 .64778E-07 .50667E-03 9 norm .0000 .31421 -.21961E-06** at limit ** 10 Prefactor .71609E-08 2.5521 .28676E-06** at limit ** 11 Prefactor .55511E-10 2.0769 .19318E-07** at limit ** 12 norm .78832 .86415 .13450E-06 -.10197E-02 13 Prefactor .93256 1.1512 -.13560E-06 .59943E-03 14 Prefactor .22204E-09 8.8816 -.35364E-06** at limit ** 15 norm 5.0426 3.1133 -.12154E-06 -.25836E-03 16 Prefactor 19.869 25.249 .10314E-05 -.24769E-02 17 Prefactor .11800 2.8214 .16661E-06** at limit ** 18 Prefactor .55511E-09 52.823 .16893E-06** at limit ** 19 Prefactor .16098E-08 37.567 -.39690E-06** at limit ** 20 Prefactor .0000 1.9449 .75080E-07** at limit ** 21 norm .17208E-08 5.5743 .70978E-06** at limit ** 22 Prefactor 22.074 6.8505 .89618E-07 .20317E-01 23 Prefactor .34417E-08 3.3863 -.57525E-08** at limit ** 24 norm 4.9346 4.6659 -.21954E-06 -.62222E-03 25 norm 8.0788 5.4526 -.23638E-06 -.11316E-02 26 norm 25.502 7.7498 .38662E-06 .22842E-01 27 Prefactor 9.9568 4.0810 .30941E-08 .19506E-01 28 Normalizat 1.0102 .14340 .48206E-05 -.32264E-04 29 Prefactor 1.1070 .10361 -.11413E-05 -.18834E-04 ERR DEF= .500 Final values: norm = 11.1937 Prefactor = 0 Prefactor = 3.90161 Prefactor = 3.01205 Prefactor = 9.81069 Prefactor = 1.66533e-10 norm = 0 Prefactor = 2.16811 norm = 0 Prefactor = 7.16094e-09 Prefactor = 5.55112e-11 norm = 0.788325 Prefactor = 0.932556 Prefactor = 2.22045e-10 norm = 5.04264 Prefactor = 19.869 Prefactor = 0.117996 Prefactor = 5.55112e-10 Prefactor = 1.60982e-09 Prefactor = 0 norm = 1.72085e-09 Prefactor = 22.0737 Prefactor = 3.44169e-09 norm = 4.93462 norm = 8.07878 norm = 25.502 Prefactor = 9.95677 Normalizat = 1.01018 Prefactor = 1.10697 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24265.8276398 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 5.551e-10 3.449e-04 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.107e+00 8.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: 1.010e+00 1.225e-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: 3.12098739689e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00237169926101 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/28173242/likelihoodResults_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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) = 24265.8373189 delta logL = -0.00967908364328 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24265.82764 delta logL = -1.99550413527e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .26366E-05 1.0000 .0000 .10000E+07 2 'Index ' 3.0750 1.0000 .0000 10.000 3 'Normalizat' 1.0101 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1070 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. FCN= 24265.83 FROM MIGRAD STATUS=CONVERGED 82 CALLS 265 TOTAL EDM= .49E-14 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 .53733E-01 .42118E-03** at limit ** 2 Index 2.0371 8.9407 .50000 -.18190E-10 3 Normalizat 1.0102 .10104E-03 .73432E-01 .34082E-03 4 Prefactor 1.1070 .74880E-04 .37326E-01 .69503E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.03709 Normalizat = 1.01018 Prefactor = 1.10697 ********** ** 18 **HESSE ********** FCN= 24265.83 FROM HESSE STATUS=NOT POSDEF 27 CALLS 292 TOTAL EDM= .26E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 .29141 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.0371 8.7440 .50000 -.63426 3 Normalizat 1.0102 .23462E-03 .32491E-03 -.92690 4 Prefactor 1.1070 .17415E-03 .23012E-03 -.89244 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.60333e-14 Minuit parameter uncertainties: 1 9.32544e-06 2 10516.6 3 0.000234623 4 0.000174148 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24265.8276398 delta logL = -6.91215973347e-11 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 5.551e-11 9.325e-06 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.037e+00 1.052e+04 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.107e+00 1.741e-04 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.010e+00 2.346e-04 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/28173242/cmap_HighResolution_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-03', job_status='DONE', photon_flux_upper_limit='3.12e-08', time_completed='2026-06-09 16:36:03.113939', job_id='28173242', GAL2='1.11', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1781048163.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='931' AND source_name='4FGL J1740.6+5346' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 16:36:03 PDT 2026 ********** ** 18 **HESSE ********** FCN= 24265.83 FROM HESSE STATUS=OK 629 CALLS 2814 TOTAL EDM= .41E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 11.194 11.422 .29948E-03 -1.5641 2 Prefactor .0000 1.2550 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.9016 3.2897 .51054E-03 -1.5668 4 Prefactor 3.0121 1.7571 .58474E-03 -1.5673 5 Prefactor 9.8107 5.9652 .31966E-03 -1.5645 6 Prefactor .16653E-09 2.5853 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .0000 .13944 .21147E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 2.1681 3.1491 .69913E-03 -1.5679 9 norm .0000 .14940 .22185E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .71609E-08 4.5524 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .55511E-10 2.0788 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .78832 .87574 .53566E-03 -1.5690 13 Prefactor .93256 1.1545 .43459E-03 -1.5689 14 Prefactor .22204E-09 8.8960 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 5.0426 3.1344 .44732E-03 -1.5663 16 Prefactor 19.869 25.318 .23239E-03 -1.5619 17 Prefactor .11800 .80478 .45422E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .55511E-09 52.721 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .16098E-08 37.632 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 1.9485 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .17208E-08 5.5542 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 22.074 9.7236 .21299E-03 -1.5614 23 Prefactor .34417E-08 4.0856 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 4.9346 4.6709 .45284E-03 -1.5664 25 norm 8.0788 5.4586 .35280E-03 -1.5651 26 norm 25.502 7.9836 .19808E-03 -1.5607 27 Prefactor 9.9568 9.5010 .31782E-03 -1.5645 28 Normalizat 1.0102 .12247 .73432E-01 -.92690 29 Prefactor 1.1070 .87708E-01 .37319E-01 -.89244 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.10381e-07 Minuit parameter uncertainties: 1 11.422 2 1.01387e-05 3 3.28971 4 1.75708 5 5.96522 6 3.80014e-05 7 3.71215e-07 8 3.14908 9 6.62307e-07 10 0.000361479 11 2.09297e-05 12 0.875739 13 1.15448 14 8.48477e-05 15 3.13441 16 25.318 17 0.616315 18 0.000344915 19 0.00049533 20 1.30691e-05 21 0.000194144 22 9.72363 23 0.00023711 24 4.67092 25 5.4586 26 7.98365 27 9.50097 28 0.122502 29 0.0877196 outfile=/lscratch/kocevski/28173584/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits .....................! real 17.03 user 16.50 sys 0.21 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/28173584/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28173584/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits outfile=/lscratch/kocevski/28173584/expmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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/28173584/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits .....................! real 66.63 user 62.09 sys 3.97 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/28173584/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits scfile=/lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits outfile=/lscratch/kocevski/28173584/cmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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.48 user 0.22 sys 0.11 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/28173584/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits scfile=/lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits outfile=/lscratch/kocevski/28173584/cmap_HighResolution_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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.47 user 0.20 sys 0.15 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/28173584/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28173584/Model_4FGL_J1740.6+5346_weekly_bin931.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 sourceDone. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24265.8276398 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 5.551e-10 3.449e-04 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.107e+00 8.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: 1.010e+00 1.225e-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: 3.12098739689e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00237169926101 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/28173256/likelihoodResults_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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) = 24265.8373189 delta logL = -0.00967908364328 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24265.82764 delta logL = -1.99550413527e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .26366E-05 1.0000 .0000 .10000E+07 2 'Index ' 3.0750 1.0000 .0000 10.000 3 'Normalizat' 1.0101 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1070 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. FCN= 24265.83 FROM MIGRAD STATUS=CONVERGED 82 CALLS 265 TOTAL EDM= .49E-14 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 .53733E-01 .42118E-03** at limit ** 2 Index 2.0371 8.9407 .50000 -.18190E-10 3 Normalizat 1.0102 .10104E-03 .73432E-01 .34082E-03 4 Prefactor 1.1070 .74880E-04 .37326E-01 .69503E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.03709 Normalizat = 1.01018 Prefactor = 1.10697 ********** ** 18 **HESSE ********** FCN= 24265.83 FROM HESSE STATUS=NOT POSDEF 27 CALLS 292 TOTAL EDM= .26E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 .29141 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.0371 8.7440 .50000 -.63426 3 Normalizat 1.0102 .23462E-03 .32491E-03 -.92690 4 Prefactor 1.1070 .17415E-03 .23012E-03 -.89244 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.60333e-14 Minuit parameter uncertainties: 1 9.32544e-06 2 10516.6 3 0.000234623 4 0.000174148 GAL_V02 Working on... /lscratch/kocevski/28173566/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits.....................! real 69.73 user 68.09 sys 0.96 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28173566/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits', '/lscratch/kocevski/28173566/ft2_4FGL_J1740.6+5346_weekly_bin931.fits', expMap='/lscratch/kocevski/28173566/expmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits', expCube='/lscratch/kocevski/28173566/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28173566/Model_4FGL_J1740.6+5346_weekly_bin931.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/28173566/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits Spacecraft file(s): /lscratch/kocevski/28173566/ft2_4FGL_J1740.6+5346_weekly_bin931.fits Exposure map: /lscratch/kocevski/28173566/expmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits Exposure cube: /lscratch/kocevski/28173566/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28173566/Model_4FGL_J1740.6+5346_weekly_bin931.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) = 24265.905679 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24265.8295866 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 11.173 1.0000 .0000 .10000E+07 2 'Prefactor ' .16202E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 3.9018 1.0000 .0000 .10000E+07 4 'Prefactor ' 3.0101 1.0000 .0000 .10000E+07 5 'Prefactor ' 9.8124 1.0000 .0000 .10000E+07 6 'Prefactor ' .10343E-02 1.0000 .0000 .10000E+07 7 'norm ' .54290E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' 2.1681 1.0000 .0000 .10000E+07 9 'norm ' .39430E-06 1.0000 .0000 .10000E+07 10 'Prefactor ' .25246E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .32917E-04 1.0000 .0000 .10000E+07 12 'norm ' .79156 1.0000 .0000 .10000E+07 13 'Prefactor ' .93368 1.0000 .0000 .10000E+07 14 'Prefactor ' .22915E-02 1.0000 .0000 .10000E+07 15 'norm ' 5.0477 1.0000 .0000 .10000E+07 16 'Prefactor ' 18.531 1.0000 .0000 .10000E+07 17 'Prefactor ' .11550 1.0000 .0000 .10000E+07 18 'Prefactor ' .39320E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' .21314E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' .22263E-03 1.0000 .0000 .10000E+07 21 'norm ' .52546E-04 1.0000 .0000 .10000E+07 22 'Prefactor ' 22.055 1.0000 .0000 .10000E+07 23 'Prefactor ' .27302E-03 1.0000 .0000 .10000E+07 24 'norm ' 4.9279 1.0000 .0000 .10000E+07 25 'norm ' 8.0653 1.0000 .0000 .10000E+07 26 'norm ' 25.497 1.0000 .0000 .10000E+07 27 'Prefactor ' 9.9255 1.0000 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24265.8276398 delta logL = -6.91215973347e-11 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 5.551e-11 9.325e-06 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.037e+00 1.052e+04 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.107e+00 1.741e-04 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.010e+00 2.346e-04 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/28173256/cmap_HighResolution_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-03', job_status='DONE', photon_flux_upper_limit='3.12e-08', time_completed='2026-06-09 16:40:03.595224', job_id='28173256', GAL2='1.11', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1781048403.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='931' AND source_name='4FGL J1740.6+5346' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 16:40:03 PDT 2026 .0000 .10000E+07 28 'Normalizat' 1.0105 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.1072 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= 24265.83 FROM MIGRAD STATUS=CONVERGED 201 CALLS 2185 TOTAL EDM= .14E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 11.194 2.9405 -.10309E-06 .39515E-01 2 Prefactor .0000 1.2578 .67832E-07** at limit ** 3 Prefactor 3.9016 3.2938 -.16282E-06 -.71346E-03 4 Prefactor 3.0121 1.7419 .64759E-07 -.68382E-03 5 Prefactor 9.8107 5.9448 .34828E-07 -.89478E-03 6 Prefactor .16653E-09 2.5678 -.86751E-07** at limit ** 7 norm .0000 .27503 .28388E-07** at limit ** 8 Prefactor 2.1681 3.0964 .64778E-07 .50667E-03 9 norm .0000 .31421 -.21961E-06** at limit ** 10 Prefactor .71609E-08 2.5521 .28676E-06** at limit ** 11 Prefactor .55511E-10 2.0769 .19318E-07** at limit ** 12 norm .78832 .86415 .13450E-06 -.10197E-02 13 Prefactor .93256 1.1512 -.13560E-06 .59943E-03 14 Prefactor .22204E-09 8.8816 -.35364E-06** at limit ** 15 norm 5.0426 3.1133 -.12154E-06 -.25836E-03 16 Prefactor 19.869 25.249 .10314E-05 -.24769E-02 17 Prefactor .11800 2.8214 .16661E-06** at limit ** 18 Prefactor .55511E-09 52.823 .16893E-06** at limit ** 19 Prefactor .16098E-08 37.567 -.39690E-06** at limit ** 20 Prefactor .0000 1.9449 .75080E-07** at limit ** 21 norm .17208E-08 5.5743 .70978E-06** at limit ** 22 Prefactor 22.074 6.8505 .89618E-07 .20317E-01 23 Prefactor .34417E-08 3.3863 -.57525E-08** at limit ** 24 norm 4.9346 4.6659 -.21954E-06 -.62222E-03 25 norm 8.0788 5.4526 -.23638E-06 -.11316E-02 26 norm 25.502 7.7498 .38662E-06 .22842E-01 27 Prefactor 9.9568 4.0810 .30941E-08 .19506E-01 28 Normalizat 1.0102 .14340 .48206E-05 -.32264E-04 29 Prefactor 1.1070 .10361 -.11413E-05 -.18834E-04 ERR DEF= .500 Final values: norm = 11.1937 Prefactor = 0 Prefactor = 3.90161 Prefactor = 3.01205 Prefactor = 9.81069 Prefactor = 1.66533e-10 norm = 0 Prefactor = 2.16811 norm = 0 Prefactor = 7.16094e-09 Prefactor = 5.55112e-11 norm = 0.788325 Prefactor = 0.932556 Prefactor = 2.22045e-10 norm = 5.04264 Prefactor = 19.869 Prefactor = 0.117996 Prefactor = 5.55112e-10 Prefactor = 1.60982e-09 Prefactor = 0 norm = 1.72085e-09 Prefactor = 22.0737 Prefactor = 3.44169e-09 norm = 4.93462 norm = 8.07878 norm = 25.502 Prefactor = 9.95677 Normalizat = 1.01018 Prefactor = 1.10697 ********** ** 18 **HESSE ********** FCN= 24265.83 FROM HESSE STATUS=OK 629 CALLS 2814 TOTAL EDM= .41E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 11.194 11.422 .29948E-03 -1.5641 2 Prefactor .0000 1.2550 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.9016 3.2897 .51054E-03 -1.5668 4 Prefactor 3.0121 1.7571 .58474E-03 -1.5673 5 Prefactor 9.8107 5.9652 .31966E-03 -1.5645 6 Prefactor .16653E-09 2.5853 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .0000 .13944 .21147E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 2.1681 3.1491 .69913E-03 -1.5679 9 norm .0000 .14940 .22185E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .71609E-08 4.5524 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .55511E-10 2.0788 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .78832 .87574 .53566E-03 -1.5690 13 Prefactor .93256 1.1545 .43459E-03 -1.5689 14 Prefactor .22204E-09 8.8960 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 5.0426 3.1344 .44732E-03 -1.5663 16 Prefactor 19.869 25.318 .23239E-03 -1.5619 17 Prefactor .11800 .80478 .45422E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .55511E-09 52.721 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .16098E-08 37.632 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 1.9485 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .17208E-08 5.5542 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 22.074 9.7236 .21299E-03 -1.5614 23 Prefactor .34417E-08 4.0856 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 4.9346 4.6709 .45284E-03 -1.5664 25 norm 8.0788 5.4586 .35280E-03 -1.5651 26 norm 25.502 7.9836 .19808E-03 -1.5607 27 Prefactor 9.9568 9.5010 .31782E-03 -1.5645 28 Normalizat 1.0102 .12247 .73432E-01 -.92690 29 Prefactor 1.1070 .87708E-01 .37319E-01 -.89244 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.10381e-07 Minuit parameter uncertainties: 1 11.422 2 1.01387e-05 3 3.28971 4 1.75708 5 5.96522 6 3.80014e-05 7 3.71215e-07 8 3.14908 9 6.62307e-07 10 0.000361479 11 2.09297e-05 12 0.875739 13 1.15448 14 8.48477e-05 15 3.13441 16 25.318 17 0.616315 18 0.000344915 19 0.00049533 20 1.30691e-05 21 0.000194144 22 9.72363 23 0.00023711 24 4.67092 25 5.4586 26 7.98365 27 9.50097 28 0.122502 29 0.0877196 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24265.8276398 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 5.551e-10 3.449e-04 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.107e+00 8.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: 1.010e+00 1.225e-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: 3.12098739689e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00237169926101 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/28173566/likelihoodResults_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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) = 24265.8373189 delta logL = -0.00967908364328 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24265.82764 delta logL = -1.99550413527e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .26366E-05 1.0000 .0000 .10000E+07 2 'Index ' 3.0750 1.0000 .0000 10.000 3 'Normalizat' 1.0101 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1070 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. FCN= 24265.83 FROM MIGRAD STATUS=CONVERGED 82 CALLS 265 TOTAL EDM= .49E-14 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 .53733E-01 .42118E-03** at limit ** 2 Index 2.0371 8.9407 .50000 -.18190E-10 3 Normalizat 1.0102 .10104E-03 .73432E-01 .34082E-03 4 Prefactor 1.1070 .74880E-04 .37326E-01 .69503E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.03709 Normalizat = 1.01018 Prefactor = 1.10697 ********** ** 18 **HESSE ********** FCN= 24265.83 FROM HESSE STATUS=NOT POSDEF 27 CALLS 292 TOTAL EDM= .26E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 .29141 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.0371 8.7440 .50000 -.63426 3 Normalizat 1.0102 .23462E-03 .32491E-03 -.92690 4 Prefactor 1.1070 .17415E-03 .23012E-03 -.89244 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.60333e-14 Minuit parameter uncertainties: 1 9.32544e-06 2 10516.6 3 0.000234623 4 0.000174148 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24265.8276398 delta logL = -6.91215973347e-11 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 5.551e-11 9.325e-06 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.037e+00 1.052e+04 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.107e+00 1.741e-04 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.010e+00 2.346e-04 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/28173566/cmap_HighResolution_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-03', job_status='DONE', photon_flux_upper_limit='3.12e-08', time_completed='2026-06-09 16:44:52.400586', job_id='28173566', GAL2='1.11', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1781048692.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='931' AND source_name='4FGL J1740.6+5346' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 16:44:52 PDT 2026 GAL_V02 Working on... /lscratch/kocevski/28173584/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits.....................! real 73.30 user 71.39 sys 0.97 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/28173584/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits', '/lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits', expMap='/lscratch/kocevski/28173584/expmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits', expCube='/lscratch/kocevski/28173584/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28173584/Model_4FGL_J1740.6+5346_weekly_bin931.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/28173584/ft1_filtered_4FGL_J1740.6+5346_weekly_bin931.fits Spacecraft file(s): /lscratch/kocevski/28173584/ft2_4FGL_J1740.6+5346_weekly_bin931.fits Exposure map: /lscratch/kocevski/28173584/expmap_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits Exposure cube: /lscratch/kocevski/28173584/ltcube_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/28173584/Model_4FGL_J1740.6+5346_weekly_bin931.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) = 24265.905679 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24265.8295866 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 11.173 1.0000 .0000 .10000E+07 2 'Prefactor ' .16202E-04 1.0000 .0000 .10000E+07 3 'Prefactor ' 3.9018 1.0000 .0000 .10000E+07 4 'Prefactor ' 3.0101 1.0000 .0000 .10000E+07 5 'Prefactor ' 9.8124 1.0000 .0000 .10000E+07 6 'Prefactor ' .10343E-02 1.0000 .0000 .10000E+07 7 'norm ' .54290E-07 1.0000 .0000 .10000E+07 8 'Prefactor ' 2.1681 1.0000 .0000 .10000E+07 9 'norm ' .39430E-06 1.0000 .0000 .10000E+07 10 'Prefactor ' .25246E-04 1.0000 .0000 .10000E+07 11 'Prefactor ' .32917E-04 1.0000 .0000 .10000E+07 12 'norm ' .79156 1.0000 .0000 .10000E+07 13 'Prefactor ' .93368 1.0000 .0000 .10000E+07 14 'Prefactor ' .22915E-02 1.0000 .0000 .10000E+07 15 'norm ' 5.0477 1.0000 .0000 .10000E+07 16 'Prefactor ' 18.531 1.0000 .0000 .10000E+07 17 'Prefactor ' .11550 1.0000 .0000 .10000E+07 18 'Prefactor ' .39320E-02 1.0000 .0000 .10000E+07 19 'Prefactor ' .21314E-02 1.0000 .0000 .10000E+07 20 'Prefactor ' .22263E-03 1.0000 .0000 .10000E+07 21 'norm ' .52546E-04 1.0000 .0000 .10000E+07 22 'Prefactor ' 22.055 1.0000 .0000 .10000E+07 23 'Prefactor ' .27302E-03 1.0000 .0000 .10000E+07 24 'norm ' 4.9279 1.0000 .0000 .10000E+07 25 'norm ' 8.0653 1.0000 .0000 .10000E+07 26 'norm ' 25.497 1.0000 .0000 .10000E+07 27 'Prefactor ' 9.9255 1.0000 .0000 .10000E+07 28 'Normalizat' 1.0105 1.0000 .10000E-01 10.000 29 'Prefactor ' 1.1072 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= 24265.83 FROM MIGRAD STATUS=CONVERGED 201 CALLS 2185 TOTAL EDM= .14E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 11.194 2.9405 -.10309E-06 .39515E-01 2 Prefactor .0000 1.2578 .67832E-07** at limit ** 3 Prefactor 3.9016 3.2938 -.16282E-06 -.71346E-03 4 Prefactor 3.0121 1.7419 .64759E-07 -.68382E-03 5 Prefactor 9.8107 5.9448 .34828E-07 -.89478E-03 6 Prefactor .16653E-09 2.5678 -.86751E-07** at limit ** 7 norm .0000 .27503 .28388E-07** at limit ** 8 Prefactor 2.1681 3.0964 .64778E-07 .50667E-03 9 norm .0000 .31421 -.21961E-06** at limit ** 10 Prefactor .71609E-08 2.5521 .28676E-06** at limit ** 11 Prefactor .55511E-10 2.0769 .19318E-07** at limit ** 12 norm .78832 .86415 .13450E-06 -.10197E-02 13 Prefactor .93256 1.1512 -.13560E-06 .59943E-03 14 Prefactor .22204E-09 8.8816 -.35364E-06** at limit ** 15 norm 5.0426 3.1133 -.12154E-06 -.25836E-03 16 Prefactor 19.869 25.249 .10314E-05 -.24769E-02 17 Prefactor .11800 2.8214 .16661E-06** at limit ** 18 Prefactor .55511E-09 52.823 .16893E-06** at limit ** 19 Prefactor .16098E-08 37.567 -.39690E-06** at limit ** 20 Prefactor .0000 1.9449 .75080E-07** at limit ** 21 norm .17208E-08 5.5743 .70978E-06** at limit ** 22 Prefactor 22.074 6.8505 .89618E-07 .20317E-01 23 Prefactor .34417E-08 3.3863 -.57525E-08** at limit ** 24 norm 4.9346 4.6659 -.21954E-06 -.62222E-03 25 norm 8.0788 5.4526 -.23638E-06 -.11316E-02 26 norm 25.502 7.7498 .38662E-06 .22842E-01 27 Prefactor 9.9568 4.0810 .30941E-08 .19506E-01 28 Normalizat 1.0102 .14340 .48206E-05 -.32264E-04 29 Prefactor 1.1070 .10361 -.11413E-05 -.18834E-04 ERR DEF= .500 Final values: norm = 11.1937 Prefactor = 0 Prefactor = 3.90161 Prefactor = 3.01205 Prefactor = 9.81069 Prefactor = 1.66533e-10 norm = 0 Prefactor = 2.16811 norm = 0 Prefactor = 7.16094e-09 Prefactor = 5.55112e-11 norm = 0.788325 Prefactor = 0.932556 Prefactor = 2.22045e-10 norm = 5.04264 Prefactor = 19.869 Prefactor = 0.117996 Prefactor = 5.55112e-10 Prefactor = 1.60982e-09 Prefactor = 0 norm = 1.72085e-09 Prefactor = 22.0737 Prefactor = 3.44169e-09 norm = 4.93462 norm = 8.07878 norm = 25.502 Prefactor = 9.95677 Normalizat = 1.01018 Prefactor = 1.10697 ********** ** 18 **HESSE ********** FCN= 24265.83 FROM HESSE STATUS=OK 629 CALLS 2814 TOTAL EDM= .41E-06 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 11.194 11.422 .29948E-03 -1.5641 2 Prefactor .0000 1.2550 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 3 Prefactor 3.9016 3.2897 .51054E-03 -1.5668 4 Prefactor 3.0121 1.7571 .58474E-03 -1.5673 5 Prefactor 9.8107 5.9652 .31966E-03 -1.5645 6 Prefactor .16653E-09 2.5853 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 norm .0000 .13944 .21147E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 Prefactor 2.1681 3.1491 .69913E-03 -1.5679 9 norm .0000 .14940 .22185E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 Prefactor .71609E-08 4.5524 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor .55511E-10 2.0788 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 12 norm .78832 .87574 .53566E-03 -1.5690 13 Prefactor .93256 1.1545 .43459E-03 -1.5689 14 Prefactor .22204E-09 8.8960 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 15 norm 5.0426 3.1344 .44732E-03 -1.5663 16 Prefactor 19.869 25.318 .23239E-03 -1.5619 17 Prefactor .11800 .80478 .45422E-02 -1.5701 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor .55511E-09 52.721 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 19 Prefactor .16098E-08 37.632 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 20 Prefactor .0000 1.9485 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .17208E-08 5.5542 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 Prefactor 22.074 9.7236 .21299E-03 -1.5614 23 Prefactor .34417E-08 4.0856 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 norm 4.9346 4.6709 .45284E-03 -1.5664 25 norm 8.0788 5.4586 .35280E-03 -1.5651 26 norm 25.502 7.9836 .19808E-03 -1.5607 27 Prefactor 9.9568 9.5010 .31782E-03 -1.5645 28 Normalizat 1.0102 .12247 .73432E-01 -.92690 29 Prefactor 1.1070 .87708E-01 .37319E-01 -.89244 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 4.10381e-07 Minuit parameter uncertainties: 1 11.422 2 1.01387e-05 3 3.28971 4 1.75708 5 5.96522 6 3.80014e-05 7 3.71215e-07 8 3.14908 9 6.62307e-07 10 0.000361479 11 2.09297e-05 12 0.875739 13 1.15448 14 8.48477e-05 15 3.13441 16 25.318 17 0.616315 18 0.000344915 19 0.00049533 20 1.30691e-05 21 0.000194144 22 9.72363 23 0.00023711 24 4.67092 25 5.4586 26 7.98365 27 9.50097 28 0.122502 29 0.0877196 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 24265.8276398 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 5.551e-10 3.449e-04 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.107e+00 8.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: 1.010e+00 1.225e-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: 3.12098739689e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00237169926101 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/28173584/likelihoodResults_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.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) = 24265.8373189 delta logL = -0.00967908364328 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24265.82764 delta logL = -1.99550413527e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .26366E-05 1.0000 .0000 .10000E+07 2 'Index ' 3.0750 1.0000 .0000 10.000 3 'Normalizat' 1.0101 1.0000 .10000E-01 10.000 4 'Prefactor ' 1.1070 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. FCN= 24265.83 FROM MIGRAD STATUS=CONVERGED 82 CALLS 265 TOTAL EDM= .49E-14 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .55511E-10 .53733E-01 .42118E-03** at limit ** 2 Index 2.0371 8.9407 .50000 -.18190E-10 3 Normalizat 1.0102 .10104E-03 .73432E-01 .34082E-03 4 Prefactor 1.1070 .74880E-04 .37326E-01 .69503E-03 ERR DEF= .500 Final values: Prefactor = 5.55112e-11 Index = 2.03709 Normalizat = 1.01018 Prefactor = 1.10697 ********** ** 18 **HESSE ********** FCN= 24265.83 FROM HESSE STATUS=NOT POSDEF 27 CALLS 292 TOTAL EDM= .26E-13 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .55511E-10 .29141 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index 2.0371 8.7440 .50000 -.63426 3 Normalizat 1.0102 .23462E-03 .32491E-03 -.92690 4 Prefactor 1.1070 .17415E-03 .23012E-03 -.89244 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.60333e-14 Minuit parameter uncertainties: 1 9.32544e-06 2 10516.6 3 0.000234623 4 0.000174148 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 24265.8276398 delta logL = -6.91215973347e-11 Extracting fit parameters... 4FGL J1740.6+5346 Spectrum: PowerLaw 372 Prefactor: 5.551e-11 9.325e-06 0.000e+00 1.000e+06 ( 1.000e-14) 373 Index: 2.037e+00 1.052e+04 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.107e+00 1.741e-04 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.010e+00 2.346e-04 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/28173584/cmap_HighResolution_802051201_802656001_4FGL_J1740.6+5346_weekly_bin931.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.37e-03', job_status='DONE', photon_flux_upper_limit='3.12e-08', time_completed='2026-06-09 16:59:06.996770', job_id='28173584', GAL2='1.11', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1781049547.0', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='-6.91e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='931' AND source_name='4FGL J1740.6+5346' AND cadence='weekly'; Database successfully updated. Analysis Complete. Tue Jun 9 16:59:07 PDT 2026