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


Performing analysis on: 4FGL_J0857.9-1949_daily_bin1256
RA = 134.491, Dec = -19.8175
tmin = 564883201, tmax = 565142401
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='882640', job_status='RUN', time_executed='2021-08-30 17:57:43.523565', time_epoch_executed='1630371463.52' WHERE source_name='4FGL J0857.9-1949' and cadence='daily' and bin_id='1256'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882640

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882640/ft1_4FGL_J0857.9-1949_daily_bin1256.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882640/ft1_4FGL_J0857.9-1949_daily_bin1256.fits outfile=/scratch/kocevski/882640/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin1256.fits ra=134.491 dec=-19.8175 rad=12.0 tmin=564883201.0 tmax=565142401.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.13
user 3.34
sys 6.77

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.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/882640/ft1_filteredMKT_4FGL_J0857.9-1949_daily_bin1256.fits evtable="EVENTS" outfile="/scratch/kocevski/882640/ft1_filtered_4FGL_J0857.9-1949_daily_bin1256.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 6.62
user 0.32
sys 6.20

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882640/ft1_filtered_4FGL_J0857.9-1949_daily_bin1256.fits" evtable="EVENTS" scfile=/scratch/kocevski/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.fits sctable="SC_DATA" outfile=/scratch/kocevski/882640/ltcube_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.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/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.fits
.....................!
real 20.36
user 13.16
sys 7.12

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882640/ft1_filtered_4FGL_J0857.9-1949_daily_bin1256.fits evtable="EVENTS" scfile=/scratch/kocevski/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.fits sctable="SC_DATA" expcube=/scratch/kocevski/882640/ltcube_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.fits outfile=/scratch/kocevski/882640/expmap_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.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/882640/ltcube_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.fits
.....................!
real 199.20
user 186.03
sys 12.05

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/882640/ft1_filtered_4FGL_J0857.9-1949_daily_bin1256.fits scfile=/scratch/kocevski/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.fits outfile=/scratch/kocevski/882640/cmap_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.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 6.46
user 0.39
sys 6.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/882640/ft1_filtered_4FGL_J0857.9-1949_daily_bin1256.fits scfile=/scratch/kocevski/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.fits outfile=/scratch/kocevski/882640/cmap_HighResolution_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.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 6.45
user 0.39
sys 6.04

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/882640/ft1_filtered_4FGL_J0857.9-1949_daily_bin1256.fits evtable="EVENTS" scfile=/scratch/kocevski/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/882640/Model_4FGL_J0857.9-1949_daily_bin1256.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/882640/ft1_filtered_4FGL_J0857.9-1949_daily_bin1256.fits.....................!
real 100.89
user 91.04
sys 8.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/882640/ft1_filtered_4FGL_J0857.9-1949_daily_bin1256.fits', '/scratch/kocevski/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.fits', expMap='/scratch/kocevski/882640/expmap_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.fits', expCube='/scratch/kocevski/882640/ltcube_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/882640/Model_4FGL_J0857.9-1949_daily_bin1256.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/882640/ft1_filtered_4FGL_J0857.9-1949_daily_bin1256.fits
Spacecraft file(s): /scratch/kocevski/882640/ft2_4FGL_J0857.9-1949_daily_bin1256.fits
Exposure map: /scratch/kocevski/882640/expmap_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.fits
Exposure cube: /scratch/kocevski/882640/ltcube_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/882640/Model_4FGL_J0857.9-1949_daily_bin1256.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) = 8425.9779131

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    70.347       1.0000         .10000E-03   10000.    
     3 'norm      '    15.107       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.010       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.905       1.0000         .10000E-03   10000.    
     7 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.1917       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5491       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.529       1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.6112       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.679       1.0000         .10000E-03   10000.    
    16 'Normalizat'    .60716       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0929       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=   8425.944     FROM MIGRAD    STATUS=CONVERGED    337 CALLS     1606 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.7901       -.16722E-07** at limit **
   2  norm          70.354        29.617        .85940E-07    .17891E-04
   3  norm          15.108        4.5425        .13185E-06    .29624E-04
   4  norm          .10000E-03    1.9130        .13660E-06** at limit **
   5  Prefactor     15.938        38.364        .12425E-04   -.16843E-04
   6  Prefactor     26.903        47.795        .14792E-05    .80376E-05
   7  norm          .10000E-03    3.6529       -.55357E-06** at limit **
   8  norm          2.1914        2.1827       -.16430E-06   -.16442E-03
   9  Prefactor     2.5495        5.0535        .64779E-05    .35155E-04
  10  Prefactor     13.529        10.441        .54499E-07   -.65206E-05
  11  Prefactor     5.6107        6.9104        .94835E-06   -.21013E-04
  12  Prefactor     .10000E-03    12.346        .96960E-07** at limit **
  13  Prefactor     .10000E-03    85.254       -.62937E-06** at limit **
  14  Prefactor     .10000E-03    40.368        .64104E-06** at limit **
  15  Prefactor     20.673        14.411        .43021E-06    .17226E-04
  16  Normalizat    .60752        .20108       -.26194E-05    .69782E-04
  17  Prefactor     1.0927        .91479E-01   -.56577E-06   -.84644E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 70.3538
  norm       = 15.1075
  norm       = 0.0001
  Prefactor  = 15.9379
  Prefactor  = 26.9027
  norm       = 0.0001
  norm       = 2.19141
  Prefactor  = 2.54951
  Prefactor  = 13.5286
  Prefactor  = 5.61068
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 20.6734
  Normalizat = 0.607523
  Prefactor  = 1.09273
 **********
 **   18 **HESSE 
 **********

 FCN=   8425.944     FROM HESSE     STATUS=OK           225 CALLS     1831 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7918        .11994E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          70.354        29.637        .47861E-04   -1.4028    
   3  norm          15.108        4.5409        .10305E-03   -1.4930    
   4  norm          .10000E-03    1.9218        .12395E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.938        38.386        .10010E-03   -1.4909    
   6  Prefactor     26.903        47.908        .77233E-04   -1.4670    
   7  norm          .10000E-03    3.6735        .17140E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.1914        2.1841        .13031E-03   -1.5412    
   9  Prefactor     2.5495        5.0626        .12787E-02   -1.5389    
  10  Prefactor     13.529        10.433        .54449E-03   -1.4972    
  11  Prefactor     5.6107        6.9088        .84796E-03   -1.5234    
  12  Prefactor     .10000E-03    12.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    87.508        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    40.620        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     20.673        14.416        .88078E-04   -1.4798    
  16  Normalizat    .60752        .21791        .42625E-03   -1.0767    
  17  Prefactor     1.0927        .10009        .15383E-03   -.89699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57579e-10
