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


Performing analysis on: 4FGL_J0854.8+2006_daily_bin1022
RA = 133.707, Dec = 20.1159
tmin = 504230401, tmax = 504489601
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='849789', job_status='RUN', time_executed='2021-08-30 16:20:55.901734', time_epoch_executed='1630365655.9' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='1022'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849789

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849789/ft1_4FGL_J0854.8+2006_daily_bin1022.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849789/ft2_4FGL_J0854.8+2006_daily_bin1022.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849789/ft1_4FGL_J0854.8+2006_daily_bin1022.fits outfile=/scratch/kocevski/849789/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1022.fits ra=133.707 dec=20.1159 rad=12.0 tmin=504230401.0 tmax=504489601.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.47
user 3.40
sys 3.92

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/849789/ft2_4FGL_J0854.8+2006_daily_bin1022.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/849789/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin1022.fits evtable="EVENTS" outfile="/scratch/kocevski/849789/ft1_filtered_4FGL_J0854.8+2006_daily_bin1022.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 4.29
user 0.34
sys 3.89

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849789/ft1_filtered_4FGL_J0854.8+2006_daily_bin1022.fits" evtable="EVENTS" scfile=/scratch/kocevski/849789/ft2_4FGL_J0854.8+2006_daily_bin1022.fits sctable="SC_DATA" outfile=/scratch/kocevski/849789/ltcube_504230401_504489601_4FGL_J0854.8+2006_daily_bin1022.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/849789/ft2_4FGL_J0854.8+2006_daily_bin1022.fits
.....................!
real 16.19
user 11.56
sys 4.52

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849789/ft1_filtered_4FGL_J0854.8+2006_daily_bin1022.fits evtable="EVENTS" scfile=/scratch/kocevski/849789/ft2_4FGL_J0854.8+2006_daily_bin1022.fits sctable="SC_DATA" expcube=/scratch/kocevski/849789/ltcube_504230401_504489601_4FGL_J0854.8+2006_daily_bin1022.fits outfile=/scratch/kocevski/849789/expmap_504230401_504489601_4FGL_J0854.8+2006_daily_bin1022.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/849789/ltcube_504230401_504489601_4FGL_J0854.8+2006_daily_bin1022.fits
.....................!
real 195.47
user 184.71
sys 9.95

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/849789/ft1_filtered_4FGL_J0854.8+2006_daily_bin1022.fits scfile=/scratch/kocevski/849789/ft2_4FGL_J0854.8+2006_daily_bin1022.fits outfile=/scratch/kocevski/849789/cmap_504230401_504489601_4FGL_J0854.8+2006_daily_bin1022.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.20
user 0.37
sys 3.80

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849789/ft1_filtered_4FGL_J0854.8+2006_daily_bin1022.fits scfile=/scratch/kocevski/849789/ft2_4FGL_J0854.8+2006_daily_bin1022.fits outfile=/scratch/kocevski/849789/cmap_HighResolution_504230401_504489601_4FGL_J0854.8+2006_daily_bin1022.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 4.54
user 0.39
sys 4.12

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .77558       1.0000         .10000E-03   10000.    
     3 'norm      '    .43969       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.4359       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.789       1.0000         .10000E-03   10000.    
     7 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .39084E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.6189       1.0000         .10000E-03   10000.    
    10 'norm      '    3.0565       1.0000         .10000E-03   10000.    
    11 'norm      '    55.319       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.0574       1.0000         .10000E-01   10.000    
    16 'Prefactor '    1.0300       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=   5818.046     FROM MIGRAD    STATUS=CONVERGED    313 CALLS     1481 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.4224        .26768E-07** at limit **
   2  Prefactor     .86302        10.577       -.31767E-06   -.12875E-03
   3  norm          .43914        1.0887        .40503E-07   -.12189E-02
   4  Prefactor     7.4360        9.4291       -.40078E-05   -.22494E-03
   5  Prefactor     .10000E-03    8.5958       -.71859E-07** at limit **
   6  Prefactor     14.793        44.946        .53592E-05   -.19694E-04
   7  norm          .10000E-03    .35092        .84569E-07** at limit **
   8  Prefactor     .10025E-03    13.044        .42116E-05** at limit **
   9  Prefactor     8.6209        13.535        .15716E-05   -.79512E-04
  10  norm          3.0568        7.6676        .91300E-05   -.28087E-03
  11  norm          55.295        47.749       -.19736E-04   -.26157E-03
  12  norm          .10000E-03    .44972        .67872E-08** at limit **
  13  Prefactor     .10000E-03    49.483        .30511E-05** at limit **
  14  Prefactor     .10000E-03    2.1222       -.54852E-07** at limit **
  15  Normalizat    1.0574        .19144        .16018E-05   -.53252E-03
  16  Prefactor     1.0299        .15996       -.20803E-06   -.40500E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.863015
  norm       = 0.439138
  Prefactor  = 7.43602
  Prefactor  = 0.0001
  Prefactor  = 14.793
  norm       = 0.0001
  Prefactor  = 0.000100253
  Prefactor  = 8.62091
  norm       = 3.05682
  norm       = 55.2945
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.05736
  Prefactor  = 1.02994
 **********
 **   18 **HESSE 
 **********

 FCN=   5818.046     FROM HESSE     STATUS=OK           205 CALLS     1686 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.4232        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .86302        48.612        .44082E-02   -1.5522    
   3  norm          .43914        1.0209        .10840E-03   -1.5575    
   4  Prefactor     7.4360        9.3464        .14708E-03   -1.5163    
   5  Prefactor     .10000E-03    8.8094        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.793        44.945        .10415E-03   -1.4939    
   7  norm          .10000E-03    .59455        .84336E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10025E-03    122.28        .50101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     8.6209        13.554        .13654E-03   -1.5121    
  10  norm          3.0568        7.5203        .23205E-03   -1.5358    
  11  norm          55.295        47.999        .53932E-04   -1.4219    
  12  norm          .10000E-03    .45087        .49951E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    49.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    2.1697        .10845E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.0574        .21876        .25276E-03   -.91133    
  16  Prefactor     1.0299        .18567        .22049E-03   -.91738    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04309e-09
