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

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

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

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

Done.


Performing analysis on: 4FGL_J0312.9+4119_weekly_bin931
RA = 48.2438, Dec = 41.3289
tmin = 802051201, tmax = 802656001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='28134492', job_status='RUN', time_executed='2026-06-09 02:36:37.419215', time_epoch_executed='1780997797.42' WHERE source_name='4FGL J0312.9+4119' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28134492

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28134492/ft1_4FGL_J0312.9+4119_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28134492/ft2_4FGL_J0312.9+4119_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28134492/ft1_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28134492/ft1_filteredMKT_4FGL_J0312.9+4119_weekly_bin931.fits ra=48.2438 dec=41.3289 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.25
user 4.52
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28134492/ft2_4FGL_J0312.9+4119_weekly_bin931.fits

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

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

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

Number of photons that the gtmktime cut: 3822

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28134492/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28134492/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA"/sdf/group/fermi/u/kocevski/software/conda/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa
/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)

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


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

 outfile=/lscratch/kocevski/28134256/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/28134256/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 19.81
user 19.11
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28134256/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28134256/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28134256/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28134256/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/28134256/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 74.51
user 69.24
sys 4.14

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 165 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0312.9+4119 @ 48.2438 41.3289

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

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

This is gtbin version HEAD
real 0.75
user 0.24
sys 0.14

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

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

This is gtbin version HEAD
real 0.82
user 0.24
s outfile=/lscratch/kocevski/28134179/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/28134179/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 19.52
user 18.77
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28134179/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28134179/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28134179/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28134179/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/28134179/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 74.63
user 69.54
sys 4.27

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
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 165 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0312.9+4119 @ 48.2438 41.3289

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

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

This is gtbin version HEAD
real 0.70
user 0.25
sys 0.12

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

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

This is gtbin version HEAD
real 0.95
user 0.25
snumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0312.9+4119_weekly_bin931
RA = 48.2438, Dec = 41.3289
tmin = 802051201, tmax = 802656001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='28134779', job_status='RUN', time_executed='2026-06-09 02:37:37.539749', time_epoch_executed='1780997857.54' WHERE source_name='4FGL J0312.9+4119' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28134779

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28134779/ft1_4FGL_J0312.9+4119_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28134779/ft2_4FGL_J0312.9+4119_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28134779/ft1_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28134779/ft1_filteredMKT_4FGL_J0312.9+4119_weekly_bin931.fits ra=48.2438 dec=41.3289 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.17
user 4.42
sys 0.22

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28134779/ft2_4FGL_J0312.9+4119_weekly_bin931.fits

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

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

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

Number of photons that the gtmktime cut: 3822

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28134779/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28134779/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28134492/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/28134492/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 17.43
user 16.73
sys 0.23

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28134492/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28134492/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28134492/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28134492/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/28134492/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 65.81
user 61.52
sys 3.46

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
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 165 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0312.9+4119 @ 48.2438 41.3289

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

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

This is gtbin version HEAD
real 0.96
user 0.23
sys 0.13

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

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

This is gtbin version HEAD
real 0.93
user 0.23
snumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0312.9+4119_weekly_bin931
RA = 48.2438, Dec = 41.3289
tmin = 802051201, tmax = 802656001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='28135069', job_status='RUN', time_executed='2026-06-09 02:38:14.054301', time_epoch_executed='1780997894.05' WHERE source_name='4FGL J0312.9+4119' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28135069

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28135069/ft1_4FGL_J0312.9+4119_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28135069/ft2_4FGL_J0312.9+4119_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28135069/ft1_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28135069/ft1_filteredMKT_4FGL_J0312.9+4119_weekly_bin931.fits ra=48.2438 dec=41.3289 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.61
user 5.05
sys 0.23

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28135069/ft2_4FGL_J0312.9+4119_weekly_bin931.fits

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

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

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

Number of photons that the gtmktime cut: 3822

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28135069/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28135069/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28134779/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/28134779/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 17.63
user 16.64
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28134779/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28134779/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28134779/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28134779/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/28134779/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 65.32
user 60.74
sys 3.73

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
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 165 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0312.9+4119 @ 48.2438 41.3289

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

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

This is gtbin version HEAD
real 0.79
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/28134779/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits scfile=/lscratch/kocevski/28134779/ft2_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28134779/cmap_HighResolution_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=48.2438 yref=41.3289 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
s outfile=/lscratch/kocevski/28135069/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/28135069/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 19.58
user 18.97
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28135069/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28135069/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28135069/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28135069/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/28135069/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 74.83
user 69.50
sys 4.36

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
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 165 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0312.9+4119 @ 48.2438 41.3289

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

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

This is gtbin version HEAD
real 0.77
user 0.25
sys 0.12

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

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

This is gtbin version HEAD
real 0.79
user 0.25
snumber of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0312.9+4119_weekly_bin931
RA = 48.2438, Dec = 41.3289
tmin = 802051201, tmax = 802656001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='28135701', job_status='RUN', time_executed='2026-06-09 02:40:14.910166', time_epoch_executed='1780998014.91' WHERE source_name='4FGL J0312.9+4119' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28135701

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28135701/ft1_4FGL_J0312.9+4119_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28135701/ft1_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28135701/ft1_filteredMKT_4FGL_J0312.9+4119_weekly_bin931.fits ra=48.2438 dec=41.3289 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.52
user 4.60
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits

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

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

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

Number of photons that the gtmktime cut: 3822

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28135701/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA"number of points = 17382
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0312.9+4119_weekly_bin931
RA = 48.2438, Dec = 41.3289
tmin = 802051201, tmax = 802656001
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

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

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='28135558', job_status='RUN', time_executed='2026-06-09 02:40:17.730949', time_epoch_executed='1780998017.73' WHERE source_name='4FGL J0312.9+4119' and cadence='weekly' and bin_id='931'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/28135558

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

Retrieving the FT1 file...

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

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

Retrieving 108 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/28135558/ft1_4FGL_J0312.9+4119_weekly_bin931.fits


Retrieving the FT1 file...

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

Retrieving 108 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/28135558/ft2_4FGL_J0312.9+4119_weekly_bin931.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/28135558/ft1_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28135558/ft1_filteredMKT_4FGL_J0312.9+4119_weekly_bin931.fits ra=48.2438 dec=41.3289 rad=12.0 tmin=802051201.0 tmax=802656001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.97
user 5.03
sys 0.25

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/28135558/ft2_4FGL_J0312.9+4119_weekly_bin931.fits

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

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

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

Number of photons that the gtmktime cut: 3822

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/28135558/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits" evtable="EVENTS" scfile=/lscratch/kocevski/28135558/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" outfile=/lscratch/kocevski/28135701/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 18.29
user 17.58
sys 0.22

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28135701/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28135701/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28135701/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/28135701/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 69.70
user 64.87
sys 3.96

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
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 165 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0312.9+4119 @ 48.2438 41.3289

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28135701/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits scfile=/lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28135701/cmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=48.2438 yref=41.3289 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/28135701/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits scfile=/lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28135701/cmap_HighResolution_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=48.2438 yref=41.3289 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.78
user 0.23
s outfile=/lscratch/kocevski/28135558/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /lscratch/kocevski/28135558/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 19.16
user 18.06
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/28135558/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28135558/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" expcube=/lscratch/kocevski/28135558/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28135558/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /lscratch/kocevski/28135558/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
.....................!
real 71.41
user 66.11
sys 4.15

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Extended source W 3 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Extended source G150.3+4.5 in ROI with RadialDisk spatial model.
Extended source HB 9 in ROI, make sure /sdf/group/fermi/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/HB9.fits is the correct path to the extended template.
Added 165 point sources and 3 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0312.9+4119 @ 48.2438 41.3289

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/28135558/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits scfile=/lscratch/kocevski/28135558/ft2_4FGL_J0312.9+4119_weekly_bin931.fits outfile=/lscratch/kocevski/28135558/cmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=48.2438 yref=41.3289 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.80
user 0.26
sys 0.12

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

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

