/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_J0127.2+0324_daily_bin1801
RA = 21.8237, Dec = 3.413
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='17767718', job_status='RUN', time_executed='2023-05-22 00:06:00.456423', time_epoch_executed='1684739160.46' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1801'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17767718

Creating custom pfile directory:
/lscratch/kocevski/17767718/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/17767718/ft1_4FGL_J0127.2+0324_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/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17767718/ft1_4FGL_J0127.2+0324_daily_bin1801.fits outfile=/lscratch/kocevski/17767718/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1801.fits ra=21.8237 dec=3.413 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 2.11
user 1.59
sys 0.17

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17767718/ft2_4FGL_J0127.2+0324_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/17767718/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1801.fits evtable="EVENTS" outfile="/lscratch/kocevski/17767718/ft1_filtered_4FGL_J0127.2+0324_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.59
user 0.16
sys 0.13

Number of photons that the gtmktime cut: 560

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17767718/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17767718/ltcube_706147201_706406401_4FGL_J0127.2+0324_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/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits
.....................!
real 8.18
user 7.73
sys 0.24

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17767718/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17767718/ltcube_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits outfile=/lscratch/kocevski/17767718/expmap_706147201_706406401_4FGL_J0127.2+0324_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/17767718/ltcube_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits
.....................!
real 64.35
user 60.27
sys 3.66

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

Setting source of interest to:
4FGL J0127.2+0324 @ 21.8237 3.413

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17767718/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits scfile=/lscratch/kocevski/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits outfile=/lscratch/kocevski/17767718/cmap_706147201_706406401_4FGL_J0127.2+0324_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=21.8237 yref=3.413 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.20
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17767718/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits scfile=/lscratch/kocevski/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits outfile=/lscratch/kocevski/17767718/cmap_HighResolution_706147201_706406401_4FGL_J0127.2+0324_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=21.8237 yref=3.413 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.41
user 0.23
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17767718/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17767718/Model_4FGL_J0127.2+0324_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
WorkiDone.


Performing analysis on: 4FGL_J0127.2+0324_daily_bin1801
RA = 21.8237, Dec = 3.413
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='17767719', job_status='RUN', time_executed='2023-05-22 00:06:00.255949', time_epoch_executed='1684739160.26' WHERE source_name='4FGL J0127.2+0324' and cadence='daily' and bin_id='1801'

Database successfully updated.
Done.

Creating custom output directory:
/lscratch/kocevski/17767719

Creating custom pfile directory:
/lscratch/kocevski/17767719/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/17767719/ft1_4FGL_J0127.2+0324_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/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits


Selecting the photons:
time -p gtselect infile=/lscratch/kocevski/17767719/ft1_4FGL_J0127.2+0324_daily_bin1801.fits outfile=/lscratch/kocevski/17767719/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1801.fits ra=21.8237 dec=3.413 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 2.23
user 1.57
sys 0.18

Adding sun position to ft2 file:
/sdf/group/fermi/g/LCRepository/Repository/bin/sunpos /lscratch/kocevski/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits

Selecting the good time intervals:
time -p gtmktime scfile=/lscratch/kocevski/17767719/ft2_4FGL_J0127.2+0324_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/17767719/ft1_filteredMKT_4FGL_J0127.2+0324_daily_bin1801.fits evtable="EVENTS" outfile="/lscratch/kocevski/17767719/ft1_filtered_4FGL_J0127.2+0324_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 1.27
user 0.18
sys 0.14

Number of photons that the gtmktime cut: 560

Generating the livetime cube:
time -p gtltcube evfile="/lscratch/kocevski/17767719/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits" evtable="EVENTS" scfile=/lscratch/kocevski/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits sctable="SC_DATA" outfile=/lscratch/kocevski/17767719/ltcube_706147201_706406401_4FGL_J0127.2+0324_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/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits
.....................!
real 8.46
user 8.10
sys 0.21

Generating the exposure map:
time -p gtexpmap evfile=/lscratch/kocevski/17767719/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits sctable="SC_DATA" expcube=/lscratch/kocevski/17767719/ltcube_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits outfile=/lscratch/kocevski/17767719/expmap_706147201_706406401_4FGL_J0127.2+0324_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/17767719/ltcube_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits
.....................!
real 64.37
user 60.48
sys 3.49

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

Setting source of interest to:
4FGL J0127.2+0324 @ 21.8237 3.413

