number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1340.4+6926_weekly_bin945
RA = 205.11, Dec = 69.4446
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38307787', job_status='RUN', time_executed='2026-09-15 10:36:16.372378', time_epoch_executed='1789493776.37' WHERE source_name='4FGL J1340.4+6926' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38307787

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38307787/ft1_4FGL_J1340.4+6926_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38307787/ft1_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307787/ft1_filteredMKT_4FGL_J1340.4+6926_weekly_bin945.fits ra=205.11 dec=69.4446 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.28
user 5.73
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.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/38307787/ft1_filteredMKT_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38307787/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.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.92
user 0.23
sys 0.14

Number of photons that the gtmktime cut: 1436

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38307787/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" o/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1340.4+6926_weekly_bin945
RA = 205.11, Dec = 69.4446
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38307837', job_status='RUN', time_executed='2026-09-15 10:36:57.469631', time_epoch_executed='1789493817.47' WHERE source_name='4FGL J1340.4+6926' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38307837

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38307837/ft1_4FGL_J1340.4+6926_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38307837/ft1_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307837/ft1_filteredMKT_4FGL_J1340.4+6926_weekly_bin945.fits ra=205.11 dec=69.4446 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.39
user 5.56
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.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/38307837/ft1_filteredMKT_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38307837/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.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.71
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1436

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38307837/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" onumber of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1340.4+6926_weekly_bin945
RA = 205.11, Dec = 69.4446
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38307849', job_status='RUN', time_executed='2026-09-15 10:37:20.970917', time_epoch_executed='1789493840.97' WHERE source_name='4FGL J1340.4+6926' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38307849

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38307849/ft1_4FGL_J1340.4+6926_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38307849/ft1_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307849/ft1_filteredMKT_4FGL_J1340.4+6926_weekly_bin945.fits ra=205.11 dec=69.4446 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.45
user 5.89
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.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/38307849/ft1_filteredMKT_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38307849/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.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.57
user 0.24
sys 0.13

Number of photons that the gtmktime cut: 1436

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38307849/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" otfile=/lscratch/kocevski/38307748/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307748/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 18.53
user 18.04
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307748/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307748/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307748/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307748/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307748/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 71.49
user 66.63
sys 4.19

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

Setting source of interest to:
4FGL J1340.4+6926 @ 205.11 69.4446

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307748/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307748/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307748/cmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 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.69
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307748/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307748/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307748/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 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.85
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307748/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307748/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307748/Model_4FGL_J1340.4+6926_weekly_bin945.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_number of points = 17508
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1340.4+6926_weekly_bin945
RA = 205.11, Dec = 69.4446
tmin = 810518401, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38307978', job_status='RUN', time_executed='2026-09-15 10:37:54.861684', time_epoch_executed='1789493874.86' WHERE source_name='4FGL J1340.4+6926' and cadence='weekly' and bin_id='945'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38307978

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38307978/ft1_4FGL_J1340.4+6926_weekly_bin945.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38307978/ft1_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307978/ft1_filteredMKT_4FGL_J1340.4+6926_weekly_bin945.fits ra=205.11 dec=69.4446 rad=12.0 tmin=810518401.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.96
user 5.41
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.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/38307978/ft1_filteredMKT_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" outfile="/lscratch/kocevski/38307978/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.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.56
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 1436

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38307978/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38307758/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307758/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 19.44
user 18.82
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307758/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307758/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307758/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307758/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307758/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 74.36
user 69.14
sys 4.36

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

Setting source of interest to:
4FGL J1340.4+6926 @ 205.11 69.4446

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307758/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307758/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307758/cmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 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.82
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307758/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307758/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307758/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 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.58
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307758/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307758/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307758/Model_4FGL_J1340.4+6926_weekly_bin945.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 GALutfile=/lscratch/kocevski/38307787/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 19.72
user 18.88
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307787/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307787/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307787/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307787/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 74.58
user 69.45
sys 4.26

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

Setting source of interest to:
4FGL J1340.4+6926 @ 205.11 69.4446

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307787/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307787/cmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.60
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307787/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307787/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 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.24
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307787/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307787/Model_4FGL_J1340.4+6926_weekly_bin945.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 GALutfile=/lscratch/kocevski/38307837/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 18.99
user 18.34
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307837/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307837/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307837/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307837/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 71.54
user 66.67
sys 4.11

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

Setting source of interest to:
4FGL J1340.4+6926 @ 205.11 69.4446

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307837/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307837/cmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.64
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307837/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307837/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.65
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307837/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307837/Model_4FGL_J1340.4+6926_weekly_bin945.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 GALutfile=/lscratch/kocevski/38307849/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 19.74
user 19.12
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307849/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307849/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307849/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307849/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 75.99
user 70.97
sys 4.37

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

Setting source of interest to:
4FGL J1340.4+6926 @ 205.11 69.4446

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307849/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307849/cmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 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.61
user 0.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307849/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307849/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 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.58
user 0.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307849/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307849/Model_4FGL_J1340.4+6926_weekly_bin945.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 GALutfile=/lscratch/kocevski/38307978/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 18.51
user 17.87
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307978/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307978/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307978/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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/38307978/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
.....................!
real 71.45
user 66.58
sys 4.16

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

