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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1448
RA = 149.331, Dec = -13.8141
tmin = 614649601, tmax = 614908801
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='594376', job_status='RUN', time_executed='2021-09-01 06:43:52.531131', time_epoch_executed='1630503832.53' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1448'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594376

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594376/ft1_4FGL_J0957.3-1348_daily_bin1448.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594376/ft2_4FGL_J0957.3-1348_daily_bin1448.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594376/ft1_4FGL_J0957.3-1348_daily_bin1448.fits outfile=/scratch/kocevski/594376/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1448.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=614649601.0 tmax=614908801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.63
user 3.37
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594376/ft1_filtered_4FGL_J0957.3-1348_daily_bin1448.fits" evtable="EVENTS" scfile=/scratch/kocevski/594376/ft2_4FGL_J0957.3-1348_daily_bin1448.fits sctable="SC_DATA" outfile=/scratch/kocevski/594376/ltcube_614649601_614908801_4FGL_J0957.3-1348_daily_bin1448.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/594376/ft2_4FGL_J0957.3-1348_daily_bin1448.fits
.....................!
real 13.10
user 12.23
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594376/ft1_filtered_4FGL_J0957.3-1348_daily_bin1448.fits evtable="EVENTS" scfile=/scratch/kocevski/594376/ft2_4FGL_J0957.3-1348_daily_bin1448.fits sctable="SC_DATA" expcube=/scratch/kocevski/594376/ltcube_614649601_614908801_4FGL_J0957.3-1348_daily_bin1448.fits outfile=/scratch/kocevski/594376/expmap_614649601_614908801_4FGL_J0957.3-1348_daily_bin1448.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/594376/ltcube_614649601_614908801_4FGL_J0957.3-1348_daily_bin1448.fits
.....................!
real 190.95
user 185.85
sys 4.18

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/594376/ft1_filtered_4FGL_J0957.3-1348_daily_bin1448.fits scfile=/scratch/kocevski/594376/ft2_4FGL_J0957.3-1348_daily_bin1448.fits outfile=/scratch/kocevski/594376/cmap_614649601_614908801_4FGL_J0957.3-1348_daily_bin1448.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.59
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594376/ft1_filtered_4FGL_J0957.3-1348_daily_bin1448.fits scfile=/scratch/kocevski/594376/ft2_4FGL_J0957.3-1348_daily_bin1448.fits outfile=/scratch/kocevski/594376/cmap_HighResolution_614649601_614908801_4FGL_J0957.3-1348_daily_bin1448.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.54
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/594376/ft1_filtered_4FGL_J0957.3-1348_daily_bin1448.fits evtable="EVENTS" scfile=/scratch/kocevski/594376/ft2_4FGL_J0957.3-1348_daily_bin1448.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594376/Model_4FGL_J0957.3-1348_daily_bin1448.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/594376/ft1_filtered_4FGL_J0957.3-1348_daily_bin1448.fits....................!
real 82.50
user 79.68
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .90640E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.309       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10324E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    7.8441       1.0000         .10000E-03   10000.    
     7 'norm      '    .10227E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .33617       1.0000         .10000E-03   10000.    
     9 'norm      '    8.1430       1.0000         .10000E-03   10000.    
    10 'norm      '    4.3702       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.366       1.0000         .10000E-03   10000.    
    12 'Prefactor '    3.9487       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .96274       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95770       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=   8352.068     FROM MIGRAD    STATUS=CONVERGED    262 CALLS     1224 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10100E-03    14.112        .14129E-05** at limit **
   2  Prefactor     22.279        43.408       -.26460E-05   -.12068E-03
   3  Prefactor     .10000E-03    16.244       -.91903E-07** at limit **
   4  Prefactor     .10000E-03    7.9336        .23694E-08** at limit **
   5  Prefactor     .10000E-03    2.1440        .60355E-08** at limit **
   6  norm          7.8370        5.3046        .18590E-08   -.53496E-04
   7  norm          .10000E-03    1.1789       -.78886E-07** at limit **
   8  norm          .33376        1.3025        .13454E-05   -.60017E-04
   9  norm          8.1412        10.205        .45512E-06    .96148E-04
  10  norm          4.3704        1.4774        .28347E-07   -.75258E-04
  11  Prefactor     28.433        29.136        .10073E-06    .91549E-05
  12  Prefactor     3.9498        3.5903       -.16273E-07   -.32599E-06
  13  Normalizat    .96334        .17282        .30846E-06   -.18110E-03
  14  Prefactor     .95715        .11154       -.48487E-06   -.15878E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101004
  Prefactor  = 22.2795
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.83695
  norm       = 0.0001
  norm       = 0.333759
  norm       = 8.14116
  norm       = 4.37043
  Prefactor  = 28.4329
  Prefactor  = 3.94981
  Normalizat = 0.963339
  Prefactor  = 0.957153
 **********
 **   18 **HESSE 
 **********

 FCN=   8352.068     FROM HESSE     STATUS=OK           172 CALLS     1396 TOTAL
                     EDM=   .44E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10100E-03    12.903        .10502       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.279        45.261        .84803E-04   -1.4764    
   3  Prefactor     .10000E-03    16.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.9401        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    2.1454        .13068E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          7.8370        5.3052        .14317E-03   -1.5148    
   7  norm          .10000E-03    1.1997        .96940E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .33376        1.3239        .20419E-03   -1.5592    
   9  norm          8.1412        10.269        .14050E-03   -1.5137    
  10  norm          4.3704        1.4779        .60918E-04   -1.5290    
  11  Prefactor     28.433        29.227        .75222E-04   -1.4641    
  12  Prefactor     3.9498        3.5947        .16058E-03   -1.5310    
  13  Normalizat    .96334        .20485        .28047E-03   -.94269    
  14  Prefactor     .95715        .13204        .18758E-03   -.94172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.4063e-10
