/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 147 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 = 7400
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0854.8+2006_daily_bin1099
RA = 133.707, Dec = 20.1159
tmin = 524188801, tmax = 524448001
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='851109', job_status='RUN', time_executed='2021-08-30 16:25:15.616493', time_epoch_executed='1630365915.62' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='1099'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/851109

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/851109/ft1_4FGL_J0854.8+2006_daily_bin1099.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/851109/ft2_4FGL_J0854.8+2006_daily_bin1099.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/851109/ft1_4FGL_J0854.8+2006_daily_bin1099.fits outfile=/scratch/kocevski/851109/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1099.fits ra=133.707 dec=20.1159 rad=12.0 tmin=524188801.0 tmax=524448001.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 7.98
user 3.22
sys 4.65

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/851109/ft2_4FGL_J0854.8+2006_daily_bin1099.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/851109/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1099.fits evtable="EVENTS" outfile="/scratch/kocevski/851109/ft1_filtered_4FGL_J0854.8+2006_daily_bin1099.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 5.25
user 0.32
sys 4.79

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/851109/ft1_filtered_4FGL_J0854.8+2006_daily_bin1099.fits" evtable="EVENTS" scfile=/scratch/kocevski/851109/ft2_4FGL_J0854.8+2006_daily_bin1099.fits sctable="SC_DATA" outfile=/scratch/kocevski/851109/ltcube_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.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/851109/ft2_4FGL_J0854.8+2006_daily_bin1099.fits
.....................!
real 17.92
user 12.31
sys 5.53

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/851109/ft1_filtered_4FGL_J0854.8+2006_daily_bin1099.fits evtable="EVENTS" scfile=/scratch/kocevski/851109/ft2_4FGL_J0854.8+2006_daily_bin1099.fits sctable="SC_DATA" expcube=/scratch/kocevski/851109/ltcube_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.fits outfile=/scratch/kocevski/851109/expmap_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.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/851109/ltcube_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.fits
.....................!
real 196.92
user 185.12
sys 10.84

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/851109/ft1_filtered_4FGL_J0854.8+2006_daily_bin1099.fits scfile=/scratch/kocevski/851109/ft2_4FGL_J0854.8+2006_daily_bin1099.fits outfile=/scratch/kocevski/851109/cmap_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.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 5.51
user 0.38
sys 4.48

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/851109/ft1_filtered_4FGL_J0854.8+2006_daily_bin1099.fits scfile=/scratch/kocevski/851109/ft2_4FGL_J0854.8+2006_daily_bin1099.fits outfile=/scratch/kocevski/851109/cmap_HighResolution_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.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 5.53
user 0.38
sys 4.63

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/851109/ft1_filtered_4FGL_J0854.8+2006_daily_bin1099.fits', '/scratch/kocevski/851109/ft2_4FGL_J0854.8+2006_daily_bin1099.fits', expMap='/scratch/kocevski/851109/expmap_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.fits', expCube='/scratch/kocevski/851109/ltcube_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/851109/Model_4FGL_J0854.8+2006_daily_bin1099.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/851109/ft1_filtered_4FGL_J0854.8+2006_daily_bin1099.fits
Spacecraft file(s): /scratch/kocevski/851109/ft2_4FGL_J0854.8+2006_daily_bin1099.fits
Exposure map: /scratch/kocevski/851109/expmap_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.fits
Exposure cube: /scratch/kocevski/851109/ltcube_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/851109/Model_4FGL_J0854.8+2006_daily_bin1099.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) = 7254.88030121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.635       1.0000         .10000E-03   10000.    
     3 'norm      '    .10783E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.7460       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .42163       1.0000         .10000E-03   10000.    
     8 'Prefactor '    21.774       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    10.392       1.0000         .10000E-03   10000.    
    11 'norm      '    .10397E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .44315       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12051E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.5683       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.1978       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7254.841     FROM MIGRAD    STATUS=CONVERGED    325 CALLS     1303 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.093        .26837E-05** at limit **
   2  Prefactor     18.667        25.098       -.14182E-05    .30104E-05
   3  norm          .10000E-03    .61336        .21825E-07** at limit **
   4  Prefactor     .10000E-03    2.9093       -.31127E-08** at limit **
   5  Prefactor     8.7465        6.5237        .44487E-06   -.66127E-04
   6  Prefactor     .10000E-03    14.195       -.57405E-05** at limit **
   7  norm          .42182        .39537        .17493E-06    .79895E-03
   8  Prefactor     21.770        13.913       -.80661E-05    .44567E-03
   9  Prefactor     .10000E-03    13.631        .32284E-05** at limit **
  10  norm          10.392        7.7686       -.17873E-06    .32970E-04
  11  norm          .10000E-03    107.99        .12944E-04** at limit **
  12  norm          .44323        1.5200       -.11340E-05   -.19813E-02
  13  Prefactor     .10000E-03    161.22       -.19485E-04** at limit **
  14  Prefactor     .10000E-03    1.8531        .63664E-07** at limit **
  15  Normalizat    1.5683        .20680        .11286E-05   -.30006E-04
  16  Prefactor     1.1978        .17475        .35119E-06    .35162E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 18.667
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.74655
  Prefactor  = 0.0001
  norm       = 0.421817
  Prefactor  = 21.77
  Prefactor  = 0.0001
  norm       = 10.392
  norm       = 0.0001
  norm       = 0.443229
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Normalizat = 1.56828
  Prefactor  = 1.19776
 **********
 **   18 **HESSE 
 **********

 FCN=   7254.841     FROM HESSE     STATUS=OK           203 CALLS     1506 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.667        24.940        .92781E-04   -1.4844    
   3  norm          .10000E-03    .62896        .12907E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    2.9146        .14187E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.7465        6.5219        .13554E-03   -1.5116    
   6  Prefactor     .10000E-03    14.169        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .42182        .41344        .50186E-03   -1.5578    
   8  Prefactor     21.770        13.717        .85837E-04   -1.4774    
   9  Prefactor     .10000E-03    13.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          10.392        7.7723        .12429E-03   -1.5063    
  11  norm          .10000E-03    109.77        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .44323        1.5511        .19442E-03   -1.5575    
  13  Prefactor     .10000E-03    162.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.6177        .22444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.5683        .24861        .27563E-03   -.75877    
  16  Prefactor     1.1978        .21049        .26331E-03   -.86400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.3752e-09