Setting source of interest to:
4FGL J1340.4+6926 @ 205.11 69.4446

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307978/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307978/cmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 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.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307978/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits scfile=/lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits outfile=/lscratch/kocevski/38307978/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.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=205.11 yref=69.4446 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.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307978/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307978/Model_4FGL_J1340.4+6926_weekly_bin945.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 GALV02
Working on...
/lscratch/kocevski/38307748/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits.....................!
real 55.80
user 54.06
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307748/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits', '/lscratch/kocevski/38307748/ft2_4FGL_J1340.4+6926_weekly_bin945.fits', expMap='/lscratch/kocevski/38307748/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', expCube='/lscratch/kocevski/38307748/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307748/Model_4FGL_J1340.4+6926_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1340.4+6926'

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  1.968e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307748/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38307748/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38307748/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38307748/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307748/Model_4FGL_J1340.4+6926_weekly_bin945.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) = 15600.1769851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34133E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18998E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    37.396       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.772       1.0000          .0000       .10000E+07
     5 'norm      '    4.3963       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.884       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51814E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.2944       1.0000          .0000       .10000E+07
    10 'Prefactor '    .58122E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .49874E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    43.213       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26607E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .52389E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12404E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    44.771       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15590E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22406E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86001       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0692       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1290 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41778E-06    8.0349        .93317E-06** at limit **
   2  Prefactor      .0000        .91194       -.33525E-07** at limit **
   3  Prefactor     37.406        1.6191        .12009E-06   -.82815E-02
   4  Prefactor     13.808        2.0573       -.16669E-06   -.11928E-01
   5  norm          4.4014        2.6718       -.81370E-07   -.47973E-04
   6  Prefactor     21.759        1.6212        .45231E-07   -.36189E-03
   7  Prefactor     .32824E-06    10.641        .10119E-05** at limit **
   8  Prefactor     .38358E-06    5.9347       -.12329E-05** at limit **
   9  Prefactor     9.2924        10.253        .16375E-05    .46141E-01
  10  Prefactor      .0000        2.3316       -.83036E-06** at limit **
  11  Prefactor     .21066E-06    6.0601        .12722E-05** at limit **
  12  Prefactor     .57965E-06    7.8225        .41986E-06** at limit **
  13  Prefactor     43.212        1.4220        .91909E-07   -.34937E-02
  14  Prefactor     .13899E-05    14.567       -.37392E-05** at limit **
  15  Prefactor     .88818E-09    4.2436        .46363E-06** at limit **
  16  Prefactor     .42266E-06    13.243        .61602E-06** at limit **
  17  Prefactor     46.417        29.326        .16483E-05   -.28813E-01
  18  Prefactor      .0000        33.937       -.10771E-05** at limit **
  19  Prefactor     .49960E-09    4.5513        .16818E-06** at limit **
  20  Normalizat    .85991        .10899       -.69709E-05   -.15342E-04
  21  Prefactor     1.0686        .11761        .46118E-05   -.38963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.17777e-07
  Prefactor  = 0
  Prefactor  = 37.4056
  Prefactor  = 13.8084
  norm       = 4.40141
  Prefactor  = 21.7594
  Prefactor  = 3.28237e-07
  Prefactor  = 3.83582e-07
  Prefactor  = 9.29238
  Prefactor  = 0
  Prefactor  = 2.10665e-07
  Prefactor  = 5.79647e-07
  Prefactor  = 43.2116
  Prefactor  = 1.38994e-06
  Prefactor  = 8.88178e-10
  Prefactor  = 4.22662e-07
  Prefactor  = 46.4171
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Normalizat = 0.859912
  Prefactor  = 1.06863
_V02
Working on...
/lscratch/kocevski/38307758/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits.....................!
real 58.35
user 56.72
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307758/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits', '/lscratch/kocevski/38307758/ft2_4FGL_J1340.4+6926_weekly_bin945.fits', expMap='/lscratch/kocevski/38307758/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', expCube='/lscratch/kocevski/38307758/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307758/Model_4FGL_J1340.4+6926_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1340.4+6926'

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  1.968e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307758/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38307758/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38307758/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38307758/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307758/Model_4FGL_J1340.4+6926_weekly_bin945.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) = 15600.1769851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34133E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18998E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    37.396       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.772       1.0000          .0000       .10000E+07
     5 'norm      '    4.3963       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.884       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51814E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.2944       1.0000          .0000       .10000E+07
    10 'Prefactor '    .58122E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .49874E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    43.213       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26607E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .52389E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12404E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    44.771       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15590E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22406E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86001       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0692       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1290 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41778E-06    8.0349        .93317E-06** at limit **
   2  Prefactor      .0000        .91194       -.33525E-07** at limit **
   3  Prefactor     37.406        1.6191        .12009E-06   -.82815E-02
   4  Prefactor     13.808        2.0573       -.16669E-06   -.11928E-01
   5  norm          4.4014        2.6718       -.81370E-07   -.47973E-04
   6  Prefactor     21.759        1.6212        .45231E-07   -.36189E-03
   7  Prefactor     .32824E-06    10.641        .10119E-05** at limit **
   8  Prefactor     .38358E-06    5.9347       -.12329E-05** at limit **
   9  Prefactor     9.2924        10.253        .16375E-05    .46141E-01
  10  Prefactor      .0000        2.3316       -.83036E-06** at limit **
  11  Prefactor     .21066E-06    6.0601        .12722E-05** at limit **
  12  Prefactor     .57965E-06    7.8225        .41986E-06** at limit **
  13  Prefactor     43.212        1.4220        .91909E-07   -.34937E-02
  14  Prefactor     .13899E-05    14.567       -.37392E-05** at limit **
  15  Prefactor     .88818E-09    4.2436        .46363E-06** at limit **
  16  Prefactor     .42266E-06    13.243        .61602E-06** at limit **
  17  Prefactor     46.417        29.326        .16483E-05   -.28813E-01
  18  Prefactor      .0000        33.937       -.10771E-05** at limit **
  19  Prefactor     .49960E-09    4.5513        .16818E-06** at limit **
  20  Normalizat    .85991        .10899       -.69709E-05   -.15342E-04
  21  Prefactor     1.0686        .11761        .46118E-05   -.38963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.17777e-07
  Prefactor  = 0
  Prefactor  = 37.4056
  Prefactor  = 13.8084
  norm       = 4.40141
  Prefactor  = 21.7594
  Prefactor  = 3.28237e-07
  Prefactor  = 3.83582e-07
  Prefactor  = 9.29238
  Prefactor  = 0
  Prefactor  = 2.10665e-07
  Prefactor  = 5.79647e-07
  Prefactor  = 43.2116
  Prefactor  = 1.38994e-06
  Prefactor  = 8.88178e-10
  Prefactor  = 4.22662e-07
  Prefactor  = 46.4171
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Normalizat = 0.859912
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=OK           355 CALLS     1645 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41778E-06    9.3671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .90795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.406        23.099        .16354E-03   -1.5586    
   4  Prefactor     13.808        12.803        .26965E-03   -1.5634    
   5  norm          4.4014        2.6761        .48009E-03   -1.5666    
   6  Prefactor     21.759        20.605        .21382E-03   -1.5615    
   7  Prefactor     .32824E-06    11.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38358E-06    7.1913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.2924        10.712        .32849E-03   -1.5647    
  10  Prefactor      .0000        2.2724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21066E-06    6.8148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .57965E-06    25.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.212        21.761        .15214E-03   -1.5576    
  14  Prefactor     .13899E-05    19.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .88818E-09    4.2327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .42266E-06    23.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.417        30.115        .14946E-03   -1.5572    
  18  Prefactor      .0000        33.008        .17346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49960E-09    4.5537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85991        .95166E-01    .44388E-01   -.97883    
  21  Prefactor     1.0686        .10140        .38894E-01   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14701e-07
