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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin618
RA = 133.707, Dec = 20.1159
tmin = 399513601, tmax = 399772801
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='847784', job_status='RUN', time_executed='2021-08-30 16:10:40.727924', time_epoch_executed='1630365040.73' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='618'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/847784

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/847784/ft1_4FGL_J0854.8+2006_daily_bin618.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/847784/ft2_4FGL_J0854.8+2006_daily_bin618.fits


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

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

Done.
real 5.33
user 4.90
sys 0.38

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/847784/ft1_filtered_4FGL_J0854.8+2006_daily_bin618.fits" evtable="EVENTS" scfile=/scratch/kocevski/847784/ft2_4FGL_J0854.8+2006_daily_bin618.fits sctable="SC_DATA" outfile=/scratch/kocevski/847784/ltcube_399513601_399772801_4FGL_J0854.8+2006_daily_bin618.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/847784/ft2_4FGL_J0854.8+2006_daily_bin618.fits
.....................!
real 12.63
user 12.08
sys 0.47

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/847784/ft1_filtered_4FGL_J0854.8+2006_daily_bin618.fits evtable="EVENTS" scfile=/scratch/kocevski/847784/ft2_4FGL_J0854.8+2006_daily_bin618.fits sctable="SC_DATA" expcube=/scratch/kocevski/847784/ltcube_399513601_399772801_4FGL_J0854.8+2006_daily_bin618.fits outfile=/scratch/kocevski/847784/expmap_399513601_399772801_4FGL_J0854.8+2006_daily_bin618.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/847784/ltcube_399513601_399772801_4FGL_J0854.8+2006_daily_bin618.fits
.....................!
real 190.31
user 184.99
sys 4.81

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/847784/ft1_filtered_4FGL_J0854.8+2006_daily_bin618.fits scfile=/scratch/kocevski/847784/ft2_4FGL_J0854.8+2006_daily_bin618.fits outfile=/scratch/kocevski/847784/cmap_399513601_399772801_4FGL_J0854.8+2006_daily_bin618.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 0.67
user 0.37
sys 0.28

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/847784/ft1_filtered_4FGL_J0854.8+2006_daily_bin618.fits scfile=/scratch/kocevski/847784/ft2_4FGL_J0854.8+2006_daily_bin618.fits outfile=/scratch/kocevski/847784/cmap_HighResolution_399513601_399772801_4FGL_J0854.8+2006_daily_bin618.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 0.68
user 0.38
sys 0.29

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.669       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.7864       1.0000         .10000E-03   10000.    
     3 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    46.460       1.0000         .10000E-03   10000.    
     7 'norm      '    .46779       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10068E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.9051       1.0000         .10000E-03   10000.    
    12 'norm      '    2.0155       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13279E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3607       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.5646       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .57975       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=   6073.586     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1446 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     32.650        41.220       -.23799E-04    .20897E-04
   2  Prefactor     9.8040        24.455        .14156E-04    .21776E-03
   3  norm          .10000E-03    .49531       -.65565E-06** at limit **
   4  Prefactor     .10000E-03    4.6970       -.13507E-06** at limit **
   5  Prefactor     .10000E-03    2.0596       -.22937E-07** at limit **
   6  Prefactor     46.463        42.245        .24787E-05    .11253E-05
   7  norm          .46769        .49429       -.19364E-07   -.62533E-03
   8  Prefactor     .10000E-03    5.1347        .17034E-06** at limit **
   9  Prefactor     .10000E-03    4.1102        .77095E-07** at limit **
  10  norm          .10000E-03    2.5636        .11868E-07** at limit **
  11  norm          1.8334        54.567        .27814E-05   -.68314E-04
  12  norm          2.0156        1.7446        .39007E-07   -.13641E-03
  13  Prefactor     .10000E-03    23.751       -.33742E-07** at limit **
  14  Prefactor     8.3589        5.2781       -.48116E-06   -.13870E-03
  15  Normalizat    1.5644        .18602       -.15972E-06    .20907E-03
  16  Prefactor     .57993        .14671       -.19112E-06    .97273E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 32.6505
  Prefactor  = 9.80401
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 46.463
  norm       = 0.467692
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.83337
  norm       = 2.01563
  Prefactor  = 0.0001
  Prefactor  = 8.35895
  Normalizat = 1.5644
  Prefactor  = 0.579931
 **********
 **   18 **HESSE 
 **********

 FCN=   6073.586     FROM HESSE     STATUS=OK           205 CALLS     1651 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     32.650        40.668        .70106E-04   -1.4565    
   2  Prefactor     9.8040        24.017        .12809E-03   -1.5082    
   3  norm          .10000E-03    .65364        .10271E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.7322        .16489E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.0682        .10922E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     46.463        42.438        .58824E-04   -1.4344    
   7  norm          .46769        .46046        .54437E-03   -1.5571    
   8  Prefactor     .10000E-03    5.1570        .17244E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.1122        .15431E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    2.5660        .12186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.8334        54.767        .30127E-03   -1.5437    
  12  norm          2.0156        1.7360        .92182E-04   -1.5424    
  13  Prefactor     .10000E-03    23.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.3589        5.2880        .13506E-03   -1.5130    
  15  Normalizat    1.5644        .22007        .21906E-03   -.75984    
  16  Prefactor     .57993        .17201        .27525E-03   -1.0844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99762e-09
