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


Performing analysis on: 4FGL_J0857.9-1949_daily_bin61
RA = 134.491, Dec = -19.8175
tmin = 255139201, tmax = 255398401
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='876864', job_status='RUN', time_executed='2021-08-30 17:42:03.900818', time_epoch_executed='1630370523.9' WHERE source_name='4FGL J0857.9-1949' and cadence='daily' and bin_id='61'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/876864

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/876864/ft1_4FGL_J0857.9-1949_daily_bin61.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/876864/ft1_4FGL_J0857.9-1949_daily_bin61.fits outfile=/scratch/kocevski/876864/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin61.fits ra=134.491 dec=-19.8175 rad=12.0 tmin=255139201.0 tmax=255398401.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 11.59
user 7.17
sys 4.30

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.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/876864/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin61.fits evtable="EVENTS" outfile="/scratch/kocevski/876864/ft1_filtered_4FGL_J0857.9-1949_daily_bin61.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.66
user 0.34
sys 4.00

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/876864/ft1_filtered_4FGL_J0857.9-1949_daily_bin61.fits" evtable="EVENTS" scfile=/scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits sctable="SC_DATA" outfile=/scratch/kocevski/876864/ltcube_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.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/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits
.....................!
real 16.88
user 12.05
sys 4.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/876864/ft1_filtered_4FGL_J0857.9-1949_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits sctable="SC_DATA" expcube=/scratch/kocevski/876864/ltcube_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.fits outfile=/scratch/kocevski/876864/expmap_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.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/876864/ltcube_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.fits
.....................!
real 196.30
user 185.05
sys 10.37

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 164 point sources and 0 extended sources

Setting source of interest to:
4FGL J0857.9-1949 @ 134.491 -19.8175

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/876864/ft1_filtered_4FGL_J0857.9-1949_daily_bin61.fits scfile=/scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits outfile=/scratch/kocevski/876864/cmap_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.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=134.491 yref=-19.8175 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.60
user 0.38
sys 4.04

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/876864/ft1_filtered_4FGL_J0857.9-1949_daily_bin61.fits scfile=/scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits outfile=/scratch/kocevski/876864/cmap_HighResolution_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.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=134.491 yref=-19.8175 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.38
sys 4.09

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/876864/ft1_filtered_4FGL_J0857.9-1949_daily_bin61.fits evtable="EVENTS" scfile=/scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/876864/Model_4FGL_J0857.9-1949_daily_bin61.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/876864/ft1_filtered_4FGL_J0857.9-1949_daily_bin61.fits.....................!
real 89.17
user 81.83
sys 6.36

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/876864/ft1_filtered_4FGL_J0857.9-1949_daily_bin61.fits', '/scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits', expMap='/scratch/kocevski/876864/expmap_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.fits', expCube='/scratch/kocevski/876864/ltcube_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/876864/Model_4FGL_J0857.9-1949_daily_bin61.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0857.9-1949'

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.397e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/876864/ft1_filtered_4FGL_J0857.9-1949_daily_bin61.fits
Spacecraft file(s): /scratch/kocevski/876864/ft2_4FGL_J0857.9-1949_daily_bin61.fits
Exposure map: /scratch/kocevski/876864/expmap_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.fits
Exposure cube: /scratch/kocevski/876864/ltcube_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/876864/Model_4FGL_J0857.9-1949_daily_bin61.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) = 7413.46424728

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.1657       1.0000         .10000E-03   10000.    
     2 'norm      '    15.046       1.0000         .10000E-03   10000.    
     3 'norm      '    4.0911       1.0000         .10000E-03   10000.    
     4 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    67.509       1.0000         .10000E-03   10000.    
     7 'norm      '    .48030       1.0000         .10000E-03   10000.    
     8 'norm      '    6.2244       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9088       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.070       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.1702       1.0000         .10000E-03   10000.    
    12 'Prefactor '    26.194       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.2120       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .89826       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7413.455     FROM MIGRAD    STATUS=CONVERGED    326 CALLS     1570 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.1654        5.6964       -.20880E-06    .93189E-04
   2  norm          15.045        15.235        .16457E-08    .47426E-05
   3  norm          4.0908        2.6816       -.49857E-08    .15083E-03
   4  norm          .10000E-03    3.4090       -.36836E-07** at limit **
   5  Prefactor     .10000E-03    45.764        .10632E-04** at limit **
   6  Prefactor     67.503        55.552       -.67977E-05    .11003E-05
   7  norm          .32855        6.3680       -.95447E-06    .37537E-03
   8  norm          6.2311        3.9136       -.49090E-06   -.26250E-02
   9  Prefactor     2.9067        6.8298        .35827E-05   -.47457E-03
  10  Prefactor     12.084        15.132       -.16092E-05    .39907E-04
  11  Prefactor     7.1693        8.4041       -.56307E-06   -.66418E-04
  12  Prefactor     26.190        19.044       -.20196E-05   -.73669E-05
  13  Prefactor     .10000E-03    42.630       -.19536E-05** at limit **
  14  Prefactor     .10000E-03    16.184        .18156E-07** at limit **
  15  Prefactor     .10000E-03    8.8540       -.45591E-08** at limit **
  16  Normalizat    1.2124        .21543       -.15205E-06    .42885E-04
  17  Prefactor     .89818        .92951E-01    .32429E-06   -.68529E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.16536
  norm       = 15.0453
  norm       = 4.09084
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 67.5034
  norm       = 0.328549
  norm       = 6.23108
  Prefactor  = 2.90667
  Prefactor  = 12.0835
  Prefactor  = 7.16929
  Prefactor  = 26.1904
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.21243
  Prefactor  = 0.898182
 **********
 **   18 **HESSE 
 **********

 FCN=   7413.455     FROM HESSE     STATUS=OK           229 CALLS     1799 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.1654        5.6978        .16168E-03   -1.5211    
   2  norm          15.045        15.242        .10326E-03   -1.4932    
   3  norm          4.0908        2.6857        .11117E-03   -1.5303    
   4  norm          .10000E-03    3.4298        .15521E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    45.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     67.503        55.170        .48850E-04   -1.4063    
   7  norm          .32855        94.738        .39523E-02   -1.5593    
   8  norm          6.2311        4.2619        .67584E-03   -1.5209    
   9  Prefactor     2.9067        6.4752        .23823E-03   -1.5367    
  10  Prefactor     12.084        15.039        .11530E-03   -1.5013    
  11  Prefactor     7.1693        8.3930        .14980E-03   -1.5172    
  12  Prefactor     26.190        19.047        .78272E-04   -1.4684    
  13  Prefactor     .10000E-03    42.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.8949        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.2124        .24690        .34246E-03   -.86219    
  17  Prefactor     .89818        .10679        .17090E-03   -.96205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01094e-08