Minuit parameter uncertainties:
  1  0.00395656
  2  3.08915e-07
  3  23.099
  4  12.8029
  5  2.67613
  6  20.6048
  7  0.00392157
  8  0.00332166
  9  10.7125
  10  1.17729e-05
  11  0.00239652
  12  0.00764273
  13  21.7608
  14  0.0102792
  15  0.0001215
  16  0.0062467
  17  30.1156
  18  1.10447e-05
  19  9.75232e-05
  20  0.0951842
  21  0.101419
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=OK           355 CALLS     1645 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41778E-06    9.3671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .90795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.406        23.099        .16354E-03   -1.5586    
   4  Prefactor     13.808        12.803        .26965E-03   -1.5634    
   5  norm          4.4014        2.6761        .48009E-03   -1.5666    
   6  Prefactor     21.759        20.605        .21382E-03   -1.5615    
   7  Prefactor     .32824E-06    11.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38358E-06    7.1913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.2924        10.712        .32849E-03   -1.5647    
  10  Prefactor      .0000        2.2724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21066E-06    6.8148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .57965E-06    25.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.212        21.761        .15214E-03   -1.5576    
  14  Prefactor     .13899E-05    19.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .88818E-09    4.2327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .42266E-06    23.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.417        30.115        .14946E-03   -1.5572    
  18  Prefactor      .0000        33.008        .17346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49960E-09    4.5537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85991        .95166E-01    .44388E-01   -.97883    
  21  Prefactor     1.0686        .10140        .38894E-01   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14701e-07
Minuit parameter uncertainties:
  1  0.00395656
  2  3.08915e-07
  3  23.099
  4  12.8029
  5  2.67613
  6  20.6048
  7  0.00392157
  8  0.00332166
  9  10.7125
  10  1.17729e-05
  11  0.00239652
  12  0.00764273
  13  21.7608
  14  0.0102792
  15  0.0001215
  16  0.0062467
  17  30.1156
  18  1.10447e-05
  19  9.75232e-05
  20  0.0951842
  21  0.101419
