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

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


Performing analysis on: 4FGL_J1321.1+2216_daily_bin2205
RA = 200.296, Dec = 22.2808
tmin = 810864001, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38307319', job_status='RUN', time_executed='2026-09-15 10:24:55.281086', time_epoch_executed='1789493095.28' WHERE source_name='4FGL J1321.1+2216' and cadence='daily' and bin_id='2205'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38307319

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38307319/ft1_4FGL_J1321.1+2216_daily_bin2205.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38307319/ft1_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307319/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin2205.fits ra=200.296 dec=22.2808 rad=12.0 tmin=810864001.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.41
user 3.01
sys 0.21

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.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/38307319/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" outfile="/lscratch/kocevski/38307319/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.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.48
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 815

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38307319/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" ou/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).

/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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

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

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

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


Performing analysis on: 4FGL_J1321.1+2216_daily_bin2205
RA = 200.296, Dec = 22.2808
tmin = 810864001, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38307340', job_status='RUN', time_executed='2026-09-15 10:25:36.794550', time_epoch_executed='1789493136.79' WHERE source_name='4FGL J1321.1+2216' and cadence='daily' and bin_id='2205'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38307340

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38307340/ft1_4FGL_J1321.1+2216_daily_bin2205.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38307340/ft1_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307340/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin2205.fits ra=200.296 dec=22.2808 rad=12.0 tmin=810864001.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.30
user 2.89
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.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/38307340/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" outfile="/lscratch/kocevski/38307340/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 815

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38307340/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" ounumber of points = 7633
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1321.1+2216_daily_bin2205
RA = 200.296, Dec = 22.2808
tmin = 810864001, tmax = 811123201
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='38307343', job_status='RUN', time_executed='2026-09-15 10:25:41.542996', time_epoch_executed='1789493141.54' WHERE source_name='4FGL J1321.1+2216' and cadence='daily' and bin_id='2205'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/38307343

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/38307343/ft1_4FGL_J1321.1+2216_daily_bin2205.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/38307343/ft1_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307343/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin2205.fits ra=200.296 dec=22.2808 rad=12.0 tmin=810864001.0 tmax=811123201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.45
user 2.96
sys 0.20

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.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/38307343/ft1_filteredMKT_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" outfile="/lscratch/kocevski/38307343/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.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.50
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 815

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/38307343/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits" evtable="EVENTS" scfile=/lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" outfile=/lscratch/kocevski/38307295/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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/38307295/ft2_4FGL_J1321.1+2216_daily_bin2205.fits
.....................!
real 8.50
user 7.92
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307295/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307295/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307295/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307295/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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/38307295/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
.....................!
real 72.32
user 66.88
sys 4.13

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

Setting source of interest to:
4FGL J1321.1+2216 @ 200.296 22.2808

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307295/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits scfile=/lscratch/kocevski/38307295/ft2_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307295/cmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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=200.296 yref=22.2808 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.67
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307295/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits scfile=/lscratch/kocevski/38307295/ft2_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307295/cmap_HighResolution_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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=200.296 yref=22.2808 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.55
user 0.23
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307295/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307295/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307295/Model_4FGL_J1321.1+2216_daily_bin2205.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 GALtfile=/lscratch/kocevski/38307319/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits
.....................!
real 8.79
user 8.20
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307319/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307319/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307319/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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/38307319/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
.....................!
real 74.85
user 69.50
sys 4.31

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

Setting source of interest to:
4FGL J1321.1+2216 @ 200.296 22.2808

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307319/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits scfile=/lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307319/cmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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=200.296 yref=22.2808 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.58
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307319/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits scfile=/lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307319/cmap_HighResolution_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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=200.296 yref=22.2808 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.61
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307319/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307319/Model_4FGL_J1321.1+2216_daily_bin2205.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 GALtfile=/lscratch/kocevski/38307340/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits
.....................!
real 8.35
user 7.88
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307340/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307340/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307340/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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/38307340/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
.....................!
real 71.25
user 66.37
sys 4.12

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

