/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
/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).


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)
/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)
/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

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).


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).


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 = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869664', job_status='RUN', time_executed='2026-05-19 10:27:40.369062', time_epoch_executed='1779211660.37' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869664

Creating custom pfile directory:
/lscratch/kocevski/26869664/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869664/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869664/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869664/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.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.91
user 3.96
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869664/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869664/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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.95
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869664/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869631', job_status='RUN', time_executed='2026-05-19 10:27:36.183212', time_epoch_executed='1779211656.18' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869631

Creating custom pfile directory:
/lscratch/kocevski/26869631/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869631/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869631/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869631/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.91
user 4.65
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869631/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869631/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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 1.10
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869631/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869715', job_status='RUN', time_executed='2026-05-19 10:29:12.352302', time_epoch_executed='1779211752.35' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869715

Creating custom pfile directory:
/lscratch/kocevski/26869715/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869715/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869715/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869715/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.37
user 4.48
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869715/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869715/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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 1.12
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869715/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869707', job_status='RUN', time_executed='2026-05-19 10:29:00.427350', time_epoch_executed='1779211740.43' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869707

Creating custom pfile directory:
/lscratch/kocevski/26869707/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869707/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869707/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869707/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.35
user 4.18
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869707/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869707/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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 1.10
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869707/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869753', job_status='RUN', time_executed='2026-05-19 10:30:17.654388', time_epoch_executed='1779211817.65' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869753

Creating custom pfile directory:
/lscratch/kocevski/26869753/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869753/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869753/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869753/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.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.95
user 4.08
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869753/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869753/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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.86
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869753/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869696', job_status='RUN', time_executed='2026-05-19 10:28:59.947203', time_epoch_executed='1779211739.95' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869696

Creating custom pfile directory:
/lscratch/kocevski/26869696/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869696/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869696/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869696/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.40
user 4.45
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869696/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869696/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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.97
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869696/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869702', job_status='RUN', time_executed='2026-05-19 10:28:50.766483', time_epoch_executed='1779211730.77' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869702

Creating custom pfile directory:
/lscratch/kocevski/26869702/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869702/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869702/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869702/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.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 6.35
user 5.23
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869702/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869702/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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 1.02
user 0.24
sys 0.15

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869702/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869752', job_status='RUN', time_executed='2026-05-19 10:30:18.996233', time_epoch_executed='1779211819.0' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869752

Creating custom pfile directory:
/lscratch/kocevski/26869752/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869752/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869752/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869752/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.76
user 4.89
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869752/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869752/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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 1.02
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869752/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869701', job_status='RUN', time_executed='2026-05-19 10:28:54.874490', time_epoch_executed='1779211734.87' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869701

Creating custom pfile directory:
/lscratch/kocevski/26869701/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869701/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869701/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869701/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.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.94
user 3.94
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869701/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869701/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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 1.21
user 0.19
sys 0.15

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869701/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA"Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869725', job_status='RUN', time_executed='2026-05-19 10:29:29.055474', time_epoch_executed='1779211769.06' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869725

Creating custom pfile directory:
/lscratch/kocevski/26869725/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869725/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869725/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869725/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.58
user 4.44
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869725/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869725/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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 1.24
user 0.23
sys 0.11

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869725/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA"number of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1338.0+6534_weekly_bin928
RA = 204.516, Dec = 65.5696
tmin = 800236801, tmax = 800841601
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='26869758', job_status='RUN', time_executed='2026-05-19 10:30:32.234391', time_epoch_executed='1779211832.23' WHERE source_name='4FGL J1338.0+6534' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26869758

Creating custom pfile directory:
/lscratch/kocevski/26869758/pfiles/

Retrieving the FT1 file...

Issuing command:
datacat find --group FT1 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Reprocess/P305

Issuing command:
datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26869758/ft1_4FGL_J1338.0+6534_weekly_bin928.fits


Retrieving the FT1 file...

