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


Performing analysis on: 4FGL_J1653.8+3945_weekly_bin928
RA = 253.474, Dec = 39.7595
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26874978', job_status='RUN', time_executed='2026-05-19 12:53:59.141975', time_epoch_executed='1779220439.14' WHERE source_name='4FGL J1653.8+3945' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874978

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26874978/ft1_4FGL_J1653.8+3945_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874978/ft1_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874978/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits ra=253.474 dec=39.7595 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.23
user 4.56
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26874978/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874978/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 1.01
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 2437

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874978/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA"/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 = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1653.8+3945_weekly_bin928
RA = 253.474, Dec = 39.7595
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26874986', job_status='RUN', time_executed='2026-05-19 12:54:34.405285', time_epoch_executed='1779220474.41' WHERE source_name='4FGL J1653.8+3945' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874986

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26874986/ft1_4FGL_J1653.8+3945_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874986/ft1_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874986/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits ra=253.474 dec=39.7595 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.33
user 4.61
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26874986/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874986/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.72
user 0.23
sys 0.12

Number of photons that the gtmktime cut: 2437

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


Performing analysis on: 4FGL_J1653.8+3945_weekly_bin928
RA = 253.474, Dec = 39.7595
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26874992', job_status='RUN', time_executed='2026-05-19 12:54:32.932533', time_epoch_executed='1779220472.93' WHERE source_name='4FGL J1653.8+3945' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874992

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26874992/ft1_4FGL_J1653.8+3945_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874992/ft1_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874992/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits ra=253.474 dec=39.7595 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.71
user 3.98
sys 0.31

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26874992/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874992/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.61
user 0.19
sys 0.12

Number of photons that the gtmktime cut: 2437

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


Performing analysis on: 4FGL_J1653.8+3945_weekly_bin928
RA = 253.474, Dec = 39.7595
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26874990', job_status='RUN', time_executed='2026-05-19 12:54:32.932534', time_epoch_executed='1779220472.93' WHERE source_name='4FGL J1653.8+3945' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874990

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26874990/ft1_4FGL_J1653.8+3945_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874990/ft1_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874990/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits ra=253.474 dec=39.7595 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.65
user 3.98
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26874990/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874990/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.73
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 2437

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874990/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26874956/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26874956/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 18.99
user 18.36
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874956/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874956/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874956/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874956/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26874956/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 68.28
user 63.55
sys 4.01

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

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874956/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874956/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874956/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874956/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874956/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874956/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 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.81
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874956/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874956/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874956/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1653.8+3945_weekly_bin928
RA = 253.474, Dec = 39.7595
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26875102', job_status='RUN', time_executed='2026-05-19 12:55:59.505951', time_epoch_executed='1779220559.51' WHERE source_name='4FGL J1653.8+3945' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875102

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875102/ft1_4FGL_J1653.8+3945_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875102/ft1_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875102/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits ra=253.474 dec=39.7595 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.81
user 3.99
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26875102/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875102/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.67
user 0.20
sys 0.12

Number of photons that the gtmktime cut: 2437

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26875102/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26874978/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 19.69
user 18.88
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874978/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874978/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874978/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26874978/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 70.19
user 64.99
sys 4.09

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

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874978/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874978/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874978/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874978/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.79
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874978/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874978/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1653.8+3945_weekly_bin928
RA = 253.474, Dec = 39.7595
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26875093', job_status='RUN', time_executed='2026-05-19 12:56:01.454915', time_epoch_executed='1779220561.45' WHERE source_name='4FGL J1653.8+3945' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875093

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875093/ft1_4FGL_J1653.8+3945_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875093/ft1_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875093/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits ra=253.474 dec=39.7595 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.50
user 4.78
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26875093/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875093/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.65
user 0.22
sys 0.14

Number of photons that the gtmktime cut: 2437

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


Performing analysis on: 4FGL_J1653.8+3945_weekly_bin928
RA = 253.474, Dec = 39.7595
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26875099', job_status='RUN', time_executed='2026-05-19 12:55:59.855571', time_epoch_executed='1779220559.86' WHERE source_name='4FGL J1653.8+3945' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875099

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875099/ft1_4FGL_J1653.8+3945_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875099/ft1_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875099/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits ra=253.474 dec=39.7595 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.51
user 3.92
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26875099/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875099/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.77
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 2437

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