_V02
Working on...
/lscratch/kocevski/38307787/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits.....................!
real 58.54
user 56.53
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307787/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits', '/lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits', expMap='/lscratch/kocevski/38307787/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', expCube='/lscratch/kocevski/38307787/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307787/Model_4FGL_J1340.4+6926_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1340.4+6926'

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  1.968e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307787/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38307787/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38307787/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38307787/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307787/Model_4FGL_J1340.4+6926_weekly_bin945.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) = 15600.1769851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34133E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18998E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    37.396       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.772       1.0000          .0000       .10000E+07
     5 'norm      '    4.3963       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.884       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51814E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.2944       1.0000          .0000       .10000E+07
    10 'Prefactor '    .58122E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .49874E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    43.213       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26607E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .52389E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12404E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    44.771       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15590E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22406E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86001       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0692       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1290 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41778E-06    8.0349        .93317E-06** at limit **
   2  Prefactor      .0000        .91194       -.33525E-07** at limit **
   3  Prefactor     37.406        1.6191        .12009E-06   -.82815E-02
   4  Prefactor     13.808        2.0573       -.16669E-06   -.11928E-01
   5  norm          4.4014        2.6718       -.81370E-07   -.47973E-04
   6  Prefactor     21.759        1.6212        .45231E-07   -.36189E-03
   7  Prefactor     .32824E-06    10.641        .10119E-05** at limit **
   8  Prefactor     .38358E-06    5.9347       -.12329E-05** at limit **
   9  Prefactor     9.2924        10.253        .16375E-05    .46141E-01
  10  Prefactor      .0000        2.3316       -.83036E-06** at limit **
  11  Prefactor     .21066E-06    6.0601        .12722E-05** at limit **
  12  Prefactor     .57965E-06    7.8225        .41986E-06** at limit **
  13  Prefactor     43.212        1.4220        .91909E-07   -.34937E-02
  14  Prefactor     .13899E-05    14.567       -.37392E-05** at limit **
  15  Prefactor     .88818E-09    4.2436        .46363E-06** at limit **
  16  Prefactor     .42266E-06    13.243        .61602E-06** at limit **
  17  Prefactor     46.417        29.326        .16483E-05   -.28813E-01
  18  Prefactor      .0000        33.937       -.10771E-05** at limit **
  19  Prefactor     .49960E-09    4.5513        .16818E-06** at limit **
  20  Normalizat    .85991        .10899       -.69709E-05   -.15342E-04
  21  Prefactor     1.0686        .11761        .46118E-05   -.38963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.17777e-07
  Prefactor  = 0
  Prefactor  = 37.4056
  Prefactor  = 13.8084
  norm       = 4.40141
  Prefactor  = 21.7594
  Prefactor  = 3.28237e-07
  Prefactor  = 3.83582e-07
  Prefactor  = 9.29238
  Prefactor  = 0
  Prefactor  = 2.10665e-07
  Prefactor  = 5.79647e-07
  Prefactor  = 43.2116
  Prefactor  = 1.38994e-06
  Prefactor  = 8.88178e-10
  Prefactor  = 4.22662e-07
  Prefactor  = 46.4171
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Normalizat = 0.859912
  Prefactor  = 1.06863
Done.

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

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  2.107e-07  2.397e-03  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  1.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.518e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 205.110 69.445
Photon Flux Upper Limit: 3.19279047648e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00248873556052 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38307748/likelihoodResults_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1889841
delta logL = -0.0747449662977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142396
delta logL = -5.05991920363e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      236 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53846E-08    .34353        .42118E-03** at limit **
   2  Index         2.3022        8.5139        .45828        .12900E-08
   3  Normalizat    .85991        .44982E-03    .44388E-01   -.14072E-02
   4  Prefactor     1.0686        .48441E-03    .38928E-01   -.11603E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.38458e-09
  Index      = 2.30215
  Normalizat = 0.85991
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53846E-08    1.4610        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3022        6.1381        .50000       -.56993    
   3  Normalizat    .85991        .92556E-03    .23018E-03   -.97884    
   4  Prefactor     1.0686        .99710E-03    .22363E-03   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.31701e-11
Minuit parameter uncertainties:
  1  0.00017775
  2  5030.21
  3  0.000925564
  4  0.000997103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142391
delta logL = 1.47410901263e-08

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  5.385e-09  1.777e-04  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.302e+00  5.030e+03  0.000e+00  1.000e+01 (-1.000e+00)
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  9.971e-04  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.256e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 205.110 69.445

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/38307748/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2026-09-15 10:43:49.264650', job_id='38307748', GAL2='1.07', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1789494229.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='945' AND source_name='4FGL J1340.4+6926' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:43:49 PDT 2026

_V02
Working on...
/lscratch/kocevski/38307837/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits.....................!
real 55.62
user 53.63
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307837/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits', '/lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits', expMap='/lscratch/kocevski/38307837/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', expCube='/lscratch/kocevski/38307837/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307837/Model_4FGL_J1340.4+6926_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1340.4+6926'

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  1.968e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307837/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38307837/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38307837/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38307837/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307837/Model_4FGL_J1340.4+6926_weekly_bin945.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) = 15600.1769851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34133E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18998E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    37.396       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.772       1.0000          .0000       .10000E+07
     5 'norm      '    4.3963       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.884       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51814E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.2944       1.0000          .0000       .10000E+07
    10 'Prefactor '    .58122E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .49874E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    43.213       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26607E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .52389E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12404E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    44.771       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15590E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22406E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86001       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0692       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1290 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41778E-06    8.0349        .93317E-06** at limit **
   2  Prefactor      .0000        .91194       -.33525E-07** at limit **
   3  Prefactor     37.406        1.6191        .12009E-06   -.82815E-02
   4  Prefactor     13.808        2.0573       -.16669E-06   -.11928E-01
   5  norm          4.4014        2.6718       -.81370E-07   -.47973E-04
   6  Prefactor     21.759        1.6212        .45231E-07   -.36189E-03
   7  Prefactor     .32824E-06    10.641        .10119E-05** at limit **
   8  Prefactor     .38358E-06    5.9347       -.12329E-05** at limit **
   9  Prefactor     9.2924        10.253        .16375E-05    .46141E-01
  10  Prefactor      .0000        2.3316       -.83036E-06** at limit **
  11  Prefactor     .21066E-06    6.0601        .12722E-05** at limit **
  12  Prefactor     .57965E-06    7.8225        .41986E-06** at limit **
  13  Prefactor     43.212        1.4220        .91909E-07   -.34937E-02
  14  Prefactor     .13899E-05    14.567       -.37392E-05** at limit **
  15  Prefactor     .88818E-09    4.2436        .46363E-06** at limit **
  16  Prefactor     .42266E-06    13.243        .61602E-06** at limit **
  17  Prefactor     46.417        29.326        .16483E-05   -.28813E-01
  18  Prefactor      .0000        33.937       -.10771E-05** at limit **
  19  Prefactor     .49960E-09    4.5513        .16818E-06** at limit **
  20  Normalizat    .85991        .10899       -.69709E-05   -.15342E-04
  21  Prefactor     1.0686        .11761        .46118E-05   -.38963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.17777e-07
  Prefactor  = 0
  Prefactor  = 37.4056
  Prefactor  = 13.8084
  norm       = 4.40141
  Prefactor  = 21.7594
  Prefactor  = 3.28237e-07
  Prefactor  = 3.83582e-07
  Prefactor  = 9.29238
  Prefactor  = 0
  Prefactor  = 2.10665e-07
  Prefactor  = 5.79647e-07
  Prefactor  = 43.2116
  Prefactor  = 1.38994e-06
  Prefactor  = 8.88178e-10
  Prefactor  = 4.22662e-07
  Prefactor  = 46.4171
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Normalizat = 0.859912
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=OK           355 CALLS     1645 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41778E-06    9.3671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .90795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.406        23.099        .16354E-03   -1.5586    
   4  Prefactor     13.808        12.803        .26965E-03   -1.5634    
   5  norm          4.4014        2.6761        .48009E-03   -1.5666    
   6  Prefactor     21.759        20.605        .21382E-03   -1.5615    
   7  Prefactor     .32824E-06    11.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38358E-06    7.1913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.2924        10.712        .32849E-03   -1.5647    
  10  Prefactor      .0000        2.2724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21066E-06    6.8148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .57965E-06    25.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.212        21.761        .15214E-03   -1.5576    
  14  Prefactor     .13899E-05    19.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .88818E-09    4.2327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .42266E-06    23.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.417        30.115        .14946E-03   -1.5572    
  18  Prefactor      .0000        33.008        .17346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49960E-09    4.5537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85991        .95166E-01    .44388E-01   -.97883    
  21  Prefactor     1.0686        .10140        .38894E-01   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14701e-07