This is gtbin version HEAD
real 0.72
user 0.24
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28134492/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28134492/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28134492/Model_4FGL_J0312.9+4119_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/28134492/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits.....................!
real 244.20
user 241.65
sys 0.67

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28134492/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits', '/lscratch/kocevski/28134492/ft2_4FGL_J0312.9+4119_weekly_bin931.fits', expMap='/lscratch/kocevski/28134492/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', expCube='/lscratch/kocevski/28134492/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28134492/Model_4FGL_J0312.9+4119_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0312.9+4119'

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.825e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28134492/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28134492/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28134492/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28134492/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28134492/Model_4FGL_J0312.9+4119_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 39179.0783496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55056       1.0000          .0000       .10000E+07
     2 'norm      '    .35590       1.0000          .0000       .10000E+07
     3 'norm      '    .14932       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2579       1.0000          .0000       .10000E+07
     5 'norm      '    8.1518       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.5932       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18335E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.4759       1.0000          .0000       .10000E+07
     9 'norm      '    68.104       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.841       1.0000          .0000       .10000E+07
    11 'norm      '    1.4275       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15034       1.0000          .0000       .10000E+07
    13 'norm      '    3.8180       1.0000          .0000       .10000E+07
    14 'Prefactor '    39.163       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31039E-05   1.0000          .0000       .10000E+07
    16 'norm      '    55.303       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1497       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97426       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   39177.25     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1037 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55095        2.3226        .25032E-07    .11347E-02
   2  norm          .35590        .43726       -.15137E-07    .67491E-02
   3  norm          .14928        .10983       -.57050E-07** at limit **
   4  Prefactor     8.2564        4.2489       -.22216E-06    .37875E-03
   5  norm          8.1530        4.2399       -.14636E-07    .99243E-03
   6  Prefactor     8.5696        15.102       -.23514E-05   -.29952E-01
   7  Prefactor     .55511E-10    .68404        .13485E-06** at limit **
   8  norm          2.4748        1.8471        .43149E-07    .23379E-02
   9  norm          68.121        10.513       -.58027E-06   -.42364E-01
  10  Prefactor     15.844        8.4810       -.51314E-06   -.86574E-02
  11  norm          1.4273        .40525        .22819E-07    .83415E-02
  12  Prefactor     .14744        2.1881       -.37772E-06** at limit **
  13  norm          3.8178        1.6864        .22087E-06   -.29023E-03
  14  Prefactor     39.178        1.7009        .10515E-06   -.11743E-01
  15  Prefactor     .55511E-10    6.4249       -.31787E-06** at limit **
  16  norm          55.280        11.982        .76699E-06   -.12914    
  17  Prefactor      .0000        .74090        .20436E-06** at limit **
  18  Prefactor      .0000        2.8644        .54106E-06** at limit **
  19  Normalizat    1.1497        .16661        .59376E-05    .12737E-03
  20  Prefactor     .97428        .32754E-01   -.79324E-07    .39767E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.550951
  norm       = 0.355905
  norm       = 0.14928
  Prefactor  = 8.25638
  norm       = 8.153
  Prefactor  = 8.56959
  Prefactor  = 5.55112e-11
  norm       = 2.47477
  norm       = 68.1212
  Prefactor  = 15.8436
  norm       = 1.4273
  Prefactor  = 0.147438
  norm       = 3.81783
  Prefactor  = 39.1779
  Prefactor  = 5.55112e-11
  norm       = 55.2796
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14966
  Prefactor  = 0.974279
ys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28134179/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28134179/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28134179/Model_4FGL_J0312.9+4119_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/28134179/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits.....................!
real 269.50
user 266.49
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28134179/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits', '/lscratch/kocevski/28134179/ft2_4FGL_J0312.9+4119_weekly_bin931.fits', expMap='/lscratch/kocevski/28134179/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', expCube='/lscratch/kocevski/28134179/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28134179/Model_4FGL_J0312.9+4119_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0312.9+4119'

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.825e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28134179/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28134179/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28134179/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28134179/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28134179/Model_4FGL_J0312.9+4119_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 39179.0783496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55056       1.0000          .0000       .10000E+07
     2 'norm      '    .35590       1.0000          .0000       .10000E+07
     3 'norm      '    .14932       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2579       1.0000          .0000       .10000E+07
     5 'norm      '    8.1518       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.5932       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18335E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.4759       1.0000          .0000       .10000E+07
     9 'norm      '    68.104       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.841       1.0000          .0000       .10000E+07
    11 'norm      '    1.4275       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15034       1.0000          .0000       .10000E+07
    13 'norm      '    3.8180       1.0000          .0000       .10000E+07
    14 'Prefactor '    39.163       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31039E-05   1.0000          .0000       .10000E+07
    16 'norm      '    55.303       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
    19 'ys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28134256/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28134256/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28134256/Model_4FGL_J0312.9+4119_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/28134256/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits.....................!
real 272.59
user 269.30
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28134256/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits', '/lscratch/kocevski/28134256/ft2_4FGL_J0312.9+4119_weekly_bin931.fits', expMap='/lscratch/kocevski/28134256/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', expCube='/lscratch/kocevski/28134256/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28134256/Model_4FGL_J0312.9+4119_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0312.9+4119'

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.825e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28134256/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28134256/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28134256/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28134256/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28134256/Model_4FGL_J0312.9+4119_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 39179.0783496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55056       1.0000          .0000       .10000E+07
     2 'norm      '    .35590       1.0000          .0000       .10000E+07
     3 'norm      '    .14932       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2579       1.0000          .0000       .10000E+07
     5 'norm      '    8.1518       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.5932       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18335E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.4759       1.0000          .0000       .10000E+07
     9 'norm      '    68.104       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.841       1.0000          .0000       .10000E+07
    11 'norm      '    1.4275       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15034       1.0000          .0000       .10000E+07
    13 'norm      '    3.8180       1.0000          .0000       .10000E+07
    14 'Prefactor '    39.163       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31039E-05   1.0000          .0000       .10000E+07
    16 'norm      '    55.303       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
    19 'ys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28134779/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28134779/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28134779/Model_4FGL_J0312.9+4119_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/28134779/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits.....................!
real 229.03
user 225.89
sys 1.04

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28134779/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits', '/lscratch/kocevski/28134779/ft2_4FGL_J0312.9+4119_weekly_bin931.fits', expMap='/lscratch/kocevski/28134779/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', expCube='/lscratch/kocevski/28134779/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28134779/Model_4FGL_J0312.9+4119_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0312.9+4119'

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.825e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28134779/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28134779/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28134779/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28134779/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28134779/Model_4FGL_J0312.9+4119_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 39179.0783496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55056       1.0000          .0000       .10000E+07
     2 'norm      '    .35590       1.0000          .0000       .10000E+07
     3 'norm      '    .14932       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2579       1.0000          .0000       .10000E+07
     5 'norm      '    8.1518       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.5932       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18335E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.4759       1.0000          .0000       .10000E+07
     9 'norm      '    68.104       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.841       1.0000          .0000       .10000E+07
    11 'norm      '    1.4275       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15034       1.0000          .0000       .10000E+07
    13 'norm      '    3.8180       1.0000          .0000       .10000E+07
    14 'Prefactor '    39.163       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31039E-05   1.0000          .0000       .10000E+07
    16 'norm      '    55.303       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1497       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97426       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   39177.25     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1037 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55095        2.3226        .25032E-07    .11347E-02
   2  norm          .35590        .43726       -.15137E-07    .67491E-02
   3  norm          .14928        .10983       -.57050E-07** at limit **
   4  Prefactor     8.2564        4.2489       -.22216E-06    .37875E-03
   5  norm          8.1530        4.2399       -.14636E-07    .99243E-03
   6  Prefactor     8.5696        15.102       -.23514E-05   -.29952E-01
   7  Prefactor     .55511E-10    .68404        .13485E-06** at limit **
   8  norm          2.4748        1.8471        .43149E-07    .23379E-02
   9  norm          68.121        10.513       -.58027E-06   -.42364E-01
  10  Prefactor     15.844        8.4810       -.51314E-06   -.86574E-02
  11  norm          1.4273        .40525        .22819E-07    .83415E-02
  12  Prefactor     .14744        2.1881       -.37772E-06** at limit **
  13  norm          3.8178        1.6864        .22087E-06   -.29023E-03
  14  Prefactor     39.178        1.7009        .10515E-06   -.11743E-01
  15  Prefactor     .55511E-10    6.4249       -.31787E-06** at limit **
  16  norm          55.280        11.982        .76699E-06   -.12914    
  17  Prefactor      .0000        .74090        .20436E-06** at limit **
  18  Prefactor      .0000        2.8644        .54106E-06** at limit **
  19  Normalizat    1.1497        .16661        .59376E-05    .12737E-03
  20  Prefactor     .97428        .32754E-01   -.79324E-07    .39767E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.550951
  norm       = 0.355905
  norm       = 0.14928
  Prefactor  = 8.25638
  norm       = 8.153
  Prefactor  = 8.56959
  Prefactor  = 5.55112e-11
  norm       = 2.47477
  norm       = 68.1212
  Prefactor  = 15.8436
  norm       = 1.4273
  Prefactor  = 0.147438
  norm       = 3.81783
  Prefactor  = 39.1779
  Prefactor  = 5.55112e-11
  norm       = 55.2796
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14966
  Prefactor  = 0.974279
