number of points = 17264
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
Done.


Performing analysis on: 4FGL_J1220.1+7105_weekly_bin938
RA = 185.044, Dec = 71.092
tmin = 806284801, tmax = 806889601
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='33437153', job_status='RUN', time_executed='2026-07-28 09:50:43.152828', time_epoch_executed='1785257443.15' WHERE source_name='4FGL J1220.1+7105' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33437153

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33437153/ft1_4FGL_J1220.1+7105_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33437153/ft1_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437153/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits ra=185.044 dec=71.092 rad=12.0 tmin=806284801.0 tmax=806889601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.23
user 4.34
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.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/33437153/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33437153/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.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.97
user 0.19
sys 0.13

Number of photons that the gtmktime cut: 1692

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33437153/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" o
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 = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1220.1+7105_weekly_bin938
RA = 185.044, Dec = 71.092
tmin = 806284801, tmax = 806889601
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='33437568', job_status='RUN', time_executed='2026-07-28 09:52:35.443225', time_epoch_executed='1785257555.44' WHERE source_name='4FGL J1220.1+7105' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33437568

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33437568/ft1_4FGL_J1220.1+7105_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33437568/ft1_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437568/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits ra=185.044 dec=71.092 rad=12.0 tmin=806284801.0 tmax=806889601.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.77
user 4.96
sys 0.27

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.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/33437568/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33437568/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.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.90
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1692

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33437568/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" onumber of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1220.1+7105_weekly_bin938
RA = 185.044, Dec = 71.092
tmin = 806284801, tmax = 806889601
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='33437720', job_status='RUN', time_executed='2026-07-28 09:54:27.482669', time_epoch_executed='1785257667.48' WHERE source_name='4FGL J1220.1+7105' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33437720

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33437720/ft1_4FGL_J1220.1+7105_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33437720/ft1_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437720/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits ra=185.044 dec=71.092 rad=12.0 tmin=806284801.0 tmax=806889601.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.97
user 5.11
sys 0.29

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.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/33437720/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33437720/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.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.90
user 0.21
sys 0.13

Number of photons that the gtmktime cut: 1692

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33437720/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" outfile=/lscratch/kocevski/33437153/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 16.77
user 15.90
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33437153/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33437153/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437153/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437153/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 61.19
user 56.74
sys 3.69

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

Setting source of interest to:
4FGL J1220.1+7105 @ 185.044 71.092

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33437153/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437153/cmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.22
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33437153/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437153/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 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.94
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33437153/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33437153/Model_4FGL_J1220.1+7105_weekly_bin938.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALutfile=/lscratch/kocevski/33437568/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 18.68
user 17.72
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33437568/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33437568/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437568/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437568/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 72.96
user 67.63
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 235 point sources and 0 extended sources

Setting source of interest to:
4FGL J1220.1+7105 @ 185.044 71.092

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33437568/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437568/cmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 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.98
user 0.24
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33437568/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437568/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 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.10
user 0.26
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33437568/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33437568/Model_4FGL_J1220.1+7105_weekly_bin938.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 GALnumber of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1220.1+7105_weekly_bin938
RA = 185.044, Dec = 71.092
tmin = 806284801, tmax = 806889601
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='33437920', job_status='RUN', time_executed='2026-07-28 09:57:32.412750', time_epoch_executed='1785257852.41' WHERE source_name='4FGL J1220.1+7105' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33437920

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33437920/ft1_4FGL_J1220.1+7105_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33437920/ft1_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437920/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits ra=185.044 dec=71.092 rad=12.0 tmin=806284801.0 tmax=806889601.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.93
user 4.91
sys 0.24

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.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/33437920/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33437920/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.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.13

Number of photons that the gtmktime cut: 1692

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33437920/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" onumber of points = 17264
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1220.1+7105_weekly_bin938
RA = 185.044, Dec = 71.092
tmin = 806284801, tmax = 806889601
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='33437964', job_status='RUN', time_executed='2026-07-28 09:58:15.601133', time_epoch_executed='1785257895.6' WHERE source_name='4FGL J1220.1+7105' and cadence='weekly' and bin_id='938'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/33437964

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/33437964/ft1_4FGL_J1220.1+7105_weekly_bin938.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/33437964/ft1_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437964/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits ra=185.044 dec=71.092 rad=12.0 tmin=806284801.0 tmax=806889601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.14
user 5.22
sys 0.26

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.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/33437964/ft1_filteredMKT_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" outfile="/lscratch/kocevski/33437964/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 1692

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/33437964/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits" evtable="EVENTS" scfile=/lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" ouutfile=/lscratch/kocevski/33437720/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 20.11
user 19.00
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33437720/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33437720/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437720/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437720/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 75.27
user 69.57
sys 4.35

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

Setting source of interest to:
4FGL J1220.1+7105 @ 185.044 71.092

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33437720/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437720/cmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 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.05
user 0.26
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33437720/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437720/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 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.94
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33437720/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33437720/Model_4FGL_J1220.1+7105_weekly_bin938.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GALutfile=/lscratch/kocevski/33437920/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 18.29
user 17.20
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33437920/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33437920/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437920/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437920/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 68.85
user 63.67
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 235 point sources and 0 extended sources

Setting source of interest to:
4FGL J1220.1+7105 @ 185.044 71.092

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33437920/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437920/cmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.84
user 0.23
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33437920/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437920/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 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.09
user 0.23
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33437920/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33437920/Model_4FGL_J1220.1+7105_weekly_bin938.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/33437964/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 19.79
user 18.76
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/33437964/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" expcube=/lscratch/kocevski/33437964/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437964/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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/33437964/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
.....................!
real 73.57
user 68.19
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 235 point sources and 0 extended sources