Setting source of interest to:
4FGL J1321.1+2216 @ 200.296 22.2808

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307340/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits scfile=/lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307340/cmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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=200.296 yref=22.2808 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.51
user 0.23
sys 0.11

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307340/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits scfile=/lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307340/cmap_HighResolution_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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=200.296 yref=22.2808 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307340/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307340/Model_4FGL_J1321.1+2216_daily_bin2205.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/38307295/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits.....................!
real 28.18
user 26.51
sys 1.07

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307295/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits', '/lscratch/kocevski/38307295/ft2_4FGL_J1321.1+2216_daily_bin2205.fits', expMap='/lscratch/kocevski/38307295/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits', expCube='/lscratch/kocevski/38307295/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307295/Model_4FGL_J1321.1+2216_daily_bin2205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1321.1+2216'

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  7.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307295/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits
Spacecraft file(s): /lscratch/kocevski/38307295/ft2_4FGL_J1321.1+2216_daily_bin2205.fits
Exposure map: /lscratch/kocevski/38307295/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
Exposure cube: /lscratch/kocevski/38307295/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307295/Model_4FGL_J1321.1+2216_daily_bin2205.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) = 8337.6401052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1130       1.0000          .0000       .10000E+07
     2 'norm      '    17.700       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42337       1.0000          .0000       .10000E+07
     4 'norm      '    2.9415       1.0000          .0000       .10000E+07
     5 'norm      '    89.751       1.0000          .0000       .10000E+07
     6 'norm      '    98.242       1.0000          .0000       .10000E+07
     7 'norm      '    .23956E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20939E-02   1.0000          .0000       .10000E+07
     9 'norm      '    22.859       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14785E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71333E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .60396E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .21285E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19534E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6532       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16493E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.490       1.0000          .0000       .10000E+07
    18 'Normalizat'    .87405       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3954       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8337.585     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1395 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1434        5.9522       -.45742E-08   -.96049E-03
   2  norm          17.580        6.7776       -.21526E-07   -.86095E-03
   3  Prefactor     .24452        58.908       -.98382E-07** at limit **
   4  norm          2.9377        2.8462       -.15630E-06    .68384E-03
   5  norm          89.913        11.781       -.33027E-07    .26883E-01
   6  norm          97.722        19.134       -.31853E-07   -.93999E-01
   7  norm           .0000        23.686        .96322E-07** at limit **
   8  Prefactor     .55511E-10    6.1302       -.34966E-06** at limit **
   9  norm          22.813        7.8771       -.27773E-06   -.11756E-02
  10  Prefactor     .26773E-06    63.837       -.15627E-06** at limit **
  11  norm          .18097E-07    11.776       -.69786E-06** at limit **
  12  Prefactor     .61102E-05    7.5853       -.32045E-06** at limit **
  13  Prefactor     .36358E-05    7.0610       -.34569E-06** at limit **
  14  Prefactor     .26640E-06    6.0195       -.33052E-06** at limit **
  15  Prefactor     1.6525        2.4788       -.15904E-06    .56425E-03
  16  Prefactor     .27756E-09    7.2032       -.10212E-06** at limit **
  17  Prefactor     19.448        1.6459        .20490E-07   -.69581E-01
  18  Normalizat    .87428        .22401        .16324E-05    .32017E-04
  19  Prefactor     1.3957        .22764        .64775E-06    .40704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.14342
  norm       = 17.5804
  Prefactor  = 0.244517
  norm       = 2.93772
  norm       = 89.9133
  norm       = 97.7223
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 22.813
  Prefactor  = 2.6773e-07
  norm       = 1.80966e-08
  Prefactor  = 6.11022e-06
  Prefactor  = 3.63576e-06
  Prefactor  = 2.66398e-07
  Prefactor  = 1.65249
  Prefactor  = 2.77556e-10
  Prefactor  = 19.4479
  Normalizat = 0.874282
  Prefactor  = 1.39574
tfile=/lscratch/kocevski/38307343/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits
.....................!
real 8.59
user 8.03
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/38307343/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" expcube=/lscratch/kocevski/38307343/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307343/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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/38307343/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
.....................!
real 71.43
user 66.29
sys 4.19

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

Setting source of interest to:
4FGL J1321.1+2216 @ 200.296 22.2808

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/38307343/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits scfile=/lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307343/cmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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=200.296 yref=22.2808 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.90
user 0.24
sys 0.10

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/38307343/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits scfile=/lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits outfile=/lscratch/kocevski/38307343/cmap_HighResolution_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.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=200.296 yref=22.2808 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.59
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/38307343/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits evtable="EVENTS" scfile=/lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/38307343/Model_4FGL_J1321.1+2216_daily_bin2205.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 **********
 **   18 **HESSE 
 **********

 FCN=   8337.585     FROM HESSE     STATUS=OK           320 CALLS     1715 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1434        5.9569        .37589E-03   -1.5655    
   2  norm          17.580        6.7812        .23779E-03   -1.5624    
   3  Prefactor     .24452        9.8464        .98463E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.9377        2.8579        .59195E-03   -1.5674    
   5  norm          89.913        14.690        .10556E-03   -1.5518    
   6  norm          97.722        28.808        .10090E-03   -1.5510    
   7  norm           .0000        9.2558        .10278E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    6.1288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          22.813        7.9227        .20921E-03   -1.5612    
  10  Prefactor     .26773E-06    63.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18097E-07    11.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61102E-05    16.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .36358E-05    16.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26640E-06    16.108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6525        2.5050        .82066E-03   -1.5682    
  16  Prefactor     .27756E-09    7.2320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.448        14.773        .22659E-03   -1.5620    
  18  Normalizat    .87428        .18808        .73768E-01   -.97370    
  19  Prefactor     1.3957        .18668        .61746E-01   -.80503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74057e-07