Normalizat'    1.1497       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97426       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   39177.25     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1037 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55095        2.3226        .25032E-07    .11347E-02
   2  norm          .35590        .43726       -.15137E-07    .67491E-02
   3  norm          .14928        .10983       -.57050E-07** at limit **
   4  Prefactor     8.2564        4.2489       -.22216E-06    .37875E-03
   5  norm          8.1530        4.2399       -.14636E-07    .99243E-03
   6  Prefactor     8.5696        15.102       -.23514E-05   -.29952E-01
   7  Prefactor     .55511E-10    .68404        .13485E-06** at limit **
   8  norm          2.4748        1.8471        .43149E-07    .23379E-02
   9  norm          68.121        10.513       -.58027E-06   -.42364E-01
  10  Prefactor     15.844        8.4810       -.51314E-06   -.86574E-02
  11  norm          1.4273        .40525        .22819E-07    .83415E-02
  12  Prefactor     .14744        2.1881       -.37772E-06** at limit **
  13  norm          3.8178        1.6864        .22087E-06   -.29023E-03
  14  Prefactor     39.178        1.7009        .10515E-06   -.11743E-01
  15  Prefactor     .55511E-10    6.4249       -.31787E-06** at limit **
  16  norm          55.280        11.982        .76699E-06   -.12914    
  17  Prefactor      .0000        .74090        .20436E-06** at limit **
  18  Prefactor      .0000        2.8644        .54106E-06** at limit **
  19  Normalizat    1.1497        .16661        .59376E-05    .12737E-03
  20  Prefactor     .97428        .32754E-01   -.79324E-07    .39767E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.550951
  norm       = 0.355905
  norm       = 0.14928
  Prefactor  = 8.25638
  norm       = 8.153
  Prefactor  = 8.56959
  Prefactor  = 5.55112e-11
  norm       = 2.47477
  norm       = 68.1212
  Prefactor  = 15.8436
  norm       = 1.4273
  Prefactor  = 0.147438
  norm       = 3.81783
  Prefactor  = 39.1779
  Prefactor  = 5.55112e-11
  norm       = 55.2796
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14966
  Prefactor  = 0.974279
Normalizat'    1.1497       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97426       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   39177.25     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1037 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55095        2.3226        .25032E-07    .11347E-02
   2  norm          .35590        .43726       -.15137E-07    .67491E-02
   3  norm          .14928        .10983       -.57050E-07** at limit **
   4  Prefactor     8.2564        4.2489       -.22216E-06    .37875E-03
   5  norm          8.1530        4.2399       -.14636E-07    .99243E-03
   6  Prefactor     8.5696        15.102       -.23514E-05   -.29952E-01
   7  Prefactor     .55511E-10    .68404        .13485E-06** at limit **
   8  norm          2.4748        1.8471        .43149E-07    .23379E-02
   9  norm          68.121        10.513       -.58027E-06   -.42364E-01
  10  Prefactor     15.844        8.4810       -.51314E-06   -.86574E-02
  11  norm          1.4273        .40525        .22819E-07    .83415E-02
  12  Prefactor     .14744        2.1881       -.37772E-06** at limit **
  13  norm          3.8178        1.6864        .22087E-06   -.29023E-03
  14  Prefactor     39.178        1.7009        .10515E-06   -.11743E-01
  15  Prefactor     .55511E-10    6.4249       -.31787E-06** at limit **
  16  norm          55.280        11.982        .76699E-06   -.12914    
  17  Prefactor      .0000        .74090        .20436E-06** at limit **
  18  Prefactor      .0000        2.8644        .54106E-06** at limit **
  19  Normalizat    1.1497        .16661        .59376E-05    .12737E-03
  20  Prefactor     .97428        .32754E-01   -.79324E-07    .39767E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.550951
  norm       = 0.355905
  norm       = 0.14928
  Prefactor  = 8.25638
  norm       = 8.153
  Prefactor  = 8.56959
  Prefactor  = 5.55112e-11
  norm       = 2.47477
  norm       = 68.1212
  Prefactor  = 15.8436
  norm       = 1.4273
  Prefactor  = 0.147438
  norm       = 3.81783
  Prefactor  = 39.1779
  Prefactor  = 5.55112e-11
  norm       = 55.2796
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14966
  Prefactor  = 0.974279
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.25     FROM HESSE     STATUS=OK           351 CALLS     1388 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55095        2.1734        .73778E-03   -1.5693    
   2  norm          .35590        .45775        .25421E-02   -1.5696    
   3  norm          .14928        .14428        .12406E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2564        4.2598        .34863E-03   -1.5650    
   5  norm          8.1530        4.2559        .35091E-03   -1.5651    
   6  Prefactor     8.5696        19.490        .34171E-03   -1.5649    
   7  Prefactor     .55511E-10    .69452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4748        1.8514        .64951E-03   -1.5677    
   9  norm          68.121        20.687        .12118E-03   -1.5543    
  10  Prefactor     15.844        8.4561        .25138E-03   -1.5628    
  11  norm          1.4273        .40846        .90420E-03   -1.5684    
  12  Prefactor     .14744        .37204        .60726E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8178        1.6960        .51631E-03   -1.5669    
  14  Prefactor     39.178        48.372        .15981E-03   -1.5583    
  15  Prefactor     .55511E-10    6.4384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          55.280        39.868        .13448E-03   -1.5559    
  17  Prefactor      .0000        .73962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.8943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1497        .16185        .13315       -.88173    
  20  Prefactor     .97428        .31309E-01    .31135E-01   -.93592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52907e-07
Minuit parameter uncertainties:
  1  2.17342
  2  0.457753
  3  0.144281
  4  4.25984
  5  4.25595
  6  19.4904
  7  9.90557e-06
  8  1.85144
  9  20.6868
  10  8.45615
  11  0.408464
  12  0.372039
  13  1.696
  14  48.3728
  15  3.61522e-05
  16  39.8683
  17  3.02607e-06
  18  1.33685e-05
  19  0.161921
  20  0.0313098
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.25     FROM HESSE     STATUS=OK           351 CALLS     1388 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55095        2.1734        .73778E-03   -1.5693    
   2  norm          .35590        .45775        .25421E-02   -1.5696    
   3  norm          .14928        .14428        .12406E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2564        4.2598        .34863E-03   -1.5650    
   5  norm          8.1530        4.2559        .35091E-03   -1.5651    
   6  Prefactor     8.5696        19.490        .34171E-03   -1.5649    
   7  Prefactor     .55511E-10    .69452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4748        1.8514        .64951E-03   -1.5677    
   9  norm          68.121        20.687        .12118E-03   -1.5543    
  10  Prefactor     15.844        8.4561        .25138E-03   -1.5628    
  11  norm          1.4273        .40846        .90420E-03   -1.5684    
  12  Prefactor     .14744        .37204        .60726E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8178        1.6960        .51631E-03   -1.5669    
  14  Prefactor     39.178        48.372        .15981E-03   -1.5583    
  15  Prefactor     .55511E-10    6.4384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          55.280        39.868        .13448E-03   -1.5559    
  17  Prefactor      .0000        .73962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.8943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1497        .16185        .13315       -.88173    
  20  Prefactor     .97428        .31309E-01    .31135E-01   -.93592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52907e-07
