10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 8461.961 FROM MIGRAD STATUS=CONVERGED 202 CALLS 1528 TOTAL EDM= .28E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 31.252 20.759 .10081E-06 .24622E-01 2 Prefactor 2.2946 .97468 .85996E-07 -.47829E-02 3 Prefactor .0000 .57604 .21753E-06** at limit ** 4 Prefactor .0000 .89433 -.54979E-06** at limit ** 5 norm 4.1192 1.6432 .11933E-06 -.42394E-02 6 norm .0000 .22630 -.77384E-07** at limit ** 7 Prefactor 1.1457 6.3176 -.59095E-06 -.38340E-03 8 norm .28153 .49317 .71275E-07 .46537E-03 9 norm .0000 4.6618 .49684E-06** at limit ** 10 norm .55511E-10 1.9607 -.69909E-06** at limit ** 11 Prefactor 5.2610 3.5052 -.47048E-06 -.60570E-03 12 norm .16653E-09 5.9947 .53773E-06** at limit ** 13 Prefactor 45.742 18.165 -.20536E-05 .10022 14 Prefactor 10.215 179.76 -.49890E-05 -.61629E-02 15 norm 1.4432 4.4557 .37109E-07 .57099E-04 16 Prefactor 38.603 27.491 -.22522E-05 -.16070E-01 17 Prefactor 36.910 16.415 .55143E-06 .44964E-02 18 Prefactor 8.8602 6.8308 -.12213E-06 -.75665E-04 19 Prefactor 3.3886 54.535 -.10544E-04 -.12530E-01 20 Prefactor .11102E-09 45.265 -.75437E-06** at limit ** 21 norm .29421E-08 19.552 .70998E-06** at limit ** 22 norm .27756E-09 20.550 .11449E-05** at limit ** 23 norm 9.9962 7.2881 .24432E-06 .26913E-03 24 Prefactor 1.4740 5.6149 -.82212E-06 -.53351E-03 25 Prefactor 4.1501 5.7451 .18214E-06 .32112E-03 26 Normalizat .84720 .21520 .13282E-04 -.17076E-04 27 Prefactor .95627 .13602 -.11405E-04 -.81250E-04 ERR DEF= .500 Final values: norm = 31.2517 Prefactor = 2.2946 Prefactor = 0 Prefactor = 0 norm = 4.11921 norm = 0 Prefactor = 1.14566 norm = 0.281532 norm = 0 norm = 5.55112e-11 Prefactor = 5.26105 norm = 1.66533e-10 Prefactor = 45.7422 Prefactor = 10.2152 norm = 1.44319 Prefactor = 38.6031 Prefactor = 36.9102 Prefactor = 8.86017 Prefactor = 3.38857 Prefactor = 1.11022e-10 norm = 2.94209e-09 norm = 2.77556e-10 norm = 9.99622 Prefactor = 1.47397 Prefactor = 4.15014 Normalizat = 0.847199 Prefactor = 0.956265 /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 = 7633 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_daily_bin2205 RA = 264.56, Dec = 40.0099 tmin = 810864001, tmax = 811123201 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='38323355', job_status='RUN', time_executed='2026-09-15 14:39:35.388202', time_epoch_executed='1789508375.39' WHERE source_name='4FGL J1738.2+4000' and cadence='daily' and bin_id='2205' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/38323355 Creating custom pfile directory: /lscratch/kocevski/38323355/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=810864001.0 && nMetStart<811123201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=810864001.0 && nMetStart<811123201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/38323355/ft1_4FGL_J1738.2+4000_daily_bin2205.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=810864001.0 && nMetStart<811123201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/38323355/ft1_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323355/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin2205.fits ra=264.56 dec=40.0099 rad=12.0 tmin=810864001.0 tmax=811123201.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 3.49 user 3.07 sys 0.22 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.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/38323355/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin2205.fits evtable="EVENTS" outfile="/lscratch/kocevski/38323355/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.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.53 user 0.20 sys 0.14 Number of photons that the gtmktime cut: 802 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/38323355/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits sctable="SC_DATA" outf ********** ** 18 **HESSE ********** FCN= 8461.961 FROM HESSE STATUS=OK 560 CALLS 2088 TOTAL EDM= .28E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 31.252 32.125 .17759E-03 -1.5596 2 Prefactor 2.2946 .98399 .67764E-03 -1.5678 3 Prefactor .0000 .56914 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 .89415 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.1192 1.6437 .49648E-03 -1.5667 6 norm .0000 .22562 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.1457 6.5118 .11298E-02 -1.5687 8 norm .28153 .55137 .19574E-02 -1.5697 9 norm .0000 4.6563 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .55511E-10 .53327 .23979E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 5.2610 3.5269 .43796E-03 -1.5662 12 norm .16653E-09 5.9259 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 45.742 57.343 .14815E-03 -1.5573 14 Prefactor 10.215 183.83 .35521E-03 -1.5644 15 norm 1.4432 4.5245 .89856E-03 -1.5684 16 Prefactor 38.603 34.229 .16196E-03 -1.5584 17 Prefactor 36.910 16.513 .16410E-03 -1.5586 18 Prefactor 8.8602 6.8333 .33718E-03 -1.5648 19 Prefactor 3.3886 61.865 .51530E-03 -1.5671 20 Prefactor .11102E-09 45.312 .16010E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .29421E-08 1.0179 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .27756E-09 20.535 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 9.9962 7.2915 .31714E-03 -1.5645 24 Prefactor 1.4740 5.6515 .90222E-03 -1.5684 25 Prefactor 4.1501 5.7621 .49477E-03 -1.5667 26 Normalizat .84720 .18385 .69331E-01 -.98341 27 Prefactor .95627 .11298 .45717E-01 -.94202 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.79948e-06 Minuit parameter uncertainties: 1 32.1251 2 0.983985 3 7.87942e-08 4 9.8818e-06 5 1.64371 6 2.14452e-07 7 5.46273 8 0.551375 9 6.56083e-06 10 7.82111e-06 11 3.52694 12 5.99293e-05 13 57.3437 14 86.6707 15 4.5245 16 34.2294 17 16.5134 18 6.83335 19 28.9578 20 0.000130522 21 0.000109812 22 0.000145058 23 7.29148 24 5.65155 25 5.76213 26 0.183988 27 0.113003 Working on... /lscratch/kocevski/38323200/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits.....................! real 27.37 user 25.96 sys 0.90 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38323200/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits', '/lscratch/kocevski/38323200/ft2_4FGL_J1738.2+4000_daily_bin2205.fits', expMap='/lscratch/kocevski/38323200/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', expCube='/lscratch/kocevski/38323200/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38323200/Model_4FGL_J1738.2+4000_daily_bin2205.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/38323200/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits Spacecraft file(s): /lscratch/kocevski/38323200/ft2_4FGL_J1738.2+4000_daily_bin2205.fits Exposure map: /lscratch/kocevski/38323200/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits Exposure cube: /lscratch/kocevski/38323200/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38323200/Model_4FGL_J1738.2+4000_daily_bin2205.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 8463.74180505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.962609 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 31.718 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.2925 1.0000 .0000 .10000E+07 3 'Prefactor ' .13822E-07 1.0000 .0000 .10000E+07 4 'Prefactor ' .24980E-08 1.0000 .0000 .10000E+07 5 'norm ' 4.1185 1.0000 .0000 .10000E+07 6 'norm ' .55511E-10 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.1026 1.0000 .0000 .10000E+07 8 'norm ' .28172 1.0000 .0000 .10000E+07 9 'norm ' .50149E-06 1.0000 .0000 .10000E+07 10 'norm ' .11102E-09 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.2616 1.0000 .0000 .10000E+07 12 'norm ' .76006E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 45.568 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.9571 1.0000 .0000 .10000E+07 15 'norm ' 1.4404 1.0000 .0000 .10000E+07 16 'Prefactor ' 38.129 1.0000 .0000 .10000E+07 17 'Prefactor ' 37.144 1.0000 .0000 .10000E+07 18 'Prefactor ' 8.8245 1.0000 .0000 .10000E+07 19 'Prefactor ' 3.8324 1.0000 .0000 .10000E+07 20 'Prefactor ' .38983E-01 1.0000 .0000 .10000E+07 21 'norm ' .17930E-07 1.0000 .0000 .10000E+07 22 'norm ' .59315E-02 1.0000 .0000 .10000E+07 23 'norm ' 9.9676 1.0000 .0000 .10000E+07 24 'Prefactor ' 1.4320 1.0000 .0000 .10000E+07 25 'Prefactor ' 4.1463 1.0000 .0000 .10000E+07 26 'Normalizat' .84815 1.0000 .10000E-01 10.000 27 'Prefactor ' .95614 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= 8461.961 FROM MIGRAD STATUS=CONVERGED 202 CALLS 1528 TOTAL EDM= .28E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 31.252 20.759 .10081E-06 .24622E-01 2 Prefactor 2.2946 .97468 .85996E-07 -.47829E-02 3 Prefactor .0000 .57604 .21753E-06** at limit ** 4 Prefactor .0000 .89433 -.54979E-06** at limit ** 5 norm 4.1192 1.6432 .11933E-06 -.42394E-02 6 norm .0000 .22630 -.77384E-07** at limit ** 7 Prefactor 1.1457 6.3176 -.59095E-06 -.38340E-03 8 norm .28153 .49317 .71275E-07 .46537E-03 9 norm .0000 4.6618 .49684E-06** at limit ** 10 norm .55511E-10 1.9607 -.69909E-06** at limit ** 11 Prefactor 5.2610 3.5052 -.47048E-06 -.60570E-03 12 norm .16653E-09 5.9947 .53773E-06** at limit ** 13 Prefactor 45.742 18.165 -.20536E-05 .10022 14 Prefactor 10.215 179.76 -.49890E-05 -.61629E-02 15 norm 1.4432 4.4557 .37109E-07 .57099E-04 16 Prefactor 38.603 27.491 -.22522E-05 -.16070E-01 17 Prefactor 36.910 16.415 .55143E-06 .44964E-02 18 Prefactor 8.8602 6.8308 -.12213E-06 -.75665E-04 19 Prefactor 3.3886 54.535 -.10544E-04 -.12530E-01 20 Prefactor .11102E-09 45.265 -.75437E-06** at limit ** 21 norm .29421E-08 19.552 .70998E-06** at limit ** 22 norm .27756E-09 20.550 .11449E-05** at limit ** 23 norm 9.9962 7.2881 .24432E-06 .26913E-03 24 Prefactor 1.4740 5.6149 -.82212E-06 -.53351E-03 25 Prefactor 4.1501 5.7451 .18214E-06 .32112E-03 26 Normalizat .84720 .21520 .13282E-04 -.17076E-04 27 Prefactor .95627 .13602 -.11405E-04 -.81250E-04 ERR DEF= .500 Final values: norm = 31.2517 Prefactor = 2.2946 Prefactor = 0 Prefactor = 0 norm = 4.11921 norm = 0 Prefactor = 1.14566 norm = 0.281532 norm = 0 norm = 5.55112e-11 Prefactor = 5.26105 norm = 1.66533e-10 Prefactor = 45.7422 Prefactor = 10.2152 norm = 1.44319 Prefactor = 38.6031 Prefactor = 36.9102 Prefactor = 8.86017 Prefactor = 3.38857 Prefactor = 1.11022e-10 norm = 2.94209e-09 norm = 2.77556e-10 norm = 9.99622 Prefactor = 1.47397 Prefactor = 4.15014 Normalizat = 0.847199 Prefactor = 0.956265 number of points = 7633 number of fields = 31 RA_SUN column already exists. File will not be modified. Done. Performing analysis on: 4FGL_J1738.2+4000_daily_bin2205 RA = 264.56, Dec = 40.0099 tmin = 810864001, tmax = 811123201 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='38323393', job_status='RUN', time_executed='2026-09-15 14:40:11.835917', time_epoch_executed='1789508411.84' WHERE source_name='4FGL J1738.2+4000' and cadence='daily' and bin_id='2205' Database successfully updated. Done. Creating custom output directory: /lscratch/kocevski/38323393 Creating custom pfile directory: /lscratch/kocevski/38323393/pfiles/ Retrieving the FT1 file... Issuing command: datacat find --group FT1 --filter 'nMetStop>=810864001.0 && nMetStart<811123201.0' /Data/Flight/Reprocess/P305 Issuing command: datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=810864001.0 && nMetStart<811123201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Checksum keywords updated successfully. Merged file saved to: /lscratch/kocevski/38323393/ft1_4FGL_J1738.2+4000_daily_bin2205.fits Retrieving the FT1 file... Issuing command: datacat find --group FT2 --filter 'nMetStop>=810864001.0 && nMetStart<811123201.0' /Data/Flight/Level1/LPA Retrieving 47 files... Done. Merging files... Merged file saved to: /lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits Selecting the photons: time -p gtselect infile=/lscratch/kocevski/38323393/ft1_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323393/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin2205.fits ra=264.56 dec=40.0099 rad=12.0 tmin=810864001.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql" WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41). Done. real 4.00 user 3.35 sys 0.17 Adding sun position to ft2 file: /sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits Selecting the good time intervals: time -p gtmktime scfile=/lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.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/38323393/ft1_filteredMKT_4FGL_J1738.2+4000_daily_bin2205.fits evtable="EVENTS" outfile="/lscratch/kocevski/38323393/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.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.84 user 0.22 sys 0.12 Number of photons that the gtmktime cut: 802 Generating the livetime cube: time -p gtltcube evfile="/lscratch/kocevski/38323393/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits sctable="SC_DATA" outf ********** ** 18 **HESSE ********** FCN= 8461.961 FROM HESSE STATUS=OK 560 CALLS 2088 TOTAL EDM= .28E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 31.252 32.125 .17759E-03 -1.5596 2 Prefactor 2.2946 .98399 .67764E-03 -1.5678 3 Prefactor .0000 .56914 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 .89415 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.1192 1.6437 .49648E-03 -1.5667 6 norm .0000 .22562 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.1457 6.5118 .11298E-02 -1.5687 8 norm .28153 .55137 .19574E-02 -1.5697 9 norm .0000 4.6563 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .55511E-10 .53327 .23979E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 5.2610 3.5269 .43796E-03 -1.5662 12 norm .16653E-09 5.9259 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 45.742 57.343 .14815E-03 -1.5573 14 Prefactor 10.215 183.83 .35521E-03 -1.5644 15 norm 1.4432 4.5245 .89856E-03 -1.5684 16 Prefactor 38.603 34.229 .16196E-03 -1.5584 17 Prefactor 36.910 16.513 .16410E-03 -1.5586 18 Prefactor 8.8602 6.8333 .33718E-03 -1.5648 19 Prefactor 3.3886 61.865 .51530E-03 -1.5671 20 Prefactor .11102E-09 45.312 .16010E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .29421E-08 1.0179 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .27756E-09 20.535 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 9.9962 7.2915 .31714E-03 -1.5645 24 Prefactor 1.4740 5.6515 .90222E-03 -1.5684 25 Prefactor 4.1501 5.7621 .49477E-03 -1.5667 26 Normalizat .84720 .18385 .69331E-01 -.98341 27 Prefactor .95627 .11298 .45717E-01 -.94202 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.79948e-06 Minuit parameter uncertainties: 1 32.1251 2 0.983985 3 7.87942e-08 4 9.8818e-06 5 1.64371 6 2.14452e-07 7 5.46273 8 0.551375 9 6.56083e-06 10 7.82111e-06 11 3.52694 12 5.99293e-05 13 57.3437 14 86.6707 15 4.5245 16 34.2294 17 16.5134 18 6.83335 19 28.9578 20 0.000130522 21 0.000109812 22 0.000145058 23 7.29148 24 5.65155 25 5.76213 26 0.183988 27 0.113003 ile=/lscratch/kocevski/38323307/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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/38323307/ft2_4FGL_J1738.2+4000_daily_bin2205.fits .....................! real 8.81 user 8.34 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/38323307/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38323307/ft2_4FGL_J1738.2+4000_daily_bin2205.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38323307/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323307/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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/38323307/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits .....................! real 75.13 user 70.36 sys 4.05 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/38323307/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits scfile=/lscratch/kocevski/38323307/ft2_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323307/cmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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.63 user 0.25 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/38323307/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits scfile=/lscratch/kocevski/38323307/ft2_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323307/cmap_HighResolution_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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.65 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/38323307/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38323307/ft2_4FGL_J1738.2+4000_daily_bin2205.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38323307/Model_4FGL_J1738.2+4000_daily_bin2205.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/38323203/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits.....................! real 33.54 user 30.77 sys 1.15 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38323203/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits', '/lscratch/kocevski/38323203/ft2_4FGL_J1738.2+4000_daily_bin2205.fits', expMap='/lscratch/kocevski/38323203/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', expCube='/lscratch/kocevski/38323203/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38323203/Model_4FGL_J1738.2+4000_daily_bin2205.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/38323203/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits Spacecraft file(s): /lscratch/kocevski/38323203/ft2_4FGL_J1738.2+4000_daily_bin2205.fits Exposure map: /lscratch/kocevski/38323203/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits Exposure cube: /lscratch/kocevski/38323203/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38323203/Model_4FGL_J1738.2+4000_daily_bin2205.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 8463.74180505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.962609 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 31.718 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.2925 1.0000 .0000 .10000E+07 3 'Prefactor ' .13822E-07 1.0000 .0000 .10000E+07 4 'Prefactor ' .24980E-08 1.0000 .0000 .10000E+07 5 'norm ' 4.1185 1.0000 .0000 .10000E+07 6 'norm ' .55511E-10 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.1026 1.0000 .0000 .10000E+07 8 'norm ' .28172 1.0000 .0000 .10000E+07 9 'norm ' .50149E-06 1.0000 .0000 .10000E+07 10 'norm ' .11102E-09 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.2616 1.0000 .0000 .10000E+07 12 'norm ' .76006E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 45.568 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.9571 1.0000 .0000 .10000E+07 15 'norm ' 1.4404 1.0000 .0000 .10000E+07 16 'Prefactor ' 38.129 1.0000 .0000 .10000E+07 17 'Prefactor ' 37.144 1.0000 .0000 .10000E+07 18 'Prefactor ' 8.8245 1.0000 .0000 .10000E+07 19 'Prefactor ' 3.8324 1.0000 .0000 .10000E+07 20 'Prefactor ' .38983E-01 1.0000 .0000 .10000E+07 21 'norm ' .17930E-07 1.0000 .0000 .10000E+07 22 'norm ' .59315E-02 1.0000 .0000 .10000E+07 23 'norm ' 9.9676 1.0000 .0000 .10000E+07 24 'Prefactor ' 1.4320 1.0000 .0000 .10000E+07 25 'Prefactor ' 4.1463 1.0000 .0000 .10000E+07 26 'Normalizat' .84815 1.0000 .10000E-01 10.000 27 'Prefactor ' .95614 1.0000 .0000 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.96125603 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 4.574e+01 5.734e+01 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: 9.563e-01 1.130e-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: 8.472e-01 1.840e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.84 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 1.05228752158e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.00819317675077 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38323137/likelihoodResults_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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) = 8461.95971053 delta logL = 0.00154550000298 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95617007 delta logL = 0.00508596803593 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 54.345 1.0000 .0000 .10000E+07 2 'Index ' 2.4035 1.0000 .0000 10.000 3 'Normalizat' .84989 1.0000 .10000E-01 10.000 4 'Prefactor ' .95502 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8461.956 FROM MIGRAD STATUS=CONVERGED 89 CALLS 287 TOTAL EDM= .48E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 54.353 138.21 .54264E-05 .13065E-02 2 Index 2.4036 1.3764 .94546E-02 .10454E-03 3 Normalizat .85060 .20718 .30619E-03 .25515E-03 4 Prefactor .95454 .13360 .18874E-03 .61416E-03 ERR DEF= .500 Final values: Prefactor = 54.3532 Index = 2.40359 Normalizat = 0.850595 Prefactor = 0.954543 ********** ** 18 **HESSE ********** FCN= 8461.956 FROM HESSE STATUS=OK 25 CALLS 312 TOTAL EDM= .34E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 54.353 107.52 .10853E-05 -1.5561 2 Index 2.4036 1.0768 .37818E-03 -.54601 3 Normalizat .85060 .20568 .12248E-04 -.98219 4 Prefactor .95454 .13287 .37748E-04 -.94260 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.41972e-10 Minuit parameter uncertainties: 1 107.526 2 1.08854 3 0.20587 4 0.13292 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95616326 delta logL = 0.00509277852143 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 5.435e+01 1.075e+02 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.404e+00 1.089e+00 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: 9.545e-01 1.329e-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: 8.506e-01 2.059e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.84 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/38323137/cmap_HighResolution_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-09-15 14:41:38.307583', job_id='38323137', GAL2='0.95', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1789508498.31', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.09e-03', ts2='0.85', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2205' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Sep 15 14:41:38 PDT 2026 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 8461.961 FROM MIGRAD STATUS=CONVERGED 202 CALLS 1528 TOTAL EDM= .28E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 31.252 20.759 .10081E-06 .24622E-01 2 Prefactor 2.2946 .97468 .85996E-07 -.47829E-02 3 Prefactor .0000 .57604 .21753E-06** at limit ** 4 Prefactor .0000 .89433 -.54979E-06** at limit ** 5 norm 4.1192 1.6432 .11933E-06 -.42394E-02 6 norm .0000 .22630 -.77384E-07** at limit ** 7 Prefactor 1.1457 6.3176 -.59095E-06 -.38340E-03 8 norm .28153 .49317 .71275E-07 .46537E-03 9 norm .0000 4.6618 .49684E-06** at limit ** 10 norm .55511E-10 1.9607 -.69909E-06** at limit ** 11 Prefactor 5.2610 3.5052 -.47048E-06 -.60570E-03 12 norm .16653E-09 5.9947 .53773E-06** at limit ** 13 Prefactor 45.742 18.165 -.20536E-05 .10022 14 Prefactor 10.215 179.76 -.49890E-05 -.61629E-02 15 norm 1.4432 4.4557 .37109E-07 .57099E-04 16 Prefactor 38.603 27.491 -.22522E-05 -.16070E-01 17 Prefactor 36.910 16.415 .55143E-06 .44964E-02 18 Prefactor 8.8602 6.8308 -.12213E-06 -.75665E-04 19 Prefactor 3.3886 54.535 -.10544E-04 -.12530E-01 20 Prefactor .11102E-09 45.265 -.75437E-06** at limit ** 21 norm .29421E-08 19.552 .70998E-06** at limit ** 22 norm .27756E-09 20.550 .11449E-05** at limit ** 23 norm 9.9962 7.2881 .24432E-06 .26913E-03 24 Prefactor 1.4740 5.6149 -.82212E-06 -.53351E-03 25 Prefactor 4.1501 5.7451 .18214E-06 .32112E-03 26 Normalizat .84720 .21520 .13282E-04 -.17076E-04 27 Prefactor .95627 .13602 -.11405E-04 -.81250E-04 ERR DEF= .500 Final values: norm = 31.2517 Prefactor = 2.2946 Prefactor = 0 Prefactor = 0 norm = 4.11921 norm = 0 Prefactor = 1.14566 norm = 0.281532 norm = 0 norm = 5.55112e-11 Prefactor = 5.26105 norm = 1.66533e-10 Prefactor = 45.7422 Prefactor = 10.2152 norm = 1.44319 Prefactor = 38.6031 Prefactor = 36.9102 Prefactor = 8.86017 Prefactor = 3.38857 Prefactor = 1.11022e-10 norm = 2.94209e-09 norm = 2.77556e-10 norm = 9.99622 Prefactor = 1.47397 Prefactor = 4.15014 Normalizat = 0.847199 Prefactor = 0.956265 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.96125603 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 4.574e+01 5.734e+01 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: 9.563e-01 1.130e-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: 8.472e-01 1.840e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.84 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 1.05228752158e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.00819317675077 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38323200/likelihoodResults_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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) = 8461.95971053 delta logL = 0.00154550000298 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95617007 delta logL = 0.00508596803593 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 54.345 1.0000 .0000 .10000E+07 2 'Index ' 2.4035 1.0000 .0000 10.000 3 'Normalizat' .84989 1.0000 .10000E-01 10.000 4 'Prefactor ' .95502 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8461.956 FROM MIGRAD STATUS=CONVERGED 89 CALLS 287 TOTAL EDM= .48E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 54.353 138.21 .54264E-05 .13065E-02 2 Index 2.4036 1.3764 .94546E-02 .10454E-03 3 Normalizat .85060 .20718 .30619E-03 .25515E-03 4 Prefactor .95454 .13360 .18874E-03 .61416E-03 ERR DEF= .500 Final values: Prefactor = 54.3532 Index = 2.40359 Normalizat = 0.850595 Prefactor = 0.954543 ********** ** 18 **HESSE ********** FCN= 8461.956 FROM HESSE STATUS=OK 25 CALLS 312 TOTAL EDM= .34E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 54.353 107.52 .10853E-05 -1.5561 2 Index 2.4036 1.0768 .37818E-03 -.54601 3 Normalizat .85060 .20568 .12248E-04 -.98219 4 Prefactor .95454 .13287 .37748E-04 -.94260 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.41972e-10 Minuit parameter uncertainties: 1 107.526 2 1.08854 3 0.20587 4 0.13292 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95616326 delta logL = 0.00509277852143 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 5.435e+01 1.075e+02 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.404e+00 1.089e+00 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: 9.545e-01 1.329e-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: 8.506e-01 2.059e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.84 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/38323200/cmap_HighResolution_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-09-15 14:42:07.354060', job_id='38323200', GAL2='0.95', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1789508527.35', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.09e-03', ts2='0.85', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2205' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Sep 15 14:42:07 PDT 2026 ile=/lscratch/kocevski/38323355/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits .....................! real 8.69 user 8.12 sys 0.23 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/38323355/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38323355/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323355/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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/38323355/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits .....................! real 73.56 user 68.35 sys 4.40 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/38323355/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits scfile=/lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323355/cmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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.66 user 0.23 sys 0.14 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/38323355/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits scfile=/lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323355/cmap_HighResolution_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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.64 user 0.23 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/38323355/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38323355/Model_4FGL_J1738.2+4000_daily_bin2205.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 ********** ** 18 **HESSE ********** FCN= 8461.961 FROM HESSE STATUS=OK 560 CALLS 2088 TOTAL EDM= .28E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 31.252 32.125 .17759E-03 -1.5596 2 Prefactor 2.2946 .98399 .67764E-03 -1.5678 3 Prefactor .0000 .56914 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 .89415 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.1192 1.6437 .49648E-03 -1.5667 6 norm .0000 .22562 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.1457 6.5118 .11298E-02 -1.5687 8 norm .28153 .55137 .19574E-02 -1.5697 9 norm .0000 4.6563 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .55511E-10 .53327 .23979E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 5.2610 3.5269 .43796E-03 -1.5662 12 norm .16653E-09 5.9259 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 45.742 57.343 .14815E-03 -1.5573 14 Prefactor 10.215 183.83 .35521E-03 -1.5644 15 norm 1.4432 4.5245 .89856E-03 -1.5684 16 Prefactor 38.603 34.229 .16196E-03 -1.5584 17 Prefactor 36.910 16.513 .16410E-03 -1.5586 18 Prefactor 8.8602 6.8333 .33718E-03 -1.5648 19 Prefactor 3.3886 61.865 .51530E-03 -1.5671 20 Prefactor .11102E-09 45.312 .16010E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .29421E-08 1.0179 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .27756E-09 20.535 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 9.9962 7.2915 .31714E-03 -1.5645 24 Prefactor 1.4740 5.6515 .90222E-03 -1.5684 25 Prefactor 4.1501 5.7621 .49477E-03 -1.5667 26 Normalizat .84720 .18385 .69331E-01 -.98341 27 Prefactor .95627 .11298 .45717E-01 -.94202 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.79948e-06 Minuit parameter uncertainties: 1 32.1251 2 0.983985 3 7.87942e-08 4 9.8818e-06 5 1.64371 6 2.14452e-07 7 5.46273 8 0.551375 9 6.56083e-06 10 7.82111e-06 11 3.52694 12 5.99293e-05 13 57.3437 14 86.6707 15 4.5245 16 34.2294 17 16.5134 18 6.83335 19 28.9578 20 0.000130522 21 0.000109812 22 0.000145058 23 7.29148 24 5.65155 25 5.76213 26 0.183988 27 0.113003 Working on... /lscratch/kocevski/38323307/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits.....................! real 30.14 user 28.72 sys 0.90 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38323307/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits', '/lscratch/kocevski/38323307/ft2_4FGL_J1738.2+4000_daily_bin2205.fits', expMap='/lscratch/kocevski/38323307/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', expCube='/lscratch/kocevski/38323307/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38323307/Model_4FGL_J1738.2+4000_daily_bin2205.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/38323307/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits Spacecraft file(s): /lscratch/kocevski/38323307/ft2_4FGL_J1738.2+4000_daily_bin2205.fits Exposure map: /lscratch/kocevski/38323307/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits Exposure cube: /lscratch/kocevski/38323307/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38323307/Model_4FGL_J1738.2+4000_daily_bin2205.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 8463.74180505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.962609 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 31.718 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.2925 1.0000 .0000 .10000E+07 3 'Prefactor ' .13822E-07 1.0000 .0000 .10000E+07 4 'Prefactor ' .24980E-08 1.0000 .0000 .10000E+07 5 'norm ' 4.1185 1.0000 .0000 .10000E+07 6 'norm ' .55511E-10 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.1026 1.0000 .0000 .10000E+07 8 'norm ' .28172 1.0000 .0000 .10000E+07 9 'norm ' .50149E-06 1.0000 .0000 .10000E+07 10 'norm ' .11102E-09 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.2616 1.0000 .0000 .10000E+07 12 'norm ' .76006E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 45.568 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.9571 1.0000 .0000 .10000E+07 15 'norm ' 1.4404 1.0000 .0000 .10000E+07 16 'Prefactor ' 38.129 1.0000 .0000 .10000E+07 17 'Prefactor ' 37.144 1.0000 .0000 .10000E+07 18 'Prefactor ' 8.8245 1.0000 .0000 .10000E+07 19 'Prefactor ' 3.8324 1.0000 .0000 .10000E+07 20 'Prefactor ' .38983E-01 1.0000 .0000 .10000E+07 21 'norm ' .17930E-07 1.0000 .0000 .10000E+07 22 'norm ' .59315E-02 1.0000 .0000 .10000E+07 23 'norm ' 9.9676 1.0000 .0000 .10000E+07 24 'Prefactor ' 1.4320 1.0000 .0000 .10000E+07 25 'Prefactor ' 4.1463 1.0000 .0000 .10000E+07 26 'Normalizat' .84815 1.0000 .10000E-01 10.000 27 'Prefactor ' .95614 1.0000 .0000 ile=/lscratch/kocevski/38323393/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits .....................! real 9.76 user 8.90 sys 0.22 Generating the exposure map: time -p gtexpmap evfile=/lscratch/kocevski/38323393/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38323393/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323393/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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/38323393/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits .....................! real 79.76 user 74.28 sys 4.61 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/38323393/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits scfile=/lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323393/cmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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.65 user 0.23 sys 0.13 Creating the high resolution counts map: time -p gtbin evfile=/lscratch/kocevski/38323393/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits scfile=/lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits outfile=/lscratch/kocevski/38323393/cmap_HighResolution_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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.66 user 0.24 sys 0.13 Computing the diffuse response: time -p gtdiffrsp evfile=/lscratch/kocevski/38323393/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38323393/Model_4FGL_J1738.2+4000_daily_bin2205.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 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.96125603 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 4.574e+01 5.734e+01 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: 9.563e-01 1.130e-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: 8.472e-01 1.840e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.84 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 1.05228752158e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.00819317675077 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38323203/likelihoodResults_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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) = 8461.95971053 delta logL = 0.00154550000298 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95617007 delta logL = 0.00508596803593 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 54.345 1.0000 .0000 .10000E+07 2 'Index ' 2.4035 1.0000 .0000 10.000 3 'Normalizat' .84989 1.0000 .10000E-01 10.000 4 'Prefactor ' .95502 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8461.956 FROM MIGRAD STATUS=CONVERGED 89 CALLS 287 TOTAL EDM= .48E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 54.353 138.21 .54264E-05 .13065E-02 2 Index 2.4036 1.3764 .94546E-02 .10454E-03 3 Normalizat .85060 .20718 .30619E-03 .25515E-03 4 Prefactor .95454 .13360 .18874E-03 .61416E-03 ERR DEF= .500 Final values: Prefactor = 54.3532 Index = 2.40359 Normalizat = 0.850595 Prefactor = 0.954543 ********** ** 18 **HESSE ********** FCN= 8461.956 FROM HESSE STATUS=OK 25 CALLS 312 TOTAL EDM= .34E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 54.353 107.52 .10853E-05 -1.5561 2 Index 2.4036 1.0768 .37818E-03 -.54601 3 Normalizat .85060 .20568 .12248E-04 -.98219 4 Prefactor .95454 .13287 .37748E-04 -.94260 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.41972e-10 Minuit parameter uncertainties: 1 107.526 2 1.08854 3 0.20587 4 0.13292 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95616326 delta logL = 0.00509277852143 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 5.435e+01 1.075e+02 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.404e+00 1.089e+00 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: 9.545e-01 1.329e-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: 8.506e-01 2.059e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.84 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/38323203/cmap_HighResolution_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-09-15 14:43:20.229043', job_id='38323203', GAL2='0.95', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1789508600.23', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.09e-03', ts2='0.85', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2205' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Sep 15 14:43:20 PDT 2026 10.000 ********** ** 15 **SET ERR .5000 ********** ********** ** 16 **SET GRAD 1.000 ********** ********** ** 17 **MINIMIZE .6840E+05 .2000E-04 ********** MIGRAD MINIMIZATION HAS CONVERGED. FCN= 8461.961 FROM MIGRAD STATUS=CONVERGED 202 CALLS 1528 TOTAL EDM= .28E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 31.252 20.759 .10081E-06 .24622E-01 2 Prefactor 2.2946 .97468 .85996E-07 -.47829E-02 3 Prefactor .0000 .57604 .21753E-06** at limit ** 4 Prefactor .0000 .89433 -.54979E-06** at limit ** 5 norm 4.1192 1.6432 .11933E-06 -.42394E-02 6 norm .0000 .22630 -.77384E-07** at limit ** 7 Prefactor 1.1457 6.3176 -.59095E-06 -.38340E-03 8 norm .28153 .49317 .71275E-07 .46537E-03 9 norm .0000 4.6618 .49684E-06** at limit ** 10 norm .55511E-10 1.9607 -.69909E-06** at limit ** 11 Prefactor 5.2610 3.5052 -.47048E-06 -.60570E-03 12 norm .16653E-09 5.9947 .53773E-06** at limit ** 13 Prefactor 45.742 18.165 -.20536E-05 .10022 14 Prefactor 10.215 179.76 -.49890E-05 -.61629E-02 15 norm 1.4432 4.4557 .37109E-07 .57099E-04 16 Prefactor 38.603 27.491 -.22522E-05 -.16070E-01 17 Prefactor 36.910 16.415 .55143E-06 .44964E-02 18 Prefactor 8.8602 6.8308 -.12213E-06 -.75665E-04 19 Prefactor 3.3886 54.535 -.10544E-04 -.12530E-01 20 Prefactor .11102E-09 45.265 -.75437E-06** at limit ** 21 norm .29421E-08 19.552 .70998E-06** at limit ** 22 norm .27756E-09 20.550 .11449E-05** at limit ** 23 norm 9.9962 7.2881 .24432E-06 .26913E-03 24 Prefactor 1.4740 5.6149 -.82212E-06 -.53351E-03 25 Prefactor 4.1501 5.7451 .18214E-06 .32112E-03 26 Normalizat .84720 .21520 .13282E-04 -.17076E-04 27 Prefactor .95627 .13602 -.11405E-04 -.81250E-04 ERR DEF= .500 Final values: norm = 31.2517 Prefactor = 2.2946 Prefactor = 0 Prefactor = 0 norm = 4.11921 norm = 0 Prefactor = 1.14566 norm = 0.281532 norm = 0 norm = 5.55112e-11 Prefactor = 5.26105 norm = 1.66533e-10 Prefactor = 45.7422 Prefactor = 10.2152 norm = 1.44319 Prefactor = 38.6031 Prefactor = 36.9102 Prefactor = 8.86017 Prefactor = 3.38857 Prefactor = 1.11022e-10 norm = 2.94209e-09 norm = 2.77556e-10 norm = 9.99622 Prefactor = 1.47397 Prefactor = 4.15014 Normalizat = 0.847199 Prefactor = 0.956265 ********** ** 18 **HESSE ********** FCN= 8461.961 FROM HESSE STATUS=OK 560 CALLS 2088 TOTAL EDM= .28E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 31.252 32.125 .17759E-03 -1.5596 2 Prefactor 2.2946 .98399 .67764E-03 -1.5678 3 Prefactor .0000 .56914 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 .89415 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.1192 1.6437 .49648E-03 -1.5667 6 norm .0000 .22562 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.1457 6.5118 .11298E-02 -1.5687 8 norm .28153 .55137 .19574E-02 -1.5697 9 norm .0000 4.6563 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .55511E-10 .53327 .23979E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 5.2610 3.5269 .43796E-03 -1.5662 12 norm .16653E-09 5.9259 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 45.742 57.343 .14815E-03 -1.5573 14 Prefactor 10.215 183.83 .35521E-03 -1.5644 15 norm 1.4432 4.5245 .89856E-03 -1.5684 16 Prefactor 38.603 34.229 .16196E-03 -1.5584 17 Prefactor 36.910 16.513 .16410E-03 -1.5586 18 Prefactor 8.8602 6.8333 .33718E-03 -1.5648 19 Prefactor 3.3886 61.865 .51530E-03 -1.5671 20 Prefactor .11102E-09 45.312 .16010E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .29421E-08 1.0179 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .27756E-09 20.535 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 9.9962 7.2915 .31714E-03 -1.5645 24 Prefactor 1.4740 5.6515 .90222E-03 -1.5684 25 Prefactor 4.1501 5.7621 .49477E-03 -1.5667 26 Normalizat .84720 .18385 .69331E-01 -.98341 27 Prefactor .95627 .11298 .45717E-01 -.94202 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.79948e-06 Minuit parameter uncertainties: 1 32.1251 2 0.983985 3 7.87942e-08 4 9.8818e-06 5 1.64371 6 2.14452e-07 7 5.46273 8 0.551375 9 6.56083e-06 10 7.82111e-06 11 3.52694 12 5.99293e-05 13 57.3437 14 86.6707 15 4.5245 16 34.2294 17 16.5134 18 6.83335 19 28.9578 20 0.000130522 21 0.000109812 22 0.000145058 23 7.29148 24 5.65155 25 5.76213 26 0.183988 27 0.113003 Working on... /lscratch/kocevski/38323355/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits.....................! real 30.30 user 28.64 sys 1.04 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38323355/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits', '/lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits', expMap='/lscratch/kocevski/38323355/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', expCube='/lscratch/kocevski/38323355/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38323355/Model_4FGL_J1738.2+4000_daily_bin2205.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/38323355/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits Spacecraft file(s): /lscratch/kocevski/38323355/ft2_4FGL_J1738.2+4000_daily_bin2205.fits Exposure map: /lscratch/kocevski/38323355/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits Exposure cube: /lscratch/kocevski/38323355/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38323355/Model_4FGL_J1738.2+4000_daily_bin2205.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 8463.74180505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.962609 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 31.718 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.2925 1.0000 .0000 .10000E+07 3 'Prefactor ' .13822E-07 1.0000 .0000 .10000E+07 4 'Prefactor ' .24980E-08 1.0000 .0000 .10000E+07 5 'norm ' 4.1185 1.0000 .0000 .10000E+07 6 'norm ' .55511E-10 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.1026 1.0000 .0000 .10000E+07 8 'norm ' .28172 1.0000 .0000 .10000E+07 9 'norm ' .50149E-06 1.0000 .0000 .10000E+07 10 'norm ' .11102E-09 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.2616 1.0000 .0000 .10000E+07 12 'norm ' .76006E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 45.568 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.9571 1.0000 .0000 .10000E+07 15 'norm ' 1.4404 1.0000 .0000 .10000E+07 16 'Prefactor ' 38.129 1.0000 .0000 .10000E+07 17 'Prefactor ' 37.144 1.0000 .0000 .10000E+07 18 'Prefactor ' 8.8245 1.0000 .0000 .10000E+07 19 'Prefactor ' 3.8324 1.0000 .0000 .10000E+07 20 'Prefactor ' .38983E-01 1.0000 .0000 .10000E+07 21 'norm ' .17930E-07 1.0000 .0000 .10000E+07 22 'norm ' .59315E-02 1.0000 .0000 .10000E+07 23 'norm ' 9.9676 1.0000 .0000 .10000E+07 24 'Prefactor ' 1.4320 1.0000 .0000 .10000E+07 25 'Prefactor ' 4.1463 1.0000 .0000 .10000E+07 26 'Normalizat' .84815 1.0000 .10000E-01 10.000 27 'Prefactor ' .95614 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= 8461.961 FROM MIGRAD STATUS=CONVERGED 202 CALLS 1528 TOTAL EDM= .28E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 31.252 20.759 .10081E-06 .24622E-01 2 Prefactor 2.2946 .97468 .85996E-07 -.47829E-02 3 Prefactor .0000 .57604 .21753E-06** at limit ** 4 Prefactor .0000 .89433 -.54979E-06** at limit ** 5 norm 4.1192 1.6432 .11933E-06 -.42394E-02 6 norm .0000 .22630 -.77384E-07** at limit ** 7 Prefactor 1.1457 6.3176 -.59095E-06 -.38340E-03 8 norm .28153 .49317 .71275E-07 .46537E-03 9 norm .0000 4.6618 .49684E-06** at limit ** 10 norm .55511E-10 1.9607 -.69909E-06** at limit ** 11 Prefactor 5.2610 3.5052 -.47048E-06 -.60570E-03 12 norm .16653E-09 5.9947 .53773E-06** at limit ** 13 Prefactor 45.742 18.165 -.20536E-05 .10022 14 Prefactor 10.215 179.76 -.49890E-05 -.61629E-02 15 norm 1.4432 4.4557 .37109E-07 .57099E-04 16 Prefactor 38.603 27.491 -.22522E-05 -.16070E-01 17 Prefactor 36.910 16.415 .55143E-06 .44964E-02 18 Prefactor 8.8602 6.8308 -.12213E-06 -.75665E-04 19 Prefactor 3.3886 54.535 -.10544E-04 -.12530E-01 20 Prefactor .11102E-09 45.265 -.75437E-06** at limit ** 21 norm .29421E-08 19.552 .70998E-06** at limit ** 22 norm .27756E-09 20.550 .11449E-05** at limit ** 23 norm 9.9962 7.2881 .24432E-06 .26913E-03 24 Prefactor 1.4740 5.6149 -.82212E-06 -.53351E-03 25 Prefactor 4.1501 5.7451 .18214E-06 .32112E-03 26 Normalizat .84720 .21520 .13282E-04 -.17076E-04 27 Prefactor .95627 .13602 -.11405E-04 -.81250E-04 ERR DEF= .500 Final values: norm = 31.2517 Prefactor = 2.2946 Prefactor = 0 Prefactor = 0 norm = 4.11921 norm = 0 Prefactor = 1.14566 norm = 0.281532 norm = 0 norm = 5.55112e-11 Prefactor = 5.26105 norm = 1.66533e-10 Prefactor = 45.7422 Prefactor = 10.2152 norm = 1.44319 Prefactor = 38.6031 Prefactor = 36.9102 Prefactor = 8.86017 Prefactor = 3.38857 Prefactor = 1.11022e-10 norm = 2.94209e-09 norm = 2.77556e-10 norm = 9.99622 Prefactor = 1.47397 Prefactor = 4.15014 Normalizat = 0.847199 Prefactor = 0.956265 ********** ** 18 **HESSE ********** FCN= 8461.961 FROM HESSE STATUS=OK 560 CALLS 2088 TOTAL EDM= .28E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 31.252 32.125 .17759E-03 -1.5596 2 Prefactor 2.2946 .98399 .67764E-03 -1.5678 3 Prefactor .0000 .56914 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 .89415 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.1192 1.6437 .49648E-03 -1.5667 6 norm .0000 .22562 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.1457 6.5118 .11298E-02 -1.5687 8 norm .28153 .55137 .19574E-02 -1.5697 9 norm .0000 4.6563 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .55511E-10 .53327 .23979E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 5.2610 3.5269 .43796E-03 -1.5662 12 norm .16653E-09 5.9259 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 45.742 57.343 .14815E-03 -1.5573 14 Prefactor 10.215 183.83 .35521E-03 -1.5644 15 norm 1.4432 4.5245 .89856E-03 -1.5684 16 Prefactor 38.603 34.229 .16196E-03 -1.5584 17 Prefactor 36.910 16.513 .16410E-03 -1.5586 18 Prefactor 8.8602 6.8333 .33718E-03 -1.5648 19 Prefactor 3.3886 61.865 .51530E-03 -1.5671 20 Prefactor .11102E-09 45.312 .16010E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .29421E-08 1.0179 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .27756E-09 20.535 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 9.9962 7.2915 .31714E-03 -1.5645 24 Prefactor 1.4740 5.6515 .90222E-03 -1.5684 25 Prefactor 4.1501 5.7621 .49477E-03 -1.5667 26 Normalizat .84720 .18385 .69331E-01 -.98341 27 Prefactor .95627 .11298 .45717E-01 -.94202 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.79948e-06 Minuit parameter uncertainties: 1 32.1251 2 0.983985 3 7.87942e-08 4 9.8818e-06 5 1.64371 6 2.14452e-07 7 5.46273 8 0.551375 9 6.56083e-06 10 7.82111e-06 11 3.52694 12 5.99293e-05 13 57.3437 14 86.6707 15 4.5245 16 34.2294 17 16.5134 18 6.83335 19 28.9578 20 0.000130522 21 0.000109812 22 0.000145058 23 7.29148 24 5.65155 25 5.76213 26 0.183988 27 0.113003 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.96125603 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 4.574e+01 5.734e+01 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: 9.563e-01 1.130e-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: 8.472e-01 1.840e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.84 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 1.05228752158e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.00819317675077 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38323307/likelihoodResults_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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) = 8461.95971053 delta logL = 0.00154550000298 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95617007 delta logL = 0.00508596803593 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 54.345 1.0000 .0000 .10000E+07 2 'Index ' 2.4035 1.0000 .0000 10.000 3 'Normalizat' .84989 1.0000 .10000E-01 10.000 4 'Prefactor ' .95502 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8461.956 FROM MIGRAD STATUS=CONVERGED 89 CALLS 287 TOTAL EDM= .48E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 54.353 138.21 .54264E-05 .13065E-02 2 Index 2.4036 1.3764 .94546E-02 .10454E-03 3 Normalizat .85060 .20718 .30619E-03 .25515E-03 4 Prefactor .95454 .13360 .18874E-03 .61416E-03 ERR DEF= .500 Final values: Prefactor = 54.3532 Index = 2.40359 Normalizat = 0.850595 Prefactor = 0.954543 ********** ** 18 **HESSE ********** FCN= 8461.956 FROM HESSE STATUS=OK 25 CALLS 312 TOTAL EDM= .34E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 54.353 107.52 .10853E-05 -1.5561 2 Index 2.4036 1.0768 .37818E-03 -.54601 3 Normalizat .85060 .20568 .12248E-04 -.98219 4 Prefactor .95454 .13287 .37748E-04 -.94260 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.41972e-10 Minuit parameter uncertainties: 1 107.526 2 1.08854 3 0.20587 4 0.13292 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95616326 delta logL = 0.00509277852143 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 5.435e+01 1.075e+02 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.404e+00 1.089e+00 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: 9.545e-01 1.329e-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: 8.506e-01 2.059e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.84 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/38323307/cmap_HighResolution_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-09-15 14:44:46.858372', job_id='38323307', GAL2='0.95', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1789508686.86', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.09e-03', ts2='0.85', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2205' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Sep 15 14:44:46 PDT 2026 Working on... /lscratch/kocevski/38323393/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits.....................! real 33.07 user 31.10 sys 0.92 Creating the likelihood object... obs = UnbinnedObs('/lscratch/kocevski/38323393/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits', '/lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits', expMap='/lscratch/kocevski/38323393/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', expCube='/lscratch/kocevski/38323393/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits', irfs='P8R3_SOURCE_V2') like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38323393/Model_4FGL_J1738.2+4000_daily_bin2205.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/38323393/ft1_filtered_4FGL_J1738.2+4000_daily_bin2205.fits Spacecraft file(s): /lscratch/kocevski/38323393/ft2_4FGL_J1738.2+4000_daily_bin2205.fits Exposure map: /lscratch/kocevski/38323393/expmap_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits Exposure cube: /lscratch/kocevski/38323393/ltcube_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.fits IRFs: P8R3_SOURCE_V2 Source model file: /lscratch/kocevski/38323393/Model_4FGL_J1738.2+4000_daily_bin2205.xml Optimizer: MINUIT Statistic: UNBINNED Performing an iterative likelihood fit... Fit tolerance = 1 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 102 logL (Fixed Index) = 8463.74180505 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.962609 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'norm ' 31.718 1.0000 .0000 .10000E+07 2 'Prefactor ' 2.2925 1.0000 .0000 .10000E+07 3 'Prefactor ' .13822E-07 1.0000 .0000 .10000E+07 4 'Prefactor ' .24980E-08 1.0000 .0000 .10000E+07 5 'norm ' 4.1185 1.0000 .0000 .10000E+07 6 'norm ' .55511E-10 1.0000 .0000 .10000E+07 7 'Prefactor ' 1.1026 1.0000 .0000 .10000E+07 8 'norm ' .28172 1.0000 .0000 .10000E+07 9 'norm ' .50149E-06 1.0000 .0000 .10000E+07 10 'norm ' .11102E-09 1.0000 .0000 .10000E+07 11 'Prefactor ' 5.2616 1.0000 .0000 .10000E+07 12 'norm ' .76006E-04 1.0000 .0000 .10000E+07 13 'Prefactor ' 45.568 1.0000 .0000 .10000E+07 14 'Prefactor ' 7.9571 1.0000 .0000 .10000E+07 15 'norm ' 1.4404 1.0000 .0000 .10000E+07 16 'Prefactor ' 38.129 1.0000 .0000 .10000E+07 17 'Prefactor ' 37.144 1.0000 .0000 .10000E+07 18 'Prefactor ' 8.8245 1.0000 .0000 .10000E+07 19 'Prefactor ' 3.8324 1.0000 .0000 .10000E+07 20 'Prefactor ' .38983E-01 1.0000 .0000 .10000E+07 21 'norm ' .17930E-07 1.0000 .0000 .10000E+07 22 'norm ' .59315E-02 1.0000 .0000 .10000E+07 23 'norm ' 9.9676 1.0000 .0000 .10000E+07 24 'Prefactor ' 1.4320 1.0000 .0000 .10000E+07 25 'Prefactor ' 4.1463 1.0000 .0000 .10000E+07 26 'Normalizat' .84815 1.0000 .10000E-01 10.000 27 'Prefactor ' .95614 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= 8461.961 FROM MIGRAD STATUS=CONVERGED 202 CALLS 1528 TOTAL EDM= .28E-09 STRATEGY=1 ERROR MATRIX UNCERTAINTY= 2.3% EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 norm 31.252 20.759 .10081E-06 .24622E-01 2 Prefactor 2.2946 .97468 .85996E-07 -.47829E-02 3 Prefactor .0000 .57604 .21753E-06** at limit ** 4 Prefactor .0000 .89433 -.54979E-06** at limit ** 5 norm 4.1192 1.6432 .11933E-06 -.42394E-02 6 norm .0000 .22630 -.77384E-07** at limit ** 7 Prefactor 1.1457 6.3176 -.59095E-06 -.38340E-03 8 norm .28153 .49317 .71275E-07 .46537E-03 9 norm .0000 4.6618 .49684E-06** at limit ** 10 norm .55511E-10 1.9607 -.69909E-06** at limit ** 11 Prefactor 5.2610 3.5052 -.47048E-06 -.60570E-03 12 norm .16653E-09 5.9947 .53773E-06** at limit ** 13 Prefactor 45.742 18.165 -.20536E-05 .10022 14 Prefactor 10.215 179.76 -.49890E-05 -.61629E-02 15 norm 1.4432 4.4557 .37109E-07 .57099E-04 16 Prefactor 38.603 27.491 -.22522E-05 -.16070E-01 17 Prefactor 36.910 16.415 .55143E-06 .44964E-02 18 Prefactor 8.8602 6.8308 -.12213E-06 -.75665E-04 19 Prefactor 3.3886 54.535 -.10544E-04 -.12530E-01 20 Prefactor .11102E-09 45.265 -.75437E-06** at limit ** 21 norm .29421E-08 19.552 .70998E-06** at limit ** 22 norm .27756E-09 20.550 .11449E-05** at limit ** 23 norm 9.9962 7.2881 .24432E-06 .26913E-03 24 Prefactor 1.4740 5.6149 -.82212E-06 -.53351E-03 25 Prefactor 4.1501 5.7451 .18214E-06 .32112E-03 26 Normalizat .84720 .21520 .13282E-04 -.17076E-04 27 Prefactor .95627 .13602 -.11405E-04 -.81250E-04 ERR DEF= .500 Final values: norm = 31.2517 Prefactor = 2.2946 Prefactor = 0 Prefactor = 0 norm = 4.11921 norm = 0 Prefactor = 1.14566 norm = 0.281532 norm = 0 norm = 5.55112e-11 Prefactor = 5.26105 norm = 1.66533e-10 Prefactor = 45.7422 Prefactor = 10.2152 norm = 1.44319 Prefactor = 38.6031 Prefactor = 36.9102 Prefactor = 8.86017 Prefactor = 3.38857 Prefactor = 1.11022e-10 norm = 2.94209e-09 norm = 2.77556e-10 norm = 9.99622 Prefactor = 1.47397 Prefactor = 4.15014 Normalizat = 0.847199 Prefactor = 0.956265 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.96125603 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 4.574e+01 5.734e+01 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: 9.563e-01 1.130e-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: 8.472e-01 1.840e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.84 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 1.05228752158e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.00819317675077 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38323355/likelihoodResults_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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) = 8461.95971053 delta logL = 0.00154550000298 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95617007 delta logL = 0.00508596803593 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 54.345 1.0000 .0000 .10000E+07 2 'Index ' 2.4035 1.0000 .0000 10.000 3 'Normalizat' .84989 1.0000 .10000E-01 10.000 4 'Prefactor ' .95502 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8461.956 FROM MIGRAD STATUS=CONVERGED 89 CALLS 287 TOTAL EDM= .48E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 54.353 138.21 .54264E-05 .13065E-02 2 Index 2.4036 1.3764 .94546E-02 .10454E-03 3 Normalizat .85060 .20718 .30619E-03 .25515E-03 4 Prefactor .95454 .13360 .18874E-03 .61416E-03 ERR DEF= .500 Final values: Prefactor = 54.3532 Index = 2.40359 Normalizat = 0.850595 Prefactor = 0.954543 ********** ** 18 **HESSE ********** FCN= 8461.956 FROM HESSE STATUS=OK 25 CALLS 312 TOTAL EDM= .34E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 54.353 107.52 .10853E-05 -1.5561 2 Index 2.4036 1.0768 .37818E-03 -.54601 3 Normalizat .85060 .20568 .12248E-04 -.98219 4 Prefactor .95454 .13287 .37748E-04 -.94260 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.41972e-10 Minuit parameter uncertainties: 1 107.526 2 1.08854 3 0.20587 4 0.13292 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95616326 delta logL = 0.00509277852143 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 5.435e+01 1.075e+02 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.404e+00 1.089e+00 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: 9.545e-01 1.329e-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: 8.506e-01 2.059e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.84 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/38323355/cmap_HighResolution_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-09-15 14:45:37.576245', job_id='38323355', GAL2='0.95', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1789508737.58', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.09e-03', ts2='0.85', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2205' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Sep 15 14:45:37 PDT 2026 ********** ** 18 **HESSE ********** FCN= 8461.961 FROM HESSE STATUS=OK 560 CALLS 2088 TOTAL EDM= .28E-05 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 norm 31.252 32.125 .17759E-03 -1.5596 2 Prefactor 2.2946 .98399 .67764E-03 -1.5678 3 Prefactor .0000 .56914 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 4 Prefactor .0000 .89415 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 5 norm 4.1192 1.6437 .49648E-03 -1.5667 6 norm .0000 .22562 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 7 Prefactor 1.1457 6.5118 .11298E-02 -1.5687 8 norm .28153 .55137 .19574E-02 -1.5697 9 norm .0000 4.6563 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 10 norm .55511E-10 .53327 .23979E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 11 Prefactor 5.2610 3.5269 .43796E-03 -1.5662 12 norm .16653E-09 5.9259 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 13 Prefactor 45.742 57.343 .14815E-03 -1.5573 14 Prefactor 10.215 183.83 .35521E-03 -1.5644 15 norm 1.4432 4.5245 .89856E-03 -1.5684 16 Prefactor 38.603 34.229 .16196E-03 -1.5584 17 Prefactor 36.910 16.513 .16410E-03 -1.5586 18 Prefactor 8.8602 6.8333 .33718E-03 -1.5648 19 Prefactor 3.3886 61.865 .51530E-03 -1.5671 20 Prefactor .11102E-09 45.312 .16010E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 21 norm .29421E-08 1.0179 .42118E-02 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 22 norm .27756E-09 20.535 .42118E-03 -1.5708 WARNING - - ABOVE PARAMETER IS AT LIMIT. 23 norm 9.9962 7.2915 .31714E-03 -1.5645 24 Prefactor 1.4740 5.6515 .90222E-03 -1.5684 25 Prefactor 4.1501 5.7621 .49477E-03 -1.5667 26 Normalizat .84720 .18385 .69331E-01 -.98341 27 Prefactor .95627 .11298 .45717E-01 -.94202 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 2.79948e-06 Minuit parameter uncertainties: 1 32.1251 2 0.983985 3 7.87942e-08 4 9.8818e-06 5 1.64371 6 2.14452e-07 7 5.46273 8 0.551375 9 6.56083e-06 10 7.82111e-06 11 3.52694 12 5.99293e-05 13 57.3437 14 86.6707 15 4.5245 16 34.2294 17 16.5134 18 6.83335 19 28.9578 20 0.000130522 21 0.000109812 22 0.000145058 23 7.29148 24 5.65155 25 5.76213 26 0.183988 27 0.113003 Done. MINUIT Return Code (Fixed Index): 0 logL (Fixed Index) = 8461.96125603 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 4.574e+01 5.734e+01 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: 9.563e-01 1.130e-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: 8.472e-01 1.840e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Fixed Index): 0.84 Ra Dec: 264.560 40.010 Photon Flux Upper Limit: 1.05228752158e-07 ph cm-2 s-1 Energy Flux Upper Limit: 0.00819317675077 MeV cm-2 s-1 Saving results to: /lscratch/kocevski/38323393/likelihoodResults_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.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) = 8461.95971053 delta logL = 0.00154550000298 Fit tolerance = 0.0001 Performing likelihood fit... Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95617007 delta logL = 0.00508596803593 Fit tolerance = 1e-08 Performing likelihood fit... ********** ** 14 **SET NOWARN ********** PARAMETER DEFINITIONS: NO. NAME VALUE STEP SIZE LIMITS 1 'Prefactor ' 54.345 1.0000 .0000 .10000E+07 2 'Index ' 2.4035 1.0000 .0000 10.000 3 'Normalizat' .84989 1.0000 .10000E-01 10.000 4 'Prefactor ' .95502 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. MIGRAD MINIMIZATION HAS CONVERGED. MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX. FCN= 8461.956 FROM MIGRAD STATUS=CONVERGED 89 CALLS 287 TOTAL EDM= .48E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER STEP FIRST NO. NAME VALUE ERROR SIZE DERIVATIVE 1 Prefactor 54.353 138.21 .54264E-05 .13065E-02 2 Index 2.4036 1.3764 .94546E-02 .10454E-03 3 Normalizat .85060 .20718 .30619E-03 .25515E-03 4 Prefactor .95454 .13360 .18874E-03 .61416E-03 ERR DEF= .500 Final values: Prefactor = 54.3532 Index = 2.40359 Normalizat = 0.850595 Prefactor = 0.954543 ********** ** 18 **HESSE ********** FCN= 8461.956 FROM HESSE STATUS=OK 25 CALLS 312 TOTAL EDM= .34E-09 STRATEGY= 1 ERROR MATRIX ACCURATE EXT PARAMETER INTERNAL INTERNAL NO. NAME VALUE ERROR STEP SIZE VALUE 1 Prefactor 54.353 107.52 .10853E-05 -1.5561 2 Index 2.4036 1.0768 .37818E-03 -.54601 3 Normalizat .85060 .20568 .12248E-04 -.98219 4 Prefactor .95454 .13287 .37748E-04 -.94260 ERR DEF= .500 Minuit fit quality: 3 estimated distance: 3.41972e-10 Minuit parameter uncertainties: 1 107.526 2 1.08854 3 0.20587 4 0.13292 shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory Done. MINUIT Return Code (Free Index): 0 logL (Free Index) = 8461.95616326 delta logL = 0.00509277852143 Extracting fit parameters... 4FGL J1738.2+4000 Spectrum: PowerLaw 326 Prefactor: 5.435e+01 1.075e+02 0.000e+00 1.000e+06 ( 1.000e-14) 327 Index: 2.404e+00 1.089e+00 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: 9.545e-01 1.329e-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: 8.506e-01 2.059e-01 1.000e-02 1.000e+01 ( 1.000e+00) TS (Free Index): 0.84 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/38323393/cmap_HighResolution_810864001_811123201_4FGL_J1738.2+4000_daily_bin2205.png Cleaning up... ** Nuclear option initiated! ** Updating database... UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.19e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2026-09-15 14:46:54.785848', job_id='38323393', GAL2='0.95', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1789508814.79', return_code2='0', ts='0.84', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='5.09e-03', ts2='0.85', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='2205' AND source_name='4FGL J1738.2+4000' AND cadence='daily'; Database successfully updated. Analysis Complete. Tue Sep 15 14:46:54 PDT 2026