number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
/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).

Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132418', job_status='RUN', time_executed='2026-06-09 01:49:37.743443', time_epoch_executed='1780994977.74' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132418

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132418/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132418/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132418/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.98
user 4.34
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132418/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132418/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132418/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DAT/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 = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132491', job_status='RUN', time_executed='2026-06-09 01:49:39.393971', time_epoch_executed='1780994979.39' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132491

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132491/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132491/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132491/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.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.69
user 5.00
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132491/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132491/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.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.11

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132491/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATnumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132502', job_status='RUN', time_executed='2026-06-09 01:50:05.850422', time_epoch_executed='1780995005.85' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132502

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132502/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132502/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132502/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.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.34
user 4.61
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132502/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132502/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132502/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATnumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132499', job_status='RUN', time_executed='2026-06-09 01:50:05.580802', time_epoch_executed='1780995005.58' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132499

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132499/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132499/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132499/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.93
user 4.21
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132499/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132499/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.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.83
user 0.19
sys 0.14

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132499/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATnumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132576', job_status='RUN', time_executed='2026-06-09 01:50:38.856637', time_epoch_executed='1780995038.86' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132576

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132576/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132576/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132576/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.33
user 4.51
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132576/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132576/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132576/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATnumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132592', job_status='RUN', time_executed='2026-06-09 01:51:09.959159', time_epoch_executed='1780995069.96' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132592

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132592/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132592/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132592/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.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.67
user 4.87
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132592/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132592/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.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.74
user 0.24
sys 0.12

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132592/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28132409/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132409/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 18.58
user 17.90
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132409/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132409/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132409/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132409/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132409/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 71.07
user 65.94
sys 4.23

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132409/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132409/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132409/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.76
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132409/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132409/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132409/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132409/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132409/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132409/Model_4FGL_J0222.0-1616_weekly_bin931.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 number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132606', job_status='RUN', time_executed='2026-06-09 01:51:39.618486', time_epoch_executed='1780995099.62' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132606

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132606/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132606/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132606/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.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.12
user 4.54
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132606/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132606/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.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.68
user 0.21
sys 0.14

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132606/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28132418/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 16.86
user 16.16
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132418/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132418/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132418/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132418/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 64.98
user 60.30
sys 3.74

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132418/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132418/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.76
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132418/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132418/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 1.06
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132418/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132418/Model_4FGL_J0222.0-1616_weekly_bin931.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 A" outfile=/lscratch/kocevski/28132491/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 19.44
user 18.21
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132491/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132491/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132491/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132491/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 71.65
user 66.48
sys 4.15

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132491/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132491/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.74
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132491/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132491/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.85
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132491/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132491/Model_4FGL_J0222.0-1616_weekly_bin931.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 number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132618', job_status='RUN', time_executed='2026-06-09 01:52:37.861746', time_epoch_executed='1780995157.86' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132618

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132618/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132618/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132618/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.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.61
user 4.84
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132618/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132618/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.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.91
user 0.22
sys 0.13

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132618/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28132499/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 16.70
user 15.77
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132499/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132499/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132499/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132499/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 62.57
user 57.93
sys 3.52

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132499/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132499/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.20
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132499/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132499/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.22
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132499/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132499/Model_4FGL_J0222.0-1616_weekly_bin931.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 A" outfile=/lscratch/kocevski/28132502/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 19.35
user 18.54
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132502/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132502/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132502/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132502/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 70.68
user 65.82
sys 4.02

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132502/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132502/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.22
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132502/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132502/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132502/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132502/Model_4FGL_J0222.0-1616_weekly_bin931.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 A" outfile=/lscratch/kocevski/28132576/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 19.27
user 18.46
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132576/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132576/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132576/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132576/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 70.11
user 65.10
sys 4.18

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132576/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132576/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.26
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132576/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132576/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132576/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132576/Model_4FGL_J0222.0-1616_weekly_bin931.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/28132409/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 44.64
user 43.23
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132409/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132409/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132409/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132409/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132409/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132409/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132409/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132409/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132409/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132409/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132637', job_status='RUN', time_executed='2026-06-09 01:53:40.564294', time_epoch_executed='1780995220.56' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132637

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132637/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132637/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132637/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.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.84
user 4.93
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132637/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132637/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132637/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28132592/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 18.60
user 17.79
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132592/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132592/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132592/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132592/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 70.75
user 65.97
sys 3.87

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132592/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132592/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.82
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132592/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132592/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132592/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132592/Model_4FGL_J0222.0-1616_weekly_bin931.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/28132418/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 41.99
user 40.21
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132418/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132418/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132418/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132418/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132418/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132418/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132418/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132418/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132418/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
A" outfile=/lscratch/kocevski/28132606/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 17.90
user 17.15
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132606/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132606/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132606/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132606/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 67.60
user 62.54
sys 3.85

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132606/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132606/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.25
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132606/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132606/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.26
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132606/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132606/Model_4FGL_J0222.0-1616_weekly_bin931.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  **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0222.0-1616_weekly_bin931
RA = 35.5197, Dec = -16.2787
tmin = 802051201, tmax = 802656001
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='28132654', job_status='RUN', time_executed='2026-06-09 01:54:07.032506', time_epoch_executed='1780995247.03' WHERE source_name='4FGL J0222.0-1616' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28132654

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28132654/ft1_4FGL_J0222.0-1616_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28132654/ft1_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132654/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits ra=35.5197 dec=-16.2787 rad=12.0 tmin=802051201.0 tmax=802656001.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.53
user 4.52
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.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/28132654/ft1_filteredMKT_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" outfile="/lscratch/kocevski/28132654/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.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.12