Setting source of interest to:
4FGL J1220.1+7105 @ 185.044 71.092

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/33437964/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437964/cmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 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.98
user 0.25
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/33437964/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits scfile=/lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits outfile=/lscratch/kocevski/33437964/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.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=185.044 yref=71.092 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.92
user 0.25
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/33437964/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits evtable="EVENTS" scfile=/lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/33437964/Model_4FGL_J1220.1+7105_weekly_bin938.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/33437153/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits.....................!
real 63.76
user 61.72
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33437153/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits', '/lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits', expMap='/lscratch/kocevski/33437153/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', expCube='/lscratch/kocevski/33437153/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33437153/Model_4FGL_J1220.1+7105_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1220.1+7105'

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  6.062e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33437153/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33437153/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33437153/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33437153/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33437153/Model_4FGL_J1220.1+7105_weekly_bin938.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) = 17849.8713395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.406       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16225E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .11973E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .82742E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1468       1.0000          .0000       .10000E+07
     6 'norm      '    3.1917       1.0000          .0000       .10000E+07
     7 'norm      '    2.7181       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.822       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25626E-05   1.0000          .0000       .10000E+07
    11 'norm      '    11.282       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9724       1.0000          .0000       .10000E+07
    13 'norm      '    6.7148       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.1607       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13748E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    33.690       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.046       1.0000          .0000       .10000E+07
    18 'norm      '    18.399       1.0000          .0000       .10000E+07
    19 'norm      '    1.8252       1.0000          .0000       .10000E+07
    20 'Prefactor '    .91401E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.1131       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32243E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    15.924       1.0000          .0000       .10000E+07
    24 'Prefactor '    .79685       1.0000          .0000       .10000E+07
    25 'Prefactor '    .28233E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    16.107       1.0000          .0000       .10000E+07
    27 'Prefactor '    4.4141       1.0000          .0000       .10000E+07
    28 'Prefactor '    20.134       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .81422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17849.78     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2198 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.393        7.3535        .13316E-06    .31520E-02
   2  Prefactor     .65281E-07    8.9583        .14148E-05** at limit **
   3  norm           .0000        2.6767        .49615E-06** at limit **
   4  Prefactor     .14108E-05    46.711       -.19888E-05** at limit **
   5  Prefactor     5.1497        4.0924        .23480E-06   -.89200E-03
   6  norm          3.1914        .73222       -.31494E-07    .60791E-02
   7  norm          2.7184        1.8596        .45412E-06   -.50625E-02
   8  Prefactor     3.8153        5.7701        .20349E-05    .75969E-02
   9  Prefactor     12.963        1.3086        .21655E-07   -.32556E-01
  10  Prefactor     .16653E-09    1.0734        .93462E-06** at limit **
  11  norm          11.275        2.0341        .40174E-07    .20406E-01
  12  Prefactor     1.9741        6.3276       -.40465E-06    .21204E-02
  13  norm          6.6942        4.1756       -.32994E-06   -.62877E-03
  14  Prefactor     8.1427        5.9972        .40370E-06    .79924E-02
  15  Prefactor     .27901E-05    5.4725        .21754E-06** at limit **
  16  Prefactor     32.153        16.601        .17506E-05   -.13670    
  17  Prefactor     15.134        1.1947       -.16183E-06    .15668E-02
  18  norm          18.405        4.1033       -.78304E-07    .36465E-02
  19  norm          1.8256        1.6103       -.53246E-07   -.66609E-02
  20  Prefactor     .17444E-05    7.9699       -.40135E-06** at limit **
  21  Prefactor     6.0207        1.8337        .17884E-06    .10716E-01
  22  Prefactor     .44409E-09    6.9589        .56793E-06** at limit **
  23  Prefactor     15.785        1.1555       -.10464E-06    .13772E-01
  24  Prefactor     .79363        1.6593       -.27171E-06    .29953E-03
  25  Prefactor     .16653E-09    1.7137        .24937E-06** at limit **
  26  Prefactor     16.093        9.2162        .28570E-05    .49466E-01
  27  Prefactor     4.3815        1.0725       -.11993E-06    .20783E-02
  28  Prefactor     21.093        20.320       -.24105E-05   -.54987E-01
  29  Normalizat    1.0974        .11438       -.11070E-04    .13566E-03
  30  Prefactor     .81442        .11086        .21495E-05    .13265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3931
  Prefactor  = 6.52811e-08
  norm       = 0
  Prefactor  = 1.41082e-06
  Prefactor  = 5.14971
  norm       = 3.19141
  norm       = 2.71836
  Prefactor  = 3.81526
  Prefactor  = 12.9634
  Prefactor  = 1.66533e-10
  norm       = 11.2747
  Prefactor  = 1.97405
  norm       = 6.69424
  Prefactor  = 8.14273
  Prefactor  = 2.7901e-06
  Prefactor  = 32.1527
  Prefactor  = 15.1337
  norm       = 18.4052
  norm       = 1.82561
  Prefactor  = 1.74438e-06
  Prefactor  = 6.02066
  Prefactor  = 4.44089e-10
  Prefactor  = 15.7848
  Prefactor  = 0.79363
  Prefactor  = 1.66533e-10
  Prefactor  = 16.0933
  Prefactor  = 4.38148
  Prefactor  = 21.093
  Normalizat = 1.09742
  Prefactor  = 0.814425
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.78     FROM HESSE     STATUS=OK           656 CALLS     2854 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.393        7.4184        .25491E-03   -1.5629    
   2  Prefactor     .65281E-07    9.1374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.6672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14108E-05    48.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1497        4.0741        .44291E-03   -1.5663    
   6  norm          3.1914        .72589        .56693E-03   -1.5672    
   7  norm          2.7184        1.8754        .61747E-03   -1.5675    
   8  Prefactor     3.8153        5.9516        .52031E-03   -1.5669    
   9  Prefactor     12.963        13.312        .27949E-03   -1.5636    
  10  Prefactor     .16653E-09    1.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.275        7.1605        .29802E-03   -1.5641    
  12  Prefactor     1.9741        6.6659        .73796E-03   -1.5680    
  13  norm          6.6942        4.3396        .38699E-03   -1.5656    
  14  Prefactor     8.1427        6.1631        .35072E-03   -1.5651    
  15  Prefactor     .27901E-05    12.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.153        28.496        .17231E-03   -1.5595    
  17  Prefactor     15.134        14.007        .25795E-03   -1.5630    
  18  norm          18.405        4.0995        .23322E-03   -1.5622    
  19  norm          1.8256        1.6622        .77242E-03   -1.5681    
  20  Prefactor     .17444E-05    12.498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.0207        21.566        .40582E-03   -1.5659    
  22  Prefactor     .44409E-09    6.9739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.785        13.205        .25072E-03   -1.5629    
  24  Prefactor     .79363        1.6709        .53170E-03   -1.5690    
  25  Prefactor     .16653E-09    1.7140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     16.093        9.3429        .24929E-03   -1.5628    
  27  Prefactor     4.3815        16.462        .47910E-03   -1.5666    
  28  Prefactor     21.093        25.595        .22293E-03   -1.5616    
  29  Normalizat    1.0974        .10359        .38107E-01   -.89835    
  30  Prefactor     .81442        .99103E-01    .43902E-01   -.99199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24826e-06
Minuit parameter uncertainties:
  1  7.41837
  2  0.00154463
  3  1.29472e-05
  4  0.0165036
  5  4.07414
  6  0.725886
  7  1.87543
  8  5.95159
  9  13.3124
  10  2.81307e-05
  11  7.1605
  12  6.66588
  13  4.33955
  14  6.16306
  15  0.0116536
  16  28.4959
  17  14.0066
  18  4.09951
  19  1.66216
  20  0.0093384
  21  21.5667
  22  0.000114705
  23  13.2052
  24  1.6709
  25  3.46568e-05
  26  9.34293
  27  16.4619
  28  25.5954
  29  0.103612
  30  0.0991246