Minuit parameter uncertainties:
  1  5.80789e-05
  2  24.9537
  3  2.47336e-06
  4  5.09947e-07
  5  6.52243
  6  0.000108082
  7  0.413445
  8  13.7186
  9  6.18992e-05
  10  7.77303
  11  0.000260766
  12  1.55121
  13  0.00158225
  14  1.51408e-05
  15  0.248803
  16  0.21064
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  4.218e-01  4.134e-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:  1.198e+00  2.106e-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.568e+00  2.488e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.56
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 1.99e-08 +/- 1.95e-08
Energy Flux (Fixed Index): 8.75e-06 +/- 8.58e-06

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7254.30620041
delta logL = 0.534385723371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7254.2900711
delta logL = 0.550515035955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .23991       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3168       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5791       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1944       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=   7254.290     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      218 TOTAL
                     EDM=   .98E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .23985        .22864        .93346E-02   -.83234E-03
   2  alpha         1.3167        .44160        .44280       -.40891E-04
   3  Normalizat    1.5791        .20370        .62161E-01    .28518E-05
   4  Prefactor     1.1945        .17429        .59616E-01    .83860E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.239854
  alpha      = 1.31673
  Normalizat = 1.57906
  Prefactor  = 1.19445
 **********
 **   18 **HESSE 
 **********

 FCN=   7254.290     FROM HESSE     STATUS=OK            35 CALLS      253 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .23985        .34523        .37789E-03   -1.5610    
   2  alpha         1.3167        .72377        .16343E-01   -.49304    
   3  Normalizat    1.5791        .24549        .27491E-03   -.75580    
   4  Prefactor     1.1945        .21002        .26365E-03   -.86502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.07917e-09
Minuit parameter uncertainties:
  1  0.345234
  2  0.737473
  3  0.245673
  4  0.210165
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/851109': 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) = 7254.29007107
delta logL = 0.550515062185

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  2.399e-01  3.452e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.317e+00  7.375e-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:  1.194e+00  2.102e-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.579e+00  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.67
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.32 +/- 0.74
Photon Flux (Free Index): 7.08e-09 +/- 9.72e-09
Energy Flux (Free Index): 2.41e-05 +/- 3.89e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/851109/cmap_HighResolution_524188801_524448001_4FGL_J0854.8+2006_daily_bin1099.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.99e-08', energy_flux2='2.41e-05', photon_flux_error='1.95e-08', dlogl='5.51e-01', energy_flux='8.75e-06', photon_flux2='7.08e-09', job_status='DONE', time_completed='2021-08-30 16:35:03.973508', photon_index_error2='0.74', photon_index2='1.32', ts='4.56', fit_tolerance='1e-08', GAL='1.20', photon_index_error='0.00', energy_flux_error2='3.89e-05', EG='1.57', time_epoch_completed='1630366503.97', return_code='0', job_id='851109', GAL2='1.19', EG2='1.58', return_code2='0', energy_flux_error='8.58e-06', photon_flux_error2='9.72e-09', ts2='5.67', photon_index='2.16' WHERE bin_id='1099' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:35:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 851109: <4FGL_J0854.8+2006_daily_bin1099> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin1099> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Aug 30 16:20:30 2021
Job was executed on host(s) <bullet0264>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:20:33 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:20:33 2021
Terminated at Mon Aug 30 16:35:05 2021
Results reported at Mon Aug 30 16:35:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin1099 133.707 20.1159 524188801 524448001 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 :                                   635.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             237.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   871 sec.
    Turnaround time :                            875 sec.

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