Minuit parameter uncertainties:
  1  5.95694
  2  6.7812
  3  3.1033
  4  2.85787
  5  14.6895
  6  28.8083
  7  4.69174e-07
  8  4.22536e-05
  9  7.92275
  10  0.00827166
  11  0.000922323
  12  0.0198453
  13  0.0154912
  14  0.00414288
  15  2.50497
  16  9.19232e-05
  17  14.7731
  18  0.18822
  19  0.186772
Done.

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

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.281e+01  7.923e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.396e+00  1.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  8.743e-01  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.46
Ra Dec: 200.296 22.281
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 3.92e-08
Energy Flux (Fixed Index): 4.07e-05 +/- 1.41e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.85520131
delta logL = 0.729311531775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.82689869
delta logL = 0.757614149195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8336.827     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      221 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.979        10.409        .20013E-03   -.22303E-03
   2  alpha         1.8906        .32574        .25210       -.76160E-05
   3  Normalizat    .91266        .18112        .72386E-01    .24138E-04
   4  Prefactor     1.3706        .18556        .62230E-01    .23729E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 24.9791
  alpha      = 1.89062
  Normalizat = 0.912661
  Prefactor  = 1.37058
 **********
 **   18 **HESSE 
 **********

 FCN=   8336.827     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.979        9.1423        .80051E-05   -1.5608    
   2  alpha         1.8906        .30714        .10357E-01   -.24623    
   3  Normalizat    .91266        .22101        .32031E-03   -.96017    
   4  Prefactor     1.3706        .22647        .27520E-03   -.81232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56975e-11
Minuit parameter uncertainties:
  1  9.14233
  2  0.30797
  3  0.221234
  4  0.226631
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) = 8336.82689867
delta logL = 0.757614165806

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.498e+01  9.142e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  1.891e+00  3.080e-01  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.371e+00  2.266e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  9.127e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.71
Ra Dec: 200.296 22.281
Photon Index (Free Index): 1.89 +/- 0.31
Photon Flux (Free Index): 8.60e-08 +/- 3.87e-08
Energy Flux (Free Index): 5.67e-05 +/- 2.81e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38307295/cmap_HighResolution_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='5.67e-05', photon_flux_error='3.92e-08', dlogl='7.58e-01', energy_flux='4.07e-05', photon_flux2='8.60e-08', job_status='DONE', time_completed='2026-09-15 10:28:35.147673', photon_index_error2='0.31', photon_index2='1.89', ts='29.46', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='2.81e-05', EG='0.87', time_epoch_completed='1789493315.15', return_code='0', job_id='38307295', GAL2='1.37', EG2='0.91', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='3.87e-08', ts2='30.71', photon_index='2.28' WHERE bin_id='2205' AND source_name='4FGL J1321.1+2216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:28:35 PDT 2026