_V02
Working on...
/lscratch/kocevski/33437568/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits.....................!
real 77.82
user 75.48
sys 1.03

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33437568/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits', '/lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits', expMap='/lscratch/kocevski/33437568/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', expCube='/lscratch/kocevski/33437568/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33437568/Model_4FGL_J1220.1+7105_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1220.1+7105'

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  6.062e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33437568/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33437568/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33437568/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33437568/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33437568/Model_4FGL_J1220.1+7105_weekly_bin938.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) = 17849.8713395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.406       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16225E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .11973E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .82742E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1468       1.0000          .0000       .10000E+07
     6 'norm      '    3.1917       1.0000          .0000       .10000E+07
     7 'norm      '    2.7181       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.822       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25626E-05   1.0000          .0000       .10000E+07
    11 'norm      '    11.282       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9724       1.0000          .0000       .10000E+07
    13 'norm      '    6.7148       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.1607       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13748E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    33.690       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.046       1.0000          .0000       .10000E+07
    18 'norm      '    18.399       1.0000          .0000       .10000E+07
    19 'norm      '    1.8252       1.0000          .0000       .10000E+07
    20 'Prefactor '    .91401E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.1131       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32243E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    15.924       1.0000          .0000       .10000E+07
    24 'Prefactor '    .79685       1.0000          .0000       .10000E+07
    25 'Prefactor '    .28233E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    16.107       1.0000    Done.

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

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.841e+01  4.100e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.144e-01  9.912e-02  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.097e+00  1.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 58.25
Ra Dec: 185.044 71.092
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 9.15e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 3.70e-05 +/- 8.24e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.7745772
delta logL = 0.00861447049829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.772749
delta logL = 0.0104426551661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17849.77     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.172        56.400        .23468E-03   -.21220E-02
   2  alpha         2.2226        3.5431        .25010        .96973E-04
   3  Normalizat    1.0948        .12170        .38217E-01    .21628E-04
   4  Prefactor     .81600        .87773E-01    .43925E-01    .45201E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.1717
  alpha      = 2.22264
  Normalizat = 1.09478
  Prefactor  = 0.816001
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.77     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.172        4.4208        .93871E-05   -1.5623    
   2  alpha         2.2226        .23818        .10178E-01   -.11117    
   3  Normalizat    1.0948        .11119        .23465E-03   -.89920    
   4  Prefactor     .81600        .10860        .26415E-03   -.99141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28601e-11
Minuit parameter uncertainties:
  1  4.42077
  2  0.238544
  3  0.111215
  4  0.108624
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) = 17849.7727489
delta logL = 0.0104427359984

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.817e+01  4.421e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.223e+00  2.385e-01  0.000e+00  5.000e+00 ( 1.000e+00)
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.160e-01  1.086e-01  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.095e+00  1.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 57.99
Ra Dec: 185.044 71.092
Photon Index (Free Index): 2.22 +/- 0.24
Photon Flux (Free Index): 9.37e-08 +/- 2.54e-08
Energy Flux (Free Index): 3.64e-05 +/- 9.08e-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/33437153/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.15e-08', energy_flux2='3.64e-05', photon_flux_error='2.04e-08', dlogl='1.04e-02', energy_flux='3.70e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2026-07-28 10:07:53.957399', photon_index_error2='0.24', photon_index2='2.22', ts='58.25', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='9.08e-06', EG='1.10', time_epoch_completed='1785258473.96', return_code='0', job_id='33437153', GAL2='0.82', EG2='1.09', return_code2='0', energy_flux_error='8.24e-06', photon_flux_error2='2.54e-08', ts2='57.99', photon_index='2.19' WHERE bin_id='938' AND source_name='4FGL J1220.1+7105' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 10:07:54 PDT 2026

      .0000       .10000E+07
    27 'Prefactor '    4.4141       1.0000          .0000       .10000E+07
    28 'Prefactor '    20.134       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .81422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17849.78     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2198 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.393        7.3535        .13316E-06    .31520E-02
   2  Prefactor     .65281E-07    8.9583        .14148E-05** at limit **
   3  norm           .0000        2.6767        .49615E-06** at limit **
   4  Prefactor     .14108E-05    46.711       -.19888E-05** at limit **
   5  Prefactor     5.1497        4.0924        .23480E-06   -.89200E-03
   6  norm          3.1914        .73222       -.31494E-07    .60791E-02
   7  norm          2.7184        1.8596        .45412E-06   -.50625E-02
   8  Prefactor     3.8153        5.7701        .20349E-05    .75969E-02
   9  Prefactor     12.963        1.3086        .21655E-07   -.32556E-01
  10  Prefactor     .16653E-09    1.0734        .93462E-06** at limit **
  11  norm          11.275        2.0341        .40174E-07    .20406E-01
  12  Prefactor     1.9741        6.3276       -.40465E-06    .21204E-02
  13  norm          6.6942        4.1756       -.32994E-06   -.62877E-03
  14  Prefactor     8.1427        5.9972        .40370E-06    .79924E-02
  15  Prefactor     .27901E-05    5.4725        .21754E-06** at limit **
  16  Prefactor     32.153        16.601        .17506E-05   -.13670    
  17  Prefactor     15.134        1.1947       -.16183E-06    .15668E-02
  18  norm          18.405        4.1033       -.78304E-07    .36465E-02
  19  norm          1.8256        1.6103       -.53246E-07   -.66609E-02
  20  Prefactor     .17444E-05    7.9699       -.40135E-06** at limit **
  21  Prefactor     6.0207        1.8337        .17884E-06    .10716E-01
  22  Prefactor     .44409E-09    6.9589        .56793E-06** at limit **
  23  Prefactor     15.785        1.1555       -.10464E-06    .13772E-01
  24  Prefactor     .79363        1.6593       -.27171E-06    .29953E-03
  25  Prefactor     .16653E-09    1.7137        .24937E-06** at limit **
  26  Prefactor     16.093        9.2162        .28570E-05    .49466E-01
  27  Prefactor     4.3815        1.0725       -.11993E-06    .20783E-02
  28  Prefactor     21.093        20.320       -.24105E-05   -.54987E-01
  29  Normalizat    1.0974        .11438       -.11070E-04    .13566E-03
  30  Prefactor     .81442        .11086        .21495E-05    .13265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3931
  Prefactor  = 6.52811e-08
  norm       = 0
  Prefactor  = 1.41082e-06
  Prefactor  = 5.14971
  norm       = 3.19141
  norm       = 2.71836
  Prefactor  = 3.81526
  Prefactor  = 12.9634
  Prefactor  = 1.66533e-10
  norm       = 11.2747
  Prefactor  = 1.97405
  norm       = 6.69424
  Prefactor  = 8.14273
  Prefactor  = 2.7901e-06
  Prefactor  = 32.1527
  Prefactor  = 15.1337
  norm       = 18.4052
  norm       = 1.82561
  Prefactor  = 1.74438e-06
  Prefactor  = 6.02066
  Prefactor  = 4.44089e-10
  Prefactor  = 15.7848
  Prefactor  = 0.79363
  Prefactor  = 1.66533e-10
  Prefactor  = 16.0933
  Prefactor  = 4.38148
  Prefactor  = 21.093
  Normalizat = 1.09742
  Prefactor  = 0.814425
