/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 7 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_bin821
RA = 133.707, Dec = 20.1159
tmin = 452131201, tmax = 452390401
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='849413', job_status='RUN', time_executed='2021-08-30 16:16:10.414107', time_epoch_executed='1630365370.41' WHERE source_name='4FGL J0854.8+2006' and cadence='daily' and bin_id='821'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849413

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849413/ft1_4FGL_J0854.8+2006_daily_bin821.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849413/ft2_4FGL_J0854.8+2006_daily_bin821.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849413/ft1_4FGL_J0854.8+2006_daily_bin821.fits outfile=/scratch/kocevski/849413/ft1_filteredMKT_4FGL_J0854.8+2006_daily_bin821.fits ra=133.707 dec=20.1159 rad=12.0 tmin=452131201.0 tmax=452390401.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 3.95
user 3.16
sys 0.71

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849413/ft1_filtered_4FGL_J0854.8+2006_daily_bin821.fits" evtable="EVENTS" scfile=/scratch/kocevski/849413/ft2_4FGL_J0854.8+2006_daily_bin821.fits sctable="SC_DATA" outfile=/scratch/kocevski/849413/ltcube_452131201_452390401_4FGL_J0854.8+2006_daily_bin821.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/849413/ft2_4FGL_J0854.8+2006_daily_bin821.fits
.....................!
real 12.96
user 11.92
sys 0.94

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849413/ft1_filtered_4FGL_J0854.8+2006_daily_bin821.fits evtable="EVENTS" scfile=/scratch/kocevski/849413/ft2_4FGL_J0854.8+2006_daily_bin821.fits sctable="SC_DATA" expcube=/scratch/kocevski/849413/ltcube_452131201_452390401_4FGL_J0854.8+2006_daily_bin821.fits outfile=/scratch/kocevski/849413/expmap_452131201_452390401_4FGL_J0854.8+2006_daily_bin821.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/849413/ltcube_452131201_452390401_4FGL_J0854.8+2006_daily_bin821.fits
.....................!
real 192.05
user 184.99
sys 6.34

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/849413/ft1_filtered_4FGL_J0854.8+2006_daily_bin821.fits scfile=/scratch/kocevski/849413/ft2_4FGL_J0854.8+2006_daily_bin821.fits outfile=/scratch/kocevski/849413/cmap_452131201_452390401_4FGL_J0854.8+2006_daily_bin821.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.10
user 0.36
sys 0.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849413/ft1_filtered_4FGL_J0854.8+2006_daily_bin821.fits scfile=/scratch/kocevski/849413/ft2_4FGL_J0854.8+2006_daily_bin821.fits outfile=/scratch/kocevski/849413/cmap_HighResolution_452131201_452390401_4FGL_J0854.8+2006_daily_bin821.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.07
user 0.37
sys 0.68

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    12.457       1.0000         .10000E-03   10000.    
     3 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .71684       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .54867       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.3606       1.0000         .10000E-03   10000.    
     9 'Prefactor '    21.196       1.0000         .10000E-03   10000.    
    10 'norm      '    9.1195       1.0000         .10000E-03   10000.    
    11 'norm      '    .12900E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .92741       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    15 'Normalizat'    1.5327       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .53954       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=   5530.482     FROM MIGRAD    STATUS=CONVERGED    305 CALLS     1310 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.821        .90712E-02** at limit **
   2  Prefactor     12.453        15.321        .28373E-02    .55380E-03
   3  norm          .10000E-03    .35082        .21391E-01** at limit **
   4  Prefactor     .71507        8.2857        .12126E-01    .17510E-02
   5  Prefactor     .10000E-03    4.9232        .90712E-02** at limit **
   6  Prefactor     .10009E-03    51.151        .90712E-02** at limit **
   7  norm          .54862        .55025        .11388E-01    .44919E-03
   8  Prefactor     6.3594        6.8460        .39788E-02   -.18117E-02
   9  Prefactor     21.197        14.485        .21750E-02    .93445E-04
  10  norm          9.1198        7.3787        .33179E-02    .36954E-03
  11  norm          .10009E-03    48.839        .90712E-02** at limit **
  12  norm          .92741        1.3903        .21302E-01    .46926E-03
  13  Prefactor     .10000E-03    32.503        .90712E-02** at limit **
  14  Prefactor     .10000E-03    2.4576        .40000E-01** at limit **
  15  Normalizat    1.5326        .17640        .45727E-01    .14849E-05
  16  Prefactor     .53958        .14750        .61904E-01    .29558E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 12.4527
  norm       = 0.0001
  Prefactor  = 0.715072
  Prefactor  = 0.0001
  Prefactor  = 0.000100089
  norm       = 0.54862
  Prefactor  = 6.35938
  Prefactor  = 21.1973
  norm       = 9.11978
  norm       = 0.000100086
  norm       = 0.927414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.53258
  Prefactor  = 0.539583
 **********
 **   18 **HESSE 
 **********

 FCN=   5530.482     FROM HESSE     STATUS=OK           207 CALLS     1517 TOTAL
                     EDM=   .66E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.453        15.122        .56746E-03   -1.5002    
   3  norm          .10000E-03    .45743        .84469E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .71507        8.4704        .40961E-03   -1.5539    
   5  Prefactor     .10000E-03    4.9678        .16108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10009E-03    51.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .54862        .51979        .52961E-03   -1.5560    
   8  Prefactor     6.3594        6.8395        .15915E-03   -1.5204    
   9  Prefactor     21.197        14.473        .86998E-04   -1.4787    
  10  norm          9.1198        7.3806        .13272E-03   -1.5104    
  11  norm          .10009E-03    50.317        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .92741        1.1908        .10386E-02   -1.5515    
  13  Prefactor     .10000E-03    32.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    4.6317        .22386E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.5326        .20297        .20213E-03   -.76867    
  16  Prefactor     .53958        .17020        .27390E-03   -1.1019    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.56271e-09