Issuing command:
datacat find --group FT2 --filter 'nMetStop>=800236801.0 && nMetStart<800841601.0' /Data/Flight/Level1/LPA

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26869758/ft1_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869758/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits ra=204.516 dec=65.5696 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.56
user 4.26
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.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/26869758/ft1_filteredMKT_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26869758/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.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 1.40
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 1933

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26869758/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26869664/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 16.28
user 15.44
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869664/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869664/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869664/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869664/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 60.26
user 55.81
sys 3.49

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869664/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869664/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.98
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869664/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869664/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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 1.01
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869664/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869664/Model_4FGL_J1338.0+6534_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26869631/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 19.48
user 18.17
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869631/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869631/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869631/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869631/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 71.43
user 65.64
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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869631/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869631/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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 1.03
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869631/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869631/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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 1.19
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869631/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869631/Model_4FGL_J1338.0+6534_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26869715/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 18.46
user 17.53
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869715/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869715/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869715/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869715/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 67.70
user 63.08
sys 3.72

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869715/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869715/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.78
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869715/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869715/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.84
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869715/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869715/Model_4FGL_J1338.0+6534_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26869707/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 17.82
user 16.60
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869707/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869707/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869707/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869707/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 65.25
user 60.69
sys 3.44

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869707/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869707/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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 1.11
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869707/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869707/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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 1.04
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869707/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869707/Model_4FGL_J1338.0+6534_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26869753/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 17.06
user 16.07
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869753/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869753/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869753/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869753/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 61.76
user 57.12
sys 3.55

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869753/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869753/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.77
user 0.22
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869753/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869753/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.89
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869753/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869753/Model_4FGL_J1338.0+6534_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26869696/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 18.54
user 17.51
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869696/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869696/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869696/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869696/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 67.07
user 61.88
sys 3.87

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869696/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869696/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.77
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869696/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869696/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.93
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869696/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869696/Model_4FGL_J1338.0+6534_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26869701/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 17.23
user 16.21
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869701/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869701/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869701/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869701/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 60.82
user 56.48
sys 3.45

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869701/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869701/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.68
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869701/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869701/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.57
user 0.20
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869701/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869701/Model_4FGL_J1338.0+6534_weekly_bin928.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 sourcoutfile=/lscratch/kocevski/26869752/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 20.02
user 19.01
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869752/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869752/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869752/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869752/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 73.05
user 67.86
sys 4.00

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869752/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869752/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.79
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869752/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869752/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.59
user 0.25
sys 0.11

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869752/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869752/Model_4FGL_J1338.0+6534_weekly_bin928.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 outfile=/lscratch/kocevski/26869758/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 18.26
user 16.98
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869758/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869758/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869758/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869758/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 67.50
user 62.24
sys 3.99

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869758/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869758/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.93
user 0.21
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869758/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869758/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.74
user 0.22
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869758/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869758/Model_4FGL_J1338.0+6534_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26869702/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 22.10
user 20.66
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869702/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869702/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869702/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869702/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 79.48
user 73.26
sys 4.56

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869702/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869702/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.27
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869702/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869702/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.67
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869702/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869702/Model_4FGL_J1338.0+6534_weekly_bin928.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 sourc outfile=/lscratch/kocevski/26869725/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 19.66
user 18.30
sys 0.44

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26869725/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26869725/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869725/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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/26869725/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
.....................!
real 75.64
user 70.56
sys 4.03

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 232 point sources and 0 extended sources