_V02
Working on...
/lscratch/kocevski/33437720/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits.....................!
real 76.49
user 73.76
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33437720/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits', '/lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits', expMap='/lscratch/kocevski/33437720/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', expCube='/lscratch/kocevski/33437720/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33437720/Model_4FGL_J1220.1+7105_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1220.1+7105'

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  6.062e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33437720/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33437720/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33437720/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33437720/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33437720/Model_4FGL_J1220.1+7105_weekly_bin938.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) = 17849.8713395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.406       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16225E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .11973E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .82742E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1468       1.0000          .0000       .10000E+07
     6 'norm      '    3.1917       1.0000          .0000       .10000E+07
     7 'norm      '    2.7181       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.822       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25626E-05   1.0000          .0000       .10000E+07
    11 'norm      '    11.282       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9724       1.0000          .0000       .10000E+07
    13 'norm      '    6.7148       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.1607       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13748E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    33.690       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.046       1.0000          .0000       .10000E+07
    18 'norm      '    18.399       1.0000          .0000       .10000E+07
    19 'norm      '    1.8252       1.0000          .0000       .10000E+07
    20 'Prefactor '    .91401E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.1131       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32243E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    15.924       1.0000          .0000       .10000E+07
    24 'Prefactor '    .79685       1.0000          .0000       .10000E+07
    25 'Prefactor '    .28233E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    16.107       1.0000          .0000       .10000E+07
    27 'Prefactor '    4.4141       1.0000          .0000       .10000E+07
    28 'Prefactor '    20.134       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .81422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17849.78     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2198 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.393        7.3535        .13316E-06    .31520E-02
   2  Prefactor     .65281E-07    8.9583        .14148E-05** at limit **
   3  norm           .0000        2.6767        .49615E-06** at limit **
   4  Prefactor     .14108E-05    46.711       -.19888E-05** at limit **
   5  Prefactor     5.1497        4.0924        .23480E-06   -.89200E-03
   6  norm          3.1914        .73222       -.31494E-07    .60791E-02
   7  norm          2.7184        1.8596        .45412E-06   -.50625E-02
   8  Prefactor     3.8153        5.7701        .20349E-05    .75969E-02
   9  Prefactor     12.963        1.3086        .21655E-07   -.32556E-01
  10  Prefactor     .16653E-09    1.0734        .93462E-06** at limit **
  11  norm          11.275        2.0341        .40174E-07    .20406E-01
  12  Prefactor     1.9741        6.3276       -.40465E-06    .21204E-02
  13  norm          6.6942        4.1756       -.32994E-06   -.62877E-03
  14  Prefactor     8.1427        5.9972        .40370E-06    .79924E-02
  15  Prefactor     .27901E-05    5.4725        .21754E-06** at limit **
  16  Prefactor     32.153        16.601        .17506E-05   -.13670    
  17  Prefactor     15.134        1.1947       -.16183E-06    .15668E-02
  18  norm          18.405        4.1033       -.78304E-07    .36465E-02
  19  norm          1.8256        1.6103       -.53246E-07   -.66609E-02
  20  Prefactor     .17444E-05    7.9699       -.40135E-06** at limit **
  21  Prefactor     6.0207        1.8337        .17884E-06    .10716E-01
  22  Prefactor     .44409E-09    6.9589        .56793E-06** at limit **
  23  Prefactor     15.785        1.1555       -.10464E-06    .13772E-01
  24  Prefactor     .79363        1.6593       -.27171E-06    .29953E-03
  25  Prefactor     .16653E-09    1.7137        .24937E-06** at limit **
  26  Prefactor     16.093        9.2162        .28570E-05    .49466E-01
  27  Prefactor     4.3815        1.0725       -.11993E-06    .20783E-02
  28  Prefactor     21.093        20.320       -.24105E-05   -.54987E-01
  29  Normalizat    1.0974        .11438       -.11070E-04    .13566E-03
  30  Prefactor     .81442        .11086        .21495E-05    .13265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3931
  Prefactor  = 6.52811e-08
  norm       = 0
  Prefactor  = 1.41082e-06
  Prefactor  = 5.14971
  norm       = 3.19141
  norm       = 2.71836
  Prefactor  = 3.81526
  Prefactor  = 12.9634
  Prefactor  = 1.66533e-10
  norm       = 11.2747
  Prefactor  = 1.97405
  norm       = 6.69424
  Prefactor  = 8.14273
  Prefactor  = 2.7901e-06
  Prefactor  = 32.1527
  Prefactor  = 15.1337
  norm       = 18.4052
  norm       = 1.82561
  Prefactor  = 1.74438e-06
  Prefactor  = 6.02066
  Prefactor  = 4.44089e-10
  Prefactor  = 15.7848
  Prefactor  = 0.79363
  Prefactor  = 1.66533e-10
  Prefactor  = 16.0933
  Prefactor  = 4.38148
  Prefactor  = 21.093
  Normalizat = 1.09742
  Prefactor  = 0.814425
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.78     FROM HESSE     STATUS=OK           656 CALLS     2854 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.393        7.4184        .25491E-03   -1.5629    
   2  Prefactor     .65281E-07    9.1374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.6672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14108E-05    48.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1497        4.0741        .44291E-03   -1.5663    
   6  norm          3.1914        .72589        .56693E-03   -1.5672    
   7  norm          2.7184        1.8754        .61747E-03   -1.5675    
   8  Prefactor     3.8153        5.9516        .52031E-03   -1.5669    
   9  Prefactor     12.963        13.312        .27949E-03   -1.5636    
  10  Prefactor     .16653E-09    1.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.275        7.1605        .29802E-03   -1.5641    
  12  Prefactor     1.9741        6.6659        .73796E-03   -1.5680    
  13  norm          6.6942        4.3396        .38699E-03   -1.5656    
  14  Prefactor     8.1427        6.1631        .35072E-03   -1.5651    
  15  Prefactor     .27901E-05    12.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.153        28.496        .17231E-03   -1.5595    
  17  Prefactor     15.134        14.007        .25795E-03   -1.5630    
  18  norm          18.405        4.0995        .23322E-03   -1.5622    
  19  norm          1.8256        1.6622        .77242E-03   -1.5681    
  20  Prefactor     .17444E-05    12.498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.0207        21.566        .40582E-03   -1.5659    
  22  Prefactor     .44409E-09    6.9739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.785        13.205        .25072E-03   -1.5629    
  24  Prefactor     .79363        1.6709        .53170E-03   -1.5690    
  25  Prefactor     .16653E-09    1.7140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     16.093        9.3429        .24929E-03   -1.5628    
  27  Prefactor     4.3815        16.462        .47910E-03   -1.5666    
  28  Prefactor     21.093        25.595        .22293E-03   -1.5616    
  29  Normalizat    1.0974        .10359        .38107E-01   -.89835    
  30  Prefactor     .81442        .99103E-01    .43902E-01   -.99199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24826e-06
Minuit parameter uncertainties:
  1  7.41837
  2  0.00154463
  3  1.29472e-05
  4  0.0165036
  5  4.07414
  6  0.725886
  7  1.87543
  8  5.95159
  9  13.3124
  10  2.81307e-05
  11  7.1605
  12  6.66588
  13  4.33955
  14  6.16306
  15  0.0116536
  16  28.4959
  17  14.0066
  18  4.09951
  19  1.66216
  20  0.0093384
  21  21.5667
  22  0.000114705
  23  13.2052
  24  1.6709
  25  3.46568e-05
  26  9.34293
  27  16.4619
  28  25.5954
  29  0.103612
  30  0.0991246