Minuit parameter uncertainties:
  1  0.00395656
  2  3.08915e-07
  3  23.099
  4  12.8029
  5  2.67613
  6  20.6048
  7  0.00392157
  8  0.00332166
  9  10.7125
  10  1.17729e-05
  11  0.00239652
  12  0.00764273
  13  21.7608
  14  0.0102792
  15  0.0001215
  16  0.0062467
  17  30.1156
  18  1.10447e-05
  19  9.75232e-05
  20  0.0951842
  21  0.101419
Done.

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

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  2.107e-07  2.397e-03  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  1.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.518e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 205.110 69.445
Photon Flux Upper Limit: 3.19279047648e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00248873556052 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38307758/likelihoodResults_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1889841
delta logL = -0.0747449662977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142396
delta logL = -5.05991920363e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      236 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53846E-08    .34353        .42118E-03** at limit **
   2  Index         2.3022        8.5139        .45828        .12900E-08
   3  Normalizat    .85991        .44982E-03    .44388E-01   -.14072E-02
   4  Prefactor     1.0686        .48441E-03    .38928E-01   -.11603E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.38458e-09
  Index      = 2.30215
  Normalizat = 0.85991
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53846E-08    1.4610        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3022        6.1381        .50000       -.56993    
   3  Normalizat    .85991        .92556E-03    .23018E-03   -.97884    
   4  Prefactor     1.0686        .99710E-03    .22363E-03   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.31701e-11
Minuit parameter uncertainties:
  1  0.00017775
  2  5030.21
  3  0.000925564
  4  0.000997103
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=OK           355 CALLS     1645 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41778E-06    9.3671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .90795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.406        23.099        .16354E-03   -1.5586    
   4  Prefactor     13.808        12.803        .26965E-03   -1.5634    
   5  norm          4.4014        2.6761        .48009E-03   -1.5666    
   6  Prefactor     21.759        20.605        .21382E-03   -1.5615    
   7  Prefactor     .32824E-06    11.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38358E-06    7.1913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.2924        10.712        .32849E-03   -1.5647    
  10  Prefactor      .0000        2.2724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21066E-06    6.8148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .57965E-06    25.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.212        21.761        .15214E-03   -1.5576    
  14  Prefactor     .13899E-05    19.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .88818E-09    4.2327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .42266E-06    23.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.417        30.115        .14946E-03   -1.5572    
  18  Prefactor      .0000        33.008        .17346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49960E-09    4.5537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85991        .95166E-01    .44388E-01   -.97883    
  21  Prefactor     1.0686        .10140        .38894E-01   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14701e-07
Minuit parameter uncertainties:
  1  0.00395656
  2  3.08915e-07
  3  23.099
  4  12.8029
  5  2.67613
  6  20.6048
  7  0.00392157
  8  0.00332166
  9  10.7125
  10  1.17729e-05
  11  0.00239652
  12  0.00764273
  13  21.7608
  14  0.0102792
  15  0.0001215
  16  0.0062467
  17  30.1156
  18  1.10447e-05
  19  9.75232e-05
  20  0.0951842
  21  0.101419
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142391
delta logL = 1.47410901263e-08

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  5.385e-09  1.777e-04  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.302e+00  5.030e+03  0.000e+00  1.000e+01 (-1.000e+00)
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  9.971e-04  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.256e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 205.110 69.445

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/38307758/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2026-09-15 10:44:29.801679', job_id='38307758', GAL2='1.07', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1789494269.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='945' AND source_name='4FGL J1340.4+6926' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:44:29 PDT 2026

