/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_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874841', job_status='RUN', time_executed='2026-05-19 12:49:40.261977', time_epoch_executed='1779220180.26' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874841

Creating custom pfile directory:
/lscratch/kocevski/26874841/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/26874841/ft1_4FGL_J1648.0+2221_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/26874841/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874841/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874841/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.11
user 4.50
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874841/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874841/ft2_4FGL_J1648.0+2221_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/26874841/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874841/ft1_filtered_4FGL_J1648.0+2221_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.66
user 0.20
sys 0.14

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874841/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874841/ft2_4FGL_J1648.0+2221_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_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874852', job_status='RUN', time_executed='2026-05-19 12:50:04.827303', time_epoch_executed='1779220204.83' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874852

Creating custom pfile directory:
/lscratch/kocevski/26874852/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/26874852/ft1_4FGL_J1648.0+2221_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/26874852/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874852/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874852/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.27
user 4.56
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874852/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874852/ft2_4FGL_J1648.0+2221_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/26874852/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874852/ft1_filtered_4FGL_J1648.0+2221_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.64
user 0.21
sys 0.12

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874852/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874852/ft2_4FGL_J1648.0+2221_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_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874850', job_status='RUN', time_executed='2026-05-19 12:50:04.827309', time_epoch_executed='1779220204.83' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874850

Creating custom pfile directory:
/lscratch/kocevski/26874850/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/26874850/ft1_4FGL_J1648.0+2221_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/26874850/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874850/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874850/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.11
user 4.55
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874850/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874850/ft2_4FGL_J1648.0+2221_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/26874850/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874850/ft1_filtered_4FGL_J1648.0+2221_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.63
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874850/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874850/ft2_4FGL_J1648.0+2221_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_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874854', job_status='RUN', time_executed='2026-05-19 12:50:03.241971', time_epoch_executed='1779220203.24' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874854

Creating custom pfile directory:
/lscratch/kocevski/26874854/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/26874854/ft1_4FGL_J1648.0+2221_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/26874854/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874854/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874854/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.24
user 4.55
sys 0.28

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874854/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874854/ft2_4FGL_J1648.0+2221_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/26874854/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874854/ft1_filtered_4FGL_J1648.0+2221_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.14

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874854/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874854/ft2_4FGL_J1648.0+2221_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_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874877', job_status='RUN', time_executed='2026-05-19 12:50:39.995610', time_epoch_executed='1779220240.0' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874877

Creating custom pfile directory:
/lscratch/kocevski/26874877/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/26874877/ft1_4FGL_J1648.0+2221_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/26874877/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874877/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874877/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.08
user 4.57
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874877/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874877/ft2_4FGL_J1648.0+2221_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/26874877/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874877/ft1_filtered_4FGL_J1648.0+2221_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.57
user 0.20
sys 0.13

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874877/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874877/ft2_4FGL_J1648.0+2221_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_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874911', job_status='RUN', time_executed='2026-05-19 12:51:39.111419', time_epoch_executed='1779220299.11' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874911

Creating custom pfile directory:
/lscratch/kocevski/26874911/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/26874911/ft1_4FGL_J1648.0+2221_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/26874911/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874911/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874911/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.14
user 4.60
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874911/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874911/ft2_4FGL_J1648.0+2221_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/26874911/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874911/ft1_filtered_4FGL_J1648.0+2221_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.22
sys 0.12

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874911/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874911/ft2_4FGL_J1648.0+2221_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_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874901', job_status='RUN', time_executed='2026-05-19 12:51:39.148681', time_epoch_executed='1779220299.15' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874901

Creating custom pfile directory:
/lscratch/kocevski/26874901/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/26874901/ft1_4FGL_J1648.0+2221_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/26874901/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874901/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874901/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.43
user 4.77
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874901/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874901/ft2_4FGL_J1648.0+2221_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/26874901/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874901/ft1_filtered_4FGL_J1648.0+2221_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.69
user 0.23
sys 0.13

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874901/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874901/ft2_4FGL_J1648.0+2221_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_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874909', job_status='RUN', time_executed='2026-05-19 12:51:39.154378', time_epoch_executed='1779220299.15' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874909

