/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/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

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

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

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


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

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


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1801
RA = 7.1222, Dec = 20.0311
tmin = 706147201, tmax = 706406401
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='17767578', job_status='RUN', time_executed='2023-05-22 00:05:52.816062', time_epoch_executed='1684739152.82' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1801'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17767578

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17767578/ft1_4FGL_J0028.4+2001_daily_bin1801.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17767578/ft1_4FGL_J0028.4+2001_daily_bin1801.fits outfile=/lscratch/kocevski/17767578/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1801.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=706147201.0 tmax=706406401.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 1.88
user 1.60
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.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/17767578/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1801.fits evtable="EVENTS" outfile="/lscratch/kocevski/17767578/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.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.44
user 0.17
sys 0.12

Number of photons that the gtmktime cut: 600

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17767578/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17767578/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.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/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits
.....................!
real 8.96
user 8.54
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17767578/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17767578/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits outfile=/lscratch/kocevski/17767578/expmap_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.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/17767578/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits
.....................!
real 60.55
user 56.64
sys 3.43

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

Setting source of interest to:
4FGL J0028.4+2001 @ 7.1222 20.0311

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17767578/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits scfile=/lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits outfile=/lscratch/kocevski/17767578/cmap_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.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=7.1222 yref=20.0311 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.45
user 0.21
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17767578/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits scfile=/lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits outfile=/lscratch/kocevski/17767578/cmap_HighResolution_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.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=7.1222 yref=20.0311 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.37
user 0.22
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17767578/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17767578/Model_4FGL_J0028.4+2001_daily_bin1801.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Done.


Performing analysis on: 4FGL_J0028.4+2001_daily_bin1801
RA = 7.1222, Dec = 20.0311
tmin = 706147201, tmax = 706406401
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='17767577', job_status='RUN', time_executed='2023-05-22 00:05:52.816244', time_epoch_executed='1684739152.82' WHERE source_name='4FGL J0028.4+2001' and cadence='daily' and bin_id='1801'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17767577

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/lscratch/kocevski/17767577/ft1_4FGL_J0028.4+2001_daily_bin1801.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17767577/ft1_4FGL_J0028.4+2001_daily_bin1801.fits outfile=/lscratch/kocevski/17767577/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1801.fits ra=7.1222 dec=20.0311 rad=12.0 tmin=706147201.0 tmax=706406401.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 1.87
user 1.60
sys 0.16

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.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/17767577/ft1_filteredMKT_4FGL_J0028.4+2001_daily_bin1801.fits evtable="EVENTS" outfile="/lscratch/kocevski/17767577/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.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.39
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 600

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17767577/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17767577/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.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/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits
.....................!
real 9.46
user 9.05
sys 0.25

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17767577/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17767577/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits outfile=/lscratch/kocevski/17767577/expmap_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.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/17767577/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits
.....................!
real 60.31
user 56.34
sys 3.48

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