Minuit parameter uncertainties:
  1  5.2652e-07
  2  29.6436
  3  4.54104
  4  5.40444e-06
  5  38.4452
  6  47.9769
  7  4.63636e-05
  8  2.18422
  9  5.06342
  10  10.4346
  11  6.90979
  12  2.67897e-05
  13  0.000752925
  14  7.63546e-05
  15  14.418
  16  0.218222
  17  0.100107
Done.

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

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  2.550e+00  5.063e+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:  1.093e+00  1.001e-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:  6.075e-01  2.182e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 134.491 -19.817
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/882640/likelihoodResults_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.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): 102
logL (Free Index) = 8424.98351396
delta logL = 0.960781431475

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8424.88041972
delta logL = 1.06387567422

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15625E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    7.7297       1.0000          .0000       10.000    
     3 'Normalizat'    .53015       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1166       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=   8424.880     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      381 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12083E-02    .12272E-01    .58636E-03** at limit **
   2  Index         7.8717        2.5153        .19388        .13852E-03
   3  Normalizat    .53031        .43933E-01    .10250        .15252E-03
   4  Prefactor     1.1166        .20881E-01    .36987E-01    .32723E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00120834
  Index      = 7.8717
  Normalizat = 0.530308
  Prefactor  = 1.11664
 **********
 **   18 **HESSE 
 **********

 FCN=   8424.880     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      414 TOTAL
                     EDM=   .63E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12083E-02    .35112E-01    .24633E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.8717        8.1770        .73578E-02    .61180    
   3  Normalizat    .53031        .16120        .45441E-03   -1.1103    
   4  Prefactor     1.1166        .75663E-01    .15229E-03   -.88936    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.25913e-08
Minuit parameter uncertainties:
  1  0.0124766
  2  5.65763
  3  0.16134
  4  0.07567
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882640': 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) = 8424.8803623
delta logL = 1.0639330972

Extracting fit parameters...

4FGL J0857.9-1949
   Spectrum: PowerLaw
290    Prefactor:  1.208e-03  1.248e-02  1.000e-04  1.000e+04 ( 1.000e-12)
291        Index:  7.872e+00  5.658e+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:  1.117e+00  7.567e-02  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:  5.303e-01  1.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.60
Ra Dec: 134.491 -19.817
Photon Index (Free Index): 7.87 +/- 5.66
Photon Flux (Free Index): 7.61e-08 +/- 5.31e-08
Energy Flux (Free Index): 8.87e-06 +/- 6.60e-06

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/882640/cmap_HighResolution_564883201_565142401_4FGL_J0857.9-1949_daily_bin1256.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.36e-03', comment='SUCCESS', energy_flux2='8.87e-06', dlogl='1.06e+00', photon_flux2='7.61e-08', job_status='DONE', time_completed='2021-08-30 18:10:25.887771', photon_index_error2='5.66', photon_index2='7.87', ts='0.30', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='6.60e-06', EG='0.61', time_epoch_completed='1630372225.89', return_code='0', job_id='882640', GAL2='1.12', EG2='0.53', return_code2='102', photon_flux_error2='5.31e-08', ts2='2.60', photon_index='2.52' WHERE bin_id='1256' AND source_name='4FGL J0857.9-1949' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug 30 18:10:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 882640: <4FGL_J0857.9-1949_daily_bin1256> in cluster <slac> Done

Job <4FGL_J0857.9-1949_daily_bin1256> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug 30 17:55:41 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug 30 17:55: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 17:55:43 2021
Terminated at Mon Aug 30 18:10:27 2021
Results reported at Mon Aug 30 18:10:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0857.9-1949_daily_bin1256 134.491 -19.8175 564883201 565142401 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 :                                   829.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             255.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            886 sec.

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