_V02
Working on...
/lscratch/kocevski/38307319/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits.....................!
real 28.95
user 27.52
sys 0.83

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307319/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits', '/lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits', expMap='/lscratch/kocevski/38307319/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits', expCube='/lscratch/kocevski/38307319/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307319/Model_4FGL_J1321.1+2216_daily_bin2205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1321.1+2216'

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  7.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307319/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits
Spacecraft file(s): /lscratch/kocevski/38307319/ft2_4FGL_J1321.1+2216_daily_bin2205.fits
Exposure map: /lscratch/kocevski/38307319/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
Exposure cube: /lscratch/kocevski/38307319/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307319/Model_4FGL_J1321.1+2216_daily_bin2205.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) = 8337.6401052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1130       1.0000          .0000       .10000E+07
     2 'norm      '    17.700       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42337       1.0000          .0000       .10000E+07
     4 'norm      '    2.9415       1.0000          .0000       .10000E+07
     5 'norm      '    89.751       1.0000          .0000       .10000E+07
     6 'norm      '    98.242       1.0000          .0000       .10000E+07
     7 'norm      '    .23956E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20939E-02   1.0000          .0000       .10000E+07
     9 'norm      '    22.859       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14785E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71333E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .60396E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .21285E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19534E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6532       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16493E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.490       1.0000          .0000       .10000E+07
    18 'Normalizat'    .87405       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3954       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8337.585     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1395 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1434        5.9522       -.45742E-08   -.96049E-03
   2  norm          17.580        6.7776       -.21526E-07   -.86095E-03
   3  Prefactor     .24452        58.908       -.98382E-07** at limit **
   4  norm          2.9377        2.8462       -.15630E-06    .68384E-03
   5  norm          89.913        11.781       -.33027E-07    .26883E-01
   6  norm          97.722        19.134       -.31853E-07   -.93999E-01
   7  norm           .0000        23.686        .96322E-07** at limit **
   8  Prefactor     .55511E-10    6.1302       -.34966E-06** at limit **
   9  norm          22.813        7.8771       -.27773E-06   -.11756E-02
  10  Prefactor     .26773E-06    63.837       -.15627E-06** at limit **
  11  norm          .18097E-07    11.776       -.69786E-06** at limit **
  12  Prefactor     .61102E-05    7.5853       -.32045E-06** at limit **
  13  Prefactor     .36358E-05    7.0610       -.34569E-06** at limit **
  14  Prefactor     .26640E-06    6.0195       -.33052E-06** at limit **
  15  Prefactor     1.6525        2.4788       -.15904E-06    .56425E-03
  16  Prefactor     .27756E-09    7.2032       -.10212E-06** at limit **
  17  Prefactor     19.448        1.6459        .20490E-07   -.69581E-01
  18  Normalizat    .87428        .22401        .16324E-05    .32017E-04
  19  Prefactor     1.3957        .22764        .64775E-06    .40704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.14342
  norm       = 17.5804
  Prefactor  = 0.244517
  norm       = 2.93772
  norm       = 89.9133
  norm       = 97.7223
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 22.813
  Prefactor  = 2.6773e-07
  norm       = 1.80966e-08
  Prefactor  = 6.11022e-06
  Prefactor  = 3.63576e-06
  Prefactor  = 2.66398e-07
  Prefactor  = 1.65249
  Prefactor  = 2.77556e-10
  Prefactor  = 19.4479
  Normalizat = 0.874282
  Prefactor  = 1.39574
 **********
 **   18 **HESSE 
 **********

 FCN=   8337.585     FROM HESSE     STATUS=OK           320 CALLS     1715 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1434        5.9569        .37589E-03   -1.5655    
   2  norm          17.580        6.7812        .23779E-03   -1.5624    
   3  Prefactor     .24452        9.8464        .98463E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.9377        2.8579        .59195E-03   -1.5674    
   5  norm          89.913        14.690        .10556E-03   -1.5518    
   6  norm          97.722        28.808        .10090E-03   -1.5510    
   7  norm           .0000        9.2558        .10278E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    6.1288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          22.813        7.9227        .20921E-03   -1.5612    
  10  Prefactor     .26773E-06    63.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18097E-07    11.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61102E-05    16.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .36358E-05    16.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26640E-06    16.108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6525        2.5050        .82066E-03   -1.5682    
  16  Prefactor     .27756E-09    7.2320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.448        14.773        .22659E-03   -1.5620    
  18  Normalizat    .87428        .18808        .73768E-01   -.97370    
  19  Prefactor     1.3957        .18668        .61746E-01   -.80503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74057e-07
Minuit parameter uncertainties:
  1  5.95694
  2  6.7812
  3  3.1033
  4  2.85787
  5  14.6895
  6  28.8083
  7  4.69174e-07
  8  4.22536e-05
  9  7.92275
  10  0.00827166
  11  0.000922323
  12  0.0198453
  13  0.0154912
  14  0.00414288
  15  2.50497
  16  9.19232e-05
  17  14.7731
  18  0.18822
  19  0.186772