Number of photons that the gtmktime cut: 1225

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28132654/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DAT **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
source GAL_V02
Working on...
/lscratch/kocevski/28132491/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 45.30
user 43.36
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132491/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132491/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132491/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132491/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132491/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132491/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132491/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132491/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132491/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
source GAL_V02
Working on...
/lscratch/kocevski/28132499/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 40.22
user 38.61
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132499/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132499/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132499/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132499/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132499/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132499/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132499/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132499/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132499/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132409/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
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) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132409/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 01:58:56.861595', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995536.86', return_code='0', job_id='28132409', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 01:58:57 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132418/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
source GAL_V02
Working on...
/lscratch/kocevski/28132502/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 42.72
user 41.34
sys 0.66

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132502/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132502/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132502/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132502/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132502/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132502/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132502/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132502/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132502/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
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) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132418/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 01:59:02.365100', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995542.37', return_code='0', job_id='28132418', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 01:59:02 PDT 2026

A" outfile=/lscratch/kocevski/28132618/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 19.28
user 18.55
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132618/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132618/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132618/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132618/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 72.86
user 67.42
sys 4.24

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132618/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132618/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132618/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132618/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.88
user 0.25
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132618/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132618/Model_4FGL_J0222.0-1616_weekly_bin931.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  **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132499/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132491/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
source GAL_V02
Working on...
/lscratch/kocevski/28132576/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 44.71
user 42.81
sys 0.90

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132576/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132576/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132576/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132576/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132576/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132576/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132576/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132576/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132576/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132499/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 01:59:38.241073', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995578.24', return_code='0', job_id='28132499', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 01:59:38 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132491/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 01:59:41.352918', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995581.35', return_code='0', job_id='28132491', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 01:59:41 PDT 2026

source GAL_V02
Working on...
/lscratch/kocevski/28132592/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 44.91
user 42.89
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132592/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132592/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132592/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132592/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132592/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132592/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132592/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132592/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132592/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
source GAL_V02
Working on...
/lscratch/kocevski/28132606/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 42.27
user 40.84
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132606/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132606/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132606/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132606/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132606/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132606/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132606/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132606/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132606/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132502/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
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) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132502/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 02:00:06.460385', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995606.46', return_code='0', job_id='28132502', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:00:06 PDT 2026

A" outfile=/lscratch/kocevski/28132637/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 18.91
user 18.10
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132637/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132637/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132637/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132637/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 71.56
user 66.43
sys 4.07

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132637/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132637/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.91
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132637/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132637/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132637/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132637/Model_4FGL_J0222.0-1616_weekly_bin931.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  **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
A" outfile=/lscratch/kocevski/28132654/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 17.70
user 16.91
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28132654/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28132654/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132654/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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/28132654/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
.....................!
real 67.48
user 62.61
sys 4.00

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

Setting source of interest to:
4FGL J0222.0-1616 @ 35.5197 -16.2787

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28132654/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132654/cmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.83
user 0.24
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28132654/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits scfile=/lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits outfile=/lscratch/kocevski/28132654/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.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=35.5197 yref=-16.2787 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28132654/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28132654/Model_4FGL_J0222.0-1616_weekly_bin931.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 Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132576/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
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) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132576/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 02:00:40.866872', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995640.87', return_code='0', job_id='28132576', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:00:41 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132606/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132592/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
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) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132606/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 02:00:56.816368', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995656.82', return_code='0', job_id='28132606', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:00:57 PDT 2026

shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132592/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 02:00:57.469128', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995657.47', return_code='0', job_id='28132592', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:00:57 PDT 2026