Minuit parameter uncertainties:
  1  8.63858e-06
  2  15.1268
  3  2.72687e-09
  4  4.9227
  5  7.82776e-07
  6  0.00429838
  7  0.519795
  8  6.84035
  9  14.4749
  10  7.38132
  11  0.00416194
  12  1.19085
  13  2.54368e-05
  14  2.46276e-06
  15  0.203083
  16  0.170365
Done.

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

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  5.486e-01  5.198e-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.396e-01  1.704e-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.533e+00  2.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.14
Ra Dec: 133.707 20.116
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.59e-08 +/- 2.45e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.08e-05

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

Saving results to:
/scratch/kocevski/849413/likelihoodResults_452131201_452390401_4FGL_J0854.8+2006_daily_bin821.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) = 5530.40409901
delta logL = 0.0780861008643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5530.40328333
delta logL = 0.0789017865727

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54283       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8837       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5391       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53661       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=   5530.403     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      210 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54239        28.917        .11438E-01    .40166E-03
   2  alpha         1.8825        3.2430        .42855       -.12798E-04
   3  Normalizat    1.5391        .13018        .45649E-01    .64658E-04
   4  Prefactor     .53664        .12833        .62059E-01    .70400E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.542389
  alpha      = 1.88251
  Normalizat = 1.53908
  Prefactor  = 0.536642
 **********
 **   18 **HESSE 
 **********

 FCN=   5530.403     FROM HESSE     STATUS=OK            35 CALLS      245 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54239        .52743        .53173E-03   -1.5561    
   2  alpha         1.8825        .66108        .16069E-01   -.24958    
   3  Normalizat    1.5391        .20020        .20178E-03   -.76686    
   4  Prefactor     .53664        .16993        .27459E-03   -1.1032    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55192e-10
Minuit parameter uncertainties:
  1  0.527438
  2  0.669577
  3  0.200302
  4  0.17009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849413': 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) = 5530.40328171
delta logL = 0.0789034054251

Extracting fit parameters...

4FGL J0854.8+2006
   Spectrum: LogParabola
289         norm:  5.424e-01  5.274e-01  1.000e-04  1.000e+04 ( 1.000e-11)
290        alpha:  1.883e+00  6.696e-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.366e-01  1.701e-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.539e+00  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.30
Ra Dec: 133.707 20.116
Photon Index (Free Index): 1.88 +/- 0.67
Photon Flux (Free Index): 2.00e-08 +/- 2.39e-08
Energy Flux (Free Index): 1.47e-05 +/- 1.77e-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/849413/cmap_HighResolution_452131201_452390401_4FGL_J0854.8+2006_daily_bin821.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.85e-05', comment='SUCCESS', photon_flux='2.59e-08', energy_flux2='1.47e-05', photon_flux_error='2.45e-08', dlogl='7.89e-02', energy_flux='1.14e-05', photon_flux2='2.00e-08', job_status='DONE', time_completed='2021-08-30 16:24:22.688924', photon_index_error2='0.67', photon_index2='1.88', ts='2.14', fit_tolerance='1e-08', GAL='0.54', photon_index_error='0.00', photon_flux_upper_limit='8.77e-08', energy_flux_error2='1.77e-05', EG='1.53', time_epoch_completed='1630365862.69', return_code='0', job_id='849413', GAL2='0.54', EG2='1.54', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='2.39e-08', ts2='2.30', photon_index='2.16' WHERE bin_id='821' AND source_name='4FGL J0854.8+2006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 16:24:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 849413: <4FGL_J0854.8+2006_daily_bin821> in cluster <slac> Done

Job <4FGL_J0854.8+2006_daily_bin821> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Aug 30 16:15:41 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 16:15:43 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:15:43 2021
Terminated at Mon Aug 30 16:24:23 2021
Results reported at Mon Aug 30 16:24:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0854.8+2006_daily_bin821 133.707 20.1159 452131201 452390401 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 :                                   497.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   520 sec.
    Turnaround time :                            522 sec.

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

