/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 62 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 = 7396
number of fields = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0957.3-1348_daily_bin543
RA = 149.331, Dec = -13.8141
tmin = 380073601, tmax = 380332801
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='589342', job_status='RUN', time_executed='2021-09-01 06:27:33.965592', time_epoch_executed='1630502853.97' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='543'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/589342

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/589342/ft1_4FGL_J0957.3-1348_daily_bin543.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/589342/ft2_4FGL_J0957.3-1348_daily_bin543.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/589342/ft1_4FGL_J0957.3-1348_daily_bin543.fits outfile=/scratch/kocevski/589342/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin543.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=380073601.0 tmax=380332801.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.59
user 4.25
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/589342/ft2_4FGL_J0957.3-1348_daily_bin543.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/589342/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin543.fits evtable="EVENTS" outfile="/scratch/kocevski/589342/ft1_filtered_4FGL_J0957.3-1348_daily_bin543.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.58
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/589342/ft1_filtered_4FGL_J0957.3-1348_daily_bin543.fits" evtable="EVENTS" scfile=/scratch/kocevski/589342/ft2_4FGL_J0957.3-1348_daily_bin543.fits sctable="SC_DATA" outfile=/scratch/kocevski/589342/ltcube_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.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/589342/ft2_4FGL_J0957.3-1348_daily_bin543.fits
.....................!
real 12.87
user 12.27
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/589342/ft1_filtered_4FGL_J0957.3-1348_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/589342/ft2_4FGL_J0957.3-1348_daily_bin543.fits sctable="SC_DATA" expcube=/scratch/kocevski/589342/ltcube_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.fits outfile=/scratch/kocevski/589342/expmap_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.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/589342/ltcube_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.fits
.....................!
real 192.99
user 187.50
sys 4.36

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/589342/ft1_filtered_4FGL_J0957.3-1348_daily_bin543.fits scfile=/scratch/kocevski/589342/ft2_4FGL_J0957.3-1348_daily_bin543.fits outfile=/scratch/kocevski/589342/cmap_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.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 1.09
user 0.39
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/589342/ft1_filtered_4FGL_J0957.3-1348_daily_bin543.fits scfile=/scratch/kocevski/589342/ft2_4FGL_J0957.3-1348_daily_bin543.fits outfile=/scratch/kocevski/589342/cmap_HighResolution_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.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 1.40
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/589342/ft1_filtered_4FGL_J0957.3-1348_daily_bin543.fits evtable="EVENTS" scfile=/scratch/kocevski/589342/ft2_4FGL_J0957.3-1348_daily_bin543.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/589342/Model_4FGL_J0957.3-1348_daily_bin543.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/589342/ft1_filtered_4FGL_J0957.3-1348_daily_bin543.fits.....................!
real 65.65
user 58.72
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/589342/ft1_filtered_4FGL_J0957.3-1348_daily_bin543.fits', '/scratch/kocevski/589342/ft2_4FGL_J0957.3-1348_daily_bin543.fits', expMap='/scratch/kocevski/589342/expmap_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.fits', expCube='/scratch/kocevski/589342/ltcube_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/589342/Model_4FGL_J0957.3-1348_daily_bin543.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/589342/ft1_filtered_4FGL_J0957.3-1348_daily_bin543.fits
Spacecraft file(s): /scratch/kocevski/589342/ft2_4FGL_J0957.3-1348_daily_bin543.fits
Exposure map: /scratch/kocevski/589342/expmap_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.fits
Exposure cube: /scratch/kocevski/589342/ltcube_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/589342/Model_4FGL_J0957.3-1348_daily_bin543.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) = 5422.67835313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0612       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    8.3449       1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    22.119       1.0000         .10000E-03   10000.    
    10 'norm      '    .10049E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.2650       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .86828       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .97593       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.

 FCN=   5422.141     FROM MIGRAD    STATUS=CONVERGED    264 CALLS     1080 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0587        49.739       -.69324E-05    .46333E-04
   2  Prefactor     .10000E-03    42.688       -.37303E-05** at limit **
   3  Prefactor     .10000E-03    12.569        .50110E-05** at limit **
   4  Prefactor     .10000E-03    11.282       -.30505E-05** at limit **
   5  Prefactor     .10000E-03    19.090       -.10814E-04** at limit **
   6  norm          .10000E-03    4.1423       -.19282E-06** at limit **
   7  norm          8.3449        4.3611       -.71556E-07    .14301E-04
   8  norm          .10000E-03    .74701       -.83807E-08** at limit **
   9  norm          22.119        13.142       -.91223E-07    .34174E-04
  10  norm          .10000E-03    .61216       -.13165E-07** at limit **
  11  Prefactor     .10000E-03    23.353        .11392E-04** at limit **
  12  Prefactor     8.2645        7.1075       -.13170E-05   -.17699E-02
  13  Normalizat    .86824        .20072        .23208E-06    .73644E-04
  14  Prefactor     .97597        .13016        .35376E-06    .10401E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.05872
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 0.0001
  norm       = 8.34492
  norm       = 0.0001
  norm       = 22.1193
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 8.26446
  Normalizat = 0.868243
  Prefactor  = 0.975969
 **********
 **   18 **HESSE 
 **********

 FCN=   5422.141     FROM HESSE     STATUS=OK           160 CALLS     1240 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0587        49.652        .14121E-03   -1.5140    
   2  Prefactor     .10000E-03    42.709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.434        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.236        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.487        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    4.1815        .14633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          8.3449        4.3615        .10777E-03   -1.5130    
   8  norm          .10000E-03    .75507        .62135E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          22.119        13.150        .85166E-04   -1.4767    
  10  norm          .10000E-03    5.3978        .11060E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    22.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.2645        7.7212        .69725E-03   -1.5133    
  13  Normalizat    .86824        .24201        .28783E-03   -.97585    
  14  Prefactor     .97597        .15802        .17936E-03   -.93535    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78761e-09