Minuit parameter uncertainties:
  1  2.17342
  2  0.457753
  3  0.144281
  4  4.25984
  5  4.25595
  6  19.4904
  7  9.90557e-06
  8  1.85144
  9  20.6868
  10  8.45615
  11  0.408464
  12  0.372039
  13  1.696
  14  48.3728
  15  3.61522e-05
  16  39.8683
  17  3.02607e-06
  18  1.33685e-05
  19  0.161921
  20  0.0313098
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.25     FROM HESSE     STATUS=OK           351 CALLS     1388 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55095        2.1734        .73778E-03   -1.5693    
   2  norm          .35590        .45775        .25421E-02   -1.5696    
   3  norm          .14928        .14428        .12406E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2564        4.2598        .34863E-03   -1.5650    
   5  norm          8.1530        4.2559        .35091E-03   -1.5651    
   6  Prefactor     8.5696        19.490        .34171E-03   -1.5649    
   7  Prefactor     .55511E-10    .69452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4748        1.8514        .64951E-03   -1.5677    
   9  norm          68.121        20.687        .12118E-03   -1.5543    
  10  Prefactor     15.844        8.4561        .25138E-03   -1.5628    
  11  norm          1.4273        .40846        .90420E-03   -1.5684    
  12  Prefactor     .14744        .37204        .60726E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8178        1.6960        .51631E-03   -1.5669    
  14  Prefactor     39.178        48.372        .15981E-03   -1.5583    
  15  Prefactor     .55511E-10    6.4384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          55.280        39.868        .13448E-03   -1.5559    
  17  Prefactor      .0000        .73962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.8943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1497        .16185        .13315       -.88173    
  20  Prefactor     .97428        .31309E-01    .31135E-01   -.93592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52907e-07
Minuit parameter uncertainties:
  1  2.17342
  2  0.457753
  3  0.144281
  4  4.25984
  5  4.25595
  6  19.4904
  7  9.90557e-06
  8  1.85144
  9  20.6868
  10  8.45615
  11  0.408464
  12  0.372039
  13  1.696
  14  48.3728
  15  3.61522e-05
  16  39.8683
  17  3.02607e-06
  18  1.33685e-05
  19  0.161921
  20  0.0313098
ys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28135069/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28135069/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28135069/Model_4FGL_J0312.9+4119_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/28135069/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits.....................!
real 266.08
user 262.74
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28135069/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits', '/lscratch/kocevski/28135069/ft2_4FGL_J0312.9+4119_weekly_bin931.fits', expMap='/lscratch/kocevski/28135069/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', expCube='/lscratch/kocevski/28135069/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28135069/Model_4FGL_J0312.9+4119_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0312.9+4119'

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.825e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28135069/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28135069/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28135069/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28135069/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28135069/Model_4FGL_J0312.9+4119_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 39179.0783496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55056       1.0000          .0000       .10000E+07
     2 'norm      '    .35590       1.0000          .0000       .10000E+07
     3 'norm      '    .14932       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2579       1.0000          .0000       .10000E+07
     5 'norm      '    8.1518       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.5932       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18335E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.4759       1.0000          .0000       .10000E+07
     9 'norm      '    68.104       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.841       1.0000          .0000       .10000E+07
    11 'norm      '    1.4275       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15034       1.0000          .0000       .10000E+07
    13 'norm      '    3.8180       1.0000          .0000       .10000E+07
    14 'Prefactor '    39.163       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31039E-05   1.0000          .0000       .10000E+07
    16 'norm      '    55.303       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
    19 ' **********
 **   18 **HESSE 
 **********

 FCN=   39177.25     FROM HESSE     STATUS=OK           351 CALLS     1388 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55095        2.1734        .73778E-03   -1.5693    
   2  norm          .35590        .45775        .25421E-02   -1.5696    
   3  norm          .14928        .14428        .12406E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2564        4.2598        .34863E-03   -1.5650    
   5  norm          8.1530        4.2559        .35091E-03   -1.5651    
   6  Prefactor     8.5696        19.490        .34171E-03   -1.5649    
   7  Prefactor     .55511E-10    .69452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4748        1.8514        .64951E-03   -1.5677    
   9  norm          68.121        20.687        .12118E-03   -1.5543    
  10  Prefactor     15.844        8.4561        .25138E-03   -1.5628    
  11  norm          1.4273        .40846        .90420E-03   -1.5684    
  12  Prefactor     .14744        .37204        .60726E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8178        1.6960        .51631E-03   -1.5669    
  14  Prefactor     39.178        48.372        .15981E-03   -1.5583    
  15  Prefactor     .55511E-10    6.4384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          55.280        39.868        .13448E-03   -1.5559    
  17  Prefactor      .0000        .73962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.8943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1497        .16185        .13315       -.88173    
  20  Prefactor     .97428        .31309E-01    .31135E-01   -.93592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52907e-07
Minuit parameter uncertainties:
  1  2.17342
  2  0.457753
  3  0.144281
  4  4.25984
  5  4.25595
  6  19.4904
  7  9.90557e-06
  8  1.85144
  9  20.6868
  10  8.45615
  11  0.408464
  12  0.372039
  13  1.696
  14  48.3728
  15  3.61522e-05
  16  39.8683
  17  3.02607e-06
  18  1.33685e-05
  19  0.161921
  20  0.0313098
Normalizat'    1.1497       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97426       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   39177.25     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1037 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55095        2.3226        .25032E-07    .11347E-02
   2  norm          .35590        .43726       -.15137E-07    .67491E-02
   3  norm          .14928        .10983       -.57050E-07** at limit **
   4  Prefactor     8.2564        4.2489       -.22216E-06    .37875E-03
   5  norm          8.1530        4.2399       -.14636E-07    .99243E-03
   6  Prefactor     8.5696        15.102       -.23514E-05   -.29952E-01
   7  Prefactor     .55511E-10    .68404        .13485E-06** at limit **
   8  norm          2.4748        1.8471        .43149E-07    .23379E-02
   9  norm          68.121        10.513       -.58027E-06   -.42364E-01
  10  Prefactor     15.844        8.4810       -.51314E-06   -.86574E-02
  11  norm          1.4273        .40525        .22819E-07    .83415E-02
  12  Prefactor     .14744        2.1881       -.37772E-06** at limit **
  13  norm          3.8178        1.6864        .22087E-06   -.29023E-03
  14  Prefactor     39.178        1.7009        .10515E-06   -.11743E-01
  15  Prefactor     .55511E-10    6.4249       -.31787E-06** at limit **
  16  norm          55.280        11.982        .76699E-06   -.12914    
  17  Prefactor      .0000        .74090        .20436E-06** at limit **
  18  Prefactor      .0000        2.8644        .54106E-06** at limit **
  19  Normalizat    1.1497        .16661        .59376E-05    .12737E-03
  20  Prefactor     .97428        .32754E-01   -.79324E-07    .39767E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.550951
  norm       = 0.355905
  norm       = 0.14928
  Prefactor  = 8.25638
  norm       = 8.153
  Prefactor  = 8.56959
  Prefactor  = 5.55112e-11
  norm       = 2.47477
  norm       = 68.1212
  Prefactor  = 15.8436
  norm       = 1.4273
  Prefactor  = 0.147438
  norm       = 3.81783
  Prefactor  = 39.1779
  Prefactor  = 5.55112e-11
  norm       = 55.2796
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14966
  Prefactor  = 0.974279