Done.

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

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.281e+01  7.923e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.396e+00  1.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  8.743e-01  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.46
Ra Dec: 200.296 22.281
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 3.92e-08
Energy Flux (Fixed Index): 4.07e-05 +/- 1.41e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.85520131
delta logL = 0.729311531775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.82689869
delta logL = 0.757614149195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8336.827     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      221 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.979        10.409        .20013E-03   -.22303E-03
   2  alpha         1.8906        .32574        .25210       -.76160E-05
   3  Normalizat    .91266        .18112        .72386E-01    .24138E-04
   4  Prefactor     1.3706        .18556        .62230E-01    .23729E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 24.9791
  alpha      = 1.89062
  Normalizat = 0.912661
  Prefactor  = 1.37058
 **********
 **   18 **HESSE 
 **********

 FCN=   8336.827     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.979        9.1423        .80051E-05   -1.5608    
   2  alpha         1.8906        .30714        .10357E-01   -.24623    
   3  Normalizat    .91266        .22101        .32031E-03   -.96017    
   4  Prefactor     1.3706        .22647        .27520E-03   -.81232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56975e-11
Minuit parameter uncertainties:
  1  9.14233
  2  0.30797
  3  0.221234
  4  0.226631
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) = 8336.82689867
delta logL = 0.757614165806

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.498e+01  9.142e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  1.891e+00  3.080e-01  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.371e+00  2.266e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  9.127e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.71
Ra Dec: 200.296 22.281
Photon Index (Free Index): 1.89 +/- 0.31
Photon Flux (Free Index): 8.60e-08 +/- 3.87e-08
Energy Flux (Free Index): 5.67e-05 +/- 2.81e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38307319/cmap_HighResolution_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='5.67e-05', photon_flux_error='3.92e-08', dlogl='7.58e-01', energy_flux='4.07e-05', photon_flux2='8.60e-08', job_status='DONE', time_completed='2026-09-15 10:29:23.580054', photon_index_error2='0.31', photon_index2='1.89', ts='29.46', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='2.81e-05', EG='0.87', time_epoch_completed='1789493363.58', return_code='0', job_id='38307319', GAL2='1.37', EG2='0.91', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='3.87e-08', ts2='30.71', photon_index='2.28' WHERE bin_id='2205' AND source_name='4FGL J1321.1+2216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:29:23 PDT 2026

_V02
Working on...
/lscratch/kocevski/38307340/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits.....................!
real 27.54
user 26.19
sys 0.97

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307340/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits', '/lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits', expMap='/lscratch/kocevski/38307340/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits', expCube='/lscratch/kocevski/38307340/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307340/Model_4FGL_J1321.1+2216_daily_bin2205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1321.1+2216'

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  7.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307340/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits
Spacecraft file(s): /lscratch/kocevski/38307340/ft2_4FGL_J1321.1+2216_daily_bin2205.fits
Exposure map: /lscratch/kocevski/38307340/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
Exposure cube: /lscratch/kocevski/38307340/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307340/Model_4FGL_J1321.1+2216_daily_bin2205.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) = 8337.6401052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1130       1.0000          .0000       .10000E+07
     2 'norm      '    17.700       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42337       1.0000          .0000       .10000E+07
     4 'norm      '    2.9415       1.0000          .0000       .10000E+07
     5 'norm      '    89.751       1.0000          .0000       .10000E+07
     6 'norm      '    98.242       1.0000          .0000       .10000E+07
     7 'norm      '    .23956E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20939E-02   1.0000          .0000       .10000E+07
     9 'norm      '    22.859       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14785E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71333E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .60396E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .21285E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19534E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6532       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16493E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.490       1.0000          .0000       .10000E+07
    18 'Normalizat'    .87405       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3954       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8337.585     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1395 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1434        5.9522       -.45742E-08   -.96049E-03
   2  norm          17.580        6.7776       -.21526E-07   -.86095E-03
   3  Prefactor     .24452        58.908       -.98382E-07** at limit **
   4  norm          2.9377        2.8462       -.15630E-06    .68384E-03
   5  norm          89.913        11.781       -.33027E-07    .26883E-01
   6  norm          97.722        19.134       -.31853E-07   -.93999E-01
   7  norm           .0000        23.686        .96322E-07** at limit **
   8  Prefactor     .55511E-10    6.1302       -.34966E-06** at limit **
   9  norm          22.813        7.8771       -.27773E-06   -.11756E-02
  10  Prefactor     .26773E-06    63.837       -.15627E-06** at limit **
  11  norm          .18097E-07    11.776       -.69786E-06** at limit **
  12  Prefactor     .61102E-05    7.5853       -.32045E-06** at limit **
  13  Prefactor     .36358E-05    7.0610       -.34569E-06** at limit **
  14  Prefactor     .26640E-06    6.0195       -.33052E-06** at limit **
  15  Prefactor     1.6525        2.4788       -.15904E-06    .56425E-03
  16  Prefactor     .27756E-09    7.2032       -.10212E-06** at limit **
  17  Prefactor     19.448        1.6459        .20490E-07   -.69581E-01
  18  Normalizat    .87428        .22401        .16324E-05    .32017E-04
  19  Prefactor     1.3957        .22764        .64775E-06    .40704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.14342
  norm       = 17.5804
  Prefactor  = 0.244517
  norm       = 2.93772
  norm       = 89.9133
  norm       = 97.7223
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 22.813
  Prefactor  = 2.6773e-07
  norm       = 1.80966e-08
  Prefactor  = 6.11022e-06
  Prefactor  = 3.63576e-06
  Prefactor  = 2.66398e-07
  Prefactor  = 1.65249
  Prefactor  = 2.77556e-10
  Prefactor  = 19.4479
  Normalizat = 0.874282
  Prefactor  = 1.39574