Setting source of interest to:
4FGL J0028.4+2001 @ 7.1222 20.0311

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17767577/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits scfile=/lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits outfile=/lscratch/kocevski/17767577/cmap_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.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=7.1222 yref=20.0311 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.36
user 0.21
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17767577/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits scfile=/lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits outfile=/lscratch/kocevski/17767577/cmap_HighResolution_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.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=7.1222 yref=20.0311 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.43
user 0.24
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17767577/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17767577/Model_4FGL_J0028.4+2001_daily_bin1801.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/lscratch/kocevski/17767578/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits....................!
real 26.23
user 25.36
sys 0.68

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17767578/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits', '/lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits', expMap='/lscratch/kocevski/17767578/expmap_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits', expCube='/lscratch/kocevski/17767578/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17767578/Model_4FGL_J0028.4+2001_daily_bin1801.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0028.4+2001'

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.480e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17767578/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits
Spacecraft file(s): /lscratch/kocevski/17767578/ft2_4FGL_J0028.4+2001_daily_bin1801.fits
Exposure map: /lscratch/kocevski/17767578/expmap_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits
Exposure cube: /lscratch/kocevski/17767578/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17767578/Model_4FGL_J0028.4+2001_daily_bin1801.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13927E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.1692       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.7268       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.9909       1.0000          .0000       .10000E+07
     5 'norm      '    .94517E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .61584       1.0000          .0000       .10000E+07
     7 'Prefactor '    .86525E-04   1.0000          .0000       .10000E+07
     8 'norm      '    5.5649       1.0000          .0000       .10000E+07
     9 'Prefactor '    .98505E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .32181E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    36.669       1.0000          .0000       .10000E+07
    12 'norm      '    .56691       1.0000          .0000       .10000E+07
    13 'Prefactor '    .54008E-03   1.0000          .0000       .10000E+07
    14 'Normalizat'    .92956       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6606.781     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      987 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.8549        .47558E-06** at limit **
   2  Prefactor     7.0959        9.4074       -.42133E-05    .25980E-01
   3  Prefactor     5.7169        5.4325       -.10693E-05   -.60841E-01
   4  Prefactor     7.0764        4.1907        .94210E-07    .13125E-02
   5  norm          .38858E-09    2.3950       -.40678E-06** at limit **
   6  Prefactor     .14433E-08    74.586       -.27317E-05** at limit **
   7  Prefactor     .46407E-07    7.0350        .32483E-05** at limit **
   8  norm          5.5557        6.0396       -.80423E-06   -.82721E-03
   9  Prefactor     .16653E-09    2.4841       -.40814E-06** at limit **
  10  Prefactor     .50404E-07    6.5460       -.27728E-05** at limit **
  11  Prefactor     36.722        2.1663        .40506E-06   -.12406    
  12  norm          .56639        .60835       -.12739E-06    .34728E-02
  13  Prefactor      .0000        1.7574        .40349E-06** at limit **
  14  Normalizat    .93002        .21607        .80520E-06   -.32113E-04
  15  Prefactor     1.0764        .15014        .69340E-05   -.19046E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 7.09591
  Prefactor  = 5.71692
  Prefactor  = 7.07637
  norm       = 3.88578e-10
  Prefactor  = 1.44329e-09
  Prefactor  = 4.64073e-08
  norm       = 5.55569
  Prefactor  = 1.66533e-10
  Prefactor  = 5.04041e-08
  Prefactor  = 36.7222
  norm       = 0.566392
  Prefactor  = 0
  Normalizat = 0.93002
  Prefactor  = 1.07644
Working on...
/lscratch/kocevski/17767577/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits....................!
real 26.19
user 25.28
sys 0.72

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17767577/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits', '/lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits', expMap='/lscratch/kocevski/17767577/expmap_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits', expCube='/lscratch/kocevski/17767577/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17767577/Model_4FGL_J0028.4+2001_daily_bin1801.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0028.4+2001'

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  1.480e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17767577/ft1_filtered_4FGL_J0028.4+2001_daily_bin1801.fits
Spacecraft file(s): /lscratch/kocevski/17767577/ft2_4FGL_J0028.4+2001_daily_bin1801.fits
Exposure map: /lscratch/kocevski/17767577/expmap_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits
Exposure cube: /lscratch/kocevski/17767577/ltcube_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17767577/Model_4FGL_J0028.4+2001_daily_bin1801.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .13927E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    7.1692       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.7268       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.9909       1.0000          .0000       .10000E+07
     5 'norm      '    .94517E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .61584       1.0000          .0000       .10000E+07
     7 'Prefactor '    .86525E-04   1.0000          .0000       .10000E+07
     8 'norm      '    5.5649       1.0000          .0000       .10000E+07
     9 'Prefactor '    .98505E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .32181E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    36.669       1.0000          .0000       .10000E+07
    12 'norm      '    .56691       1.0000          .0000       .10000E+07
    13 'Prefactor '    .54008E-03   1.0000          .0000       .10000E+07
    14 'Normalizat'    .92956       1.0000         .10000E-01   10.000    
    15 'Prefactor '    1.0765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4930E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6606.781     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      987 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.8549        .47558E-06** at limit **
   2  Prefactor     7.0959        9.4074       -.42133E-05    .25980E-01
   3  Prefactor     5.7169        5.4325       -.10693E-05   -.60841E-01
   4  Prefactor     7.0764        4.1907        .94210E-07    .13125E-02
   5  norm          .38858E-09    2.3950       -.40678E-06** at limit **
   6  Prefactor     .14433E-08    74.586       -.27317E-05** at limit **
   7  Prefactor     .46407E-07    7.0350        .32483E-05** at limit **
   8  norm          5.5557        6.0396       -.80423E-06   -.82721E-03
   9  Prefactor     .16653E-09    2.4841       -.40814E-06** at limit **
  10  Prefactor     .50404E-07    6.5460       -.27728E-05** at limit **
  11  Prefactor     36.722        2.1663        .40506E-06   -.12406    
  12  norm          .56639        .60835       -.12739E-06    .34728E-02
  13  Prefactor      .0000        1.7574        .40349E-06** at limit **
  14  Normalizat    .93002        .21607        .80520E-06   -.32113E-04
  15  Prefactor     1.0764        .15014        .69340E-05   -.19046E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 7.09591
  Prefactor  = 5.71692
  Prefactor  = 7.07637
  norm       = 3.88578e-10
  Prefactor  = 1.44329e-09
  Prefactor  = 4.64073e-08
  norm       = 5.55569
  Prefactor  = 1.66533e-10
  Prefactor  = 5.04041e-08
  Prefactor  = 36.7222
  norm       = 0.566392
  Prefactor  = 0
  Normalizat = 0.93002
  Prefactor  = 1.07644
 **********
 **   18 **HESSE 
 **********

 FCN=   6606.781     FROM HESSE     STATUS=OK           210 CALLS     1197 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.8403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.0959        13.594        .37439E-03   -1.5655    
   3  Prefactor     5.7169        15.013        .41949E-03   -1.5660    
   4  Prefactor     7.0764        4.2284        .37919E-03   -1.5655    
   5  norm          .38858E-09    2.3954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .14433E-08    73.163        .67821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .46407E-07    7.1715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.5557        6.0461        .42564E-03   -1.5661    
   9  Prefactor     .16653E-09    2.4827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .50404E-07    6.6821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.722        48.542        .16516E-03   -1.5587    
  12  norm          .56639        .62122        .72246E-03   -1.5693    
  13  Prefactor      .0000        1.7585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .93002        .18693        .66041E-01   -.95413    
  15  Prefactor     1.0764        .12926        .38555E-01   -.90223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22309e-06