_V02
Working on...
/lscratch/kocevski/38307849/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits.....................!
real 59.75
user 58.07
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307849/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits', '/lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits', expMap='/lscratch/kocevski/38307849/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', expCube='/lscratch/kocevski/38307849/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307849/Model_4FGL_J1340.4+6926_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1340.4+6926'

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  1.968e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307849/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38307849/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38307849/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38307849/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307849/Model_4FGL_J1340.4+6926_weekly_bin945.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) = 15600.1769851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34133E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18998E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    37.396       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.772       1.0000          .0000       .10000E+07
     5 'norm      '    4.3963       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.884       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51814E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.2944       1.0000          .0000       .10000E+07
    10 'Prefactor '    .58122E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .49874E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    43.213       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26607E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .52389E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12404E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    44.771       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15590E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22406E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86001       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0692       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1290 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41778E-06    8.0349        .93317E-06** at limit **
   2  Prefactor      .0000        .91194       -.33525E-07** at limit **
   3  Prefactor     37.406        1.6191        .12009E-06   -.82815E-02
   4  Prefactor     13.808        2.0573       -.16669E-06   -.11928E-01
   5  norm          4.4014        2.6718       -.81370E-07   -.47973E-04
   6  Prefactor     21.759        1.6212        .45231E-07   -.36189E-03
   7  Prefactor     .32824E-06    10.641        .10119E-05** at limit **
   8  Prefactor     .38358E-06    5.9347       -.12329E-05** at limit **
   9  Prefactor     9.2924        10.253        .16375E-05    .46141E-01
  10  Prefactor      .0000        2.3316       -.83036E-06** at limit **
  11  Prefactor     .21066E-06    6.0601        .12722E-05** at limit **
  12  Prefactor     .57965E-06    7.8225        .41986E-06** at limit **
  13  Prefactor     43.212        1.4220        .91909E-07   -.34937E-02
  14  Prefactor     .13899E-05    14.567       -.37392E-05** at limit **
  15  Prefactor     .88818E-09    4.2436        .46363E-06** at limit **
  16  Prefactor     .42266E-06    13.243        .61602E-06** at limit **
  17  Prefactor     46.417        29.326        .16483E-05   -.28813E-01
  18  Prefactor      .0000        33.937       -.10771E-05** at limit **
  19  Prefactor     .49960E-09    4.5513        .16818E-06** at limit **
  20  Normalizat    .85991        .10899       -.69709E-05   -.15342E-04
  21  Prefactor     1.0686        .11761        .46118E-05   -.38963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.17777e-07
  Prefactor  = 0
  Prefactor  = 37.4056
  Prefactor  = 13.8084
  norm       = 4.40141
  Prefactor  = 21.7594
  Prefactor  = 3.28237e-07
  Prefactor  = 3.83582e-07
  Prefactor  = 9.29238
  Prefactor  = 0
  Prefactor  = 2.10665e-07
  Prefactor  = 5.79647e-07
  Prefactor  = 43.2116
  Prefactor  = 1.38994e-06
  Prefactor  = 8.88178e-10
  Prefactor  = 4.22662e-07
  Prefactor  = 46.4171
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Normalizat = 0.859912
  Prefactor  = 1.06863
_V02
Working on...
/lscratch/kocevski/38307978/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits.....................!
real 56.24
user 54.44
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307978/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits', '/lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits', expMap='/lscratch/kocevski/38307978/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', expCube='/lscratch/kocevski/38307978/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307978/Model_4FGL_J1340.4+6926_weekly_bin945.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1340.4+6926'

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  1.968e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307978/ft1_filtered_4FGL_J1340.4+6926_weekly_bin945.fits
Spacecraft file(s): /lscratch/kocevski/38307978/ft2_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure map: /lscratch/kocevski/38307978/expmap_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
Exposure cube: /lscratch/kocevski/38307978/ltcube_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307978/Model_4FGL_J1340.4+6926_weekly_bin945.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) = 15600.1769851

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34133E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .18998E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    37.396       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.772       1.0000          .0000       .10000E+07
     5 'norm      '    4.3963       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.884       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51814E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .46074E-08   1.0000          .0000       .10000E+07
     9 'Prefactor '    9.2944       1.0000          .0000       .10000E+07
    10 'Prefactor '    .58122E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .13989E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    .49874E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    43.213       1.0000          .0000       .10000E+07
    14 'Prefactor '    .26607E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .52389E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12404E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    44.771       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15590E-01   1.0000          .0000       .10000E+07
    19 'Prefactor '    .22406E-02   1.0000          .0000       .10000E+07
    20 'Normalizat'    .86001       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0692       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     1290 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .41778E-06    8.0349        .93317E-06** at limit **
   2  Prefactor      .0000        .91194       -.33525E-07** at limit **
   3  Prefactor     37.406        1.6191        .12009E-06   -.82815E-02
   4  Prefactor     13.808        2.0573       -.16669E-06   -.11928E-01
   5  norm          4.4014        2.6718       -.81370E-07   -.47973E-04
   6  Prefactor     21.759        1.6212        .45231E-07   -.36189E-03
   7  Prefactor     .32824E-06    10.641        .10119E-05** at limit **
   8  Prefactor     .38358E-06    5.9347       -.12329E-05** at limit **
   9  Prefactor     9.2924        10.253        .16375E-05    .46141E-01
  10  Prefactor      .0000        2.3316       -.83036E-06** at limit **
  11  Prefactor     .21066E-06    6.0601        .12722E-05** at limit **
  12  Prefactor     .57965E-06    7.8225        .41986E-06** at limit **
  13  Prefactor     43.212        1.4220        .91909E-07   -.34937E-02
  14  Prefactor     .13899E-05    14.567       -.37392E-05** at limit **
  15  Prefactor     .88818E-09    4.2436        .46363E-06** at limit **
  16  Prefactor     .42266E-06    13.243        .61602E-06** at limit **
  17  Prefactor     46.417        29.326        .16483E-05   -.28813E-01
  18  Prefactor      .0000        33.937       -.10771E-05** at limit **
  19  Prefactor     .49960E-09    4.5513        .16818E-06** at limit **
  20  Normalizat    .85991        .10899       -.69709E-05   -.15342E-04
  21  Prefactor     1.0686        .11761        .46118E-05   -.38963E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.17777e-07
  Prefactor  = 0
  Prefactor  = 37.4056
  Prefactor  = 13.8084
  norm       = 4.40141
  Prefactor  = 21.7594
  Prefactor  = 3.28237e-07
  Prefactor  = 3.83582e-07
  Prefactor  = 9.29238
  Prefactor  = 0
  Prefactor  = 2.10665e-07
  Prefactor  = 5.79647e-07
  Prefactor  = 43.2116
  Prefactor  = 1.38994e-06
  Prefactor  = 8.88178e-10
  Prefactor  = 4.22662e-07
  Prefactor  = 46.4171
  Prefactor  = 0
  Prefactor  = 4.996e-10
  Normalizat = 0.859912
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=OK           355 CALLS     1645 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41778E-06    9.3671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .90795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.406        23.099        .16354E-03   -1.5586    
   4  Prefactor     13.808        12.803        .26965E-03   -1.5634    
   5  norm          4.4014        2.6761        .48009E-03   -1.5666    
   6  Prefactor     21.759        20.605        .21382E-03   -1.5615    
   7  Prefactor     .32824E-06    11.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38358E-06    7.1913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.2924        10.712        .32849E-03   -1.5647    
  10  Prefactor      .0000        2.2724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21066E-06    6.8148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .57965E-06    25.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.212        21.761        .15214E-03   -1.5576    
  14  Prefactor     .13899E-05    19.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .88818E-09    4.2327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .42266E-06    23.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.417        30.115        .14946E-03   -1.5572    
  18  Prefactor      .0000        33.008        .17346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49960E-09    4.5537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85991        .95166E-01    .44388E-01   -.97883    
  21  Prefactor     1.0686        .10140        .38894E-01   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14701e-07