Creating the counts map:
time -p gtbin evfile=/lscratch/kocevski/17767719/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits scfile=/lscratch/kocevski/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits outfile=/lscratch/kocevski/17767719/cmap_706147201_706406401_4FGL_J0127.2+0324_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=21.8237 yref=3.413 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.46
user 0.23
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/lscratch/kocevski/17767719/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits scfile=/lscratch/kocevski/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits outfile=/lscratch/kocevski/17767719/cmap_HighResolution_706147201_706406401_4FGL_J0127.2+0324_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=21.8237 yref=3.413 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.54
user 0.24
sys 0.12

Computing the diffuse response:
time -p gtdiffrsp evfile=/lscratch/kocevski/17767719/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits evtable="EVENTS" scfile=/lscratch/kocevski/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits sctable="SC_DATA" srcmdl=/lscratch/kocevski/17767719/Model_4FGL_J0127.2+0324_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/17767718/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits....................!
real 27.61
user 26.69
sys 0.69

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17767718/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits', '/lscratch/kocevski/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits', expMap='/lscratch/kocevski/17767718/expmap_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits', expCube='/lscratch/kocevski/17767718/ltcube_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17767718/Model_4FGL_J0127.2+0324_daily_bin1801.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0127.2+0324'

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  8.781e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17767718/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits
Spacecraft file(s): /lscratch/kocevski/17767718/ft2_4FGL_J0127.2+0324_daily_bin1801.fits
Exposure map: /lscratch/kocevski/17767718/expmap_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits
Exposure cube: /lscratch/kocevski/17767718/ltcube_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17767718/Model_4FGL_J0127.2+0324_daily_bin1801.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) = 6244.91603062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51398E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61451       1.0000          .0000       .10000E+07
     3 'norm      '    .33464E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.673       1.0000          .0000       .10000E+07
     5 'Prefactor '    .93997E-06   1.0000          .0000       .10000E+07
     6 'norm      '    19.060       1.0000          .0000       .10000E+07
     7 'Prefactor '    .23125E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.304       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10192E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .48889E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .43499E-06   1.0000          .0000       .10000E+07
    12 'norm      '    25.524       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.064       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1289       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .84372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6244.829     FROM MIGRAD    STATUS=CONVERGED    134 CALLS      848 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3888       -.22206E-06** at limit **
   2  Prefactor     .14932E-07    340.37       -.39468E-05** at limit **
   3  norm          .21094E-08    61.712       -.20286E-05** at limit **
   4  Prefactor     12.552        5.7821       -.45310E-07   -.80485E-02
   5  Prefactor     .80491E-08    54.669       -.21156E-05** at limit **
   6  norm          19.056        2.9760       -.80811E-08    .35777E-03
   7  Prefactor     .55511E-10    4.2313        .51468E-06** at limit **
   8  Prefactor     12.390        8.2150       -.21537E-06    .11846E-02
   9  Prefactor      .0000        3.3499       -.39157E-06** at limit **
  10  Prefactor      .0000        16.314        .40806E-06** at limit **
  11  Prefactor      .0000        10.027        .22252E-06** at limit **
  12  norm          25.609        17.235        .56302E-07   -.18686E-03
  13  Prefactor     11.992        9.8395        .61741E-07   -.38014E-03
  14  Normalizat    1.1288        .23095        .36992E-05   -.82755E-05
  15  Prefactor     .84398        .17988       -.23223E-05    .48846E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.49325e-08
  norm       = 2.10942e-09
  Prefactor  = 12.5517
  Prefactor  = 8.04912e-09
  norm       = 19.0555
  Prefactor  = 5.55112e-11
  Prefactor  = 12.3897
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 25.6088
  Prefactor  = 11.992
  Normalizat = 1.12885
  Prefactor  = 0.843979
ng on...
/lscratch/kocevski/17767719/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits....................!
real 27.81
user 26.83
sys 0.74