Minuit parameter uncertainties:
  1  5.69831
  2  15.2457
  3  2.68574
  4  8.23023e-06
  5  1.32729e-05
  6  55.2114
  7  11.1744
  8  4.26211
  9  6.47674
  10  15.0436
  11  8.3944
  12  19.0516
  13  2.07277e-05
  14  1.32619e-06
  15  2.40653e-06
  16  0.247136
  17  0.106812
Done.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.907e+00  6.477e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        Index:  2.522e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  8.982e-01  1.068e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.212e+00  2.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 1.52e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.18e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/876864/likelihoodResults_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.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) = 7413.2953527
delta logL = 0.159616789319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7413.27377813
delta logL = 0.181191363351

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0271       1.0000         .10000E-03   10000.    
     2 'Index     '    3.2694       1.0000          .0000       10.000    
     3 'Normalizat'    1.1907       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90210       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5550E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7413.274     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0233        67.407        .72649E-02    .89362E-03
   2  Index         3.2704        6.5806        .21554        .87993E-04
   3  Normalizat    1.1906        .56376E-01    .77965E-01    .72754E-05
   4  Prefactor     .90209        .24468E-01    .45032E-01   -.13344E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.02329
  Index      = 3.27043
  Normalizat = 1.19065
  Prefactor  = 0.902087
 **********
 **   18 **HESSE 
 **********

 FCN=   7413.274     FROM HESSE     STATUS=OK            33 CALLS      248 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0233        6.2667        .16156E-03   -1.5423    
   2  Index         3.2704        1.8255        .99037E-02   -.35321    
   3  Normalizat    1.1906        .24286        .34509E-03   -.86892    
   4  Prefactor     .90209        .10521        .17053E-03   -.96068    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06989e-08
Minuit parameter uncertainties:
  1  6.26869
  2  1.87499
  3  0.24309
  4  0.105233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/876864': 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) = 7413.27377767
delta logL = 0.181191816781

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.023e+00  6.269e+00  1.000e-04  1.000e+04 ( 1.000e-12)
291        Index:  3.270e+00  1.875e+00  0.000e+00  1.000e+01 (-1.000e+00)
292        Scale:  6.951e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
552    Prefactor:  9.021e-01  1.052e-01  0.000e+00  1.000e+01 ( 1.000e+00)
553        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
554        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
551   Normalization:  1.191e+00  2.431e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.23
Ra Dec: 134.491 -19.817

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/876864/cmap_HighResolution_255139201_255398401_4FGL_J0857.9-1949_daily_bin61.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', job_status='DONE', photon_flux_upper_limit='1.52e-07', time_completed='2021-08-30 17:53:17.603306', job_id='876864', GAL2='0.90', fit_tolerance='1e-08', EG2='1.19', EG='1.21', time_epoch_completed='1630371197.6', return_code2='0', ts='0.23', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.81e-01', ts2='0.60', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='61' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 17:53:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0083>
Subject: Job 876864: <4FGL_J0857.9-1949_daily_bin61> in cluster <slac> Done

Job <4FGL_J0857.9-1949_daily_bin61> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug 30 17:40:29 2021
Job was executed on host(s) <bullet0083>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 17:40:30 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug 30 17:40:30 2021
Terminated at Mon Aug 30 17:53:18 2021
Results reported at Mon Aug 30 17:53:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0857.9-1949_daily_bin61 134.491 -19.8175 255139201 255398401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0857.9-1949 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   723.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   768 sec.
    Turnaround time :                            769 sec.

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

