/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 21 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 = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1561
RA = 149.331, Dec = -13.8141
tmin = 643939201, tmax = 644198401
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='594566', job_status='RUN', time_executed='2021-09-01 06:41:16.907573', time_epoch_executed='1630503676.91' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1561'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594566

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594566/ft1_4FGL_J0957.3-1348_daily_bin1561.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594566/ft1_4FGL_J0957.3-1348_daily_bin1561.fits outfile=/scratch/kocevski/594566/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1561.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=643939201.0 tmax=644198401.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 4.74
user 4.22
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.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/594566/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1561.fits evtable="EVENTS" outfile="/scratch/kocevski/594566/ft1_filtered_4FGL_J0957.3-1348_daily_bin1561.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 0.64
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594566/ft1_filtered_4FGL_J0957.3-1348_daily_bin1561.fits" evtable="EVENTS" scfile=/scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits sctable="SC_DATA" outfile=/scratch/kocevski/594566/ltcube_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.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/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits
.....................!
real 12.65
user 11.82
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594566/ft1_filtered_4FGL_J0957.3-1348_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits sctable="SC_DATA" expcube=/scratch/kocevski/594566/ltcube_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.fits outfile=/scratch/kocevski/594566/expmap_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.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/594566/ltcube_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.fits
.....................!
real 196.39
user 186.47
sys 4.60

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

Setting source of interest to:
4FGL J0957.3-1348 @ 149.331 -13.8141

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/594566/ft1_filtered_4FGL_J0957.3-1348_daily_bin1561.fits scfile=/scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits outfile=/scratch/kocevski/594566/cmap_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.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=149.331 yref=-13.8141 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 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594566/ft1_filtered_4FGL_J0957.3-1348_daily_bin1561.fits scfile=/scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits outfile=/scratch/kocevski/594566/cmap_HighResolution_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.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=149.331 yref=-13.8141 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 0.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/594566/ft1_filtered_4FGL_J0957.3-1348_daily_bin1561.fits evtable="EVENTS" scfile=/scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594566/Model_4FGL_J0957.3-1348_daily_bin1561.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/594566/ft1_filtered_4FGL_J0957.3-1348_daily_bin1561.fits....................!
real 50.74
user 48.81
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/594566/ft1_filtered_4FGL_J0957.3-1348_daily_bin1561.fits', '/scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits', expMap='/scratch/kocevski/594566/expmap_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.fits', expCube='/scratch/kocevski/594566/ltcube_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/594566/Model_4FGL_J0957.3-1348_daily_bin1561.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0957.3-1348'

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  4.147e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.553e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  5.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/594566/ft1_filtered_4FGL_J0957.3-1348_daily_bin1561.fits
Spacecraft file(s): /scratch/kocevski/594566/ft2_4FGL_J0957.3-1348_daily_bin1561.fits
Exposure map: /scratch/kocevski/594566/expmap_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.fits
Exposure cube: /scratch/kocevski/594566/ltcube_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/594566/Model_4FGL_J0957.3-1348_daily_bin1561.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) = 4383.00431592

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.460       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10872E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13302E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10877E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.3752       1.0000         .10000E-03   10000.    
     7 'norm      '    2.4290       1.0000         .10000E-03   10000.    
     8 'norm      '    .86454       1.0000         .10000E-03   10000.    
     9 'norm      '    7.9644       1.0000         .10000E-03   10000.    
    10 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.696       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.3697       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.0854       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0362       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4383.003     FROM MIGRAD    STATUS=CONVERGED    457 CALLS     1413 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.535        57.648        .73815E-04   -.24334E-04
   2  Prefactor     .10000E-03    31.780        .18142E-02** at limit **
   3  Prefactor     .10000E-03    30.822        .18142E-02** at limit **
   4  Prefactor     .10002E-03    83.584        .13609    ** at limit **
   5  Prefactor     .10000E-03    8.5073        .18142E-02** at limit **
   6  norm          5.3806        13.842        .17334E-03   -.73524E-04
   7  norm          2.4294        7.1693        .26258E-03   -.64036E-04
   8  norm          .86390        1.8171        .14524E-02   -.62599E-03
   9  norm          7.9608        18.147        .14208E-03   -.33048E-04
  10  norm          .10000E-03    2.0920        .14593E-02** at limit **
  11  Prefactor     16.659        37.069        .98020E-04   -.15078E-04
  12  Prefactor     2.3697        7.5128        .26617E-03   -.15979E-03
  13  Normalizat    1.0855        .29684        .30028E-03   -.24549E-03
  14  Prefactor     1.0362        .18811        .19623E-03   -.22544E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.535
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100024
  Prefactor  = 0.0001
  norm       = 5.3806
  norm       = 2.42942
  norm       = 0.863897
  norm       = 7.96079
  norm       = 0.000100001
  Prefactor  = 16.6586
  Prefactor  = 2.36974
  Normalizat = 1.08546
  Prefactor  = 1.03618
 **********
 **   18 **HESSE 
 **********

 FCN=   4383.003     FROM HESSE     STATUS=OK           160 CALLS     1573 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.535        57.635        .29526E-05   -1.4621    
   2  Prefactor     .10000E-03    31.780        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    30.823        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10002E-03    84.306        .13528       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.5078        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.3806        13.840        .69334E-05   -1.5244    
   7  norm          2.4294        7.1631        .10503E-04   -1.5396    
   8  norm          .86390        1.8145        .58095E-04   -1.5522    
   9  norm          7.9608        18.145        .56830E-05   -1.5144    
  10  norm          .10000E-03    2.0955        .29186E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.659        37.065        .39208E-05   -1.4891    
  12  Prefactor     2.3697        7.5124        .10647E-04   -1.5400    
  13  Normalizat    1.0855        .29706        .60056E-04   -.90220    
  14  Prefactor     1.0362        .18827        .39247E-04   -.91533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07135e-09