Creating custom pfile directory:
/lscratch/kocevski/26874909/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/26874909/ft1_4FGL_J1648.0+2221_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/26874909/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874909/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874909/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.60
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874909/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874909/ft2_4FGL_J1648.0+2221_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/26874909/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874909/ft1_filtered_4FGL_J1648.0+2221_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.69
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874909/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874909/ft2_4FGL_J1648.0+2221_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_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874932', job_status='RUN', time_executed='2026-05-19 12:52:37.030107', time_epoch_executed='1779220357.03' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874932

Creating custom pfile directory:
/lscratch/kocevski/26874932/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/26874932/ft1_4FGL_J1648.0+2221_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/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874932/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874932/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.36
user 4.67
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874932/ft2_4FGL_J1648.0+2221_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/26874932/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874932/ft1_filtered_4FGL_J1648.0+2221_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.23
sys 0.15

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874932/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26874841/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874841/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 18.36
user 17.75
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874841/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874841/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874841/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874841/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874841/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 69.79
user 65.12
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 199 point sources and 0 extended sources

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874841/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874841/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874841/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.24
sys 0.13

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

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

This is gtbin version HEAD
real 0.65
user 0.25
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874841/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874841/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874841/Model_4FGL_J1648.0+2221_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/26874852/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874852/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 18.69
user 18.14
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874852/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874852/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874852/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874852/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874852/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 70.96
user 66.13
sys 4.14

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

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874852/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874852/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874852/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.72
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874852/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874852/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874852/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.87
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874852/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874852/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874852/Model_4FGL_J1648.0+2221_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/26874850/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874850/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 18.52
user 17.87
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874850/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874850/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874850/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874850/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874850/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 70.39
user 65.76
sys 4.05

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

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874850/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874850/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874850/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.24
sys 0.13

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

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

This is gtbin version HEAD
real 0.68
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874850/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874850/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874850/Model_4FGL_J1648.0+2221_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/26874854/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874854/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 18.68
user 17.90
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874854/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874854/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874854/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874854/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874854/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 70.52
user 65.27
sys 4.28

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

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874854/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874854/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874854/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874854/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874854/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874854/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.86
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874854/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874854/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874854/Model_4FGL_J1648.0+2221_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/26874877/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874877/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 18.50
user 17.95
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874877/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874877/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874877/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874877/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874877/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 70.18
user 65.43
sys 4.08

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

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874877/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874877/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874877/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.72
user 0.22
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874877/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874877/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874877/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874877/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874877/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874877/Model_4FGL_J1648.0+2221_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 sourcenumber of points = 17567
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1648.0+2221_weekly_bin928
RA = 252.023, Dec = 22.3523
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='26874958', job_status='RUN', time_executed='2026-05-19 12:53:59.792806', time_epoch_executed='1779220439.79' WHERE source_name='4FGL J1648.0+2221' and cadence='weekly' and bin_id='928'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/26874958

Creating custom pfile directory:
/lscratch/kocevski/26874958/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/26874958/ft1_4FGL_J1648.0+2221_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/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/26874958/ft1_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874958/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits ra=252.023 dec=22.3523 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.51
user 4.82
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/26874958/ft2_4FGL_J1648.0+2221_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/26874958/ft1_filteredMKT_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" outfile="/lscratch/kocevski/26874958/ft1_filtered_4FGL_J1648.0+2221_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.98
user 0.22
sys 0.15

Number of photons that the gtmktime cut: 2273

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/26874958/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits" evtable="EVENTS" scfile=/lscratch/kocevski/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" outfile=/lscratch/kocevski/26874911/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874911/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 18.74
user 18.14
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874911/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874911/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874911/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874911/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874911/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 71.06
user 66.40
sys 3.98

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

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874911/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874911/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874911/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.21
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874911/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874911/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874911/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.72
user 0.25
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874911/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874911/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874911/Model_4FGL_J1648.0+2221_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/26874901/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874901/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 19.48
user 18.75
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874901/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874901/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874901/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874901/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874901/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 71.56
user 66.64
sys 4.20

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

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874901/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874901/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874901/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.62
user 0.24
sys 0.12

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

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