Minuit parameter uncertainties:
  1  0.00720062
  2  45.3308
  3  7.97695e-07
  4  6.93869e-07
  5  4.6649e-07
  6  5.30548
  7  2.11989e-06
  8  1.32397
  9  10.2714
  10  1.47791
  11  29.2414
  12  3.59489
  13  0.205016
  14  0.132088
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  8.141e+00  1.027e+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.572e-01  1.321e-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.633e-01  2.050e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.78
Ra Dec: 149.331 -13.814
Photon Flux Upper Limit: 9.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.23e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/594376/likelihoodResults_614649601_614908801_4FGL_J0957.3-1348_daily_bin1448.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) = 8350.31131499
delta logL = 1.75680536984

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8350.29881417
delta logL = 1.76930618946

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.2267       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7826       1.0000          .0000       5.0000    
     3 'Normalizat'    .86927       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99370       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=   8350.299     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      268 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.2297        49.389        .43956E-02    .48326E-03
   2  alpha         3.7827        4.3884        .36042        .62291E-04
   3  Normalizat    .86923        .62825E-01    .66376E-01    .31076E-04
   4  Prefactor     .99372        .41872E-01    .46188E-01    .15109E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.2297
  alpha      = 3.78267
  Normalizat = 0.869228
  Prefactor  = 0.993723
 **********
 **   18 **HESSE 
 **********

 FCN=   8350.299     FROM HESSE     STATUS=OK            33 CALLS      301 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.2297        8.6953        .10730E-03   -1.5251    
   2  alpha         3.7827        1.1502        .15556E-01    .53876    
   3  Normalizat    .86923        .20431        .29363E-03   -.97550    
   4  Prefactor     .99372        .13379        .18432E-03   -.92939    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79028e-11
Minuit parameter uncertainties:
  1  8.6974
  2  1.21391
  3  0.204496
  4  0.133835
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594376': 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) = 8350.29881354
delta logL = 1.76930682055

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  5.230e+00  8.697e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  3.783e+00  1.214e+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:  9.937e-01  1.338e-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.692e-01  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.56
Ra Dec: 149.331 -13.814
Photon Index (Free Index): 3.78 +/- 1.21
Photon Flux (Free Index): 9.54e-08 +/- 5.33e-08
Energy Flux (Free Index): 1.57e-05 +/- 9.45e-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/594376/cmap_HighResolution_614649601_614908801_4FGL_J0957.3-1348_daily_bin1448.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.23e-05', comment='SUCCESS', energy_flux2='1.57e-05', dlogl='1.77e+00', photon_flux2='9.54e-08', job_status='DONE', time_completed='2021-09-01 06:53:37.399783', photon_index_error2='1.21', photon_index2='3.78', ts='0.78', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.80e-08', energy_flux_error2='9.45e-06', EG='0.96', time_epoch_completed='1630504417.4', return_code='0', job_id='594376', GAL2='0.99', EG2='0.87', return_code2='0', photon_flux_error2='5.33e-08', ts2='4.56', photon_index='2.31' WHERE bin_id='1448' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:53:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 594376: <4FGL_J0957.3-1348_daily_bin1448> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin1448> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 06:40:29 2021
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:40:30 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:30 2021
Terminated at Wed Sep  1 06:53:38 2021
Results reported at Wed Sep  1 06:53:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1448 149.331 -13.8141 614649601 614908801 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 :                                   575.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   787 sec.
    Turnaround time :                            789 sec.

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