_V02
Working on...
/lscratch/kocevski/38307343/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits.....................!
real 27.62
user 26.06
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/38307343/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits', '/lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits', expMap='/lscratch/kocevski/38307343/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits', expCube='/lscratch/kocevski/38307343/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/38307343/Model_4FGL_J1321.1+2216_daily_bin2205.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1321.1+2216'

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  7.564e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/38307343/ft1_filtered_4FGL_J1321.1+2216_daily_bin2205.fits
Spacecraft file(s): /lscratch/kocevski/38307343/ft2_4FGL_J1321.1+2216_daily_bin2205.fits
Exposure map: /lscratch/kocevski/38307343/expmap_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
Exposure cube: /lscratch/kocevski/38307343/ltcube_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/38307343/Model_4FGL_J1321.1+2216_daily_bin2205.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) = 8337.6401052

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1130       1.0000          .0000       .10000E+07
     2 'norm      '    17.700       1.0000          .0000       .10000E+07
     3 'Prefactor '    .42337       1.0000          .0000       .10000E+07
     4 'norm      '    2.9415       1.0000          .0000       .10000E+07
     5 'norm      '    89.751       1.0000          .0000       .10000E+07
     6 'norm      '    98.242       1.0000          .0000       .10000E+07
     7 'norm      '    .23956E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .20939E-02   1.0000          .0000       .10000E+07
     9 'norm      '    22.859       1.0000          .0000       .10000E+07
    10 'Prefactor '    .14785E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .71333E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .60396E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .21285E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .19534E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6532       1.0000          .0000       .10000E+07
    16 'Prefactor '    .16493E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    19.490       1.0000          .0000       .10000E+07
    18 'Normalizat'    .87405       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.3954       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5610E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8337.585     FROM MIGRAD    STATUS=CONVERGED    124 CALLS     1395 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1434        5.9522       -.45742E-08   -.96049E-03
   2  norm          17.580        6.7776       -.21526E-07   -.86095E-03
   3  Prefactor     .24452        58.908       -.98382E-07** at limit **
   4  norm          2.9377        2.8462       -.15630E-06    .68384E-03
   5  norm          89.913        11.781       -.33027E-07    .26883E-01
   6  norm          97.722        19.134       -.31853E-07   -.93999E-01
   7  norm           .0000        23.686        .96322E-07** at limit **
   8  Prefactor     .55511E-10    6.1302       -.34966E-06** at limit **
   9  norm          22.813        7.8771       -.27773E-06   -.11756E-02
  10  Prefactor     .26773E-06    63.837       -.15627E-06** at limit **
  11  norm          .18097E-07    11.776       -.69786E-06** at limit **
  12  Prefactor     .61102E-05    7.5853       -.32045E-06** at limit **
  13  Prefactor     .36358E-05    7.0610       -.34569E-06** at limit **
  14  Prefactor     .26640E-06    6.0195       -.33052E-06** at limit **
  15  Prefactor     1.6525        2.4788       -.15904E-06    .56425E-03
  16  Prefactor     .27756E-09    7.2032       -.10212E-06** at limit **
  17  Prefactor     19.448        1.6459        .20490E-07   -.69581E-01
  18  Normalizat    .87428        .22401        .16324E-05    .32017E-04
  19  Prefactor     1.3957        .22764        .64775E-06    .40704E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.14342
  norm       = 17.5804
  Prefactor  = 0.244517
  norm       = 2.93772
  norm       = 89.9133
  norm       = 97.7223
  norm       = 0
  Prefactor  = 5.55112e-11
  norm       = 22.813
  Prefactor  = 2.6773e-07
  norm       = 1.80966e-08
  Prefactor  = 6.11022e-06
  Prefactor  = 3.63576e-06
  Prefactor  = 2.66398e-07
  Prefactor  = 1.65249
  Prefactor  = 2.77556e-10
  Prefactor  = 19.4479
  Normalizat = 0.874282
  Prefactor  = 1.39574
 **********
 **   18 **HESSE 
 **********

 FCN=   8337.585     FROM HESSE     STATUS=OK           320 CALLS     1715 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1434        5.9569        .37589E-03   -1.5655    
   2  norm          17.580        6.7812        .23779E-03   -1.5624    
   3  Prefactor     .24452        9.8464        .98463E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.9377        2.8579        .59195E-03   -1.5674    
   5  norm          89.913        14.690        .10556E-03   -1.5518    
   6  norm          97.722        28.808        .10090E-03   -1.5510    
   7  norm           .0000        9.2558        .10278E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    6.1288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          22.813        7.9227        .20921E-03   -1.5612    
  10  Prefactor     .26773E-06    63.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18097E-07    11.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61102E-05    16.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .36358E-05    16.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26640E-06    16.108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6525        2.5050        .82066E-03   -1.5682    
  16  Prefactor     .27756E-09    7.2320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.448        14.773        .22659E-03   -1.5620    
  18  Normalizat    .87428        .18808        .73768E-01   -.97370    
  19  Prefactor     1.3957        .18668        .61746E-01   -.80503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74057e-07