Minuit parameter uncertainties:
  1  40.7029
  2  24.0403
  3  5.17243e-05
  4  2.0051e-05
  5  1.5832e-06
  6  42.4653
  7  0.460466
  8  5.00774e-07
  9  1.5397e-06
  10  1.3771e-07
  11  20.0605
  12  1.736
  13  3.14783e-06
  14  5.28831
  15  0.220206
  16  0.172167
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  4.677e-01  4.605e-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:  5.799e-01  1.722e-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.564e+00  2.202e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.89
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.21e-08 +/- 2.17e-08
Energy Flux (Fixed Index): 9.70e-06 +/- 9.55e-06

TS (Fixed Index): 1.89
Ra Dec: 133.707 20.116
Photon Flux Upper Limit: 7.87e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.46e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/847784/likelihoodResults_399513601_399772801_4FGL_J0854.8+2006_daily_bin618.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): 0
logL (Free Index) = 6073.57098394
delta logL = 0.0154009863218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6073.57071391
delta logL = 0.0156710161091

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .47545       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0227       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5673       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .57834       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=   6073.571     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      202 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .47545        24.560        .11170E-01    .33024E-03
   2  alpha         2.0228        3.3086        .42142       -.11136E-04
   3  Normalizat    1.5673        .98528E-01    .49517E-01   -.27007E-05
   4  Prefactor     .57835        .90408E-01    .62288E-01    .26443E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.475451
  alpha      = 2.02281
  Normalizat = 1.56727
  Prefactor  = 0.578351
 **********
 **   18 **HESSE 
 **********

 FCN=   6073.571     FROM HESSE     STATUS=OK            35 CALLS      237 TOTAL
                     EDM=   .81E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .47545        .46780        .54885E-03   -1.5570    
   2  alpha         2.0228        .72400        .18969E-01   -.19205    
   3  Normalizat    1.5673        .21136        .21890E-03   -.75905    
   4  Prefactor     .57835        .17081        .27559E-03   -1.0851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.06373e-13
Minuit parameter uncertainties:
  1  0.467808
  2  0.734939
  3  0.211479
  4  0.170959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/847784': 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) = 6073.57071389
delta logL = 0.0156710355268

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  4.755e-01  4.678e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  2.023e+00  7.349e-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:  5.784e-01  1.710e-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.567e+00  2.115e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.92
Ra Dec: 133.707 20.116
Photon Index (Free Index): 2.02 +/- 0.73
Photon Flux (Free Index): 1.97e-08 +/- 2.31e-08
Energy Flux (Free Index): 1.09e-05 +/- 1.34e-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/847784/cmap_HighResolution_399513601_399772801_4FGL_J0854.8+2006_daily_bin618.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.46e-05', comment='SUCCESS', photon_flux='2.21e-08', energy_flux2='1.09e-05', photon_flux_error='2.17e-08', dlogl='1.57e-02', energy_flux='9.70e-06', photon_flux2='1.97e-08', job_status='DONE', time_completed='2021-08-30 16:19:11.040806', photon_index_error2='0.73', photon_index2='2.02', ts='1.89', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', photon_flux_upper_limit='7.87e-08', energy_flux_error2='1.34e-05', EG='1.56', time_epoch_completed='1630365551.04', return_code='0', job_id='847784', GAL2='0.58', EG2='1.57', return_code2='0', energy_flux_error='9.55e-06', photon_flux_error2='2.31e-08', ts2='1.92', photon_index='2.16' WHERE bin_id='618' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:19:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 847784: <4FGL_J0854.8+2006_daily_bin618> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin618> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Mon Aug 30 16:10:24 2021
Job was executed on host(s) <bullet0036>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:10:26 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:10:26 2021
Terminated at Mon Aug 30 16:19:11 2021
Results reported at Mon Aug 30 16:19:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin618 133.707 20.1159 399513601 399772801 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 :                                   509.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             330.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   525 sec.
    Turnaround time :                            527 sec.

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

