/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 152 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 = 7480
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0854.8+2006_daily_bin53
RA = 133.707, Dec = 20.1159
tmin = 253065601, tmax = 253324801
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='841702', job_status='RUN', time_executed='2021-08-30 15:54:02.844444', time_epoch_executed='1630364042.84' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='53'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/841702

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/841702/ft1_4FGL_J0854.8+2006_daily_bin53.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/841702/ft2_4FGL_J0854.8+2006_daily_bin53.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/841702/ft1_4FGL_J0854.8+2006_daily_bin53.fits outfile=/scratch/kocevski/841702/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin53.fits ra=133.707 dec=20.1159 rad=12.0 tmin=253065601.0 tmax=253324801.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.22
sys 0.99

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/841702/ft1_filtered_4FGL_J0854.8+2006_daily_bin53.fits" evtable="EVENTS" scfile=/scratch/kocevski/841702/ft2_4FGL_J0854.8+2006_daily_bin53.fits sctable="SC_DATA" outfile=/scratch/kocevski/841702/ltcube_253065601_253324801_4FGL_J0854.8+2006_daily_bin53.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/841702/ft2_4FGL_J0854.8+2006_daily_bin53.fits
.....................!
real 13.69
user 12.39
sys 1.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/841702/ft1_filtered_4FGL_J0854.8+2006_daily_bin53.fits evtable="EVENTS" scfile=/scratch/kocevski/841702/ft2_4FGL_J0854.8+2006_daily_bin53.fits sctable="SC_DATA" expcube=/scratch/kocevski/841702/ltcube_253065601_253324801_4FGL_J0854.8+2006_daily_bin53.fits outfile=/scratch/kocevski/841702/expmap_253065601_253324801_4FGL_J0854.8+2006_daily_bin53.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/841702/ltcube_253065601_253324801_4FGL_J0854.8+2006_daily_bin53.fits
.....................!
real 192.60
user 185.92
sys 5.63

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/841702/ft1_filtered_4FGL_J0854.8+2006_daily_bin53.fits scfile=/scratch/kocevski/841702/ft2_4FGL_J0854.8+2006_daily_bin53.fits outfile=/scratch/kocevski/841702/cmap_253065601_253324801_4FGL_J0854.8+2006_daily_bin53.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 1.33
user 0.36
sys 0.95

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/841702/ft1_filtered_4FGL_J0854.8+2006_daily_bin53.fits scfile=/scratch/kocevski/841702/ft2_4FGL_J0854.8+2006_daily_bin53.fits outfile=/scratch/kocevski/841702/cmap_HighResolution_253065601_253324801_4FGL_J0854.8+2006_daily_bin53.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 1.36
user 0.37
sys 0.97

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10974E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.355       1.0000         .10000E-03   10000.    
     3 'norm      '    .10224E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .23356E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .62001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    45.218       1.0000         .10000E-03   10000.    
    12 'norm      '    .84725       1.0000         .10000E-03   10000.    
    13 'Prefactor '    38.823       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.6926       1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.1440       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0164       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=   8639.238     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1359 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.602       -.11376E-05** at limit **
   2  Prefactor     13.340        15.854        .10572E-04    .23345E-03
   3  norm          .10000E-03    .42923       -.58152E-06** at limit **
   4  Prefactor     .10000E-03    7.0706       -.55515E-06** at limit **
   5  Prefactor     .10000E-03    2.9331        .22490E-06** at limit **
   6  Prefactor     .10000E-03    133.26        .35317E-04** at limit **
   7  norm          .10000E-03    .16704       -.10366E-07** at limit **
   8  Prefactor     .10000E-03    4.3357       -.38107E-06** at limit **
   9  Prefactor     .10000E-03    7.0562       -.32251E-07** at limit **
  10  norm          .10005E-03    3.9442        .11287E-05** at limit **
  11  norm          45.232        29.608        .17290E-05   -.93538E-05
  12  norm          .84716        1.5893       -.98182E-07   -.16138E-02
  13  Prefactor     38.885        30.190        .22166E-04   -.14135E-04
  14  Prefactor     3.6921        2.9906       -.12582E-06   -.40682E-03
  15  Normalizat    1.1441        .15085       -.15479E-05   -.10681E-03
  16  Prefactor     1.0163        .13186       -.97040E-06   -.24601E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 13.3402
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100051
  norm       = 45.2324
  norm       = 0.84716
  Prefactor  = 38.8854
  Prefactor  = 3.6921
  Normalizat = 1.14411
  Prefactor  = 1.01634
 **********
 **   18 **HESSE 
 **********

 FCN=   8639.238     FROM HESSE     STATUS=OK           207 CALLS     1566 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.340        15.656        .10961E-03   -1.4977    
   3  norm          .10000E-03    .71120        .11547E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.2389        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.9973        .15541E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    137.66        .40169E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .26300        .73682E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.3553        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.1431        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10005E-03    25.294        .35807E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          45.232        29.609        .59623E-04   -1.4362    
  12  norm          .84716        1.5016        .15325E-02   -1.5524    
  13  Prefactor     38.885        29.974        .32164E-03   -1.4460    
  14  Prefactor     3.6921        2.9640        .13811E-03   -1.5324    
  15  Normalizat    1.1441        .17970        .24307E-03   -.88348    
  16  Prefactor     1.0163        .15752        .22444E-03   -.92187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.0253e-09