Setting source of interest to:
4FGL J1338.0+6534 @ 204.516 65.5696

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26869725/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869725/cmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.70
user 0.25
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26869725/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits scfile=/lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits outfile=/lscratch/kocevski/26869725/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.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=204.516 yref=65.5696 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.62
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26869725/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26869725/Model_4FGL_J1338.0+6534_weekly_bin928.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/26869664/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 55.89
user 53.84
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869664/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869664/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869664/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869664/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869664/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869664/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869664/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869664/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869664/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
e GAL_V02
Working on...
/lscratch/kocevski/26869631/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 64.06
user 62.05
sys 0.65

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869631/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869631/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869631/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869631/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869631/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869631/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869631/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869631/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869631/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
e GAL_V02
Working on...
/lscratch/kocevski/26869715/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 62.84
user 60.91
sys 1.00

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869715/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869715/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869715/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869715/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869715/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869715/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869715/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869715/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869715/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
e GAL_V02
Working on...
/lscratch/kocevski/26869707/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 61.80
user 59.82
sys 0.88

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869707/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869707/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869707/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869707/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869707/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869707/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869707/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869707/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869707/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
e GAL_V02
Working on...
/lscratch/kocevski/26869753/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 56.92
user 55.16
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869753/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869753/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869753/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869753/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869753/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869753/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869753/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869753/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869753/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869664/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:42:45.683455', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212565.68', return_code='0', job_id='26869664', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:42:45 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/26869701/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 56.33
user 54.77
sys 0.82

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869701/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869701/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869701/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869701/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869701/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869701/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869701/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869701/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869701/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
e GAL_V02
Working on...
/lscratch/kocevski/26869696/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 60.90
user 59.06
sys 0.94

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869696/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869696/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869696/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869696/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869696/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869696/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869696/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869696/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869696/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
e GAL_V02
Working on...
/lscratch/kocevski/26869758/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 61.29
user 59.57
sys 0.75

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869758/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869758/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869758/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869758/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869758/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869758/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869758/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869758/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869758/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
 GAL_V02