Performing analysis on: 4FGL_J1653.8+3945_weekly_bin928
RA = 253.474, Dec = 39.7595
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26875121', job_status='RUN', time_executed='2026-05-19 12:56:34.492858', time_epoch_executed='1779220594.49' WHERE source_name='4FGL J1653.8+3945' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875121

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875121/ft1_4FGL_J1653.8+3945_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875121/ft1_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875121/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits ra=253.474 dec=39.7595 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.13
user 4.50
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26875121/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875121/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.75
user 0.22
sys 0.11

Number of photons that the gtmktime cut: 2437

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26875121/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26874986/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 20.38
user 19.56
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874986/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874986/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874986/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26874986/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 70.19
user 65.47
sys 3.99

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 204 point sources and 0 extended sources

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874986/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874986/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 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.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874986/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874986/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 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.92
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874986/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874986/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/26874992/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 16.68
user 16.03
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874992/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874992/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874992/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26874992/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 60.64
user 56.42
sys 3.60

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

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874992/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874992/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 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.96
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874992/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874992/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 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.95
user 0.21
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874992/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874992/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/26874990/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 16.61
user 16.00
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874990/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874990/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874990/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26874990/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 60.73
user 56.61
sys 3.53

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

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874990/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874990/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 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.91
user 0.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874990/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26874990/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 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.75
user 0.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874990/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874990/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/26875102/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 16.26
user 15.67
sys 0.19

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875102/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875102/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875102/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26875102/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 59.64
user 55.60
sys 3.43

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

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875102/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875102/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 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.73
user 0.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875102/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875102/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 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.71
user 0.21
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875102/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875102/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcnumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1653.8+3945_weekly_bin928
RA = 253.474, Dec = 39.7595
tmin = 800236801, tmax = 800841601
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='26875169', job_status='RUN', time_executed='2026-05-19 12:58:02.104392', time_epoch_executed='1779220682.1' WHERE source_name='4FGL J1653.8+3945' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26875169

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/26875169/ft1_4FGL_J1653.8+3945_weekly_bin928.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26875169/ft1_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875169/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits ra=253.474 dec=39.7595 rad=12.0 tmin=800236801.0 tmax=800841601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.63
user 3.98
sys 0.19

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/lscratch/kocevski/26875169/ft1_filteredMKT_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26875169/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/sdf/group/fermi/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.75
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 2437

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26875169/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA"  outfile=/lscratch/kocevski/26875099/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 16.13
user 15.49
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875099/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875099/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875099/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26875099/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 59.98
user 55.65
sys 3.59

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

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875099/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875099/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.22
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875099/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875099/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875099/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875099/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/26875093/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 19.62
user 18.96
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875093/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875093/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875093/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26875093/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 71.15
user 66.36
sys 4.01

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

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875093/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875093/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.93
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875093/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875093/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 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.25
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875093/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875093/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourc outfile=/lscratch/kocevski/26875121/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 18.57
user 17.94
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875121/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875121/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875121/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26875121/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 71.16
user 64.86
sys 4.06

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

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875121/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875121/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 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.83
user 0.27
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875121/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875121/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.77
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875121/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875121/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcoutfile=/lscratch/kocevski/26875169/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 16.04
user 15.38
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26875169/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26875169/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875169/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/26875169/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
.....................!
real 59.77
user 55.62
sys 3.51

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

