/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/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)


Waiting 97 seconds before starting...
Proceeding.

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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin1545
RA = 133.707, Dec = 20.1159
tmin = 639792001, tmax = 640051201
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='853202', job_status='RUN', time_executed='2021-08-30 16:29:45.887156', time_epoch_executed='1630366185.89' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='1545'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/853202

Creating custom pfile directory:
/scratch/kocevski/853202/pfiles/

Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStop>=639792001.0 && nMetStart<640051201.0' /Data/Flight/Reprocess/P305

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT1 --filter 'nMetStart>564945418 && nMetStop>=639792001.0 && nMetStart<640051201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/853202/ft1_4FGL_J0854.8+2006_daily_bin1545.fits


Retrieving the FT1 file...

Issuing command:
/afs/slac.stanford.edu/g/glast/ground/bin/datacat find --group FT2 --filter 'nMetStop>=639792001.0 && nMetStart<640051201.0' /Data/Flight/Level1/LPA

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/853202/ft1_4FGL_J0854.8+2006_daily_bin1545.fits outfile=/scratch/kocevski/853202/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1545.fits ra=133.707 dec=20.1159 rad=12.0 tmin=639792001.0 tmax=640051201.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 6.42
user 3.28
sys 3.05

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/853202/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1545.fits evtable="EVENTS" outfile="/scratch/kocevski/853202/ft1_filtered_4FGL_J0854.8+2006_daily_bin1545.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('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 3.63
user 0.32
sys 3.00

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/853202/ft1_filtered_4FGL_J0854.8+2006_daily_bin1545.fits" evtable="EVENTS" scfile=/scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits sctable="SC_DATA" outfile=/scratch/kocevski/853202/ltcube_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.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 /scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits
.....................!
real 15.59
user 11.97
sys 3.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/853202/ft1_filtered_4FGL_J0854.8+2006_daily_bin1545.fits evtable="EVENTS" scfile=/scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits sctable="SC_DATA" expcube=/scratch/kocevski/853202/ltcube_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.fits outfile=/scratch/kocevski/853202/expmap_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.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 /scratch/kocevski/853202/ltcube_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.fits
.....................!
real 197.06
user 187.72
sys 8.62

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

Setting source of interest to:
4FGL J0854.8+2006 @ 133.707 20.1159

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/853202/ft1_filtered_4FGL_J0854.8+2006_daily_bin1545.fits scfile=/scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits outfile=/scratch/kocevski/853202/cmap_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.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=133.707 yref=20.1159 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 4.05
user 0.37
sys 2.96

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/853202/ft1_filtered_4FGL_J0854.8+2006_daily_bin1545.fits scfile=/scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits outfile=/scratch/kocevski/853202/cmap_HighResolution_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.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=133.707 yref=20.1159 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 3.39
user 0.39
sys 2.93

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/853202/ft1_filtered_4FGL_J0854.8+2006_daily_bin1545.fits evtable="EVENTS" scfile=/scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/853202/Model_4FGL_J0854.8+2006_daily_bin1545.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...
/scratch/kocevski/853202/ft1_filtered_4FGL_J0854.8+2006_daily_bin1545.fits.....................!
real 59.56
user 52.20
sys 4.94

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/853202/ft1_filtered_4FGL_J0854.8+2006_daily_bin1545.fits', '/scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits', expMap='/scratch/kocevski/853202/expmap_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.fits', expCube='/scratch/kocevski/853202/ltcube_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/853202/Model_4FGL_J0854.8+2006_daily_bin1545.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0854.8+2006'

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.743e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
291         beta:  5.102e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
292           Eb:  6.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/853202/ft1_filtered_4FGL_J0854.8+2006_daily_bin1545.fits
Spacecraft file(s): /scratch/kocevski/853202/ft2_4FGL_J0854.8+2006_daily_bin1545.fits
Exposure map: /scratch/kocevski/853202/expmap_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.fits
Exposure cube: /scratch/kocevski/853202/ltcube_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/853202/Model_4FGL_J0854.8+2006_daily_bin1545.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) = 5643.51400243

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.1944       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11390E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    40.996       1.0000         .10000E-03   10000.    
     7 'norm      '    2.3861       1.0000         .10000E-03   10000.    
     8 'Prefactor '    14.138       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10111E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10070E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    1.4394       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1075       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .98435       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5643.502     FROM MIGRAD    STATUS=CONVERGED     89 CALLS     1253 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.914       -.52640E-04** at limit **
   2  Prefactor     .10000E-03    10.360        .29720E-04** at limit **
   3  norm          1.1939        1.0244        .14092E-06    .10546E-02
   4  Prefactor     .10000E-03    61.241        .12762E-04** at limit **
   5  Prefactor     .10000E-03    2.3214       -.10508E-05** at limit **
   6  Prefactor     41.137        45.705        .44271E-04   -.14866E-03
   7  norm          2.3863        .87646        .26535E-06    .39070E-02
   8  Prefactor     14.139        1.3065        .84597E-06    .15023E-02
   9  Prefactor     .10000E-03    7.4099       -.23699E-06** at limit **
  10  norm          .10000E-03    4.1270       -.46105E-06** at limit **
  11  norm          .10000E-03    17.378       -.55886E-05** at limit **
  12  norm          1.4397        1.2890        .22508E-06    .75438E-03
  13  Prefactor     .10000E-03    12.195        .28001E-04** at limit **
  14  Prefactor     .10000E-03    2.7350       -.11030E-05** at limit **
  15  Normalizat    1.1071        .21652       -.12249E-04    .79500E-04
  16  Prefactor     .98458        .18848        .40251E-05    .45977E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  norm       = 1.19393
  Prefactor  = 0.000100003
  Prefactor  = 0.000100002
  Prefactor  = 41.1373
  norm       = 2.38626
  Prefactor  = 14.1391
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 1.43969
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 1.10713
  Prefactor  = 0.984579
 **********
 **   18 **HESSE 
 **********

 FCN=   5643.502     FROM HESSE     STATUS=OK           241 CALLS     1494 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.914        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.333        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.1939        1.0596        .10406E-01   -1.5489    
   4  Prefactor     .10000E-03    6.2719        .64957E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.3134        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     41.137        45.435        .15652E-02   -1.4424    
   7  norm          2.3863        .90344        .66290E-02   -1.5399    
   8  Prefactor     14.139        13.580        .26631E-02   -1.4956    
   9  Prefactor     .10000E-03    7.3903        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    4.0986        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    17.353        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.4397        1.2765        .89911E-02   -1.5468    
  13  Prefactor     .10000E-03    12.195        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.6165        .37297E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.1071        .18371        .54612E-01   -.89523    
  16  Prefactor     .98458        .15902        .46071E-01   -.93245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.15181e-09
