********** ** 18 **HESSE ********** FCN= 8389.274 FROM HESSE STATUS=NOT POSDEF 25 CALLS 308 TOTAL EDM= .26E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27200E-08 46.316 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .71596 5.0775 .50000 -1.0290 3 Normalizat 1.4362 .95441E-02 .26900E-03 -.79588 4 Prefactor .68524 .58755E-02 .22904E-03 -1.0411 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.55283e-11 Minuit parameter uncertainties: 1 0.000707992 2 94476.5 3 0.00954415 4 0.00587546 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8389.27395331 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 5.551e-11 7.026e-05 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 6.852e-01 1.165e-01 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.436e+00 1.961e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 6.44993426445e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00502195933866 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/35826811/likelihoodResults_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.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) = 8389.2947872 delta logL = -0.0208338885022 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8389.27395355 delta logL = -2.39966539084e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .73163E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.9447 1.0000 .0000 10.000 3 'Normalizat' 1.4362 1.0000 .10000E-01 10.000 4 'Prefactor ' .68519 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8389.274 FROM MIGRAD STATUS=CONVERGED 71 CALLS 283 TOTAL EDM= .51E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .27200E-08 9.3436 .42118E-03** at limit ** 2 Index .71596 9.3704 .50000 -.77307E-09 3 Normalizat 1.4362 .42768E-02 .60823E-01 -.88284E-03 4 Prefactor .68524 .26324E-02 .42204E-01 -.12487E-02 ERR DEF= .500 Final values: Prefactor = 2.72005e-09 Index = 0.71596 Normalizat = 1.43617 Prefactor = 0.68524 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory ********** ** 18 **HESSE ********** FCN= 8389.274 FROM HESSE STATUS=NOT POSDEF 25 CALLS 308 TOTAL EDM= .26E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27200E-08 46.316 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .71596 5.0775 .50000 -1.0290 3 Normalizat 1.4362 .95441E-02 .26900E-03 -.79588 4 Prefactor .68524 .58755E-02 .22904E-03 -1.0411 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.55283e-11 Minuit parameter uncertainties: 1 0.000707992 2 94476.5 3 0.00954415 4 0.00587546 Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8389.27395331 delta logL = -6.5665517468e-10 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 2.720e-09 7.080e-04 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 7.160e-01 9.448e+04 0.000e+00 1.000e+01 (-1.000e+00) 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 6.852e-01 5.875e-03 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.436e+00 9.544e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 264.560 40.010 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/35826809/cmap_HighResolution_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2026-08-25 13:53:51.848622', job_id='35826809', GAL2='0.69', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1787691231.85', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='-6.57e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2198' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Aug 25 13:53:51 PDT 2026 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) = 8389.27395331 delta logL = -6.5665517468e-10 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 2.720e-09 7.080e-04 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 7.160e-01 9.448e+04 0.000e+00 1.000e+01 (-1.000e+00) 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 6.852e-01 5.875e-03 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.436e+00 9.544e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 264.560 40.010 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/35826811/cmap_HighResolution_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2026-08-25 13:53:53.977947', job_id='35826811', GAL2='0.69', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1787691233.98', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='-6.57e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2198' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Aug 25 13:53:54 PDT 2026 /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 = 7443 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_daily_bin2198 RA = 264.56, Dec = 40.0099 tmin = 809049601, tmax = 809308801 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='35827552', job_status='RUN', time_executed='2026-08-25 13:54:00.133944', time_epoch_executed='1787691240.13' WHERE source_name='4FGL J1738.2+4000' and cadence='daily' and bin_id='2198' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/35827552 Creating custom pfile directory: /lscratch/kocevski/35827552/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=809049601.0 && nMetStart<809308801.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=809049601.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/35827552/ft1_4FGL_J1738.2+4000_daily_bin2198.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=809049601.0 && nMetStart<809308801.0' /Data/Flight/Level1/LPA Retrieving 46 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/35827552/ft1_4FGL_J1738.2+4000_daily_bin2198.fits outfile=/lscratch/kocevski/35827552/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin2198.fits ra=264.56 dec=40.0099 rad=12.0 tmin=809049601.0 tmax=809308801.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 2.62 user 2.24 sys 0.19 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.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/35827552/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin2198.fits evtable="EVENTS" outfile="/lscratch/kocevski/35827552/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.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.22 sys 0.11 Number of photons that the gtmktime cut: 796 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/35827552/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits" evtable="EVENTS" scfile=/lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits sctable="SC_DATA" outfWorking on... /lscratch/kocevski/35827093/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits.....................! real 31.07 user 28.89 sys 1.19 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/35827093/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits', '/lscratch/kocevski/35827093/ft2_4FGL_J1738.2+4000_daily_bin2198.fits', expMap='/lscratch/kocevski/35827093/expmap_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits', expCube='/lscratch/kocevski/35827093/ltcube_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35827093/Model_4FGL_J1738.2+4000_daily_bin2198.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1738.2+4000' 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 6.394e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/35827093/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits Spacecraft file(s): /lscratch/kocevski/35827093/ft2_4FGL_J1738.2+4000_daily_bin2198.fits Exposure map: /lscratch/kocevski/35827093/expmap_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits Exposure cube: /lscratch/kocevski/35827093/ltcube_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/35827093/Model_4FGL_J1738.2+4000_daily_bin2198.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) = 8389.36220238 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8389.277955 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .32555E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.3142 1.0000 .0000 .10000E+07 3 'Prefactor ' .96589E-08 1.0000 .0000 .10000E+07 4 'Prefactor ' .15949E-05 1.0000 .0000 .10000E+07 5 'norm ' 4.1159 1.0000 .0000 .10000E+07 6 'norm ' .68966 1.0000 .0000 .10000E+07 7 'Prefactor ' .58364E-04 1.0000 .0000 .10000E+07 8 'norm ' .12212E-08 1.0000 .0000 .10000E+07 9 'norm ' .12437E-03 1.0000 .0000 .10000E+07 10 'norm ' .45597E-05 1.0000 .0000 .10000E+07 11 'Prefactor ' 7.6187 1.0000 .0000 .10000E+07 12 'norm ' 36.714 1.0000 .0000 .10000E+07 13 'Prefactor ' .19043E-01 1.0000 .0000 .10000E+07 14 'Prefactor ' 42.496 1.0000 .0000 .10000E+07 15 'norm ' 1.3905 1.0000 .0000 .10000E+07 16 'Prefactor ' .47072E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' .29988E-01 1.0000 .0000 .10000E+07 18 'Prefactor ' 10.618 1.0000 .0000 .10000E+07 19 'Prefactor ' 45.471 1.0000 .0000 .10000E+07 20 'Prefactor ' .24028E-02 1.0000 .0000 .10000E+07 21 'norm ' .36360E-07 1.0000 .0000 .10000E+07 22 'norm ' .52155 1.0000 .0000 .10000E+07 23 'norm ' .42598E-04 1.0000 .0000 .10000E+07 24 'Prefactor ' .23811E-05 1.0000 .0000 .10000E+07 25 'Prefactor ' 9.6500 1.0000 .0000 .10000E+07 26 'Normalizat' 1.4348 1.0000 .10000E-01 10.000 27 'Prefactor ' .68521 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 8389.274 FROM MIGRAD STATUS=CONVERGED 230 CALLS 2448 TOTAL EDM= .28E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 16.311 .42920E-07** at limit ** 2 Prefactor 2.3128 1.1499 -.48105E-07 .22316E-02 3 Prefactor .0000 2.5696 .75825E-07** at limit ** 4 Prefactor .0000 1.5991 -.62965E-07** at limit ** 5 norm 4.1138 1.9260 .93742E-08 -.74673E-04 6 norm .68762 .65618 -.65692E-07 .19518E-02 7 Prefactor .0000 1.7163 .14662E-06** at limit ** 8 norm .0000 .66805 .32135E-07** at limit ** 9 norm .0000 5.5477 -.80591E-07** at limit ** 10 norm .0000 4.8949 .87300E-09** at limit ** 11 Prefactor 7.6436 3.9409 .72306E-07 -.12623E-02 12 norm 36.709 8.1195 .24425E-10 .39910E-03 13 Prefactor .55511E-10 22.906 -.56463E-06** at limit ** 14 Prefactor 37.740 99.313 .64261E-06 .69600E-04 15 norm 1.3817 4.9255 .32880E-06 -.56519E-03 16 Prefactor .0000 12.222 .18100E-07** at limit ** 17 Prefactor .83267E-09 34.083 .21138E-05** at limit ** 18 Prefactor 10.645 8.5099 -.13373E-06 .17291E-03 19 Prefactor 44.923 36.593 -.39393E-06 .29461E-03 20 Prefactor .0000 170.81 .89089E-06** at limit ** 21 norm .0000 .63252 -.50611E-07** at limit ** 22 norm .55511E-10 176.24 -.31440E-06** at limit ** 23 norm .0000 2.1212 .56731E-07** at limit ** 24 Prefactor .0000 2.5776 .19627E-06** at limit ** 25 Prefactor 9.7024 5.2838 -.27226E-07 .46785E-03 26 Normalizat 1.4362 .23181 .30876E-05 .86216E-05 27 Prefactor .68524 .13920 -.33147E-05 .43082E-04 ERR DEF= .500 Final values: norm = 0 Prefactor = 2.31284 Prefactor = 0 Prefactor = 0 norm = 4.11375 norm = 0.687624 Prefactor = 0 norm = 0 norm = 0 norm = 0 Prefactor = 7.64361 norm = 36.7085 Prefactor = 5.55112e-11 Prefactor = 37.7396 norm = 1.3817 Prefactor = 0 Prefactor = 8.32667e-10 Prefactor = 10.6453 Prefactor = 44.9225 Prefactor = 0 norm = 0 norm = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 9.70241 Normalizat = 1.43617 Prefactor = 0.685242 ********** ** 18 **HESSE ********** FCN= 8389.274 FROM HESSE STATUS=OK 560 CALLS 3008 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 16.291 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.3128 1.3345 .67411E-03 -1.5678 3 Prefactor .0000 .97842 .25527E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 1.5839 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.1138 1.9362 .49665E-03 -1.5667 6 norm .68762 .65392 .61552E-03 -1.5691 7 Prefactor .0000 1.7174 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 .32171 .18424E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 5.5357 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .0000 .87719 .31286E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 7.6436 3.9585 .36308E-03 -1.5653 12 norm 36.709 8.1169 .16506E-03 -1.5587 13 Prefactor .55511E-10 22.906 .17100E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 37.740 101.69 .15341E-03 -1.5585 15 norm 1.3817 4.9502 .92124E-03 -1.5684 16 Prefactor .0000 12.228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .83267E-09 10.023 .91005E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 10.645 8.5279 .30723E-03 -1.5643 19 Prefactor 44.923 36.644 .14831E-03 -1.5574 20 Prefactor .0000 171.81 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .0000 .63284 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .55511E-10 175.21 .76571E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .0000 2.1219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .0000 2.5757 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 9.7024 5.2870 .32235E-03 -1.5646 26 Normalizat 1.4362 .19599 .60823E-01 -.79588 27 Prefactor .68524 .11644 .42204E-01 -1.0411 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.2374e-06 Minuit parameter uncertainties: 1 4.5782e-06 2 1.33455 3 2.48053e-07 4 1.65894e-06 5 1.93619 6 0.653921 7 4.62238e-06 8 6.01821e-07 9 3.08078e-06 10 2.81492e-07 11 3.95854 12 8.11687 13 7.02577e-05 14 101.697 15 4.95018 16 2.47335e-06 17 0.000183981 18 8.52788 19 36.6441 20 6.94147e-05 21 1.05685e-06 22 0.000223275 23 2.0766e-06 24 7.27574e-06 25 5.28702 26 0.196096 27 0.116481 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8389.27395331 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 5.551e-11 7.026e-05 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 6.852e-01 1.165e-01 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.436e+00 1.961e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 6.44993426445e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00502195933866 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/35827093/likelihoodResults_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.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) = 8389.2947872 delta logL = -0.0208338885022 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8389.27395355 delta logL = -2.39966539084e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .73163E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.9447 1.0000 .0000 10.000 3 'Normalizat' 1.4362 1.0000 .10000E-01 10.000 4 'Prefactor ' .68519 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8389.274 FROM MIGRAD STATUS=CONVERGED 71 CALLS 283 TOTAL EDM= .51E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .27200E-08 9.3436 .42118E-03** at limit ** 2 Index .71596 9.3704 .50000 -.77307E-09 3 Normalizat 1.4362 .42768E-02 .60823E-01 -.88284E-03 4 Prefactor .68524 .26324E-02 .42204E-01 -.12487E-02 ERR DEF= .500 Final values: Prefactor = 2.72005e-09 Index = 0.71596 Normalizat = 1.43617 Prefactor = 0.68524 ********** ** 18 **HESSE ********** FCN= 8389.274 FROM HESSE STATUS=NOT POSDEF 25 CALLS 308 TOTAL EDM= .26E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27200E-08 46.316 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .71596 5.0775 .50000 -1.0290 3 Normalizat 1.4362 .95441E-02 .26900E-03 -.79588 4 Prefactor .68524 .58755E-02 .22904E-03 -1.0411 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.55283e-11 Minuit parameter uncertainties: 1 0.000707992 2 94476.5 3 0.00954415 4 0.00587546 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) = 8389.27395331 delta logL = -6.5665517468e-10 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 2.720e-09 7.080e-04 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 7.160e-01 9.448e+04 0.000e+00 1.000e+01 (-1.000e+00) 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 6.852e-01 5.875e-03 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.436e+00 9.544e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 264.560 40.010 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/35827093/cmap_HighResolution_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2026-08-25 13:56:20.102849', job_id='35827093', GAL2='0.69', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1787691380.1', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='-6.57e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2198' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Aug 25 13:56:20 PDT 2026 ile=/lscratch/kocevski/35827552/ltcube_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.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/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits .....................! real 9.32 user 8.76 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/35827552/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits evtable="EVENTS" scfile=/lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits sctable="SC_DATA" expcube=/lscratch/kocevski/35827552/ltcube_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits outfile=/lscratch/kocevski/35827552/expmap_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.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/35827552/ltcube_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits .....................! real 77.46 user 72.05 sys 4.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 210 point sources and 0 extended sources Setting source of interest to: 4FGL J1738.2+4000 @ 264.56 40.0099 Creating the counts map: time -p gtbin evfile=/lscratch/kocevski/35827552/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits scfile=/lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits outfile=/lscratch/kocevski/35827552/cmap_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.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=264.56 yref=40.0099 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). This is gtbin version HEAD real 0.67 user 0.24 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/35827552/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits scfile=/lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits outfile=/lscratch/kocevski/35827552/cmap_HighResolution_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.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=264.56 yref=40.0099 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.54 user 0.24 sys 0.11 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/35827552/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits evtable="EVENTS" scfile=/lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/35827552/Model_4FGL_J1738.2+4000_daily_bin2198.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/35827552/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits.....................! real 32.50 user 30.91 sys 1.04 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/35827552/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits', '/lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits', expMap='/lscratch/kocevski/35827552/expmap_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits', expCube='/lscratch/kocevski/35827552/ltcube_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/35827552/Model_4FGL_J1738.2+4000_daily_bin2198.xml', optimizer='MINUIT') Using source of interest name: '4FGL J1738.2+4000' 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 6.394e+00 0.000e+00 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed Likelihood Fit Parameters: Event file(s): /lscratch/kocevski/35827552/ft1_filtered_4FGL_J1738.2+4000_daily_bin2198.fits Spacecraft file(s): /lscratch/kocevski/35827552/ft2_4FGL_J1738.2+4000_daily_bin2198.fits Exposure map: /lscratch/kocevski/35827552/expmap_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits Exposure cube: /lscratch/kocevski/35827552/ltcube_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/35827552/Model_4FGL_J1738.2+4000_daily_bin2198.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) = 8389.36220238 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8389.277955 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' .32555E-02 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.3142 1.0000 .0000 .10000E+07 3 'Prefactor ' .96589E-08 1.0000 .0000 .10000E+07 4 'Prefactor ' .15949E-05 1.0000 .0000 .10000E+07 5 'norm ' 4.1159 1.0000 .0000 .10000E+07 6 'norm ' .68966 1.0000 .0000 .10000E+07 7 'Prefactor ' .58364E-04 1.0000 .0000 .10000E+07 8 'norm ' .12212E-08 1.0000 .0000 .10000E+07 9 'norm ' .12437E-03 1.0000 .0000 .10000E+07 10 'norm ' .45597E-05 1.0000 .0000 .10000E+07 11 'Prefactor ' 7.6187 1.0000 .0000 .10000E+07 12 'norm ' 36.714 1.0000 .0000 .10000E+07 13 'Prefactor ' .19043E-01 1.0000 .0000 .10000E+07 14 'Prefactor ' 42.496 1.0000 .0000 .10000E+07 15 'norm ' 1.3905 1.0000 .0000 .10000E+07 16 'Prefactor ' .47072E-03 1.0000 .0000 .10000E+07 17 'Prefactor ' .29988E-01 1.0000 .0000 .10000E+07 18 'Prefactor ' 10.618 1.0000 .0000 .10000E+07 19 'Prefactor ' 45.471 1.0000 .0000 .10000E+07 20 'Prefactor ' .24028E-02 1.0000 .0000 .10000E+07 21 'norm ' .36360E-07 1.0000 .0000 .10000E+07 22 'norm ' .52155 1.0000 .0000 .10000E+07 23 'norm ' .42598E-04 1.0000 .0000 .10000E+07 24 'Prefactor ' .23811E-05 1.0000 .0000 .10000E+07 25 'Prefactor ' 9.6500 1.0000 .0000 .10000E+07 26 'Normalizat' 1.4348 1.0000 .10000E-01 10.000 27 'Prefactor ' .68521 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 8389.274 FROM MIGRAD STATUS=CONVERGED 230 CALLS 2448 TOTAL EDM= .28E-10 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 1.4% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm .0000 16.311 .42920E-07** at limit ** 2 Prefactor 2.3128 1.1499 -.48105E-07 .22316E-02 3 Prefactor .0000 2.5696 .75825E-07** at limit ** 4 Prefactor .0000 1.5991 -.62965E-07** at limit ** 5 norm 4.1138 1.9260 .93742E-08 -.74673E-04 6 norm .68762 .65618 -.65692E-07 .19518E-02 7 Prefactor .0000 1.7163 .14662E-06** at limit ** 8 norm .0000 .66805 .32135E-07** at limit ** 9 norm .0000 5.5477 -.80591E-07** at limit ** 10 norm .0000 4.8949 .87300E-09** at limit ** 11 Prefactor 7.6436 3.9409 .72306E-07 -.12623E-02 12 norm 36.709 8.1195 .24425E-10 .39910E-03 13 Prefactor .55511E-10 22.906 -.56463E-06** at limit ** 14 Prefactor 37.740 99.313 .64261E-06 .69600E-04 15 norm 1.3817 4.9255 .32880E-06 -.56519E-03 16 Prefactor .0000 12.222 .18100E-07** at limit ** 17 Prefactor .83267E-09 34.083 .21138E-05** at limit ** 18 Prefactor 10.645 8.5099 -.13373E-06 .17291E-03 19 Prefactor 44.923 36.593 -.39393E-06 .29461E-03 20 Prefactor .0000 170.81 .89089E-06** at limit ** 21 norm .0000 .63252 -.50611E-07** at limit ** 22 norm .55511E-10 176.24 -.31440E-06** at limit ** 23 norm .0000 2.1212 .56731E-07** at limit ** 24 Prefactor .0000 2.5776 .19627E-06** at limit ** 25 Prefactor 9.7024 5.2838 -.27226E-07 .46785E-03 26 Normalizat 1.4362 .23181 .30876E-05 .86216E-05 27 Prefactor .68524 .13920 -.33147E-05 .43082E-04 ERR DEF= .500 Final values: norm = 0 Prefactor = 2.31284 Prefactor = 0 Prefactor = 0 norm = 4.11375 norm = 0.687624 Prefactor = 0 norm = 0 norm = 0 norm = 0 Prefactor = 7.64361 norm = 36.7085 Prefactor = 5.55112e-11 Prefactor = 37.7396 norm = 1.3817 Prefactor = 0 Prefactor = 8.32667e-10 Prefactor = 10.6453 Prefactor = 44.9225 Prefactor = 0 norm = 0 norm = 5.55112e-11 norm = 0 Prefactor = 0 Prefactor = 9.70241 Normalizat = 1.43617 Prefactor = 0.685242 ********** ** 18 **HESSE ********** FCN= 8389.274 FROM HESSE STATUS=OK 560 CALLS 3008 TOTAL EDM= .22E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm .0000 16.291 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Prefactor 2.3128 1.3345 .67411E-03 -1.5678 3 Prefactor .0000 .97842 .25527E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 1.5839 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.1138 1.9362 .49665E-03 -1.5667 6 norm .68762 .65392 .61552E-03 -1.5691 7 Prefactor .0000 1.7174 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 8 norm .0000 .32171 .18424E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 9 norm .0000 5.5357 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .0000 .87719 .31286E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 7.6436 3.9585 .36308E-03 -1.5653 12 norm 36.709 8.1169 .16506E-03 -1.5587 13 Prefactor .55511E-10 22.906 .17100E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 14 Prefactor 37.740 101.69 .15341E-03 -1.5585 15 norm 1.3817 4.9502 .92124E-03 -1.5684 16 Prefactor .0000 12.228 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 17 Prefactor .83267E-09 10.023 .91005E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 18 Prefactor 10.645 8.5279 .30723E-03 -1.5643 19 Prefactor 44.923 36.644 .14831E-03 -1.5574 20 Prefactor .0000 171.81 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .0000 .63284 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .55511E-10 175.21 .76571E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm .0000 2.1219 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 24 Prefactor .0000 2.5757 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 25 Prefactor 9.7024 5.2870 .32235E-03 -1.5646 26 Normalizat 1.4362 .19599 .60823E-01 -.79588 27 Prefactor .68524 .11644 .42204E-01 -1.0411 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.2374e-06 Minuit parameter uncertainties: 1 4.5782e-06 2 1.33455 3 2.48053e-07 4 1.65894e-06 5 1.93619 6 0.653921 7 4.62238e-06 8 6.01821e-07 9 3.08078e-06 10 2.81492e-07 11 3.95854 12 8.11687 13 7.02577e-05 14 101.697 15 4.95018 16 2.47335e-06 17 0.000183981 18 8.52788 19 36.6441 20 6.94147e-05 21 1.05685e-06 22 0.000223275 23 2.0766e-06 24 7.27574e-06 25 5.28702 26 0.196096 27 0.116481 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8389.27395331 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 5.551e-11 7.026e-05 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.517e+00 0.000e+00 0.000e+00 1.000e+01 (-1.000e+00) fixed 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 6.852e-01 1.165e-01 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.436e+00 1.961e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.00 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 6.44993426445e-08 ph cm-2 s-1 Energy Flux Upper Limit: 0.00502195933866 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/35827552/likelihoodResults_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.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) = 8389.2947872 delta logL = -0.0208338885022 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 102 logL (Free Index) = 8389.27395355 delta logL = -2.39966539084e-07 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' .73163E-05 1.0000 .0000 .10000E+07 2 'Index ' 1.9447 1.0000 .0000 10.000 3 'Normalizat' 1.4362 1.0000 .10000E-01 10.000 4 'Prefactor ' .68519 1.0000 .0000 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8389.274 FROM MIGRAD STATUS=CONVERGED 71 CALLS 283 TOTAL EDM= .51E-11 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor .27200E-08 9.3436 .42118E-03** at limit ** 2 Index .71596 9.3704 .50000 -.77307E-09 3 Normalizat 1.4362 .42768E-02 .60823E-01 -.88284E-03 4 Prefactor .68524 .26324E-02 .42204E-01 -.12487E-02 ERR DEF= .500 Final values: Prefactor = 2.72005e-09 Index = 0.71596 Normalizat = 1.43617 Prefactor = 0.68524 ********** ** 18 **HESSE ********** FCN= 8389.274 FROM HESSE STATUS=NOT POSDEF 25 CALLS 308 TOTAL EDM= .26E-10 STRATEGY= 1 ERR MATRIX NOT POS-DEF EXT PARAMETER APPROXIMATE INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor .27200E-08 46.316 .84235E-04 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 2 Index .71596 5.0775 .50000 -1.0290 3 Normalizat 1.4362 .95441E-02 .26900E-03 -.79588 4 Prefactor .68524 .58755E-02 .22904E-03 -1.0411 ERR DEF= .500 Minuit fit quality: 2 estimated distance: 2.55283e-11 Minuit parameter uncertainties: 1 0.000707992 2 94476.5 3 0.00954415 4 0.00587546 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) = 8389.27395331 delta logL = -6.5665517468e-10 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 2.720e-09 7.080e-04 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 7.160e-01 9.448e+04 0.000e+00 1.000e+01 (-1.000e+00) 328 Scale: 1.525e+03 0.000e+00 3.000e+01 5.000e+05 ( 1.000e+00) fixed GAL_V02 Spectrum: PowerLaw 681 Prefactor: 6.852e-01 5.875e-03 0.000e+00 1.000e+01 ( 1.000e+00) 682 Index: 0.000e+00 0.000e+00 -1.000e+00 1.000e+00 ( 1.000e+00) fixed 683 Scale: 1.000e+02 0.000e+00 5.000e+01 2.000e+02 ( 1.000e+00) fixed EG_v02 Spectrum: FileFunction 680 Normalization: 1.436e+00 9.544e-03 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.00 Ra Dec: 264.560 40.010 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/35827552/cmap_HighResolution_809049601_809308801_4FGL_J1738.2+4000_daily_bin2198.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.02e-03', job_status='DONE', photon_flux_upper_limit='6.45e-08', time_completed='2026-08-25 14:01:10.438816', job_id='35827552', GAL2='0.69', fit_tolerance='1e-08', EG2='1.44', EG='1.44', time_epoch_completed='1787691670.44', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.69', dlogl='-6.57e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2198' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Aug 25 14:01:10 PDT 2026