Minuit parameter uncertainties:
  1  40.0557
  2  0.000245252
  3  0.000185233
  4  0.000106234
  5  0.000547597
  6  4.37384e-06
  7  4.36167
  8  5.0949e-07
  9  13.1519
  10  5.52451e-06
  11  0.000579163
  12  7.72209
  13  0.24231
  14  0.158098
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  2.212e+01  1.315e+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:  9.760e-01  1.581e-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:  8.682e-01  2.423e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.23
Ra Dec: 149.331 -13.814
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 7.31e-08 +/- 4.35e-08
Energy Flux (Fixed Index): 2.41e-05 +/- 1.43e-05

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) = 5421.88422124
delta logL = 0.256878302581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5421.87810903
delta logL = 0.262990521858

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.285       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7798       1.0000          .0000       5.0000    
     3 'Normalizat'    .82824       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99269       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.

 FCN=   5421.878     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      263 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.294        216.09        .22801E-02    .12208E-03
   2  alpha         2.7804        3.6243        .33643        .60048E-04
   3  Normalizat    .82821        .12050        .66448E-01    .33496E-04
   4  Prefactor     .99264        .63491E-01    .46176E-01   -.15951E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.2939
  alpha      = 2.78044
  Normalizat = 0.828214
  Prefactor  = 0.992644
 **********
 **   18 **HESSE 
 **********

 FCN=   5421.878     FROM HESSE     STATUS=OK            33 CALLS      296 TOTAL
                     EDM=   .50E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.294        13.311        .91204E-04   -1.4829    
   2  alpha         2.7804        .67917        .13145E-01    .11241    
   3  Normalizat    .82821        .24790        .29397E-03   -.99031    
   4  Prefactor     .99264        .16032        .17798E-03   -.92975    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.9885e-11
Minuit parameter uncertainties:
  1  13.3133
  2  0.687924
  3  0.248242
  4  0.160398
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/589342': 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) = 5421.87810729
delta logL = 0.262992256411

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  1.929e+01  1.331e+01  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.780e+00  6.879e-01  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:  9.926e-01  1.604e-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:  8.282e-01  2.482e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.78
Ra Dec: 149.331 -13.814
Photon Index (Free Index): 2.78 +/- 0.69
Photon Flux (Free Index): 1.03e-07 +/- 6.58e-08
Energy Flux (Free Index): 2.42e-05 +/- 1.32e-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/589342/cmap_HighResolution_380073601_380332801_4FGL_J0957.3-1348_daily_bin543.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.31e-08', energy_flux2='2.42e-05', photon_flux_error='4.35e-08', dlogl='2.63e-01', energy_flux='2.41e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-09-01 06:35:30.839436', photon_index_error2='0.69', photon_index2='2.78', ts='5.23', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', energy_flux_error2='1.32e-05', EG='0.87', time_epoch_completed='1630503330.84', return_code='0', job_id='589342', GAL2='0.99', EG2='0.83', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='6.58e-08', ts2='5.78', photon_index='2.31' WHERE bin_id='543' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:35:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 589342: <4FGL_J0957.3-1348_daily_bin543> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin543> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Wed Sep  1 06:26:00 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:26:11 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:26:11 2021
Terminated at Wed Sep  1 06:35:31 2021
Results reported at Wed Sep  1 06:35:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin543 149.331 -13.8141 380073601 380332801 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.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             316.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   560 sec.
    Turnaround time :                            571 sec.

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