This is gtbin version HEAD
real 0.70
user 0.25
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874901/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874901/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874901/Model_4FGL_J1648.0+2221_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/26874909/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874909/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 18.90
user 18.13
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874909/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874909/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874909/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874909/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874909/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 71.56
user 66.37
sys 4.17

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

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874909/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874909/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874909/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.23
sys 0.13

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

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

This is gtbin version HEAD
real 0.65
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874909/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874909/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874909/Model_4FGL_J1648.0+2221_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/26874932/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 19.23
user 18.42
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874932/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874932/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874932/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874932/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 72.15
user 67.02
sys 4.25

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

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874932/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874932/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.68
user 0.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874932/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874932/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.27
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874932/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874932/Model_4FGL_J1648.0+2221_weekly_bin928.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/26874841/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 67.62
user 66.02
sys 0.91

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874841/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874841/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874841/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874841/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874841/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874841/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874841/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874841/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874841/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874841/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
e GAL_V02
Working on...
/lscratch/kocevski/26874852/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 68.73
user 66.65
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874852/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874852/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874852/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874852/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874852/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874852/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874852/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874852/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874852/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874852/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
e GAL_V02
Working on...
/lscratch/kocevski/26874850/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 68.17
user 66.44
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874850/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874850/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874850/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874850/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874850/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874850/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874850/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874850/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874850/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874850/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
e GAL_V02
Working on...
/lscratch/kocevski/26874854/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 68.25
user 66.13
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874854/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874854/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874854/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874854/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874854/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874854/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874854/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874854/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874854/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874854/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
 **********
 **   18 **HESSE 
 **********

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
 **********
 **   18 **HESSE 
 **********

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
 **********
 **   18 **HESSE 
 **********

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
 GAL_V02
Working on...
/lscratch/kocevski/26874877/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 67.77
user 66.16
sys 0.89

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874877/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874877/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874877/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874877/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874877/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874877/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874877/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874877/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874877/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874877/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
 **********
 **   18 **HESSE 
 **********

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
 **********
 **   18 **HESSE 
 **********

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
 **********
 **   18 **HESSE 
 **********

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
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) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874841/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:00:51.302976', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779220851.3', return_code='0', job_id='26874841', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:00:51 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/26874911/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 67.57
user 66.05
sys 0.78

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874911/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874911/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874911/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874911/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874911/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874911/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874911/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874911/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874911/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874911/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
e GAL_V02
Working on...
/lscratch/kocevski/26874909/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 69.00
user 66.41
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874909/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874909/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874909/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874909/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874909/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874909/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874909/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874909/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874909/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874909/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
 **********
 **   18 **HESSE 
 **********

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
 **********
 **   18 **HESSE 
 **********

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
 **********
 **   18 **HESSE 
 **********

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
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) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874852/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:01:03.698331', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779220863.7', return_code='0', job_id='26874852', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:01:03 PDT 2026

Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874850/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:01:03.771750', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779220863.77', return_code='0', job_id='26874850', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:01:04 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/26874901/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 69.19
user 67.00
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874901/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874901/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874901/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874901/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874901/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874901/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874901/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874901/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874901/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874901/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
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) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874854/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:01:04.785972', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779220864.79', return_code='0', job_id='26874854', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:01:05 PDT 2026

 outfile=/lscratch/kocevski/26874958/ltcube_800236801_800841601_4FGL_J1648.0+2221_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/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 19.95
user 18.82
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/26874958/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" expcube=/lscratch/kocevski/26874958/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874958/expmap_800236801_800841601_4FGL_J1648.0+2221_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/26874958/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
.....................!
real 72.82
user 67.21
sys 4.28

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