Setting source of interest to:
4FGL J1653.8+3945 @ 253.474 39.7595

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26875169/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875169/cmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=253.474 yref=39.7595 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.70
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26875169/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits scfile=/lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits outfile=/lscratch/kocevski/26875169/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=253.474 yref=39.7595 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.21
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26875169/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26875169/Model_4FGL_J1653.8+3945_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding sourcee GAL_V02
Working on...
/lscratch/kocevski/26874956/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 67.63
user 65.87
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874956/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26874956/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26874956/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26874956/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874956/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874956/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874956/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874956/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874956/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874956/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
e GAL_V02
Working on...
/lscratch/kocevski/26874992/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 59.19
user 57.56
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874992/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26874992/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26874992/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874992/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874992/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874992/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874992/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874992/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874992/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.000e GAL_V02
Working on...
/lscratch/kocevski/26874978/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 70.24
user 68.23
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874978/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26874978/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26874978/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874978/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874978/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874978/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874978/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874978/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874978/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.000e GAL_V02
Working on...
/lscratch/kocevski/26874990/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 59.30
user 57.58
sys 1.01

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874990/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26874990/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26874990/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874990/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874990/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874990/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874990/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874990/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874990/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
0          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
0          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
 **********
 **   18 **HESSE 
 **********

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
e GAL_V02
Working on...
/lscratch/kocevski/26874986/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 70.59
user 68.22
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874986/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26874986/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26874986/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874986/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874986/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874986/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874986/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874986/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874986/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.000e GAL_V02
Working on...
/lscratch/kocevski/26875102/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 57.69
user 56.41
sys 0.65

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875102/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26875102/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26875102/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875102/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875102/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875102/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875102/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875102/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875102/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.000Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
0          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
 **********
 **   18 **HESSE 
 **********

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26874956/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:08:36.664056', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221316.66', return_code='0', job_id='26874956', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:08:37 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/26875099/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 58.75
user 57.03
sys 0.86

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875099/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26875099/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26875099/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875099/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875099/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875099/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875099/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875099/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875099/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.000 **********
 **   18 **HESSE 
 **********

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
0          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
 **********
 **   18 **HESSE 
 **********

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
 **********
 **   18 **HESSE 
 **********

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
0          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
 **********
 **   18 **HESSE 
 **********

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26874992/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:09:35.302264', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221375.3', return_code='0', job_id='26874992', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:09:35 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
 **********
 **   18 **HESSE 
 **********

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26874990/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:09:47.148765', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221387.15', return_code='0', job_id='26874990', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:09:47 PDT 2026

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

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
 **********
 **   18 **HESSE 
 **********

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
e GAL_V02
Working on...
/lscratch/kocevski/26875093/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 68.36
user 66.48
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875093/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26875093/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26875093/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875093/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875093/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875093/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875093/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875093/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875093/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.000shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26874978/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:09:54.983934', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221394.98', return_code='0', job_id='26874978', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:09:55 PDT 2026

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

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
e GAL_V02
Working on...
/lscratch/kocevski/26875121/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 67.72
user 65.93
sys 0.99

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875121/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26875121/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26875121/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875121/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875121/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875121/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875121/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875121/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875121/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
 **********
 **   18 **HESSE 
 **********

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
 **********
 **   18 **HESSE 
 **********

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26874986/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:10:36.595929', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221436.6', return_code='0', job_id='26874986', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:10:36 PDT 2026

 GAL_V02
Working on...
/lscratch/kocevski/26875169/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits.....................!
real 58.13
user 56.85
sys 0.59

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26875169/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits', '/lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits', expMap='/lscratch/kocevski/26875169/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', expCube='/lscratch/kocevski/26875169/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26875169/Model_4FGL_J1653.8+3945_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1653.8+3945'

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.183e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26875169/ft1_filtered_4FGL_J1653.8+3945_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26875169/ft2_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26875169/expmap_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26875169/ltcube_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26875169/Model_4FGL_J1653.8+3945_weekly_bin928.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39285E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.3618       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42912E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .15565E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .33168E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72520E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1558       1.0000          .0000       .10000E+07
     8 'Prefactor '    .48015E-05   1.0000          .0000       .10000E+07
     9 'norm      '    .34594E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.3605       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5101       1.0000          .0000       .10000E+07
    13 'Prefactor '    .90156E-05   1.0000          .0000       .10000E+07
    14 'norm      '    5.1067       1.0000          .0000       .10000E+07
    15 'norm      '    .59057       1.0000          .0000       .10000E+07
    16 'Prefactor '    .77621E-04   1.0000          .0000       .10000E+07
    17 'norm      '    .16626E-06   1.0000          .0000       .10000E+07
    18 'norm      '    5.5003       1.0000          .0000       .10000E+07
    19 'norm      '    .54501       1.0000          .0000       .10000E+07
    20 'norm      '    8.1725       1.0000          .0000       .10000E+07
    21 'Prefactor '    24.210       1.0000          .0000       .10000E+07
    22 'Prefactor '    .26306E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .57223E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    4.9599       1.0000          .0000       .10000E+07
    25 'Normalizat'    .93708       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0171       1.0000Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
 **********
 **   18 **HESSE 
 **********

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26875102/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:10:52.874868', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221452.87', return_code='0', job_id='26875102', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:10:53 PDT 2026