Minuit parameter uncertainties:
  1  5.95694
  2  6.7812
  3  3.1033
  4  2.85787
  5  14.6895
  6  28.8083
  7  4.69174e-07
  8  4.22536e-05
  9  7.92275
  10  0.00827166
  11  0.000922323
  12  0.0198453
  13  0.0154912
  14  0.00414288
  15  2.50497
  16  9.19232e-05
  17  14.7731
  18  0.18822
  19  0.186772
Done.

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

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.281e+01  7.923e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.396e+00  1.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  8.743e-01  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.46
Ra Dec: 200.296 22.281
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 3.92e-08
Energy Flux (Fixed Index): 4.07e-05 +/- 1.41e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.85520131
delta logL = 0.729311531775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.82689869
delta logL = 0.757614149195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8336.827     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      221 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.979        10.409        .20013E-03   -.22303E-03
   2  alpha         1.8906        .32574        .25210       -.76160E-05
   3  Normalizat    .91266        .18112        .72386E-01    .24138E-04
   4  Prefactor     1.3706        .18556        .62230E-01    .23729E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 24.9791
  alpha      = 1.89062
  Normalizat = 0.912661
  Prefactor  = 1.37058
 **********
 **   18 **HESSE 
 **********

 FCN=   8336.827     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.979        9.1423        .80051E-05   -1.5608    
   2  alpha         1.8906        .30714        .10357E-01   -.24623    
   3  Normalizat    .91266        .22101        .32031E-03   -.96017    
   4  Prefactor     1.3706        .22647        .27520E-03   -.81232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56975e-11
Minuit parameter uncertainties:
  1  9.14233
  2  0.30797
  3  0.221234
  4  0.226631
 **********
 **   18 **HESSE 
 **********

 FCN=   8337.585     FROM HESSE     STATUS=OK           320 CALLS     1715 TOTAL
                     EDM=   .77E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1434        5.9569        .37589E-03   -1.5655    
   2  norm          17.580        6.7812        .23779E-03   -1.5624    
   3  Prefactor     .24452        9.8464        .98463E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.9377        2.8579        .59195E-03   -1.5674    
   5  norm          89.913        14.690        .10556E-03   -1.5518    
   6  norm          97.722        28.808        .10090E-03   -1.5510    
   7  norm           .0000        9.2558        .10278E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .55511E-10    6.1288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          22.813        7.9227        .20921E-03   -1.5612    
  10  Prefactor     .26773E-06    63.886        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .18097E-07    11.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .61102E-05    16.114        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .36358E-05    16.501        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .26640E-06    16.108        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6525        2.5050        .82066E-03   -1.5682    
  16  Prefactor     .27756E-09    7.2320        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     19.448        14.773        .22659E-03   -1.5620    
  18  Normalizat    .87428        .18808        .73768E-01   -.97370    
  19  Prefactor     1.3957        .18668        .61746E-01   -.80503    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.74057e-07