Setting source of interest to:
4FGL J1648.0+2221 @ 252.023 22.3523

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/26874958/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874958/cmap_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.24
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/26874958/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits scfile=/lscratch/kocevski/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits outfile=/lscratch/kocevski/26874958/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_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=252.023 yref=22.3523 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/26874958/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits evtable="EVENTS" scfile=/lscratch/kocevski/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/26874958/Model_4FGL_J1648.0+2221_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 **********
 **   18 **HESSE 
 **********

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
 **********
 **   18 **HESSE 
 **********

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
 **********
 **   18 **HESSE 
 **********

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
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) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874877/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:01:24.022438', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779220884.02', return_code='0', job_id='26874877', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:01:24 PDT 2026

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

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
 **********
 **   18 **HESSE 
 **********

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
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) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874911/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:01:57.767157', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779220917.77', return_code='0', job_id='26874911', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:01:58 PDT 2026

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

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
e GAL_V02
Working on...
/lscratch/kocevski/26874932/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 70.62
user 68.58
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874932/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874932/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874932/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874932/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874932/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874932/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874932/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874932/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874932/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
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) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874909/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:02:02.349120', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779220922.35', return_code='0', job_id='26874909', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:02:02 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
 **********
 **   18 **HESSE 
 **********

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
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) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874901/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:02:13.514942', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779220933.51', return_code='0', job_id='26874901', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:02:13 PDT 2026

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

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
 **********
 **   18 **HESSE 
 **********

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
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) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874932/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:03:05.387238', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779220985.39', return_code='0', job_id='26874932', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:03:05 PDT 2026

e GAL_V02
Working on...
/lscratch/kocevski/26874958/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits.....................!
real 69.63
user 67.05
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/26874958/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits', '/lscratch/kocevski/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits', expMap='/lscratch/kocevski/26874958/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', expCube='/lscratch/kocevski/26874958/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/26874958/Model_4FGL_J1648.0+2221_weekly_bin928.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1648.0+2221'

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  1.436e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/26874958/ft1_filtered_4FGL_J1648.0+2221_weekly_bin928.fits
Spacecraft file(s): /lscratch/kocevski/26874958/ft2_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure map: /lscratch/kocevski/26874958/expmap_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
Exposure cube: /lscratch/kocevski/26874958/ltcube_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/26874958/Model_4FGL_J1648.0+2221_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) = 24420.2157609

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .74829E-07   1.0000          .0000       .10000E+07
     2 'Prefactor '    13.660       1.0000          .0000       .10000E+07
     3 'Prefactor '    .53513E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2803       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28771E-06   1.0000          .0000       .10000E+07
     6 'Prefactor '    8.3166       1.0000          .0000       .10000E+07
     7 'Prefactor '    24.321       1.0000          .0000       .10000E+07
     8 'Prefactor '    .12951E-06   1.0000          .0000       .10000E+07
     9 'norm      '    .94855       1.0000          .0000       .10000E+07
    10 'norm      '    .84099E-07   1.0000          .0000       .10000E+07
    11 'Normalizat'    1.1288       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .93366       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6560E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   24420.20     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      850 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    5.9528       -.45332E-05** at limit **
   2  Prefactor     13.661        7.7679        .67840E-06    .10998E-01
   3  Prefactor     .16653E-09    4.0483        .11715E-05** at limit **
   4  Prefactor     8.2814        3.6253       -.48031E-06    .13351E-02
   5  Prefactor     .20484E-07    11.417       -.45610E-05** at limit **
   6  Prefactor     8.3168        1.0738       -.44803E-07   -.11122E-01
   7  Prefactor     24.254        1.6915       -.10560E-06    .25928    
   8  Prefactor     .27756E-09    3.0488       -.16450E-05** at limit **
   9  norm          .94814        1.5316       -.16936E-05   -.55440E-02
  10  norm          .46463E-07    16.692       -.49928E-05** at limit **
  11  Normalizat    1.1285        .14012        .14557E-04    .20700E-03
  12  Prefactor     .93382        .67227E-01   -.18475E-05    .24698E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  Prefactor  = 13.6613
  Prefactor  = 1.66533e-10
  Prefactor  = 8.28142
  Prefactor  = 2.04836e-08
  Prefactor  = 8.3168
  Prefactor  = 24.2535
  Prefactor  = 2.77556e-10
  norm       = 0.948136
  norm       = 4.64628e-08
  Normalizat = 1.12845
  Prefactor  = 0.933824
 **********
 **   18 **HESSE 
 **********

 FCN=   24420.20     FROM HESSE     STATUS=OK           151 CALLS     1001 TOTAL
                     EDM=   .62E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    5.9135        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.661        7.7657        .27075E-03   -1.5634    
   3  Prefactor     .16653E-09    4.0526        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2814        3.6233        .34816E-03   -1.5650    
   5  Prefactor     .20484E-07    11.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.3168        8.7744        .34739E-03   -1.5650    
   7  Prefactor     24.254        43.854        .20282E-03   -1.5609    
   8  Prefactor     .27756E-09    3.0643        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .94814        1.5327        .42460E-03   -1.5688    
  10  norm          .46463E-07    16.709        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1285        .11670        .72909E-01   -.88843    
  12  Prefactor     .93382        .56407E-01    .45433E-01   -.94969    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.18912e-06