0          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   26056.35     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     2239 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .51870       -.92522E-07** at limit **
   2  Prefactor     2.3593        1.9691       -.41449E-07    .54078E-04
   3  Prefactor     .55511E-10    2.7220        .37058E-07** at limit **
   4  Prefactor     .11102E-09    2.9578        .74641E-07** at limit **
   5  norm          .33167E-01    .42187E-01   -.18625E-07** at limit **
   6  norm           .0000        4.1975        .29404E-07** at limit **
   7  Prefactor     9.1458        1.6458       -.90208E-08   -.17249E-01
   8  Prefactor      .0000        .64053        .45067E-07** at limit **
   9  norm           .0000        7.5169        .32074E-06** at limit **
  10  Prefactor     1.6387        .78351       -.27755E-07    .50555E-02
  11  Prefactor     3.3613        .88235       -.42466E-07    .59665E-02
  12  Prefactor     4.5094        1.6208        .55488E-07   -.14486E-02
  13  Prefactor      .0000        1.0650        .99815E-07** at limit **
  14  norm          5.1068        1.0480       -.29318E-07    .16211E-02
  15  norm          .59038        .36654       -.29439E-07    .15807E-02
  16  Prefactor      .0000        2.3952        .25563E-06** at limit **
  17  norm           .0000        .67380E-01   -.75709E-07** at limit **
  18  norm          5.5015        3.5643        .40986E-07   -.12897E-03
  19  norm          .54491        .60390       -.14212E-07    .42875E-03
  20  norm          8.1885        2.7873       -.10135E-06    .22320E-02
  21  Prefactor     23.793        29.945       -.42290E-06    .53939E-03
  22  Prefactor     .32752E-08    .82570       -.37384E-07** at limit **
  23  Prefactor      .0000        5.0068       -.22058E-06** at limit **
  24  Prefactor     4.9564        4.7144        .96839E-07   -.47371E-03
  25  Normalizat    .93689        .11480        .21301E-05    .40576E-04
  26  Prefactor     1.0173        .90491E-01   -.14590E-05    .66398E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.35927
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  norm       = 0.0331667
  norm       = 0
  Prefactor  = 9.14577
  Prefactor  = 0
  norm       = 0
  Prefactor  = 1.63867
  Prefactor  = 3.36133
  Prefactor  = 4.50938
  Prefactor  = 0
  norm       = 5.10676
  norm       = 0.590382
  Prefactor  = 0
  norm       = 0
  norm       = 5.50152
  norm       = 0.544911
  norm       = 8.18846
  Prefactor  = 23.7931
  Prefactor  = 3.27516e-09
  Prefactor  = 0
  Prefactor  = 4.95638
  Normalizat = 0.93689
  Prefactor  = 1.01732
 **********
 **   18 **HESSE 
 **********

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26875099/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:11:15.749536', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221475.75', return_code='0', job_id='26875099', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:11:16 PDT 2026

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

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
 **********
 **   18 **HESSE 
 **********

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
 **********
 **   18 **HESSE 
 **********

 FCN=   26056.35     FROM HESSE     STATUS=OK           520 CALLS     2759 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .51609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.3593        1.9717        .66656E-03   -1.5677    
   3  Prefactor     .55511E-10    2.7503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .11102E-09    .52539        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .33167E-01    .46840E-01    .80826E-03   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        4.1807        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.1458        8.1351        .33098E-03   -1.5647    
   8  Prefactor      .0000        .63767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm           .0000        7.5237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.6387        .78270        .82504E-03   -1.5682    
  11  Prefactor     3.3613        .86538        .55179E-03   -1.5671    
  12  Prefactor     4.5094        1.6266        .47383E-03   -1.5665    
  13  Prefactor      .0000        .31114        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1068        1.0479        .44467E-04   -1.5663    
  15  norm          .59038        .37184        .70077E-03   -1.5693    
  16  Prefactor      .0000        2.3713        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        .66303E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.5015        3.5726        .42818E-03   -1.5661    
  19  norm          .54491        .61514        .74305E-03   -1.5693    
  20  norm          8.1885        2.7929        .35046E-03   -1.5651    
  21  Prefactor     23.793        30.069        .20328E-03   -1.5610    
  22  Prefactor     .32752E-08    10.587        .29504E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor      .0000        5.0222        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     4.9564        4.7151        .45134E-03   -1.5663    
  25  Normalizat    .93689        .99871E-01    .45374E-01   -.95176    
  26  Prefactor     1.0173        .76867E-01    .42442E-01   -.92154    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.46495e-07