Minuit parameter uncertainties:
  1  6.67079e-07
  2  13.5941
  3  15.013
  4  4.22836
  5  5.99065e-05
  6  0.000651022
  7  0.00115393
  8  6.04612
  9  3.83328e-05
  10  0.00116098
  11  48.5427
  12  0.621221
  13  4.90524e-06
  14  0.187066
  15  0.129301
 **********
 **   18 **HESSE 
 **********

 FCN=   6606.781     FROM HESSE     STATUS=OK           210 CALLS     1197 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.8403        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     7.0959        13.594        .37439E-03   -1.5655    
   3  Prefactor     5.7169        15.013        .41949E-03   -1.5660    
   4  Prefactor     7.0764        4.2284        .37919E-03   -1.5655    
   5  norm          .38858E-09    2.3954        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .14433E-08    73.163        .67821E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .46407E-07    7.1715        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.5557        6.0461        .42564E-03   -1.5661    
   9  Prefactor     .16653E-09    2.4827        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .50404E-07    6.6821        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.722        48.542        .16516E-03   -1.5587    
  12  norm          .56639        .62122        .72246E-03   -1.5693    
  13  Prefactor      .0000        1.7585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .93002        .18693        .66041E-01   -.95413    
  15  Prefactor     1.0764        .12926        .38555E-01   -.90223    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22309e-06
Minuit parameter uncertainties:
  1  6.67079e-07
  2  13.5941
  3  15.013
  4  4.22836
  5  5.99065e-05
  6  0.000651022
  7  0.00115393
  8  6.04612
  9  3.83328e-05
  10  0.00116098
  11  48.5427
  12  0.621221
  13  4.90524e-06
  14  0.187066
  15  0.129301
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  7.076e+00  4.228e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.076e+00  1.293e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.300e-01  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.91
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 7.51e-08 +/- 4.49e-08
Energy Flux (Fixed Index): 2.42e-05 +/- 1.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6606.44806824
delta logL = 0.332460526849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6606.44800227
delta logL = 0.33252649431

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6606.448     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      266 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6142        147.79        .34112E-03    .12248E-02
   2  Index         2.0307        5.8751        .19171        .76699E-05
   3  Normalizat    .95768        .20028        .65199E-01    .16794E-04
   4  Prefactor     1.0630        .11645        .39204E-01    .91269E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.6142
  Index      = 2.03067
  Normalizat = 0.957685
  Prefactor  = 1.06296
 **********
 **   18 **HESSE 
 **********

 FCN=   6606.448     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .68E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6142        5.1271        .13628E-04   -1.5649    
   2  Index         2.0307        .43836        .70697E-02   -.63586    
   3  Normalizat    .95768        .21465        .28838E-03   -.94462    
   4  Prefactor     1.0630        .15037        .19332E-03   -.90659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8058e-14