Minuit parameter uncertainties:
  1  8.64171e-05
  2  7.76571
  3  5.47407e-05
  4  3.62327
  5  0.000965965
  6  8.77445
  7  43.8546
  8  5.95927e-05
  9  1.53269
  10  0.00176236
  11  0.116731
  12  0.0564101
Done.

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

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  8.281e+00  3.623e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  2.645e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.338e-01  5.641e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.128e+00  1.167e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.18
Ra Dec: 252.023 22.352
Photon Index (Fixed Index): 2.64 +/- 0.00
Photon Flux (Fixed Index): 6.40e-08 +/- 2.80e-08
Energy Flux (Fixed Index): 1.61e-05 +/- 7.05e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.7951489
delta logL = 0.404358005053

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 24419.79017
delta logL = 0.409336889683

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   24419.79     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      278 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2281        32.561        .40199E-03    .16113E-01
   2  Index         3.0247        2.6239        .15800        .39124E-03
   3  Normalizat    1.1098        .46293E-01    .73432E-01    .57251E-04
   4  Prefactor     .93977        .21380E-01    .45510E-01    .95590E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.22806
  Index      = 3.02474
  Normalizat = 1.10978
  Prefactor  = 0.939767
 **********
 **   18 **HESSE 
 **********

 FCN=   24419.79     FROM HESSE     STATUS=OK            33 CALLS      311 TOTAL
                     EDM=   .17E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2281        4.3545        .15029E-04   -1.5658    
   2  Index         3.0247        .51072        .79926E-02   -.40612    
   3  Normalizat    1.1098        .14037        .32496E-03   -.89438    
   4  Prefactor     .93977        .67518E-01    .17012E-03   -.94765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.74516e-11
Minuit parameter uncertainties:
  1  4.35447
  2  0.511783
  3  0.140414
  4  0.0675239
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) = 24419.7901696
delta logL = 0.409337218589

Extracting fit parameters...

4FGL J1648.0+2221
   Spectrum: PowerLaw
305    Prefactor:  6.228e+00  4.354e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        Index:  3.025e+00  5.118e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  6.242e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
653    Prefactor:  9.398e-01  6.752e-02  0.000e+00  1.000e+01 ( 1.000e+00)
654        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
655        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
652   Normalization:  1.110e+00  1.404e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.08
Ra Dec: 252.023 22.352
Photon Index (Free Index): 3.02 +/- 0.51
Photon Flux (Free Index): 7.84e-08 +/- 3.34e-08
Energy Flux (Free Index): 1.55e-05 +/- 6.63e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/26874958/cmap_HighResolution_800236801_800841601_4FGL_J1648.0+2221_weekly_bin928.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.40e-08', energy_flux2='1.55e-05', photon_flux_error='2.80e-08', dlogl='4.09e-01', energy_flux='1.61e-05', photon_flux2='7.84e-08', job_status='DONE', time_completed='2026-05-19 13:04:40.950326', photon_index_error2='0.51', photon_index2='3.02', ts='7.18', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='6.63e-06', EG='1.13', time_epoch_completed='1779221080.95', return_code='0', job_id='26874958', GAL2='0.94', EG2='1.11', return_code2='0', energy_flux_error='7.05e-06', photon_flux_error2='3.34e-08', ts2='8.08', photon_index='2.64' WHERE bin_id='928' AND source_name='4FGL J1648.0+2221' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue May 19 13:04:41 PDT 2026