_V02
Working on...
/lscratch/kocevski/33437920/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits.....................!
real 71.13
user 68.87
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33437920/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits', '/lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits', expMap='/lscratch/kocevski/33437920/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', expCube='/lscratch/kocevski/33437920/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33437920/Model_4FGL_J1220.1+7105_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1220.1+7105'

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  6.062e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33437920/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33437920/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33437920/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33437920/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33437920/Model_4FGL_J1220.1+7105_weekly_bin938.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) = 17849.8713395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.406       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16225E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .11973E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .82742E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1468       1.0000          .0000       .10000E+07
     6 'norm      '    3.1917       1.0000          .0000       .10000E+07
     7 'norm      '    2.7181       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.822       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25626E-05   1.0000          .0000       .10000E+07
    11 'norm      '    11.282       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9724       1.0000          .0000       .10000E+07
    13 'norm      '    6.7148       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.1607       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13748E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    33.690       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.046       1.0000          .0000       .10000E+07
    18 'norm      '    18.399       1.0000          .0000       .10000E+07
    19 'norm      '    1.8252       1.0000          .0000       .10000E+07
    20 'Prefactor '    .91401E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.1131       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32243E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    15.924       1.0000          .0000       .10000E+07
    24 'Prefactor '    .79685       1.0000          .0000       .10000E+07
    25 'Prefactor '    .28233E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    16.107       1.0000    Done.

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

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.841e+01  4.100e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.144e-01  9.912e-02  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.097e+00  1.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 58.25
Ra Dec: 185.044 71.092
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 9.15e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 3.70e-05 +/- 8.24e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.7745772
delta logL = 0.00861447049829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.772749
delta logL = 0.0104426551661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17849.77     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.172        56.400        .23468E-03   -.21220E-02
   2  alpha         2.2226        3.5431        .25010        .96973E-04
   3  Normalizat    1.0948        .12170        .38217E-01    .21628E-04
   4  Prefactor     .81600        .87773E-01    .43925E-01    .45201E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.1717
  alpha      = 2.22264
  Normalizat = 1.09478
  Prefactor  = 0.816001
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.77     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.172        4.4208        .93871E-05   -1.5623    
   2  alpha         2.2226        .23818        .10178E-01   -.11117    
   3  Normalizat    1.0948        .11119        .23465E-03   -.89920    
   4  Prefactor     .81600        .10860        .26415E-03   -.99141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28601e-11
Minuit parameter uncertainties:
  1  4.42077
  2  0.238544
  3  0.111215
  4  0.108624
      .0000       .10000E+07
    27 'Prefactor '    4.4141       1.0000          .0000       .10000E+07
    28 'Prefactor '    20.134       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .81422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17849.78     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2198 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.393        7.3535        .13316E-06    .31520E-02
   2  Prefactor     .65281E-07    8.9583        .14148E-05** at limit **
   3  norm           .0000        2.6767        .49615E-06** at limit **
   4  Prefactor     .14108E-05    46.711       -.19888E-05** at limit **
   5  Prefactor     5.1497        4.0924        .23480E-06   -.89200E-03
   6  norm          3.1914        .73222       -.31494E-07    .60791E-02
   7  norm          2.7184        1.8596        .45412E-06   -.50625E-02
   8  Prefactor     3.8153        5.7701        .20349E-05    .75969E-02
   9  Prefactor     12.963        1.3086        .21655E-07   -.32556E-01
  10  Prefactor     .16653E-09    1.0734        .93462E-06** at limit **
  11  norm          11.275        2.0341        .40174E-07    .20406E-01
  12  Prefactor     1.9741        6.3276       -.40465E-06    .21204E-02
  13  norm          6.6942        4.1756       -.32994E-06   -.62877E-03
  14  Prefactor     8.1427        5.9972        .40370E-06    .79924E-02
  15  Prefactor     .27901E-05    5.4725        .21754E-06** at limit **
  16  Prefactor     32.153        16.601        .17506E-05   -.13670    
  17  Prefactor     15.134        1.1947       -.16183E-06    .15668E-02
  18  norm          18.405        4.1033       -.78304E-07    .36465E-02
  19  norm          1.8256        1.6103       -.53246E-07   -.66609E-02
  20  Prefactor     .17444E-05    7.9699       -.40135E-06** at limit **
  21  Prefactor     6.0207        1.8337        .17884E-06    .10716E-01
  22  Prefactor     .44409E-09    6.9589        .56793E-06** at limit **
  23  Prefactor     15.785        1.1555       -.10464E-06    .13772E-01
  24  Prefactor     .79363        1.6593       -.27171E-06    .29953E-03
  25  Prefactor     .16653E-09    1.7137        .24937E-06** at limit **
  26  Prefactor     16.093        9.2162        .28570E-05    .49466E-01
  27  Prefactor     4.3815        1.0725       -.11993E-06    .20783E-02
  28  Prefactor     21.093        20.320       -.24105E-05   -.54987E-01
  29  Normalizat    1.0974        .11438       -.11070E-04    .13566E-03
  30  Prefactor     .81442        .11086        .21495E-05    .13265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3931
  Prefactor  = 6.52811e-08
  norm       = 0
  Prefactor  = 1.41082e-06
  Prefactor  = 5.14971
  norm       = 3.19141
  norm       = 2.71836
  Prefactor  = 3.81526
  Prefactor  = 12.9634
  Prefactor  = 1.66533e-10
  norm       = 11.2747
  Prefactor  = 1.97405
  norm       = 6.69424
  Prefactor  = 8.14273
  Prefactor  = 2.7901e-06
  Prefactor  = 32.1527
  Prefactor  = 15.1337
  norm       = 18.4052
  norm       = 1.82561
  Prefactor  = 1.74438e-06
  Prefactor  = 6.02066
  Prefactor  = 4.44089e-10
  Prefactor  = 15.7848
  Prefactor  = 0.79363
  Prefactor  = 1.66533e-10
  Prefactor  = 16.0933
  Prefactor  = 4.38148
  Prefactor  = 21.093
  Normalizat = 1.09742
  Prefactor  = 0.814425
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) = 17849.7727489
delta logL = 0.0104427359984

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.817e+01  4.421e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.223e+00  2.385e-01  0.000e+00  5.000e+00 ( 1.000e+00)
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.160e-01  1.086e-01  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.095e+00  1.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 57.99
Ra Dec: 185.044 71.092
Photon Index (Free Index): 2.22 +/- 0.24
Photon Flux (Free Index): 9.37e-08 +/- 2.54e-08
Energy Flux (Free Index): 3.64e-05 +/- 9.08e-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/33437568/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.15e-08', energy_flux2='3.64e-05', photon_flux_error='2.04e-08', dlogl='1.04e-02', energy_flux='3.70e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2026-07-28 10:10:12.251939', photon_index_error2='0.24', photon_index2='2.22', ts='58.25', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='9.08e-06', EG='1.10', time_epoch_completed='1785258612.25', return_code='0', job_id='33437568', GAL2='0.82', EG2='1.09', return_code2='0', energy_flux_error='8.24e-06', photon_flux_error2='2.54e-08', ts2='57.99', photon_index='2.19' WHERE bin_id='938' AND source_name='4FGL J1220.1+7105' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 10:10:12 PDT 2026

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

 FCN=   17849.78     FROM HESSE     STATUS=OK           656 CALLS     2854 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.393        7.4184        .25491E-03   -1.5629    
   2  Prefactor     .65281E-07    9.1374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.6672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14108E-05    48.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1497        4.0741        .44291E-03   -1.5663    
   6  norm          3.1914        .72589        .56693E-03   -1.5672    
   7  norm          2.7184        1.8754        .61747E-03   -1.5675    
   8  Prefactor     3.8153        5.9516        .52031E-03   -1.5669    
   9  Prefactor     12.963        13.312        .27949E-03   -1.5636    
  10  Prefactor     .16653E-09    1.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.275        7.1605        .29802E-03   -1.5641    
  12  Prefactor     1.9741        6.6659        .73796E-03   -1.5680    
  13  norm          6.6942        4.3396        .38699E-03   -1.5656    
  14  Prefactor     8.1427        6.1631        .35072E-03   -1.5651    
  15  Prefactor     .27901E-05    12.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.153        28.496        .17231E-03   -1.5595    
  17  Prefactor     15.134        14.007        .25795E-03   -1.5630    
  18  norm          18.405        4.0995        .23322E-03   -1.5622    
  19  norm          1.8256        1.6622        .77242E-03   -1.5681    
  20  Prefactor     .17444E-05    12.498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.0207        21.566        .40582E-03   -1.5659    
  22  Prefactor     .44409E-09    6.9739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.785        13.205        .25072E-03   -1.5629    
  24  Prefactor     .79363        1.6709        .53170E-03   -1.5690    
  25  Prefactor     .16653E-09    1.7140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     16.093        9.3429        .24929E-03   -1.5628    
  27  Prefactor     4.3815        16.462        .47910E-03   -1.5666    
  28  Prefactor     21.093        25.595        .22293E-03   -1.5616    
  29  Normalizat    1.0974        .10359        .38107E-01   -.89835    
  30  Prefactor     .81442        .99103E-01    .43902E-01   -.99199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24826e-06