Minuit parameter uncertainties:
  1  5.95694
  2  6.7812
  3  3.1033
  4  2.85787
  5  14.6895
  6  28.8083
  7  4.69174e-07
  8  4.22536e-05
  9  7.92275
  10  0.00827166
  11  0.000922323
  12  0.0198453
  13  0.0154912
  14  0.00414288
  15  2.50497
  16  9.19232e-05
  17  14.7731
  18  0.18822
  19  0.186772
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) = 8336.82689867
delta logL = 0.757614165806

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.498e+01  9.142e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  1.891e+00  3.080e-01  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.371e+00  2.266e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  9.127e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.71
Ra Dec: 200.296 22.281
Photon Index (Free Index): 1.89 +/- 0.31
Photon Flux (Free Index): 8.60e-08 +/- 3.87e-08
Energy Flux (Free Index): 5.67e-05 +/- 2.81e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38307340/cmap_HighResolution_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='5.67e-05', photon_flux_error='3.92e-08', dlogl='7.58e-01', energy_flux='4.07e-05', photon_flux2='8.60e-08', job_status='DONE', time_completed='2026-09-15 10:29:54.766733', photon_index_error2='0.31', photon_index2='1.89', ts='29.46', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='2.81e-05', EG='0.87', time_epoch_completed='1789493394.77', return_code='0', job_id='38307340', GAL2='1.37', EG2='0.91', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='3.87e-08', ts2='30.71', photon_index='2.28' WHERE bin_id='2205' AND source_name='4FGL J1321.1+2216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:29:54 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.281e+01  7.923e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  2.281e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.396e+00  1.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  8.743e-01  1.882e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 29.46
Ra Dec: 200.296 22.281
Photon Index (Fixed Index): 2.28 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 3.92e-08
Energy Flux (Fixed Index): 4.07e-05 +/- 1.41e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.85520131
delta logL = 0.729311531775

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8336.82689869
delta logL = 0.757614149195

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8336.827     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      221 TOTAL
                     EDM=   .32E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          24.979        10.409        .20013E-03   -.22303E-03
   2  alpha         1.8906        .32574        .25210       -.76160E-05
   3  Normalizat    .91266        .18112        .72386E-01    .24138E-04
   4  Prefactor     1.3706        .18556        .62230E-01    .23729E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 24.9791
  alpha      = 1.89062
  Normalizat = 0.912661
  Prefactor  = 1.37058
 **********
 **   18 **HESSE 
 **********

 FCN=   8336.827     FROM HESSE     STATUS=OK            33 CALLS      254 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          24.979        9.1423        .80051E-05   -1.5608    
   2  alpha         1.8906        .30714        .10357E-01   -.24623    
   3  Normalizat    .91266        .22101        .32031E-03   -.96017    
   4  Prefactor     1.3706        .22647        .27520E-03   -.81232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56975e-11
Minuit parameter uncertainties:
  1  9.14233
  2  0.30797
  3  0.221234
  4  0.226631
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) = 8336.82689867
delta logL = 0.757614165806

Extracting fit parameters...

4FGL J1321.1+2216
   Spectrum: LogParabola
324         norm:  2.498e+01  9.142e+00  0.000e+00  1.000e+06 ( 1.000e-12)
325        alpha:  1.891e+00  3.080e-01  0.000e+00  5.000e+00 ( 1.000e+00)
326         beta:  7.755e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
327           Eb:  6.546e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
558    Prefactor:  1.371e+00  2.266e-01  0.000e+00  1.000e+01 ( 1.000e+00)
559        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
560        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
557   Normalization:  9.127e-01  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.71
Ra Dec: 200.296 22.281
Photon Index (Free Index): 1.89 +/- 0.31
Photon Flux (Free Index): 8.60e-08 +/- 3.87e-08
Energy Flux (Free Index): 5.67e-05 +/- 2.81e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/38307343/cmap_HighResolution_810864001_811123201_4FGL_J1321.1+2216_daily_bin2205.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='5.67e-05', photon_flux_error='3.92e-08', dlogl='7.58e-01', energy_flux='4.07e-05', photon_flux2='8.60e-08', job_status='DONE', time_completed='2026-09-15 10:30:05.274972', photon_index_error2='0.31', photon_index2='1.89', ts='29.46', fit_tolerance='1e-08', GAL='1.40', photon_index_error='0.00', energy_flux_error2='2.81e-05', EG='0.87', time_epoch_completed='1789493405.28', return_code='0', job_id='38307343', GAL2='1.37', EG2='0.91', return_code2='0', energy_flux_error='1.41e-05', photon_flux_error2='3.87e-08', ts2='30.71', photon_index='2.28' WHERE bin_id='2205' AND source_name='4FGL J1321.1+2216' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Sep 15 10:30:05 PDT 2026