Done.

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

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.584e+01  8.456e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.743e-01  3.131e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.150e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 48.244 41.329
Photon Index (Fixed Index): 2.69 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 4.92e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.19e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.2352802
delta logL = 0.0106108938853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.1642948
delta logL = 0.0815962603083

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   39177.16     FROM MIGRAD    STATUS=FAILED       111 CALLS      298 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .14198E-04   -.32669E-02
   2  Index         3.1244        3.0209        .68733E-02    .35496E-02
   3  Normalizat    1.1275        .16238        .59624E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .13742E-03   -.18730E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   39177.16     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      377 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .26005E-04   -.32669E-02
   2  Index         3.1244        3.0209        .97520E-03    .35496E-02
   3  Normalizat    1.1275        .16238        .22481E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .55540E-04   -.18730E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   39177.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      410 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9489        77.697        .56792E-06   -.15501E-02
   2  Index         3.1245        3.0518        .13747E-02   -.31559E-04
   3  Normalizat    1.1275        .18187        .23850E-04   -.65591E-04
   4  Prefactor     .97722        .35351E-01    .54967E-05   -.89350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.94891
  Index      = 3.12445
  Normalizat = 1.12749
  Prefactor  = 0.977219
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.16     FROM HESSE     STATUS=OK            23 CALLS      433 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9489        31.763        .37316E-06   -1.5652    
   2  Index         3.1245        2.0550        .54987E-04   -.38452    
   3  Normalizat    1.1275        .16683        .47699E-05   -.88874    
   4  Prefactor     .97722        .33784E-01    .10993E-05   -.93493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3709e-12
Minuit parameter uncertainties:
  1  31.7636
  2  2.12909
  3  0.166905
  4  0.0337848
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) = 39177.164294
delta logL = 0.0815970653857

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  7.949e+00  3.176e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.124e+00  2.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.772e-01  3.378e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.127e+00  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.13
Ra Dec: 48.244 41.329
Photon Index (Free Index): 3.12 +/- 2.13
Photon Flux (Free Index): 1.11e-07 +/- 7.37e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28134492/cmap_HighResolution_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='2.10e-05', photon_flux_error='4.92e-08', dlogl='8.16e-02', energy_flux='2.23e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2026-06-09 02:52:29.532547', photon_index_error2='2.13', photon_index2='3.12', ts='5.73', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1780998749.53', return_code='0', job_id='28134492', GAL2='0.98', EG2='1.13', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='7.37e-08', ts2='6.13', photon_index='2.69' WHERE bin_id='931' AND source_name='4FGL J0312.9+4119' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:52:29 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.584e+01  8.456e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.743e-01  3.131e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.150e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 48.244 41.329
Photon Index (Fixed Index): 2.69 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 4.92e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.19e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.2352802
delta logL = 0.0106108938853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.1642948
delta logL = 0.0815962603083

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   39177.16     FROM MIGRAD    STATUS=FAILED       111 CALLS      298 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .14198E-04   -.32669E-02
   2  Index         3.1244        3.0209        .68733E-02    .35496E-02
   3  Normalizat    1.1275        .16238        .59624E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .13742E-03   -.18730E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   39177.16     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      377 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .26005E-04   -.32669E-02
   2  Index         3.1244        3.0209        .97520E-03    .35496E-02
   3  Normalizat    1.1275        .16238        .22481E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .55540E-04   -.18730E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   39177.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      410 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9489        77.697        .56792E-06   -.15501E-02
   2  Index         3.1245        3.0518        .13747E-02   -.31559E-04
   3  Normalizat    1.1275        .18187        .23850E-04   -.65591E-04
   4  Prefactor     .97722        .35351E-01    .54967E-05   -.89350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.94891
  Index      = 3.12445
  Normalizat = 1.12749
  Prefactor  = 0.977219
Done.

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

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.584e+01  8.456e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.743e-01  3.131e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.150e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 48.244 41.329
Photon Index (Fixed Index): 2.69 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 4.92e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.19e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.2352802
delta logL = 0.0106108938853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.1642948
delta logL = 0.0815962603083

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   39177.16     FROM MIGRAD    STATUS=FAILED       111 CALLS      298 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .14198E-04   -.32669E-02
   2  Index         3.1244        3.0209        .68733E-02    .35496E-02
   3  Normalizat    1.1275        .16238        .59624E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .13742E-03   -.18730E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   39177.16     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      377 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .26005E-04   -.32669E-02
   2  Index         3.1244        3.0209        .97520E-03    .35496E-02
   3  Normalizat    1.1275        .16238        .22481E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .55540E-04   -.18730E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   39177.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      410 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9489        77.697        .56792E-06   -.15501E-02
   2  Index         3.1245        3.0518        .13747E-02   -.31559E-04
   3  Normalizat    1.1275        .18187        .23850E-04   -.65591E-04
   4  Prefactor     .97722        .35351E-01    .54967E-05   -.89350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.94891
  Index      = 3.12445
  Normalizat = 1.12749
  Prefactor  = 0.977219
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.16     FROM HESSE     STATUS=OK            23 CALLS      433 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9489        31.763        .37316E-06   -1.5652    
   2  Index         3.1245        2.0550        .54987E-04   -.38452    
   3  Normalizat    1.1275        .16683        .47699E-05   -.88874    
   4  Prefactor     .97722        .33784E-01    .10993E-05   -.93493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3709e-12
Minuit parameter uncertainties:
  1  31.7636
  2  2.12909
  3  0.166905
  4  0.0337848
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.16     FROM HESSE     STATUS=OK            23 CALLS      433 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9489        31.763        .37316E-06   -1.5652    
   2  Index         3.1245        2.0550        .54987E-04   -.38452    
   3  Normalizat    1.1275        .16683        .47699E-05   -.88874    
   4  Prefactor     .97722        .33784E-01    .10993E-05   -.93493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3709e-12
Minuit parameter uncertainties:
  1  31.7636
  2  2.12909
  3  0.166905
  4  0.0337848
Done.

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

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.584e+01  8.456e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.743e-01  3.131e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.150e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 48.244 41.329
Photon Index (Fixed Index): 2.69 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 4.92e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.19e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.2352802
delta logL = 0.0106108938853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.1642948
delta logL = 0.0815962603083

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   39177.16     FROM MIGRAD    STATUS=FAILED       111 CALLS      298 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .14198E-04   -.32669E-02
   2  Index         3.1244        3.0209        .68733E-02    .35496E-02
   3  Normalizat    1.1275        .16238        .59624E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .13742E-03   -.18730E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   39177.16     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      377 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .26005E-04   -.32669E-02
   2  Index         3.1244        3.0209        .97520E-03    .35496E-02
   3  Normalizat    1.1275        .16238        .22481E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .55540E-04   -.18730E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   39177.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      410 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9489        77.697        .56792E-06   -.15501E-02
   2  Index         3.1245        3.0518        .13747E-02   -.31559E-04
   3  Normalizat    1.1275        .18187        .23850E-04   -.65591E-04
   4  Prefactor     .97722        .35351E-01    .54967E-05   -.89350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.94891
  Index      = 3.12445
  Normalizat = 1.12749
  Prefactor  = 0.977219
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) = 39177.164294
delta logL = 0.0815970653857

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  7.949e+00  3.176e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.124e+00  2.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.772e-01  3.378e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.127e+00  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.13
Ra Dec: 48.244 41.329
Photon Index (Free Index): 3.12 +/- 2.13
Photon Flux (Free Index): 1.11e-07 +/- 7.37e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28134179/cmap_HighResolution_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='2.10e-05', photon_flux_error='4.92e-08', dlogl='8.16e-02', energy_flux='2.23e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2026-06-09 02:53:10.360954', photon_index_error2='2.13', photon_index2='3.12', ts='5.73', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1780998790.36', return_code='0', job_id='28134179', GAL2='0.98', EG2='1.13', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='7.37e-08', ts2='6.13', photon_index='2.69' WHERE bin_id='931' AND source_name='4FGL J0312.9+4119' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:53:10 PDT 2026

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

 FCN=   39177.16     FROM HESSE     STATUS=OK            23 CALLS      433 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9489        31.763        .37316E-06   -1.5652    
   2  Index         3.1245        2.0550        .54987E-04   -.38452    
   3  Normalizat    1.1275        .16683        .47699E-05   -.88874    
   4  Prefactor     .97722        .33784E-01    .10993E-05   -.93493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3709e-12