Minuit parameter uncertainties:
  1  0.000171826
  2  0.000257358
  3  1.0596
  4  0.000259993
  5  0.000133393
  6  45.4728
  7  0.903445
  8  13.5832
  9  3.7695e-05
  10  0.000110546
  11  0.000119228
  12  1.27652
  13  8.95779e-05
  14  9.25376e-05
  15  0.183819
  16  0.159095
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  2.386e+00  9.034e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  2.156e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
291         beta:  5.102e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
292           Eb:  6.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.846e-01  1.591e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.107e+00  1.838e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 25.67
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.13e-07 +/- 4.26e-08
Energy Flux (Fixed Index): 4.95e-05 +/- 1.87e-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) = 5642.61003994
delta logL = 0.891976675731

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5642.58978187
delta logL = 0.912234744635

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3183       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7350       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1457       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96665       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5120E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5642.590     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      206 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3173        .92153        .67355E-02    .45634E-04
   2  alpha         1.7351        .27175        .19697       -.24763E-04
   3  Normalizat    1.1455        .17801        .53863E-01    .62819E-05
   4  Prefactor     .96678        .15907        .45849E-01    .71653E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.31725
  alpha      = 1.73507
  Normalizat = 1.14552
  Prefactor  = 0.966784
 **********
 **   18 **HESSE 
 **********

 FCN=   5642.590     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3173        .98201        .43907E-04   -1.5404    
   2  alpha         1.7351        .30362        .83063E-02   -.31096    
   3  Normalizat    1.1455        .21072        .23816E-03   -.88304    
   4  Prefactor     .96678        .18805        .22949E-03   -.93845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69577e-10
Minuit parameter uncertainties:
  1  0.982016
  2  0.304447
  3  0.21088
  4  0.188182
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/853202': No such file or directory
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) = 5642.58978075
delta logL = 0.912235867932

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  2.317e+00  9.820e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.735e+00  3.044e-01  0.000e+00  5.000e+00 ( 1.000e+00)
291         beta:  5.102e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
292           Eb:  6.663e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
509    Prefactor:  9.668e-01  1.882e-01  0.000e+00  1.000e+01 ( 1.000e+00)
510        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
511        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
508   Normalization:  1.146e+00  2.109e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 27.57
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.74 +/- 0.30
Photon Flux (Free Index): 7.69e-08 +/- 4.00e-08
Energy Flux (Free Index): 8.02e-05 +/- 4.71e-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 /scratch/kocevski/853202/cmap_HighResolution_639792001_640051201_4FGL_J0854.8+2006_daily_bin1545.png

Cleaning up...

** Nuclear option initiated! **
rmdir /scratch/kocevski/853202

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.13e-07', energy_flux2='8.02e-05', photon_flux_error='4.26e-08', dlogl='9.12e-01', energy_flux='4.95e-05', photon_flux2='7.69e-08', job_status='DONE', time_completed='2021-08-30 16:38:23.022743', photon_index_error2='0.30', photon_index2='1.74', ts='25.67', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='4.71e-05', EG='1.11', time_epoch_completed='1630366703.02', return_code='0', job_id='853202', GAL2='0.97', EG2='1.15', return_code2='0', energy_flux_error='1.87e-05', photon_flux_error2='4.00e-08', ts2='27.57', photon_index='2.16' WHERE bin_id='1545' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:38:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 853202: <4FGL_J0854.8+2006_daily_bin1545> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin1545> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Aug 30 16:25:46 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:25:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 16:25:47 2021
Terminated at Mon Aug 30 16:38:24 2021
Results reported at Mon Aug 30 16:38:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin1545 133.707 20.1159 639792001 640051201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0854.8+2006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   545.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            758 sec.

The output (if any) is above this job summary.