Minuit parameter uncertainties:
  1  0.00395656
  2  3.08915e-07
  3  23.099
  4  12.8029
  5  2.67613
  6  20.6048
  7  0.00392157
  8  0.00332166
  9  10.7125
  10  1.17729e-05
  11  0.00239652
  12  0.00764273
  13  21.7608
  14  0.0102792
  15  0.0001215
  16  0.0062467
  17  30.1156
  18  1.10447e-05
  19  9.75232e-05
  20  0.0951842
  21  0.101419
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=OK           355 CALLS     1645 TOTAL
                     EDM=   .31E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .41778E-06    9.3671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        .90795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     37.406        23.099        .16354E-03   -1.5586    
   4  Prefactor     13.808        12.803        .26965E-03   -1.5634    
   5  norm          4.4014        2.6761        .48009E-03   -1.5666    
   6  Prefactor     21.759        20.605        .21382E-03   -1.5615    
   7  Prefactor     .32824E-06    11.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .38358E-06    7.1913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     9.2924        10.712        .32849E-03   -1.5647    
  10  Prefactor      .0000        2.2724        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .21066E-06    6.8148        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .57965E-06    25.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     43.212        21.761        .15214E-03   -1.5576    
  14  Prefactor     .13899E-05    19.005        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .88818E-09    4.2327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .42266E-06    23.080        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     46.417        30.115        .14946E-03   -1.5572    
  18  Prefactor      .0000        33.008        .17346E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .49960E-09    4.5537        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .85991        .95166E-01    .44388E-01   -.97883    
  21  Prefactor     1.0686        .10140        .38894E-01   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14701e-07
Minuit parameter uncertainties:
  1  0.00395656
  2  3.08915e-07
  3  23.099
  4  12.8029
  5  2.67613
  6  20.6048
  7  0.00392157
  8  0.00332166
  9  10.7125
  10  1.17729e-05
  11  0.00239652
  12  0.00764273
  13  21.7608
  14  0.0102792
  15  0.0001215
  16  0.0062467
  17  30.1156
  18  1.10447e-05
  19  9.75232e-05
  20  0.0951842
  21  0.101419
Done.

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

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  2.107e-07  2.397e-03  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  1.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.518e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 205.110 69.445
Photon Flux Upper Limit: 3.19279047648e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00248873556052 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38307787/likelihoodResults_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1889841
delta logL = -0.0747449662977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142396
delta logL = -5.05991920363e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      236 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53846E-08    .34353        .42118E-03** at limit **
   2  Index         2.3022        8.5139        .45828        .12900E-08
   3  Normalizat    .85991        .44982E-03    .44388E-01   -.14072E-02
   4  Prefactor     1.0686        .48441E-03    .38928E-01   -.11603E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.38458e-09
  Index      = 2.30215
  Normalizat = 0.85991
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53846E-08    1.4610        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3022        6.1381        .50000       -.56993    
   3  Normalizat    .85991        .92556E-03    .23018E-03   -.97884    
   4  Prefactor     1.0686        .99710E-03    .22363E-03   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.31701e-11
Minuit parameter uncertainties:
  1  0.00017775
  2  5030.21
  3  0.000925564
  4  0.000997103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142391