Minuit parameter uncertainties:
  1  2.2923e-05
  2  15.6613
  3  5.40417e-05
  4  1.60712e-05
  5  7.04544e-06
  6  0.000387274
  7  3.2076e-06
  8  5.86326e-07
  9  6.62059e-06
  10  0.00227837
  11  29.6189
  12  1.50162
  13  29.9852
  14  2.9641
  15  0.179793
  16  0.157595
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.000e-04  3.208e-06  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.016e+00  1.576e-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.144e+00  1.798e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/841702/likelihoodResults_253065601_253324801_4FGL_J0854.8+2006_daily_bin53.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) = 8639.23902487
delta logL = -0.000693905101798

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8639.23832922
delta logL = 1.74902561412e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1765       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1441       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0163       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=   8639.238     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      225 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    .42073        .19422E-01** at limit **
   2  alpha         2.4250        3.7167        .41595       -.18086E-05
   3  Normalizat    1.1441        .63520E-02    .54970E-01    .41924E-03
   4  Prefactor     1.0163        .55920E-02    .42525E-01    .24942E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.42499
  Normalizat = 1.14411
  Prefactor  = 1.01634
 **********
 **   18 **HESSE 
 **********

 FCN=   8639.238     FROM HESSE     STATUS=OK            29 CALLS      254 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    .44514        .70512E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4250        3.5998        .16638       -.30008E-01
   3  Normalizat    1.1441        .17824        .24307E-03   -.88348    
   4  Prefactor     1.0163        .15699        .22444E-03   -.92187    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.70744e-09
Minuit parameter uncertainties:
  1  3.97416e-07
  2  73.117
  3  0.178329
  4  0.157057
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/841702': 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) = 8639.23831945
delta logL = 1.15121201816e-05

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.000e-04  3.974e-07  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  2.425e+00  7.312e+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.016e+00  1.571e-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.144e+00  1.783e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 133.707 20.116

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/841702/cmap_HighResolution_253065601_253324801_4FGL_J0854.8+2006_daily_bin53.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-05', job_status='DONE', photon_flux_upper_limit='4.13e-08', time_completed='2021-08-30 16:03:45.835519', job_id='841702', GAL2='1.02', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1630364625.84', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.15e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.16' WHERE bin_id='53' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:03:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 841702: <4FGL_J0854.8+2006_daily_bin53> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin53> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Mon Aug 30 15:51:07 2021
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 15:51:08 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 15:51:08 2021
Terminated at Mon Aug 30 16:03:46 2021
Results reported at Mon Aug 30 16:03:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin53 133.707 20.1159 253065601 253324801 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 :                                   594.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             322.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   758 sec.
    Turnaround time :                            759 sec.

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