source GAL_V02
Working on...
/lscratch/kocevski/28132618/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 45.98
user 44.27
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132618/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132618/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132618/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132618/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132618/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132618/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132618/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132618/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132618/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
source GAL_V02
Working on...
/lscratch/kocevski/28132637/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 45.49
user 43.38
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132637/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132637/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132637/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132637/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132637/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132637/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132637/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132637/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132637/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132618/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
source GAL_V02
Working on...
/lscratch/kocevski/28132654/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits.....................!
real 42.32
user 40.84
sys 0.62

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28132654/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits', '/lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits', expMap='/lscratch/kocevski/28132654/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', expCube='/lscratch/kocevski/28132654/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28132654/Model_4FGL_J0222.0-1616_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0222.0-1616'

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  2.143e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28132654/ft1_filtered_4FGL_J0222.0-1616_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28132654/ft2_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28132654/expmap_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28132654/ltcube_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28132654/Model_4FGL_J0222.0-1616_weekly_bin931.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) = 13518.3032231

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .33121       1.0000          .0000       .10000E+07
     2 'Prefactor '    6.8703       1.0000          .0000       .10000E+07
     3 'norm      '    1.2984       1.0000          .0000       .10000E+07
     4 'Prefactor '    .11114E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .29476E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    2.5827       1.0000          .0000       .10000E+07
     7 'Prefactor '    .89492       1.0000          .0000       .10000E+07
     8 'Prefactor '    4.5943       1.0000          .0000       .10000E+07
     9 'norm      '    51.469       1.0000          .0000       .10000E+07
    10 'Prefactor '    3.0582       1.0000          .0000       .10000E+07
    11 'Prefactor '    52.500       1.0000          .0000       .10000E+07
    12 'Prefactor '    .76527E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    23.005       1.0000          .0000       .10000E+07
    14 'norm      '    2.1503       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.3141       1.0000          .0000       .10000E+07
    16 'Prefactor '    .97202       1.0000          .0000       .10000E+07
    17 'Normalizat'    .86336       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .80919       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13518.27     FROM MIGRAD    STATUS=CONVERGED    117 CALLS     1281 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .32961        .67737        .21970E-06   -.44204E-02
   2  Prefactor     6.9048        7.0165        .29026E-06    .84563E-01
   3  norm          1.2979        .88270        .16469E-07   -.45085E-02
   4  Prefactor      .0000        .55008       -.31533E-06** at limit **
   5  Prefactor     .14433E-07    7.7873       -.57456E-05** at limit **
   6  Prefactor     2.5724        3.7507       -.42788E-06    .14148E-02
   7  Prefactor     .91456        2.3041       -.11974E-05    .55770E-02
   8  Prefactor     4.3598        5.3209        .21398E-07   -.41390E-02
   9  norm          54.374        34.676        .22951E-05   -.61782E-02
  10  Prefactor     3.0486        2.5210        .91809E-06   -.56569E-02
  11  Prefactor     49.661        24.911       -.14468E-05   -.35749E-02
  12  Prefactor     .99920E-09    4.6987        .90199E-07** at limit **
  13  Prefactor     22.944        7.1859       -.30660E-07    .15313    
  14  norm          2.1489        1.0654        .12283E-07   -.18995E-02
  15  Prefactor     3.3398        3.3278        .84100E-07    .11169E-03
  16  Prefactor     .97438        3.3159        .31870E-05   -.39544E-02
  17  Normalizat    .86456        .11150       -.74178E-05   -.31591E-03
  18  Prefactor     .80864        .11646        .18600E-04   -.40610E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.329611
  Prefactor  = 6.90483
  norm       = 1.29792
  Prefactor  = 0
  Prefactor  = 1.44329e-08
  Prefactor  = 2.57235
  Prefactor  = 0.914559
  Prefactor  = 4.35981
  norm       = 54.3737
  Prefactor  = 3.04862
  Prefactor  = 49.6615
  Prefactor  = 9.99201e-10
  Prefactor  = 22.9437
  norm       = 2.14893
  Prefactor  = 3.3398
  Prefactor  = 0.97438
  Normalizat = 0.864565
  Prefactor  = 0.808637
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) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132618/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 02:02:20.202915', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995740.2', return_code='0', job_id='28132618', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:02:20 PDT 2026

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

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.27     FROM HESSE     STATUS=OK           288 CALLS     1569 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .32961        .63243        .30675E-02   -1.5696    
   2  Prefactor     6.9048        10.167        .38254E-03   -1.5655    
   3  norm          1.2979        .89533        .96979E-03   -1.5685    
   4  Prefactor      .0000        .54757        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14433E-07    7.6527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.5724        3.7740        .63474E-03   -1.5676    
   7  Prefactor     .91456        2.3166        .46112E-03   -1.5689    
   8  Prefactor     4.3598        5.4216        .46936E-03   -1.5666    
   9  norm          54.374        34.874        .13940E-03   -1.5560    
  10  Prefactor     3.0486        2.5223        .57986E-03   -1.5673    
  11  Prefactor     49.661        24.921        .13802E-03   -1.5567    
  12  Prefactor     .99920E-09    4.6990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     22.944        9.9148        .20855E-03   -1.5612    
  14  norm          2.1489        1.0658        .70239E-04   -1.5679    
  15  Prefactor     3.3398        3.3386        .55582E-03   -1.5671    
  16  Prefactor     .97438        3.3269        .42772E-03   -1.5688    
  17  Normalizat    .86456        .95906E-01    .44432E-01   -.97717    
  18  Prefactor     .80864        .99156E-01    .43837E-01   -.99411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91598e-07