Minuit parameter uncertainties:
  1  5.12713
  2  0.439229
  3  0.214838
  4  0.150434
Done.

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

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  7.076e+00  4.228e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.414e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.076e+00  1.293e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.300e-01  1.871e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.91
Ra Dec: 7.122 20.031
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 7.51e-08 +/- 4.49e-08
Energy Flux (Fixed Index): 2.42e-05 +/- 1.44e-05

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6606.44806824
delta logL = 0.332460526849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6606.44800227
delta logL = 0.33252649431

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6606.448     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      266 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.6142        147.79        .34112E-03    .12248E-02
   2  Index         2.0307        5.8751        .19171        .76699E-05
   3  Normalizat    .95768        .20028        .65199E-01    .16794E-04
   4  Prefactor     1.0630        .11645        .39204E-01    .91269E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.6142
  Index      = 2.03067
  Normalizat = 0.957685
  Prefactor  = 1.06296
 **********
 **   18 **HESSE 
 **********

 FCN=   6606.448     FROM HESSE     STATUS=OK            33 CALLS      299 TOTAL
                     EDM=   .68E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.6142        5.1271        .13628E-04   -1.5649    
   2  Index         2.0307        .43836        .70697E-02   -.63586    
   3  Normalizat    .95768        .21465        .28838E-03   -.94462    
   4  Prefactor     1.0630        .15037        .19332E-03   -.90659    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.8058e-14
Minuit parameter uncertainties:
  1  5.12713
  2  0.439229
  3  0.214838
  4  0.150434
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) = 6606.44799856
delta logL = 0.332530205374

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  8.614e+00  5.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.031e+00  4.392e-01  0.000e+00  1.000e+01 (-1.000e+00)
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.063e+00  1.504e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.577e-01  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.58
Ra Dec: 7.122 20.031
Photon Index (Free Index): 2.03 +/- 0.44
Photon Flux (Free Index): 5.66e-08 +/- 4.19e-08
Energy Flux (Free Index): 3.63e-05 +/- 3.06e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/17767578/cmap_HighResolution_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.51e-08', energy_flux2='3.63e-05', photon_flux_error='4.49e-08', dlogl='3.33e-01', energy_flux='2.42e-05', photon_flux2='5.66e-08', job_status='DONE', time_completed='2023-05-22 00:09:07.698197', photon_index_error2='0.44', photon_index2='2.03', ts='4.91', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='3.06e-05', EG='0.93', time_epoch_completed='1684739347.7', return_code='0', job_id='17767578', GAL2='1.06', EG2='0.96', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='4.19e-08', ts2='5.58', photon_index='2.41' WHERE bin_id='1801' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 22 00:09:07 PDT 2023

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) = 6606.44799856
delta logL = 0.332530205374

Extracting fit parameters...

4FGL J0028.4+2001
   Spectrum: PowerLaw
112    Prefactor:  8.614e+00  5.127e+00  0.000e+00  1.000e+06 ( 1.000e-12)
113        Index:  2.031e+00  4.392e-01  0.000e+00  1.000e+01 (-1.000e+00)
114        Scale:  7.971e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
490    Prefactor:  1.063e+00  1.504e-01  0.000e+00  1.000e+01 ( 1.000e+00)
491        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
492        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
489   Normalization:  9.577e-01  2.148e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.58
Ra Dec: 7.122 20.031
Photon Index (Free Index): 2.03 +/- 0.44
Photon Flux (Free Index): 5.66e-08 +/- 4.19e-08
Energy Flux (Free Index): 3.63e-05 +/- 3.06e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /lscratch/kocevski/17767577/cmap_HighResolution_706147201_706406401_4FGL_J0028.4+2001_daily_bin1801.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.51e-08', energy_flux2='3.63e-05', photon_flux_error='4.49e-08', dlogl='3.33e-01', energy_flux='2.42e-05', photon_flux2='5.66e-08', job_status='DONE', time_completed='2023-05-22 00:09:09.127972', photon_index_error2='0.44', photon_index2='2.03', ts='4.91', fit_tolerance='1e-08', GAL='1.08', photon_index_error='0.00', energy_flux_error2='3.06e-05', EG='0.93', time_epoch_completed='1684739349.13', return_code='0', job_id='17767577', GAL2='1.06', EG2='0.96', return_code2='0', energy_flux_error='1.44e-05', photon_flux_error2='4.19e-08', ts2='5.58', photon_index='2.41' WHERE bin_id='1801' AND source_name='4FGL J0028.4+2001' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 22 00:09:09 PDT 2023