Minuit parameter uncertainties:
  1  31.7636
  2  2.12909
  3  0.166905
  4  0.0337848
ys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28135701/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28135701/Model_4FGL_J0312.9+4119_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/28135701/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits.....................!
real 247.42
user 244.43
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28135701/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits', '/lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits', expMap='/lscratch/kocevski/28135701/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', expCube='/lscratch/kocevski/28135701/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28135701/Model_4FGL_J0312.9+4119_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0312.9+4119'

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.825e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28135701/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28135701/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28135701/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28135701/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28135701/Model_4FGL_J0312.9+4119_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 39179.0783496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55056       1.0000          .0000       .10000E+07
     2 'norm      '    .35590       1.0000          .0000       .10000E+07
     3 'norm      '    .14932       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2579       1.0000          .0000       .10000E+07
     5 'norm      '    8.1518       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.5932       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18335E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.4759       1.0000          .0000       .10000E+07
     9 'norm      '    68.104       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.841       1.0000          .0000       .10000E+07
    11 'norm      '    1.4275       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15034       1.0000          .0000       .10000E+07
    13 'norm      '    3.8180       1.0000          .0000       .10000E+07
    14 'Prefactor '    39.163       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31039E-05   1.0000          .0000       .10000E+07
    16 'norm      '    55.303       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
    19 '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) = 39177.164294
delta logL = 0.0815970653857

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  7.949e+00  3.176e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.124e+00  2.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.772e-01  3.378e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.127e+00  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.13
Ra Dec: 48.244 41.329
Photon Index (Free Index): 3.12 +/- 2.13
Photon Flux (Free Index): 1.11e-07 +/- 7.37e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28134256/cmap_HighResolution_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='2.10e-05', photon_flux_error='4.92e-08', dlogl='8.16e-02', energy_flux='2.23e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2026-06-09 02:53:11.073083', photon_index_error2='2.13', photon_index2='3.12', ts='5.73', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1780998791.07', return_code='0', job_id='28134256', GAL2='0.98', EG2='1.13', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='7.37e-08', ts2='6.13', photon_index='2.69' WHERE bin_id='931' AND source_name='4FGL J0312.9+4119' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:53:11 PDT 2026

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

MINUIT Return Code (Free Index): 0
logL (Free Index) = 39177.164294
delta logL = 0.0815970653857

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  7.949e+00  3.176e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.124e+00  2.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.772e-01  3.378e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.127e+00  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.13
Ra Dec: 48.244 41.329
Photon Index (Free Index): 3.12 +/- 2.13
Photon Flux (Free Index): 1.11e-07 +/- 7.37e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28134779/cmap_HighResolution_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='2.10e-05', photon_flux_error='4.92e-08', dlogl='8.16e-02', energy_flux='2.23e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2026-06-09 02:53:14.958304', photon_index_error2='2.13', photon_index2='3.12', ts='5.73', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1780998794.96', return_code='0', job_id='28134779', GAL2='0.98', EG2='1.13', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='7.37e-08', ts2='6.13', photon_index='2.69' WHERE bin_id='931' AND source_name='4FGL J0312.9+4119' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:53:15 PDT 2026

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

 FCN=   39177.25     FROM HESSE     STATUS=OK           351 CALLS     1388 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55095        2.1734        .73778E-03   -1.5693    
   2  norm          .35590        .45775        .25421E-02   -1.5696    
   3  norm          .14928        .14428        .12406E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2564        4.2598        .34863E-03   -1.5650    
   5  norm          8.1530        4.2559        .35091E-03   -1.5651    
   6  Prefactor     8.5696        19.490        .34171E-03   -1.5649    
   7  Prefactor     .55511E-10    .69452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4748        1.8514        .64951E-03   -1.5677    
   9  norm          68.121        20.687        .12118E-03   -1.5543    
  10  Prefactor     15.844        8.4561        .25138E-03   -1.5628    
  11  norm          1.4273        .40846        .90420E-03   -1.5684    
  12  Prefactor     .14744        .37204        .60726E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8178        1.6960        .51631E-03   -1.5669    
  14  Prefactor     39.178        48.372        .15981E-03   -1.5583    
  15  Prefactor     .55511E-10    6.4384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          55.280        39.868        .13448E-03   -1.5559    
  17  Prefactor      .0000        .73962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.8943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1497        .16185        .13315       -.88173    
  20  Prefactor     .97428        .31309E-01    .31135E-01   -.93592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52907e-07
Minuit parameter uncertainties:
  1  2.17342
  2  0.457753
  3  0.144281
  4  4.25984
  5  4.25595
  6  19.4904
  7  9.90557e-06
  8  1.85144
  9  20.6868
  10  8.45615
  11  0.408464
  12  0.372039
  13  1.696
  14  48.3728
  15  3.61522e-05
  16  39.8683
  17  3.02607e-06
  18  1.33685e-05
  19  0.161921
  20  0.0313098
Normalizat'    1.1497       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97426       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   39177.25     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1037 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55095        2.3226        .25032E-07    .11347E-02
   2  norm          .35590        .43726       -.15137E-07    .67491E-02
   3  norm          .14928        .10983       -.57050E-07** at limit **
   4  Prefactor     8.2564        4.2489       -.22216E-06    .37875E-03
   5  norm          8.1530        4.2399       -.14636E-07    .99243E-03
   6  Prefactor     8.5696        15.102       -.23514E-05   -.29952E-01
   7  Prefactor     .55511E-10    .68404        .13485E-06** at limit **
   8  norm          2.4748        1.8471        .43149E-07    .23379E-02
   9  norm          68.121        10.513       -.58027E-06   -.42364E-01
  10  Prefactor     15.844        8.4810       -.51314E-06   -.86574E-02
  11  norm          1.4273        .40525        .22819E-07    .83415E-02
  12  Prefactor     .14744        2.1881       -.37772E-06** at limit **
  13  norm          3.8178        1.6864        .22087E-06   -.29023E-03
  14  Prefactor     39.178        1.7009        .10515E-06   -.11743E-01
  15  Prefactor     .55511E-10    6.4249       -.31787E-06** at limit **
  16  norm          55.280        11.982        .76699E-06   -.12914    
  17  Prefactor      .0000        .74090        .20436E-06** at limit **
  18  Prefactor      .0000        2.8644        .54106E-06** at limit **
  19  Normalizat    1.1497        .16661        .59376E-05    .12737E-03
  20  Prefactor     .97428        .32754E-01   -.79324E-07    .39767E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.550951
  norm       = 0.355905
  norm       = 0.14928
  Prefactor  = 8.25638
  norm       = 8.153
  Prefactor  = 8.56959
  Prefactor  = 5.55112e-11
  norm       = 2.47477
  norm       = 68.1212
  Prefactor  = 15.8436
  norm       = 1.4273
  Prefactor  = 0.147438
  norm       = 3.81783
  Prefactor  = 39.1779
  Prefactor  = 5.55112e-11
  norm       = 55.2796
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14966
  Prefactor  = 0.974279