Creating the likelihood object...
obs = UnbinnedObs('/lscratch/kocevski/17767719/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits', '/lscratch/kocevski/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits', expMap='/lscratch/kocevski/17767719/expmap_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits', expCube='/lscratch/kocevski/17767719/ltcube_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/lscratch/kocevski/17767719/Model_4FGL_J0127.2+0324_daily_bin1801.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0127.2+0324'

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  8.781e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /lscratch/kocevski/17767719/ft1_filtered_4FGL_J0127.2+0324_daily_bin1801.fits
Spacecraft file(s): /lscratch/kocevski/17767719/ft2_4FGL_J0127.2+0324_daily_bin1801.fits
Exposure map: /lscratch/kocevski/17767719/expmap_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits
Exposure cube: /lscratch/kocevski/17767719/ltcube_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.fits
IRFs: P8R3_SOURCE_V2
Source model file: /lscratch/kocevski/17767719/Model_4FGL_J0127.2+0324_daily_bin1801.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) = 6244.91603062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51398E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .61451       1.0000          .0000       .10000E+07
     3 'norm      '    .33464E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.673       1.0000          .0000       .10000E+07
     5 'Prefactor '    .93997E-06   1.0000          .0000       .10000E+07
     6 'norm      '    19.060       1.0000          .0000       .10000E+07
     7 'Prefactor '    .23125E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    12.304       1.0000          .0000       .10000E+07
     9 'Prefactor '    .10192E-04   1.0000          .0000       .10000E+07
    10 'Prefactor '    .48889E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .43499E-06   1.0000          .0000       .10000E+07
    12 'norm      '    25.524       1.0000          .0000       .10000E+07
    13 'Prefactor '    12.064       1.0000          .0000       .10000E+07
    14 'Normalizat'    1.1289       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .84372       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6244.829     FROM MIGRAD    STATUS=CONVERGED    134 CALLS      848 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.3888       -.22206E-06** at limit **
   2  Prefactor     .14932E-07    340.37       -.39468E-05** at limit **
   3  norm          .21094E-08    61.712       -.20286E-05** at limit **
   4  Prefactor     12.552        5.7821       -.45310E-07   -.80485E-02
   5  Prefactor     .80491E-08    54.669       -.21156E-05** at limit **
   6  norm          19.056        2.9760       -.80811E-08    .35777E-03
   7  Prefactor     .55511E-10    4.2313        .51468E-06** at limit **
   8  Prefactor     12.390        8.2150       -.21537E-06    .11846E-02
   9  Prefactor      .0000        3.3499       -.39157E-06** at limit **
  10  Prefactor      .0000        16.314        .40806E-06** at limit **
  11  Prefactor      .0000        10.027        .22252E-06** at limit **
  12  norm          25.609        17.235        .56302E-07   -.18686E-03
  13  Prefactor     11.992        9.8395        .61741E-07   -.38014E-03
  14  Normalizat    1.1288        .23095        .36992E-05   -.82755E-05
  15  Prefactor     .84398        .17988       -.23223E-05    .48846E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 1.49325e-08
  norm       = 2.10942e-09
  Prefactor  = 12.5517
  Prefactor  = 8.04912e-09
  norm       = 19.0555
  Prefactor  = 5.55112e-11
  Prefactor  = 12.3897
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  norm       = 25.6088
  Prefactor  = 11.992
  Normalizat = 1.12885
  Prefactor  = 0.843979
 **********
 **   18 **HESSE 
 **********

 FCN=   6244.829     FROM HESSE     STATUS=OK           210 CALLS     1058 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14932E-07    330.22        .67939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .21094E-08    60.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.552        41.614        .28113E-03   -1.5637    
   5  Prefactor     .80491E-08    55.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          19.056        2.9679        .22914E-03   -1.5621    
   7  Prefactor     .55511E-10    4.2388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.390        8.2240        .28532E-03   -1.5638    
   9  Prefactor      .0000        3.3478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        16.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        9.9276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          25.609        17.235        .19798E-03   -1.5607    
  13  Prefactor     11.992        9.8332        .28816E-03   -1.5639    
  14  Normalizat    1.1288        .19587        .62092E-01   -.88831    
  15  Prefactor     .84398        .15303        .44284E-01   -.98127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07451e-08
Minuit parameter uncertainties:
  1  7.21555e-06
  2  0.00444408
  3  0.000719064
  4  41.6148
  5  0.00133044
  6  2.96789
  7  2.61369e-05
  8  8.22405
  9  1.80015e-05
  10  4.17167e-05
  11  1.19997e-05
  12  17.235
  13  9.83322
  14  0.196001
  15  0.153107
 **********
 **   18 **HESSE 
 **********

 FCN=   6244.829     FROM HESSE     STATUS=OK           210 CALLS     1058 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.3833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .14932E-07    330.22        .67939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .21094E-08    60.990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.552        41.614        .28113E-03   -1.5637    
   5  Prefactor     .80491E-08    55.097        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          19.056        2.9679        .22914E-03   -1.5621    
   7  Prefactor     .55511E-10    4.2388        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.390        8.2240        .28532E-03   -1.5638    
   9  Prefactor      .0000        3.3478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        16.327        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        9.9276        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          25.609        17.235        .19798E-03   -1.5607    
  13  Prefactor     11.992        9.8332        .28816E-03   -1.5639    
  14  Normalizat    1.1288        .19587        .62092E-01   -.88831    
  15  Prefactor     .84398        .15303        .44284E-01   -.98127    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07451e-08