Working on...
/lscratch/kocevski/26869752/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 66.66
user 64.75
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869752/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869752/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869752/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869752/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869752/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869752/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869752/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869752/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869752/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869715/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:43:59.246848', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212639.25', return_code='0', job_id='26869715', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:43:59 PDT 2026

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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869631/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:44:00.129472', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212640.13', return_code='0', job_id='26869631', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:44:00 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869707/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:44:11.072968', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212651.07', return_code='0', job_id='26869707', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:44:11 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
e GAL_V02
Working on...
/lscratch/kocevski/26869702/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 71.74
user 69.70
sys 1.31

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869702/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869702/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869702/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869702/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869702/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869702/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869702/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869702/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869702/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869753/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:44:18.820462', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212658.82', return_code='0', job_id='26869753', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:44:19 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/26869725/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits.....................!
real 69.96
user 68.10
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26869725/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits', '/lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits', expMap='/lscratch/kocevski/26869725/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', expCube='/lscratch/kocevski/26869725/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26869725/Model_4FGL_J1338.0+6534_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1338.0+6534'

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  1.099e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26869725/ft1_filtered_4FGL_J1338.0+6534_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26869725/ft2_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26869725/expmap_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26869725/ltcube_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26869725/Model_4FGL_J1338.0+6534_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21088.8485794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2565538

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.6913       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11102E-08   1.0000          .0000       .10000E+07
     3 'Prefactor '    11.026       1.0000          .0000       .10000E+07
     4 'norm      '    2.2308       1.0000          .0000       .10000E+07
     5 'Prefactor '    .11546E-07   1.0000          .0000       .10000E+07
     6 'norm      '    3.4913       1.0000          .0000       .10000E+07
     7 'Prefactor '    35.031       1.0000          .0000       .10000E+07
     8 'Prefactor '    .14044E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .13514E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .16465E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .35081E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.4823       1.0000          .0000       .10000E+07
    13 'Prefactor '    .40009E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    7.9670       1.0000          .0000       .10000E+07
    15 'norm      '    .12118       1.0000          .0000       .10000E+07
    16 'Prefactor '    43.029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .11062E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.410       1.0000          .0000       .10000E+07
    19 'Prefactor '    28.166       1.0000          .0000       .10000E+07
    20 'Prefactor '    35.024       1.0000          .0000       .10000E+07
    21 'Prefactor '    6.4153       1.0000          .0000       .10000E+07
    22 'Normalizat'    .92522       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .98322       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   21087.26     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.7100        4.1016        .67010E-07    .28086E-02
   2  Prefactor     .16653E-09    2.4207        .25833E-06** at limit **
   3  Prefactor     11.021        6.3704       -.12061E-06   -.11426    
   4  norm          2.2302        1.8722        .79428E-07    .80766E-03
   5  Prefactor     .22204E-09    2.0667       -.10693E-06** at limit **
   6  norm          3.4919        1.1230       -.11739E-07   -.24238E-02
   7  Prefactor     35.462        15.138        .76023E-07   -.73759E-01
   8  Prefactor      .0000        1.6887        .48277E-07** at limit **
   9  Prefactor     .96589E-08    3.6168        .31572E-06** at limit **
  10  Prefactor     .11102E-09    3.4340        .52194E-06** at limit **
  11  Prefactor     .53291E-08    3.0485        .17518E-06** at limit **
  12  Prefactor     3.4752        1.9684        .97603E-08   -.98760E-03
  13  Prefactor     .22204E-09    2.0292       -.83519E-08** at limit **
  14  Prefactor     7.9395        1.6536       -.18369E-07   -.30161E-01
  15  norm          .10645        8.7634        .26922E-07** at limit **
  16  Prefactor     43.464        11.568        .18615E-07    .14397E-01
  17  Prefactor     .14433E-07    3.3467        .13278E-06** at limit **
  18  Prefactor     21.401        2.0908        .26852E-07   -.13523E-02
  19  Prefactor     28.181        3.1786       -.38624E-07   -.38664E-01
  20  Prefactor     34.573        10.696        .10093E-06   -.11675    
  21  Prefactor     6.2900        1.0851        .47800E-08    .26748E-02
  22  Normalizat    .92537        .98363E-01   -.24316E-05   -.29359E-03
  23  Prefactor     .98326        .11303       -.25776E-06   -.20881E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.70997
  Prefactor  = 1.66533e-10
  Prefactor  = 11.0212
  norm       = 2.2302
  Prefactor  = 2.22045e-10
  norm       = 3.49194
  Prefactor  = 35.4618
  Prefactor  = 0
  Prefactor  = 9.65894e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 5.32907e-09
  Prefactor  = 3.47519
  Prefactor  = 2.22045e-10
  Prefactor  = 7.93946
  norm       = 0.106454
  Prefactor  = 43.4637
  Prefactor  = 1.44329e-08
  Prefactor  = 21.4006
  Prefactor  = 28.1814
  Prefactor  = 34.5729
  Prefactor  = 6.29003
  Normalizat = 0.925373
  Prefactor  = 0.983256
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869701/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:44:43.778255', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212683.78', return_code='0', job_id='26869701', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:44:44 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869696/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:44:50.031863', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212690.03', return_code='0', job_id='26869696', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:44:50 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869758/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:45:25.100997', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212725.1', return_code='0', job_id='26869758', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:45:26 PDT 2026

 **********
 **   18 **HESSE 
 **********

 FCN=   21087.26     FROM HESSE     STATUS=OK           424 CALLS     1492 TOTAL
                     EDM=   .32E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.7100        4.0921        .33977E-03   -1.5649    
   2  Prefactor     .16653E-09    2.4207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.021        9.7220        .30147E-03   -1.5642    
   4  norm          2.2302        1.8760        .68803E-03   -1.5678    
   5  Prefactor     .22204E-09    2.0451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.4919        1.1222        .54089E-03   -1.5671    
   7  Prefactor     35.462        20.512        .16898E-03   -1.5589    
   8  Prefactor      .0000        1.6820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .96589E-08    8.9645        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    3.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .53291E-08    8.8734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.4752        1.9774        .54162E-03   -1.5671    
  13  Prefactor     .22204E-09    2.0327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     7.9395        8.2231        .35499E-03   -1.5652    
  15  norm          .10645        .54686        .75300E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     43.464        19.218        .15246E-03   -1.5576    
  17  Prefactor     .14433E-07    8.8593        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     21.401        13.520        .21618E-03   -1.5615    
  19  Prefactor     28.181        11.211        .18846E-03   -1.5602    
  20  Prefactor     34.573        16.607        .16899E-03   -1.5590    
  21  Prefactor     6.2900        6.7509        .39603E-03   -1.5658    
  22  Normalizat    .92537        .84044E-01    .45223E-01   -.95574    
  23  Prefactor     .98326        .95602E-01    .46057E-01   -.93290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16294e-07