delta logL = 1.47410901263e-08

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  5.385e-09  1.777e-04  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.302e+00  5.030e+03  0.000e+00  1.000e+01 (-1.000e+00)
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  9.971e-04  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.256e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 205.110 69.445

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/38307787/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2026-09-15 10:45:19.506691', job_id='38307787', GAL2='1.07', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1789494319.51', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='945' AND source_name='4FGL J1340.4+6926' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:45:19 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  2.107e-07  2.397e-03  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  1.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.518e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 205.110 69.445
Photon Flux Upper Limit: 3.19279047648e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00248873556052 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38307837/likelihoodResults_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1889841
delta logL = -0.0747449662977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142396
delta logL = -5.05991920363e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      236 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53846E-08    .34353        .42118E-03** at limit **
   2  Index         2.3022        8.5139        .45828        .12900E-08
   3  Normalizat    .85991        .44982E-03    .44388E-01   -.14072E-02
   4  Prefactor     1.0686        .48441E-03    .38928E-01   -.11603E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.38458e-09
  Index      = 2.30215
  Normalizat = 0.85991
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53846E-08    1.4610        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3022        6.1381        .50000       -.56993    
   3  Normalizat    .85991        .92556E-03    .23018E-03   -.97884    
   4  Prefactor     1.0686        .99710E-03    .22363E-03   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.31701e-11
Minuit parameter uncertainties:
  1  0.00017775
  2  5030.21
  3  0.000925564
  4  0.000997103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142391
delta logL = 1.47410901263e-08

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  5.385e-09  1.777e-04  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.302e+00  5.030e+03  0.000e+00  1.000e+01 (-1.000e+00)
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  9.971e-04  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.256e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 205.110 69.445

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/38307837/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2026-09-15 10:45:43.252634', job_id='38307837', GAL2='1.07', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1789494343.25', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='945' AND source_name='4FGL J1340.4+6926' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:45:43 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  2.107e-07  2.397e-03  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  1.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.518e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 205.110 69.445
Photon Flux Upper Limit: 3.19279047648e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00248873556052 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38307978/likelihoodResults_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1889841
delta logL = -0.0747449662977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142396
delta logL = -5.05991920363e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      236 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53846E-08    .34353        .42118E-03** at limit **
   2  Index         2.3022        8.5139        .45828        .12900E-08
   3  Normalizat    .85991        .44982E-03    .44388E-01   -.14072E-02
   4  Prefactor     1.0686        .48441E-03    .38928E-01   -.11603E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.38458e-09
  Index      = 2.30215
  Normalizat = 0.85991
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53846E-08    1.4610        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3022        6.1381        .50000       -.56993    
   3  Normalizat    .85991        .92556E-03    .23018E-03   -.97884    
   4  Prefactor     1.0686        .99710E-03    .22363E-03   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.31701e-11
Minuit parameter uncertainties:
  1  0.00017775
  2  5030.21
  3  0.000925564
  4  0.000997103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142391
delta logL = 1.47410901263e-08

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  5.385e-09  1.777e-04  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.302e+00  5.030e+03  0.000e+00  1.000e+01 (-1.000e+00)
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  9.971e-04  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.256e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 205.110 69.445

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/38307978/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2026-09-15 10:46:29.835064', job_id='38307978', GAL2='1.07', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1789494389.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='945' AND source_name='4FGL J1340.4+6926' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:46:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  2.107e-07  2.397e-03  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.535e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  1.014e-01  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.518e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 205.110 69.445
Photon Flux Upper Limit: 3.19279047648e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00248873556052 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/38307849/likelihoodResults_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1889841
delta logL = -0.0747449662977

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142396
delta logL = -5.05991920363e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15600.11     FROM MIGRAD    STATUS=CONVERGED     63 CALLS      236 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .53846E-08    .34353        .42118E-03** at limit **
   2  Index         2.3022        8.5139        .45828        .12900E-08
   3  Normalizat    .85991        .44982E-03    .44388E-01   -.14072E-02
   4  Prefactor     1.0686        .48441E-03    .38928E-01   -.11603E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.38458e-09
  Index      = 2.30215
  Normalizat = 0.85991
  Prefactor  = 1.06863
 **********
 **   18 **HESSE 
 **********

 FCN=   15600.11     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      265 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .53846E-08    1.4610        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3022        6.1381        .50000       -.56993    
   3  Normalizat    .85991        .92556E-03    .23018E-03   -.97884    
   4  Prefactor     1.0686        .99710E-03    .22363E-03   -.90475    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.31701e-11
Minuit parameter uncertainties:
  1  0.00017775
  2  5030.21
  3  0.000925564
  4  0.000997103
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 15600.1142391
delta logL = 1.47410901263e-08

Extracting fit parameters...

4FGL J1340.4+6926
   Spectrum: PowerLaw
377    Prefactor:  5.385e-09  1.777e-04  0.000e+00  1.000e+06 ( 1.000e-13)
378        Index:  2.302e+00  5.030e+03  0.000e+00  1.000e+01 (-1.000e+00)
379        Scale:  9.421e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
725    Prefactor:  1.069e+00  9.971e-04  0.000e+00  1.000e+01 ( 1.000e+00)
726        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
727        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
724   Normalization:  8.599e-01  9.256e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 205.110 69.445

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/38307849/cmap_HighResolution_810518401_811123201_4FGL_J1340.4+6926_weekly_bin945.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-03', job_status='DONE', photon_flux_upper_limit='3.19e-08', time_completed='2026-09-15 10:46:40.204688', job_id='38307849', GAL2='1.07', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1789494400.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='1.47e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.53' WHERE bin_id='945' AND source_name='4FGL J1340.4+6926' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:46:40 PDT 2026