Minuit parameter uncertainties:
  1  7.21555e-06
  2  0.00444408
  3  0.000719064
  4  41.6148
  5  0.00133044
  6  2.96789
  7  2.61369e-05
  8  8.22405
  9  1.80015e-05
  10  4.17167e-05
  11  1.19997e-05
  12  17.235
  13  9.83322
  14  0.196001
  15  0.153107
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  4.172e-05  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.440e-01  1.531e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.129e+00  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 21.824 3.413
Photon Flux Upper Limit: 4.55701714855e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00340821922693 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17767718/likelihoodResults_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6244.81494462
delta logL = 0.0135957741377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6244.67361741
delta logL = 0.154922981459

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51869E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.2106       1.0000          .0000       10.000    
     3 'Normalizat'    1.0888       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86512       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6244.829     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      340 TOTAL
                     EDM=   .63E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6044        .42118E-03** at limit **
   2  Index         .61875E-02    .10755       -.80311E-05     .0000    
   3  Normalizat    1.1288        1.1825        .11852E-05   -.40406E-05
   4  Prefactor     .84398        1.1981        .12977E-05   -.15049E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.00618746
  Normalizat = 1.12885
  Prefactor  = 0.843979
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6244.829     FROM HESSE     STATUS=FAILED         9 CALLS      349 TOTAL
                     EDM=   .63E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76307        .64934       -.80311E-05   -7.9037    
   3  Normalizat    1.1288        1.1825        .11852E-05   -.88831    
   4  Prefactor     .84398        1.1981        .12977E-05   -.98127    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.26334e-13
Minuit parameter uncertainties:
  1  1.09332e-06
  2  0.0517018
  3  1.21216
  4  1.23867
Done.

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

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  4.172e-05  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.440e-01  1.531e-01  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.129e+00  1.960e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 21.824 3.413
Photon Flux Upper Limit: 4.55701714855e-08 ph cm-2 s-1
Energy Flux Upper Limit: 0.00340821922693 MeV cm-2 s-1

Saving results to:
/lscratch/kocevski/17767719/likelihoodResults_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6244.81494462
delta logL = 0.0135957741377

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6244.67361741
delta logL = 0.154922981459

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .51869E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.2106       1.0000          .0000       10.000    
     3 'Normalizat'    1.0888       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86512       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5580E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6244.829     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      340 TOTAL
                     EDM=   .63E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.6044        .42118E-03** at limit **
   2  Index         .61875E-02    .10755       -.80311E-05     .0000    
   3  Normalizat    1.1288        1.1825        .11852E-05   -.40406E-05
   4  Prefactor     .84398        1.1981        .12977E-05   -.15049E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.00618746
  Normalizat = 1.12885
  Prefactor  = 0.843979
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6244.82854039
delta logL = 0.0

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  1.093e-06  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  6.187e-03  5.170e-02  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.440e-01  1.239e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.129e+00  1.212e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 21.824 3.413

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/17767718/cmap_HighResolution_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-03', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2023-05-22 00:09:44.981288', job_id='17767718', GAL2='0.84', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1684739384.98', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1801' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 22 00:09:45 PDT 2023

 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6244.829     FROM HESSE     STATUS=FAILED         9 CALLS      349 TOTAL
                     EDM=   .63E-12  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.6044        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .76307        .64934       -.80311E-05   -7.9037    
   3  Normalizat    1.1288        1.1825        .11852E-05   -.88831    
   4  Prefactor     .84398        1.1981        .12977E-05   -.98127    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.26334e-13
Minuit parameter uncertainties:
  1  1.09332e-06
  2  0.0517018
  3  1.21216
  4  1.23867
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 6244.82854039
delta logL = 0.0

Extracting fit parameters...

4FGL J0127.2+0324
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  1.093e-06  0.000e+00  1.000e+06 ( 1.000e-14)
286        Index:  6.187e-03  5.170e-02  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  2.374e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
555    Prefactor:  8.440e-01  1.239e+00  0.000e+00  1.000e+01 ( 1.000e+00)
556        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
557        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
554   Normalization:  1.129e+00  1.212e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 21.824 3.413

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/17767719/cmap_HighResolution_706147201_706406401_4FGL_J0127.2+0324_daily_bin1801.png

Cleaning up...

** Nuclear option initiated! **

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.41e-03', job_status='DONE', photon_flux_upper_limit='4.56e-08', time_completed='2023-05-22 00:09:46.815728', job_id='17767719', GAL2='0.84', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1684739386.82', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='0.00e+00', ts2='0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1801' AND source_name='4FGL J0127.2+0324' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May 22 00:09:47 PDT 2023