Minuit parameter uncertainties:
  1  7.41837
  2  0.00154463
  3  1.29472e-05
  4  0.0165036
  5  4.07414
  6  0.725886
  7  1.87543
  8  5.95159
  9  13.3124
  10  2.81307e-05
  11  7.1605
  12  6.66588
  13  4.33955
  14  6.16306
  15  0.0116536
  16  28.4959
  17  14.0066
  18  4.09951
  19  1.66216
  20  0.0093384
  21  21.5667
  22  0.000114705
  23  13.2052
  24  1.6709
  25  3.46568e-05
  26  9.34293
  27  16.4619
  28  25.5954
  29  0.103612
  30  0.0991246
V02
Working on...
/lscratch/kocevski/33437964/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits.....................!
real 72.52
user 70.34
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/33437964/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits', '/lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits', expMap='/lscratch/kocevski/33437964/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', expCube='/lscratch/kocevski/33437964/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/33437964/Model_4FGL_J1220.1+7105_weekly_bin938.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1220.1+7105'

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  6.062e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/33437964/ft1_filtered_4FGL_J1220.1+7105_weekly_bin938.fits
Spacecraft file(s): /lscratch/kocevski/33437964/ft2_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure map: /lscratch/kocevski/33437964/expmap_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
Exposure cube: /lscratch/kocevski/33437964/ltcube_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/33437964/Model_4FGL_J1220.1+7105_weekly_bin938.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) = 17849.8713395

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.406       1.0000          .0000       .10000E+07
     2 'Prefactor '    .16225E-05   1.0000          .0000       .10000E+07
     3 'norm      '    .11973E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .82742E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    5.1468       1.0000          .0000       .10000E+07
     6 'norm      '    3.1917       1.0000          .0000       .10000E+07
     7 'norm      '    2.7181       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.7615       1.0000          .0000       .10000E+07
     9 'Prefactor '    12.822       1.0000          .0000       .10000E+07
    10 'Prefactor '    .25626E-05   1.0000          .0000       .10000E+07
    11 'norm      '    11.282       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.9724       1.0000          .0000       .10000E+07
    13 'norm      '    6.7148       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.1607       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13748E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    33.690       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.046       1.0000          .0000       .10000E+07
    18 'norm      '    18.399       1.0000          .0000       .10000E+07
    19 'norm      '    1.8252       1.0000          .0000       .10000E+07
    20 'Prefactor '    .91401E-03   1.0000          .0000       .10000E+07
    21 'Prefactor '    6.1131       1.0000          .0000       .10000E+07
    22 'Prefactor '    .32243E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    15.924       1.0000          .0000       .10000E+07
    24 'Prefactor '    .79685       1.0000          .0000       .10000E+07
    25 'Prefactor '    .28233E-04   1.0000          .0000       .10000E+07
    26 'Prefactor '    16.107       1.0000     Done.

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

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.841e+01  4.100e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.144e-01  9.912e-02  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.097e+00  1.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 58.25
Ra Dec: 185.044 71.092
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 9.15e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 3.70e-05 +/- 8.24e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.7745772
delta logL = 0.00861447049829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.772749
delta logL = 0.0104426551661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17849.77     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.172        56.400        .23468E-03   -.21220E-02
   2  alpha         2.2226        3.5431        .25010        .96973E-04
   3  Normalizat    1.0948        .12170        .38217E-01    .21628E-04
   4  Prefactor     .81600        .87773E-01    .43925E-01    .45201E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.1717
  alpha      = 2.22264
  Normalizat = 1.09478
  Prefactor  = 0.816001
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.77     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.172        4.4208        .93871E-05   -1.5623    
   2  alpha         2.2226        .23818        .10178E-01   -.11117    
   3  Normalizat    1.0948        .11119        .23465E-03   -.89920    
   4  Prefactor     .81600        .10860        .26415E-03   -.99141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28601e-11