ys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/28135558/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits evtable="EVENTS" scfile=/lscratch/kocevski/28135558/ft2_4FGL_J0312.9+4119_weekly_bin931.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/28135558/Model_4FGL_J0312.9+4119_weekly_bin931.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source G150.3+4.5
adding source GAL_V02
adding source HB 9
adding source W 3
Working on...
/lscratch/kocevski/28135558/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits.....................!
real 258.73
user 253.59
sys 1.70

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/28135558/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits', '/lscratch/kocevski/28135558/ft2_4FGL_J0312.9+4119_weekly_bin931.fits', expMap='/lscratch/kocevski/28135558/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', expCube='/lscratch/kocevski/28135558/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/28135558/Model_4FGL_J0312.9+4119_weekly_bin931.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0312.9+4119'

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.825e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/28135558/ft1_filtered_4FGL_J0312.9+4119_weekly_bin931.fits
Spacecraft file(s): /lscratch/kocevski/28135558/ft2_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure map: /lscratch/kocevski/28135558/expmap_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
Exposure cube: /lscratch/kocevski/28135558/ltcube_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/28135558/Model_4FGL_J0312.9+4119_weekly_bin931.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 39179.0783496

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55056       1.0000          .0000       .10000E+07
     2 'norm      '    .35590       1.0000          .0000       .10000E+07
     3 'norm      '    .14932       1.0000          .0000       .10000E+07
     4 'Prefactor '    8.2579       1.0000          .0000       .10000E+07
     5 'norm      '    8.1518       1.0000          .0000       .10000E+07
     6 'Prefactor '    8.5932       1.0000          .0000       .10000E+07
     7 'Prefactor '    .18335E-06   1.0000          .0000       .10000E+07
     8 'norm      '    2.4759       1.0000          .0000       .10000E+07
     9 'norm      '    68.104       1.0000          .0000       .10000E+07
    10 'Prefactor '    15.841       1.0000          .0000       .10000E+07
    11 'norm      '    1.4275       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15034       1.0000          .0000       .10000E+07
    13 'norm      '    3.8180       1.0000          .0000       .10000E+07
    14 'Prefactor '    39.163       1.0000          .0000       .10000E+07
    15 'Prefactor '    .31039E-05   1.0000          .0000       .10000E+07
    16 'norm      '    55.303       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12712E-07   1.0000          .0000       .10000E+07
    18 'Prefactor '    .14988E-08   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.1497       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .97426       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   39177.25     FROM MIGRAD    STATUS=CONVERGED    107 CALLS     1037 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .55095        2.3226        .25032E-07    .11347E-02
   2  norm          .35590        .43726       -.15137E-07    .67491E-02
   3  norm          .14928        .10983       -.57050E-07** at limit **
   4  Prefactor     8.2564        4.2489       -.22216E-06    .37875E-03
   5  norm          8.1530        4.2399       -.14636E-07    .99243E-03
   6  Prefactor     8.5696        15.102       -.23514E-05   -.29952E-01
   7  Prefactor     .55511E-10    .68404        .13485E-06** at limit **
   8  norm          2.4748        1.8471        .43149E-07    .23379E-02
   9  norm          68.121        10.513       -.58027E-06   -.42364E-01
  10  Prefactor     15.844        8.4810       -.51314E-06   -.86574E-02
  11  norm          1.4273        .40525        .22819E-07    .83415E-02
  12  Prefactor     .14744        2.1881       -.37772E-06** at limit **
  13  norm          3.8178        1.6864        .22087E-06   -.29023E-03
  14  Prefactor     39.178        1.7009        .10515E-06   -.11743E-01
  15  Prefactor     .55511E-10    6.4249       -.31787E-06** at limit **
  16  norm          55.280        11.982        .76699E-06   -.12914    
  17  Prefactor      .0000        .74090        .20436E-06** at limit **
  18  Prefactor      .0000        2.8644        .54106E-06** at limit **
  19  Normalizat    1.1497        .16661        .59376E-05    .12737E-03
  20  Prefactor     .97428        .32754E-01   -.79324E-07    .39767E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.550951
  norm       = 0.355905
  norm       = 0.14928
  Prefactor  = 8.25638
  norm       = 8.153
  Prefactor  = 8.56959
  Prefactor  = 5.55112e-11
  norm       = 2.47477
  norm       = 68.1212
  Prefactor  = 15.8436
  norm       = 1.4273
  Prefactor  = 0.147438
  norm       = 3.81783
  Prefactor  = 39.1779
  Prefactor  = 5.55112e-11
  norm       = 55.2796
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 1.14966
  Prefactor  = 0.974279
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.25     FROM HESSE     STATUS=OK           351 CALLS     1388 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55095        2.1734        .73778E-03   -1.5693    
   2  norm          .35590        .45775        .25421E-02   -1.5696    
   3  norm          .14928        .14428        .12406E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2564        4.2598        .34863E-03   -1.5650    
   5  norm          8.1530        4.2559        .35091E-03   -1.5651    
   6  Prefactor     8.5696        19.490        .34171E-03   -1.5649    
   7  Prefactor     .55511E-10    .69452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4748        1.8514        .64951E-03   -1.5677    
   9  norm          68.121        20.687        .12118E-03   -1.5543    
  10  Prefactor     15.844        8.4561        .25138E-03   -1.5628    
  11  norm          1.4273        .40846        .90420E-03   -1.5684    
  12  Prefactor     .14744        .37204        .60726E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8178        1.6960        .51631E-03   -1.5669    
  14  Prefactor     39.178        48.372        .15981E-03   -1.5583    
  15  Prefactor     .55511E-10    6.4384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          55.280        39.868        .13448E-03   -1.5559    
  17  Prefactor      .0000        .73962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.8943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1497        .16185        .13315       -.88173    
  20  Prefactor     .97428        .31309E-01    .31135E-01   -.93592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52907e-07
Minuit parameter uncertainties:
  1  2.17342
  2  0.457753
  3  0.144281
  4  4.25984
  5  4.25595
  6  19.4904
  7  9.90557e-06
  8  1.85144
  9  20.6868
  10  8.45615
  11  0.408464
  12  0.372039
  13  1.696
  14  48.3728
  15  3.61522e-05
  16  39.8683
  17  3.02607e-06
  18  1.33685e-05
  19  0.161921
  20  0.0313098
Done.

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

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.584e+01  8.456e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.743e-01  3.131e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.150e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 48.244 41.329
Photon Index (Fixed Index): 2.69 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 4.92e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.19e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.2352802
delta logL = 0.0106108938853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.1642948
delta logL = 0.0815962603083

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   39177.16     FROM MIGRAD    STATUS=FAILED       111 CALLS      298 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .14198E-04   -.32669E-02
   2  Index         3.1244        3.0209        .68733E-02    .35496E-02
   3  Normalizat    1.1275        .16238        .59624E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .13742E-03   -.18730E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   39177.16     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      377 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .26005E-04   -.32669E-02
   2  Index         3.1244        3.0209        .97520E-03    .35496E-02
   3  Normalizat    1.1275        .16238        .22481E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .55540E-04   -.18730E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   39177.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      410 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9489        77.697        .56792E-06   -.15501E-02
   2  Index         3.1245        3.0518        .13747E-02   -.31559E-04
   3  Normalizat    1.1275        .18187        .23850E-04   -.65591E-04
   4  Prefactor     .97722        .35351E-01    .54967E-05   -.89350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.94891
  Index      = 3.12445
  Normalizat = 1.12749
  Prefactor  = 0.977219
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.16     FROM HESSE     STATUS=OK            23 CALLS      433 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9489        31.763        .37316E-06   -1.5652    
   2  Index         3.1245        2.0550        .54987E-04   -.38452    
   3  Normalizat    1.1275        .16683        .47699E-05   -.88874    
   4  Prefactor     .97722        .33784E-01    .10993E-05   -.93493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3709e-12
Minuit parameter uncertainties:
  1  31.7636
  2  2.12909
  3  0.166905
  4  0.0337848
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) = 39177.164294
delta logL = 0.0815970653857

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  7.949e+00  3.176e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.124e+00  2.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.772e-01  3.378e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.127e+00  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.13
Ra Dec: 48.244 41.329
Photon Index (Free Index): 3.12 +/- 2.13
Photon Flux (Free Index): 1.11e-07 +/- 7.37e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28135069/cmap_HighResolution_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='2.10e-05', photon_flux_error='4.92e-08', dlogl='8.16e-02', energy_flux='2.23e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2026-06-09 02:55:03.363616', photon_index_error2='2.13', photon_index2='3.12', ts='5.73', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1780998903.36', return_code='0', job_id='28135069', GAL2='0.98', EG2='1.13', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='7.37e-08', ts2='6.13', photon_index='2.69' WHERE bin_id='931' AND source_name='4FGL J0312.9+4119' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:55:03 PDT 2026

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

 FCN=   39177.25     FROM HESSE     STATUS=OK           351 CALLS     1388 TOTAL
                     EDM=   .55E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .55095        2.1734        .73778E-03   -1.5693    
   2  norm          .35590        .45775        .25421E-02   -1.5696    
   3  norm          .14928        .14428        .12406E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     8.2564        4.2598        .34863E-03   -1.5650    
   5  norm          8.1530        4.2559        .35091E-03   -1.5651    
   6  Prefactor     8.5696        19.490        .34171E-03   -1.5649    
   7  Prefactor     .55511E-10    .69452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4748        1.8514        .64951E-03   -1.5677    
   9  norm          68.121        20.687        .12118E-03   -1.5543    
  10  Prefactor     15.844        8.4561        .25138E-03   -1.5628    
  11  norm          1.4273        .40846        .90420E-03   -1.5684    
  12  Prefactor     .14744        .37204        .60726E-02   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          3.8178        1.6960        .51631E-03   -1.5669    
  14  Prefactor     39.178        48.372        .15981E-03   -1.5583    
  15  Prefactor     .55511E-10    6.4384        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          55.280        39.868        .13448E-03   -1.5559    
  17  Prefactor      .0000        .73962        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        2.8943        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.1497        .16185        .13315       -.88173    
  20  Prefactor     .97428        .31309E-01    .31135E-01   -.93592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.52907e-07