Minuit parameter uncertainties:
  1  57.7436
  2  3.7838e-05
  3  8.98327e-05
  4  0.00283383
  5  7.70621e-06
  6  13.8482
  7  7.16565
  8  1.81461
  9  18.1577
  10  0.000105778
  11  37.1167
  12  7.51536
  13  0.297522
  14  0.188385
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  7.961e+00  1.816e+01  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.553e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  5.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.036e+00  1.884e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.085e+00  2.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.23
Ra Dec: 149.331 -13.814
Photon Flux Upper Limit: 1.61e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.31e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/594566/likelihoodResults_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.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) = 4382.28285065
delta logL = 0.720454127637

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4382.22994139
delta logL = 0.773363389177

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.1287       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.6629       1.0000          .0000       5.0000    
     3 'Normalizat'    .96351       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0869       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5460E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4382.230     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      302 TOTAL
                     EDM=   .95E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1265        68.002        .75419E-04   -.50196E-04
   2  alpha         4.6653        2.6091        .38247E-01   -.28529E-05
   3  Normalizat    .96345        .27908        .31621E-03    .83051E-05
   4  Prefactor     1.0869        .18148        .19203E-03    .30572E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.12645
  alpha      = 4.66526
  Normalizat = 0.963447
  Prefactor  = 1.08687
 **********
 **   18 **HESSE 
 **********

 FCN=   4382.230     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .20E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1265        8.0811        .30168E-05   -1.5416    
   2  alpha         4.6653        4.7058        .15299E-02    1.0474    
   3  Normalizat    .96345        .30567        .12649E-04   -.94265    
   4  Prefactor     1.0869        .19098        .38406E-04   -.89887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.01241e-12
Minuit parameter uncertainties:
  1  8.0852
  2  2.70404
  3  0.306223
  4  0.191101
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594566': 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) = 4382.22993745
delta logL = 0.773367322628

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  2.126e+00  8.085e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  4.665e+00  2.704e+00  0.000e+00  5.000e+00 ( 1.000e+00)
239         beta:  1.553e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  5.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.087e+00  1.911e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  9.634e-01  3.062e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.94
Ra Dec: 149.331 -13.814
Photon Index (Free Index): 4.67 +/- 2.70
Photon Flux (Free Index): 1.31e-07 +/- 1.14e-07
Energy Flux (Free Index): 1.87e-05 +/- 1.63e-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/594566/cmap_HighResolution_643939201_644198401_4FGL_J0957.3-1348_daily_bin1561.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.31e-05', comment='SUCCESS', energy_flux2='1.87e-05', dlogl='7.73e-01', photon_flux2='1.31e-07', job_status='DONE', time_completed='2021-09-01 06:49:12.355943', photon_index_error2='2.70', photon_index2='4.67', ts='0.23', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.61e-07', energy_flux_error2='1.63e-05', EG='1.09', time_epoch_completed='1630504152.36', return_code='0', job_id='594566', GAL2='1.09', EG2='0.96', return_code2='0', photon_flux_error2='1.14e-07', ts2='1.94', photon_index='2.31' WHERE bin_id='1561' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:49:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 594566: <4FGL_J0957.3-1348_daily_bin1561> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin1561> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 06:40:43 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:40:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep  1 06:40:45 2021
Terminated at Wed Sep  1 06:49:13 2021
Results reported at Wed Sep  1 06:49:13 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1561 149.331 -13.8141 643939201 644198401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0957.3-1348 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   458.06 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             329.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   507 sec.
    Turnaround time :                            510 sec.

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