Minuit parameter uncertainties:
  1  4.42077
  2  0.238544
  3  0.111215
  4  0.108624
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) = 17849.7727489
delta logL = 0.0104427359984

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.817e+01  4.421e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.223e+00  2.385e-01  0.000e+00  5.000e+00 ( 1.000e+00)
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.160e-01  1.086e-01  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.095e+00  1.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 57.99
Ra Dec: 185.044 71.092
Photon Index (Free Index): 2.22 +/- 0.24
Photon Flux (Free Index): 9.37e-08 +/- 2.54e-08
Energy Flux (Free Index): 3.64e-05 +/- 9.08e-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/33437720/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.15e-08', energy_flux2='3.64e-05', photon_flux_error='2.04e-08', dlogl='1.04e-02', energy_flux='3.70e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2026-07-28 10:11:05.918097', photon_index_error2='0.24', photon_index2='2.22', ts='58.25', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='9.08e-06', EG='1.10', time_epoch_completed='1785258665.92', return_code='0', job_id='33437720', GAL2='0.82', EG2='1.09', return_code2='0', energy_flux_error='8.24e-06', photon_flux_error2='2.54e-08', ts2='57.99', photon_index='2.19' WHERE bin_id='938' AND source_name='4FGL J1220.1+7105' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 10:11:06 PDT 2026

     .0000       .10000E+07
    27 'Prefactor '    4.4141       1.0000          .0000       .10000E+07
    28 'Prefactor '    20.134       1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0974       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .81422       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   17849.78     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2198 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.393        7.3535        .13316E-06    .31520E-02
   2  Prefactor     .65281E-07    8.9583        .14148E-05** at limit **
   3  norm           .0000        2.6767        .49615E-06** at limit **
   4  Prefactor     .14108E-05    46.711       -.19888E-05** at limit **
   5  Prefactor     5.1497        4.0924        .23480E-06   -.89200E-03
   6  norm          3.1914        .73222       -.31494E-07    .60791E-02
   7  norm          2.7184        1.8596        .45412E-06   -.50625E-02
   8  Prefactor     3.8153        5.7701        .20349E-05    .75969E-02
   9  Prefactor     12.963        1.3086        .21655E-07   -.32556E-01
  10  Prefactor     .16653E-09    1.0734        .93462E-06** at limit **
  11  norm          11.275        2.0341        .40174E-07    .20406E-01
  12  Prefactor     1.9741        6.3276       -.40465E-06    .21204E-02
  13  norm          6.6942        4.1756       -.32994E-06   -.62877E-03
  14  Prefactor     8.1427        5.9972        .40370E-06    .79924E-02
  15  Prefactor     .27901E-05    5.4725        .21754E-06** at limit **
  16  Prefactor     32.153        16.601        .17506E-05   -.13670    
  17  Prefactor     15.134        1.1947       -.16183E-06    .15668E-02
  18  norm          18.405        4.1033       -.78304E-07    .36465E-02
  19  norm          1.8256        1.6103       -.53246E-07   -.66609E-02
  20  Prefactor     .17444E-05    7.9699       -.40135E-06** at limit **
  21  Prefactor     6.0207        1.8337        .17884E-06    .10716E-01
  22  Prefactor     .44409E-09    6.9589        .56793E-06** at limit **
  23  Prefactor     15.785        1.1555       -.10464E-06    .13772E-01
  24  Prefactor     .79363        1.6593       -.27171E-06    .29953E-03
  25  Prefactor     .16653E-09    1.7137        .24937E-06** at limit **
  26  Prefactor     16.093        9.2162        .28570E-05    .49466E-01
  27  Prefactor     4.3815        1.0725       -.11993E-06    .20783E-02
  28  Prefactor     21.093        20.320       -.24105E-05   -.54987E-01
  29  Normalizat    1.0974        .11438       -.11070E-04    .13566E-03
  30  Prefactor     .81442        .11086        .21495E-05    .13265E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3931
  Prefactor  = 6.52811e-08
  norm       = 0
  Prefactor  = 1.41082e-06
  Prefactor  = 5.14971
  norm       = 3.19141
  norm       = 2.71836
  Prefactor  = 3.81526
  Prefactor  = 12.9634
  Prefactor  = 1.66533e-10
  norm       = 11.2747
  Prefactor  = 1.97405
  norm       = 6.69424
  Prefactor  = 8.14273
  Prefactor  = 2.7901e-06
  Prefactor  = 32.1527
  Prefactor  = 15.1337
  norm       = 18.4052
  norm       = 1.82561
  Prefactor  = 1.74438e-06
  Prefactor  = 6.02066
  Prefactor  = 4.44089e-10
  Prefactor  = 15.7848
  Prefactor  = 0.79363
  Prefactor  = 1.66533e-10
  Prefactor  = 16.0933
  Prefactor  = 4.38148
  Prefactor  = 21.093
  Normalizat = 1.09742
  Prefactor  = 0.814425
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.78     FROM HESSE     STATUS=OK           656 CALLS     2854 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.393        7.4184        .25491E-03   -1.5629    
   2  Prefactor     .65281E-07    9.1374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.6672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14108E-05    48.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1497        4.0741        .44291E-03   -1.5663    
   6  norm          3.1914        .72589        .56693E-03   -1.5672    
   7  norm          2.7184        1.8754        .61747E-03   -1.5675    
   8  Prefactor     3.8153        5.9516        .52031E-03   -1.5669    
   9  Prefactor     12.963        13.312        .27949E-03   -1.5636    
  10  Prefactor     .16653E-09    1.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.275        7.1605        .29802E-03   -1.5641    
  12  Prefactor     1.9741        6.6659        .73796E-03   -1.5680    
  13  norm          6.6942        4.3396        .38699E-03   -1.5656    
  14  Prefactor     8.1427        6.1631        .35072E-03   -1.5651    
  15  Prefactor     .27901E-05    12.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.153        28.496        .17231E-03   -1.5595    
  17  Prefactor     15.134        14.007        .25795E-03   -1.5630    
  18  norm          18.405        4.0995        .23322E-03   -1.5622    
  19  norm          1.8256        1.6622        .77242E-03   -1.5681    
  20  Prefactor     .17444E-05    12.498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.0207        21.566        .40582E-03   -1.5659    
  22  Prefactor     .44409E-09    6.9739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.785        13.205        .25072E-03   -1.5629    
  24  Prefactor     .79363        1.6709        .53170E-03   -1.5690    
  25  Prefactor     .16653E-09    1.7140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     16.093        9.3429        .24929E-03   -1.5628    
  27  Prefactor     4.3815        16.462        .47910E-03   -1.5666    
  28  Prefactor     21.093        25.595        .22293E-03   -1.5616    
  29  Normalizat    1.0974        .10359        .38107E-01   -.89835    
  30  Prefactor     .81442        .99103E-01    .43902E-01   -.99199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24826e-06
Minuit parameter uncertainties:
  1  7.41837
  2  0.00154463
  3  1.29472e-05
  4  0.0165036
  5  4.07414
  6  0.725886
  7  1.87543
  8  5.95159
  9  13.3124
  10  2.81307e-05
  11  7.1605
  12  6.66588
  13  4.33955
  14  6.16306
  15  0.0116536
  16  28.4959
  17  14.0066
  18  4.09951
  19  1.66216
  20  0.0093384
  21  21.5667
  22  0.000114705
  23  13.2052
  24  1.6709
  25  3.46568e-05
  26  9.34293
  27  16.4619
  28  25.5954
  29  0.103612
  30  0.0991246
Done.

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

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.841e+01  4.100e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.144e-01  9.912e-02  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.097e+00  1.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 58.25
Ra Dec: 185.044 71.092
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 9.15e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 3.70e-05 +/- 8.24e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.7745772
delta logL = 0.00861447049829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.772749
delta logL = 0.0104426551661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17849.77     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.172        56.400        .23468E-03   -.21220E-02
   2  alpha         2.2226        3.5431        .25010        .96973E-04
   3  Normalizat    1.0948        .12170        .38217E-01    .21628E-04
   4  Prefactor     .81600        .87773E-01    .43925E-01    .45201E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.1717
  alpha      = 2.22264
  Normalizat = 1.09478
  Prefactor  = 0.816001
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.77     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.172        4.4208        .93871E-05   -1.5623    
   2  alpha         2.2226        .23818        .10178E-01   -.11117    
   3  Normalizat    1.0948        .11119        .23465E-03   -.89920    
   4  Prefactor     .81600        .10860        .26415E-03   -.99141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28601e-11