Minuit parameter uncertainties:
  1  0.632427
  2  10.1673
  3  0.895334
  4  3.28911e-06
  5  0.000664901
  6  3.77396
  7  2.31657
  8  5.42156
  9  34.8736
  10  2.5223
  11  24.9213
  12  0.000135966
  13  9.91484
  14  1.06584
  15  3.33858
  16  3.32687
  17  0.0959251
  18  0.0991783
Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132637/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
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) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132637/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 02:03:09.473486', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995789.47', return_code='0', job_id='28132637', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:03:09 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  4.360e+00  5.422e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.404e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.086e-01  9.918e-02  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.646e-01  9.593e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Index (Fixed Index): 2.40 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 2.12e-08
Energy Flux (Fixed Index): 5.55e-06 +/- 6.90e-06

TS (Fixed Index): 1.32
Ra Dec: 35.520 -16.279
Photon Flux Upper Limit: 5.33729123616e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.0041254850612 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/28132654/likelihoodResults_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2590676
delta logL = 0.0155378091004

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13518.2472482
delta logL = 0.0273572424067

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13518.25     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      223 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5724        75.068        .53367E-03    .14147E-01
   2  Index         2.5836        3.1119        .16324        .26930E-03
   3  Normalizat    .86120        .28391E-01    .44402E-01   -.80703E-04
   4  Prefactor     .81096        .27760E-01    .43860E-01   -.66612E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57239
  Index      = 2.58358
  Normalizat = 0.861204
  Prefactor  = 0.810964
 **********
 **   18 **HESSE 
 **********

 FCN=   13518.25     FROM HESSE     STATUS=OK            33 CALLS      256 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5724        6.2238        .20296E-04   -1.5670    
   2  Index         2.5836        .96162        .92462E-02   -.50440    
   3  Normalizat    .86120        .10816        .20910E-03   -.97837    
   4  Prefactor     .81096        .11632        .23238E-03   -.99325    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02815e-10
Minuit parameter uncertainties:
  1  6.22383
  2  0.969523
  3  0.108188
  4  0.11635
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) = 13518.2472446
delta logL = 0.0273608133703

Extracting fit parameters...

4FGL J0222.0-1616
   Spectrum: PowerLaw
273    Prefactor:  3.572e+00  6.224e+00  0.000e+00  1.000e+06 ( 1.000e-13)
274        Index:  2.584e+00  9.695e-01  0.000e+00  1.000e+01 (-1.000e+00)
275        Scale:  1.378e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  8.110e-01  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  8.612e-01  1.082e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.40
Ra Dec: 35.520 -16.279
Photon Index (Free Index): 2.58 +/- 0.97
Photon Flux (Free Index): 1.98e-08 +/- 2.13e-08
Energy Flux (Free Index): 5.28e-06 +/- 5.60e-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/28132654/cmap_HighResolution_802051201_802656001_4FGL_J0222.0-1616_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='5.28e-06', photon_flux_error='2.12e-08', dlogl='2.74e-02', energy_flux='5.55e-06', photon_flux2='1.98e-08', job_status='DONE', time_completed='2026-06-09 02:03:20.342758', photon_index_error2='0.97', photon_index2='2.58', ts='1.32', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='5.60e-06', EG='0.86', time_epoch_completed='1780995800.34', return_code='0', job_id='28132654', GAL2='0.81', EG2='0.86', return_code2='0', energy_flux_error='6.90e-06', photon_flux_error2='2.13e-08', ts2='1.40', photon_index='2.40' WHERE bin_id='931' AND source_name='4FGL J0222.0-1616' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:03:20 PDT 2026