Minuit parameter uncertainties:
  1  2.17342
  2  0.457753
  3  0.144281
  4  4.25984
  5  4.25595
  6  19.4904
  7  9.90557e-06
  8  1.85144
  9  20.6868
  10  8.45615
  11  0.408464
  12  0.372039
  13  1.696
  14  48.3728
  15  3.61522e-05
  16  39.8683
  17  3.02607e-06
  18  1.33685e-05
  19  0.161921
  20  0.0313098
Done.

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

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.584e+01  8.456e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.743e-01  3.131e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.150e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 48.244 41.329
Photon Index (Fixed Index): 2.69 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 4.92e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.19e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.2352802
delta logL = 0.0106108938853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.1642948
delta logL = 0.0815962603083

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   39177.16     FROM MIGRAD    STATUS=FAILED       111 CALLS      298 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .14198E-04   -.32669E-02
   2  Index         3.1244        3.0209        .68733E-02    .35496E-02
   3  Normalizat    1.1275        .16238        .59624E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .13742E-03   -.18730E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   39177.16     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      377 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .26005E-04   -.32669E-02
   2  Index         3.1244        3.0209        .97520E-03    .35496E-02
   3  Normalizat    1.1275        .16238        .22481E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .55540E-04   -.18730E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   39177.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      410 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9489        77.697        .56792E-06   -.15501E-02
   2  Index         3.1245        3.0518        .13747E-02   -.31559E-04
   3  Normalizat    1.1275        .18187        .23850E-04   -.65591E-04
   4  Prefactor     .97722        .35351E-01    .54967E-05   -.89350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.94891
  Index      = 3.12445
  Normalizat = 1.12749
  Prefactor  = 0.977219
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.16     FROM HESSE     STATUS=OK            23 CALLS      433 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9489        31.763        .37316E-06   -1.5652    
   2  Index         3.1245        2.0550        .54987E-04   -.38452    
   3  Normalizat    1.1275        .16683        .47699E-05   -.88874    
   4  Prefactor     .97722        .33784E-01    .10993E-05   -.93493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3709e-12
Minuit parameter uncertainties:
  1  31.7636
  2  2.12909
  3  0.166905
  4  0.0337848
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) = 39177.164294
delta logL = 0.0815970653857

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  7.949e+00  3.176e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.124e+00  2.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.772e-01  3.378e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.127e+00  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.13
Ra Dec: 48.244 41.329
Photon Index (Free Index): 3.12 +/- 2.13
Photon Flux (Free Index): 1.11e-07 +/- 7.37e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28135701/cmap_HighResolution_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='2.10e-05', photon_flux_error='4.92e-08', dlogl='8.16e-02', energy_flux='2.23e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2026-06-09 02:56:10.710920', photon_index_error2='2.13', photon_index2='3.12', ts='5.73', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1780998970.71', return_code='0', job_id='28135701', GAL2='0.98', EG2='1.13', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='7.37e-08', ts2='6.13', photon_index='2.69' WHERE bin_id='931' AND source_name='4FGL J0312.9+4119' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:56:11 PDT 2026

Done.

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

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  1.584e+01  8.456e+00  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  2.694e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.743e-01  3.131e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.150e+00  1.619e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.73
Ra Dec: 48.244 41.329
Photon Index (Fixed Index): 2.69 +/- 0.00
Photon Flux (Fixed Index): 9.23e-08 +/- 4.92e-08
Energy Flux (Fixed Index): 2.23e-05 +/- 1.19e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.2352802
delta logL = 0.0106108938853

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 39177.1642948
delta logL = 0.0815962603083

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   39177.16     FROM MIGRAD    STATUS=FAILED       111 CALLS      298 TOTAL
                     EDM=   .67E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .14198E-04   -.32669E-02
   2  Index         3.1244        3.0209        .68733E-02    .35496E-02
   3  Normalizat    1.1275        .16238        .59624E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .13742E-03   -.18730E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   39177.16     FROM SIMPLEX   STATUS=UNCHANGED     79 CALLS      377 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9490        76.166        .26005E-04   -.32669E-02
   2  Index         3.1244        3.0209        .97520E-03    .35496E-02
   3  Normalizat    1.1275        .16238        .22481E-03   -.13744E-03
   4  Prefactor     .97722        .30805E-01    .55540E-04   -.18730E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   39177.16     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      410 TOTAL
                     EDM=   .46E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.9489        77.697        .56792E-06   -.15501E-02
   2  Index         3.1245        3.0518        .13747E-02   -.31559E-04
   3  Normalizat    1.1275        .18187        .23850E-04   -.65591E-04
   4  Prefactor     .97722        .35351E-01    .54967E-05   -.89350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.94891
  Index      = 3.12445
  Normalizat = 1.12749
  Prefactor  = 0.977219
 **********
 **   18 **HESSE 
 **********

 FCN=   39177.16     FROM HESSE     STATUS=OK            23 CALLS      433 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.9489        31.763        .37316E-06   -1.5652    
   2  Index         3.1245        2.0550        .54987E-04   -.38452    
   3  Normalizat    1.1275        .16683        .47699E-05   -.88874    
   4  Prefactor     .97722        .33784E-01    .10993E-05   -.93493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.3709e-12
Minuit parameter uncertainties:
  1  31.7636
  2  2.12909
  3  0.166905
  4  0.0337848
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) = 39177.164294
delta logL = 0.0815970653857

Extracting fit parameters...

4FGL J0312.9+4119
   Spectrum: PowerLaw
286    Prefactor:  7.949e+00  3.176e+01  0.000e+00  1.000e+06 ( 1.000e-13)
287        Index:  3.124e+00  2.129e+00  0.000e+00  1.000e+01 (-1.000e+00)
288        Scale:  1.292e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
565    Prefactor:  9.772e-01  3.378e-02  0.000e+00  1.000e+01 ( 1.000e+00)
566        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
567        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
560   Normalization:  1.127e+00  1.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.13
Ra Dec: 48.244 41.329
Photon Index (Free Index): 3.12 +/- 2.13
Photon Flux (Free Index): 1.11e-07 +/- 7.37e-08
Energy Flux (Free Index): 2.10e-05 +/- 1.29e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /lscratch/kocevski/28135558/cmap_HighResolution_802051201_802656001_4FGL_J0312.9+4119_weekly_bin931.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.23e-08', energy_flux2='2.10e-05', photon_flux_error='4.92e-08', dlogl='8.16e-02', energy_flux='2.23e-05', photon_flux2='1.11e-07', job_status='DONE', time_completed='2026-06-09 02:57:04.217610', photon_index_error2='2.13', photon_index2='3.12', ts='5.73', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='1.15', time_epoch_completed='1780999024.22', return_code='0', job_id='28135558', GAL2='0.98', EG2='1.13', return_code2='0', energy_flux_error='1.19e-05', photon_flux_error2='7.37e-08', ts2='6.13', photon_index='2.69' WHERE bin_id='931' AND source_name='4FGL J0312.9+4119' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Tue Jun  9 02:57:04 PDT 2026