Minuit parameter uncertainties:
  1  1.07119e-06
  2  1.97175
  3  2.44668e-05
  4  1.55514e-05
  5  0.0468399
  6  6.7236e-06
  7  8.13511
  8  5.32053e-07
  9  8.08351e-06
  10  0.782703
  11  0.865384
  12  1.62657
  13  7.83496e-07
  14  1.0479
  15  0.371844
  16  6.57653e-06
  17  2.6815e-07
  18  3.57264
  19  0.615141
  20  2.79289
  21  30.0688
  22  0.000372169
  23  1.70409e-05
  24  4.71508
  25  0.0998906
  26  0.0768757
Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
 **********
 **   18 **HESSE 
 **********

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26875093/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:12:45.363877', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221565.36', return_code='0', job_id='26875093', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:12:45 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
 **********
 **   18 **HESSE 
 **********

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
Done.

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

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  5.107e+00  1.048e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.721e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.017e+00  7.688e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.369e-01  9.989e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 107.04
Ra Dec: 253.474 39.760
Photon Index (Fixed Index): 1.72 +/- 0.00
Photon Flux (Fixed Index): 6.84e-08 +/- 1.40e-08
Energy Flux (Fixed Index): 9.86e-05 +/- 2.02e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.442509
delta logL = 0.909696634797

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376585
delta logL = 0.914547102002

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.8948       1.0000          .0000       .10000E+07
     2 'alpha     '    1.9301       1.0000          .0000       5.0000    
     3 'Normalizat'    .91830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0234       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6620E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   26055.44     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      251 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.8948        1.0096        .65883E-05   -.87867E-02
   2  alpha         1.9301        .15594        .80259E-02    .76813E-03
   3  Normalizat    .91833        .11116        .28060E-03   -.75036E-04
   4  Prefactor     1.0233        .88944E-01    .21476E-03   -.94653E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.89484
  alpha      = 1.93011
  Normalizat = 0.918328
  Prefactor  = 1.02334
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26875169/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:13:03.389901', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221583.39', return_code='0', job_id='26875169', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:13:03 PDT 2026

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

 FCN=   26055.44     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.8948        1.0004        .26353E-06   -1.5664    
   2  alpha         1.9301        .15444        .16052E-02   -.22998    
   3  Normalizat    .91833        .11124        .11224E-04   -.95819    
   4  Prefactor     1.0233        .89030E-01    .85902E-05   -.91956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42204e-11
Minuit parameter uncertainties:
  1  1.00037
  2  0.154543
  3  0.111272
  4  0.0890429
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 26055.4376584
delta logL = 0.914547172502

Extracting fit parameters...

4FGL J1653.8+3945
   Spectrum: LogParabola
322         norm:  4.895e+00  1.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
323        alpha:  1.930e+00  1.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
324         beta:  1.993e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
325           Eb:  1.486e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
659    Prefactor:  1.023e+00  8.904e-02  0.000e+00  1.000e+01 ( 1.000e+00)
660        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
661        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
658   Normalization:  9.183e-01  1.113e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 108.98
Ra Dec: 253.474 39.760
Photon Index (Free Index): 1.93 +/- 0.15
Photon Flux (Free Index): 8.93e-08 +/- 2.31e-08
Energy Flux (Free Index): 7.23e-05 +/- 2.07e-05

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/26875121/cmap_HighResolution_800236801_800841601_4FGL_J1653.8+3945_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.84e-08', energy_flux2='7.23e-05', photon_flux_error='1.40e-08', dlogl='9.15e-01', energy_flux='9.86e-05', photon_flux2='8.93e-08', job_status='DONE', time_completed='2026-05-19 13:13:10.710617', photon_index_error2='0.15', photon_index2='1.93', ts='107.04', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='2.07e-05', EG='0.94', time_epoch_completed='1779221590.71', return_code='0', job_id='26875121', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='2.02e-05', photon_flux_error2='2.31e-08', ts2='108.98', photon_index='1.72' WHERE bin_id='928' AND source_name='4FGL J1653.8+3945' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:13:11 PDT 2026