Minuit parameter uncertainties:
  1  4.42077
  2  0.238544
  3  0.111215
  4  0.108624
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) = 17849.7727489
delta logL = 0.0104427359984

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.817e+01  4.421e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.223e+00  2.385e-01  0.000e+00  5.000e+00 ( 1.000e+00)
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.160e-01  1.086e-01  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.095e+00  1.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 57.99
Ra Dec: 185.044 71.092
Photon Index (Free Index): 2.22 +/- 0.24
Photon Flux (Free Index): 9.37e-08 +/- 2.54e-08
Energy Flux (Free Index): 3.64e-05 +/- 9.08e-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/33437920/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.15e-08', energy_flux2='3.64e-05', photon_flux_error='2.04e-08', dlogl='1.04e-02', energy_flux='3.70e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2026-07-28 10:12:14.115194', photon_index_error2='0.24', photon_index2='2.22', ts='58.25', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='9.08e-06', EG='1.10', time_epoch_completed='1785258734.12', return_code='0', job_id='33437920', GAL2='0.82', EG2='1.09', return_code2='0', energy_flux_error='8.24e-06', photon_flux_error2='2.54e-08', ts2='57.99', photon_index='2.19' WHERE bin_id='938' AND source_name='4FGL J1220.1+7105' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 10:12:14 PDT 2026

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

 FCN=   17849.78     FROM HESSE     STATUS=OK           656 CALLS     2854 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.393        7.4184        .25491E-03   -1.5629    
   2  Prefactor     .65281E-07    9.1374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.6672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .14108E-05    48.264        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.1497        4.0741        .44291E-03   -1.5663    
   6  norm          3.1914        .72589        .56693E-03   -1.5672    
   7  norm          2.7184        1.8754        .61747E-03   -1.5675    
   8  Prefactor     3.8153        5.9516        .52031E-03   -1.5669    
   9  Prefactor     12.963        13.312        .27949E-03   -1.5636    
  10  Prefactor     .16653E-09    1.0665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          11.275        7.1605        .29802E-03   -1.5641    
  12  Prefactor     1.9741        6.6659        .73796E-03   -1.5680    
  13  norm          6.6942        4.3396        .38699E-03   -1.5656    
  14  Prefactor     8.1427        6.1631        .35072E-03   -1.5651    
  15  Prefactor     .27901E-05    12.169        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.153        28.496        .17231E-03   -1.5595    
  17  Prefactor     15.134        14.007        .25795E-03   -1.5630    
  18  norm          18.405        4.0995        .23322E-03   -1.5622    
  19  norm          1.8256        1.6622        .77242E-03   -1.5681    
  20  Prefactor     .17444E-05    12.498        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     6.0207        21.566        .40582E-03   -1.5659    
  22  Prefactor     .44409E-09    6.9739        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     15.785        13.205        .25072E-03   -1.5629    
  24  Prefactor     .79363        1.6709        .53170E-03   -1.5690    
  25  Prefactor     .16653E-09    1.7140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     16.093        9.3429        .24929E-03   -1.5628    
  27  Prefactor     4.3815        16.462        .47910E-03   -1.5666    
  28  Prefactor     21.093        25.595        .22293E-03   -1.5616    
  29  Normalizat    1.0974        .10359        .38107E-01   -.89835    
  30  Prefactor     .81442        .99103E-01    .43902E-01   -.99199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.24826e-06
Minuit parameter uncertainties:
  1  7.41837
  2  0.00154463
  3  1.29472e-05
  4  0.0165036
  5  4.07414
  6  0.725886
  7  1.87543
  8  5.95159
  9  13.3124
  10  2.81307e-05
  11  7.1605
  12  6.66588
  13  4.33955
  14  6.16306
  15  0.0116536
  16  28.4959
  17  14.0066
  18  4.09951
  19  1.66216
  20  0.0093384
  21  21.5667
  22  0.000114705
  23  13.2052
  24  1.6709
  25  3.46568e-05
  26  9.34293
  27  16.4619
  28  25.5954
  29  0.103612
  30  0.0991246
Done.

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

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.841e+01  4.100e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.189e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.144e-01  9.912e-02  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.097e+00  1.036e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 58.25
Ra Dec: 185.044 71.092
Photon Index (Fixed Index): 2.19 +/- 0.00
Photon Flux (Fixed Index): 9.15e-08 +/- 2.04e-08
Energy Flux (Fixed Index): 3.70e-05 +/- 8.24e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.7745772
delta logL = 0.00861447049829

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 17849.772749
delta logL = 0.0104426551661

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   17849.77     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      200 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.172        56.400        .23468E-03   -.21220E-02
   2  alpha         2.2226        3.5431        .25010        .96973E-04
   3  Normalizat    1.0948        .12170        .38217E-01    .21628E-04
   4  Prefactor     .81600        .87773E-01    .43925E-01    .45201E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.1717
  alpha      = 2.22264
  Normalizat = 1.09478
  Prefactor  = 0.816001
 **********
 **   18 **HESSE 
 **********

 FCN=   17849.77     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.172        4.4208        .93871E-05   -1.5623    
   2  alpha         2.2226        .23818        .10178E-01   -.11117    
   3  Normalizat    1.0948        .11119        .23465E-03   -.89920    
   4  Prefactor     .81600        .10860        .26415E-03   -.99141    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28601e-11
Minuit parameter uncertainties:
  1  4.42077
  2  0.238544
  3  0.111215
  4  0.108624
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) = 17849.7727489
delta logL = 0.0104427359984

Extracting fit parameters...

4FGL J1220.1+7105
   Spectrum: LogParabola
401         norm:  1.817e+01  4.421e+00  0.000e+00  1.000e+06 ( 1.000e-12)
402        alpha:  2.223e+00  2.385e-01  0.000e+00  5.000e+00 ( 1.000e+00)
403         beta:  1.310e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
404           Eb:  7.210e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
751    Prefactor:  8.160e-01  1.086e-01  0.000e+00  1.000e+01 ( 1.000e+00)
752        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
753        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
750   Normalization:  1.095e+00  1.112e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 57.99
Ra Dec: 185.044 71.092
Photon Index (Free Index): 2.22 +/- 0.24
Photon Flux (Free Index): 9.37e-08 +/- 2.54e-08
Energy Flux (Free Index): 3.64e-05 +/- 9.08e-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/33437964/cmap_HighResolution_806284801_806889601_4FGL_J1220.1+7105_weekly_bin938.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.15e-08', energy_flux2='3.64e-05', photon_flux_error='2.04e-08', dlogl='1.04e-02', energy_flux='3.70e-05', photon_flux2='9.37e-08', job_status='DONE', time_completed='2026-07-28 10:13:24.283606', photon_index_error2='0.24', photon_index2='2.22', ts='58.25', fit_tolerance='1e-08', GAL='0.81', photon_index_error='0.00', energy_flux_error2='9.08e-06', EG='1.10', time_epoch_completed='1785258804.28', return_code='0', job_id='33437964', GAL2='0.82', EG2='1.09', return_code2='0', energy_flux_error='8.24e-06', photon_flux_error2='2.54e-08', ts2='57.99', photon_index='2.19' WHERE bin_id='938' AND source_name='4FGL J1220.1+7105' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jul 28 10:13:24 PDT 2026