Minuit parameter uncertainties:
  1  2.08492e-07
  2  12.9646
  3  1.02092
  4  9.3482
  5  1.5752e-05
  6  45.0479
  7  4.52726e-06
  8  0.0111368
  9  13.5584
  10  7.52257
  11  48.0323
  12  2.83293e-07
  13  0.000290611
  14  2.17269e-09
  15  0.218949
  16  0.185787
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  1.000e-04  4.527e-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.030e+00  1.858e-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.057e+00  2.189e-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: 7.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849789/likelihoodResults_504230401_504489601_4FGL_J0854.8+2006_daily_bin1022.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) = 5817.44788644
delta logL = 0.598519965174

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5817.32797172
delta logL = 0.718434675756

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .71370E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    4.4572       1.0000          .0000       5.0000    
     3 'Normalizat'    .95742       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0807       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=   5817.328     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      254 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .71608E-01    1.1984        .38124E-02    .19483E-02
   2  alpha         4.4554        3.6049        .50000        .20216E-04
   3  Normalizat    .95722        .50342E-01    .45631E-01   -.50834E-04
   4  Prefactor     1.0808        .43539E-01    .38370E-01   -.40686E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0716082
  alpha      = 4.45543
  Normalizat = 0.957216
  Prefactor  = 1.08082
 **********
 **   18 **HESSE 
 **********

 FCN=   5817.328     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      287 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .71608E-01    2.5641        .17219E-04   -1.5654    
   2  alpha         4.4554        2.5992        .30995E-01    .89814    
   3  Normalizat    .95722        .20508        .26391E-03   -.94478    
   4  Prefactor     1.0808        .17418        .21574E-03   -.90082    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.28949e-10
Minuit parameter uncertainties:
  1  0.856437
  2  7.50639
  3  0.205245
  4  0.174268
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849789': 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): 102
logL (Free Index) = 5817.3279705
delta logL = 0.718435899296

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  7.161e-02  8.564e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  4.455e+00  7.506e+00  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.081e+00  1.743e-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:  9.572e-01  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.60
Ra Dec: 133.707 20.116
Photon Index (Free Index): 4.46 +/- 7.51
Photon Flux (Free Index): 8.50e-08 +/- 7.60e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.52e-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/849789/cmap_HighResolution_504230401_504489601_4FGL_J0854.8+2006_daily_bin1022.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-05', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='7.18e-01', photon_flux2='8.50e-08', job_status='DONE', time_completed='2021-08-30 16:30:10.321926', photon_index_error2='7.51', photon_index2='4.46', ts='-0.00', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='7.34e-08', energy_flux_error2='1.52e-05', EG='1.06', time_epoch_completed='1630366210.32', return_code='0', job_id='849789', GAL2='1.08', EG2='0.96', return_code2='102', photon_flux_error2='7.60e-08', ts2='1.60', photon_index='2.16' WHERE bin_id='1022' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:30:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 849789: <4FGL_J0854.8+2006_daily_bin1022> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin1022> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug 30 16:16:25 2021
Job was executed on host(s) <bullet0253>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:16: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:16:26 2021
Terminated at Mon Aug 30 16:30:13 2021
Results reported at Mon Aug 30 16:30:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin1022 133.707 20.1159 504230401 504489601 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 :                                   608.44 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             227.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   825 sec.
    Turnaround time :                            828 sec.

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