Minuit parameter uncertainties:
  1  4.09208
  2  4.1427e-05
  3  9.72204
  4  1.87595
  5  4.00876e-05
  6  1.12223
  7  20.512
  8  1.28363e-05
  9  0.000588105
  10  3.5916e-05
  11  0.000434728
  12  1.97745
  13  4.14741e-05
  14  8.22313
  15  0.482557
  16  19.2184
  17  0.00071479
  18  13.5202
  19  11.2109
  20  16.6073
  21  6.75087
  22  0.0840557
  23  0.095618
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869752/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:45:45.022969', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212745.02', return_code='0', job_id='26869752', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:45:45 PDT 2026

Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
Done.

MINUIT Return Code (Fixed Index): 0
logL (Fixed Index) = 21087.2552806

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  3.475e+00  1.977e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.723e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.833e-01  9.562e-02  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.254e-01  8.406e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.61
Ra Dec: 204.516 65.570
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 2.88e-08 +/- 1.64e-08
Energy Flux (Fixed Index): 6.80e-06 +/- 3.87e-06

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) = 21086.7842835
delta logL = 0.470997158296

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 21086.7673221
delta logL = 0.487958564081

Fit tolerance = 1e-08

Performing likelihood fit...
 **********
 **   14 **SET NOWARN 
 **********

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.1273       1.0000          .0000       .10000E+07
     2 'Index     '    2.2525       1.0000          .0000       10.000    
     3 'Normalizat'    .93815       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97365       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7420E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   21086.77     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      235 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1285        65.188        .49594E-03    .77088E-02
   2  Index         2.2526        6.1130        .24513        .52541E-05
   3  Normalizat    .93816        .44162E-01    .45387E-01    .33409E-04
   4  Prefactor     .97361        .46261E-01    .45937E-01    .35549E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.12849
  Index      = 2.25258
  Normalizat = 0.938163
  Prefactor  = 0.973613
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
 **********
 **   18 **HESSE 
 **********

 FCN=   21086.77     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1285        2.5519        .17493E-04   -1.5667    
   2  Index         2.2526        .46235        .11802E-01   -.58175    
   3  Normalizat    .93816        .97667E-01    .21914E-03   -.95132    
   4  Prefactor     .97361        .11277        .25006E-03   -.93614    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90546e-14
Minuit parameter uncertainties:
  1  2.55195
  2  0.463296
  3  0.0976854
  4  0.112796
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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869702/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:46:09.924639', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212769.92', return_code='0', job_id='26869702', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:46:10 PDT 2026

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) = 21086.7673219
delta logL = 0.48795874172

Extracting fit parameters...

4FGL J1338.0+6534
   Spectrum: PowerLaw
386    Prefactor:  4.128e+00  2.552e+00  0.000e+00  1.000e+06 ( 1.000e-12)
387        Index:  2.253e+00  4.633e-01  0.000e+00  1.000e+01 (-1.000e+00)
388        Scale:  6.179e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
739    Prefactor:  9.736e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
740        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
741        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
738   Normalization:  9.382e-01  9.769e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.56
Ra Dec: 204.516 65.570
Photon Index (Free Index): 2.25 +/- 0.46
Photon Flux (Free Index): 1.99e-08 +/- 1.62e-08
Energy Flux (Free Index): 8.16e-06 +/- 5.45e-06

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/26869725/cmap_HighResolution_800236801_800841601_4FGL_J1338.0+6534_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.88e-08', energy_flux2='8.16e-06', photon_flux_error='1.64e-08', dlogl='4.88e-01', energy_flux='6.80e-06', photon_flux2='1.99e-08', job_status='DONE', time_completed='2026-05-19 10:46:13.240295', photon_index_error2='0.46', photon_index2='2.25', ts='5.61', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='5.45e-06', EG='0.93', time_epoch_completed='1779212773.24', return_code='0', job_id='26869725', GAL2='0.97', EG2='0.94', return_code2='0', energy_flux_error='3.87e-06', photon_flux_error2='1.62e-08', ts2='6.56', photon_index='2.72' WHERE bin_id='928' AND source_name='4FGL J1338.0+6534' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 10:46:14 PDT 2026

