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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1092
RA = 149.331, Dec = -13.8141
tmin = 522374401, tmax = 522633601
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='592653', job_status='RUN', time_executed='2021-09-01 06:37:16.408458', time_epoch_executed='1630503436.41' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1092'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592653

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592653/ft1_4FGL_J0957.3-1348_daily_bin1092.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592653/ft2_4FGL_J0957.3-1348_daily_bin1092.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592653/ft1_4FGL_J0957.3-1348_daily_bin1092.fits outfile=/scratch/kocevski/592653/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1092.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=522374401.0 tmax=522633601.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.64
user 3.43
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592653/ft1_filtered_4FGL_J0957.3-1348_daily_bin1092.fits" evtable="EVENTS" scfile=/scratch/kocevski/592653/ft2_4FGL_J0957.3-1348_daily_bin1092.fits sctable="SC_DATA" outfile=/scratch/kocevski/592653/ltcube_522374401_522633601_4FGL_J0957.3-1348_daily_bin1092.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/592653/ft2_4FGL_J0957.3-1348_daily_bin1092.fits
.....................!
real 12.04
user 11.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592653/ft1_filtered_4FGL_J0957.3-1348_daily_bin1092.fits evtable="EVENTS" scfile=/scratch/kocevski/592653/ft2_4FGL_J0957.3-1348_daily_bin1092.fits sctable="SC_DATA" expcube=/scratch/kocevski/592653/ltcube_522374401_522633601_4FGL_J0957.3-1348_daily_bin1092.fits outfile=/scratch/kocevski/592653/expmap_522374401_522633601_4FGL_J0957.3-1348_daily_bin1092.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/592653/ltcube_522374401_522633601_4FGL_J0957.3-1348_daily_bin1092.fits
.....................!
real 190.46
user 185.42
sys 4.53

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/592653/ft1_filtered_4FGL_J0957.3-1348_daily_bin1092.fits scfile=/scratch/kocevski/592653/ft2_4FGL_J0957.3-1348_daily_bin1092.fits outfile=/scratch/kocevski/592653/cmap_522374401_522633601_4FGL_J0957.3-1348_daily_bin1092.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.48
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592653/ft1_filtered_4FGL_J0957.3-1348_daily_bin1092.fits scfile=/scratch/kocevski/592653/ft2_4FGL_J0957.3-1348_daily_bin1092.fits outfile=/scratch/kocevski/592653/cmap_HighResolution_522374401_522633601_4FGL_J0957.3-1348_daily_bin1092.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.59
user 0.37
sys 0.19

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.3195       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1923       1.0000         .10000E-03   10000.    
     6 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    4.3889       1.0000         .10000E-03   10000.    
     8 'norm      '    .76540       1.0000         .10000E-03   10000.    
     9 'norm      '    11.627       1.0000         .10000E-03   10000.    
    10 'norm      '    12.360       1.0000         .10000E-03   10000.    
    11 'Prefactor '    28.983       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .60910       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.2143       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=   7604.970     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     1172 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.196       -.26189E-05** at limit **
   2  Prefactor     .10001E-03    13.404        .43702E-05** at limit **
   3  Prefactor     .10000E-03    18.158       -.19421E-05** at limit **
   4  Prefactor     9.3189        17.618       -.36385E-06   -.28253E-04
   5  Prefactor     5.1920        8.6740        .27574E-05   -.65043E-03
   6  norm          .10000E-03    2.5802       -.41450E-07** at limit **
   7  norm          4.3888        3.6528        .32930E-07   -.46179E-04
   8  norm          .76538        .77519       -.22636E-07    .10326E-03
   9  norm          11.627        9.3841        .23007E-07   -.15990E-04
  10  norm          12.360        2.0936        .72796E-08   -.39064E-05
  11  Prefactor     28.983        27.409        .21107E-06    .19802E-04
  12  Prefactor     .10000E-03    2.7042        .90790E-08** at limit **
  13  Normalizat    .60910        .18923       -.11042E-06   -.35667E-05
  14  Prefactor     1.2143        .12703       -.17839E-06    .30618E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 0.000100006
  Prefactor  = 0.000100001
  Prefactor  = 9.3189
  Prefactor  = 5.192
  norm       = 0.0001
  norm       = 4.38881
  norm       = 0.765384
  norm       = 11.6273
  norm       = 12.3599
  Prefactor  = 28.983
  Prefactor  = 0.0001
  Normalizat = 0.609104
  Prefactor  = 1.21431
 **********
 **   18 **HESSE 
 **********

 FCN=   7604.970     FROM HESSE     STATUS=OK           168 CALLS     1340 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.808        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10001E-03    15.055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    18.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.3189        17.610        .13128E-03   -1.5097    
   5  Prefactor     5.1920        9.6925        .88209E-03   -1.5252    
   6  norm          .10000E-03    2.5942        .13675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          4.3888        3.6509        .14692E-03   -1.5289    
   8  norm          .76538        .80007        .75319E-03   -1.5533    
   9  norm          11.627        9.3818        .11749E-03   -1.5026    
  10  norm          12.360        2.0929        .49316E-04   -1.5005    
  11  Prefactor     28.983        27.442        .74420E-04   -1.4631    
  12  Prefactor     .10000E-03    2.7274        .14003E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .60910        .21025        .36563E-03   -1.0760    
  14  Prefactor     1.2143        .14217        .18154E-03   -.85892    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6577e-09
Minuit parameter uncertainties:
  1  0.000350956
  2  0.000622416
  3  0.000303647
  4  17.62
  5  9.69547
  6  1.5881e-06
  7  3.65109
  8  0.800084
  9  9.38296
  10  2.09289
  11  27.4538
  12  5.03621e-07
  13  0.210526
  14  0.14222
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  1.163e+01  9.383e+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

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.214e+00  1.422e-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:  6.091e-01  2.105e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.51
Ra Dec: 149.331 -13.814
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 3.84e-08 +/- 3.10e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.02e-05

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

Saving results to:
/scratch/kocevski/592653/likelihoodResults_522374401_522633601_4FGL_J0957.3-1348_daily_bin1092.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) = 7604.97004193
delta logL = 0.00045045454408

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7604.97000945
delta logL = 0.000482938866298

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.661       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2811       1.0000          .0000       5.0000    
     3 'Normalizat'    .61027       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2139       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7604.970     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      266 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.668        9.6072        .58657E-03   -.43434E-04
   2  alpha         2.2818        .89441        .24177E-01   -.40039E-05
   3  Normalizat    .61026        .21008        .36530E-03   -.11997E-03
   4  Prefactor     1.2138        .14234        .18157E-03   -.17952E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6679
  alpha      = 2.28178
  Normalizat = 0.61026
  Prefactor  = 1.21385
 **********
 **   18 **HESSE 
 **********

 FCN=   7604.970     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.668        9.5166        .23463E-04   -1.5025    
   2  alpha         2.2818        .88569        .96710E-03   -.87399E-01
   3  Normalizat    .61026        .21006        .14612E-04   -1.0755    
   4  Prefactor     1.2138        .14234        .36315E-04   -.85906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89228e-11
Minuit parameter uncertainties:
  1  9.51786
  2  0.905514
  3  0.210332
  4  0.142385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592653': 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) = 7604.97000874
delta logL = 0.000483650384922

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  1.167e+01  9.518e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.282e+00  9.055e-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:  1.214e+00  1.424e-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:  6.103e-01  2.103e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.51
Ra Dec: 149.331 -13.814
Photon Index (Free Index): 2.28 +/- 0.91
Photon Flux (Free Index): 3.76e-08 +/- 4.06e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.05e-05

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/592653/cmap_HighResolution_522374401_522633601_4FGL_J0957.3-1348_daily_bin1092.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.51e-05', comment='SUCCESS', photon_flux='3.84e-08', energy_flux2='1.27e-05', photon_flux_error='3.10e-08', dlogl='4.84e-04', energy_flux='1.27e-05', photon_flux2='3.76e-08', job_status='DONE', time_completed='2021-09-01 06:48:11.139808', photon_index_error2='0.91', photon_index2='2.28', ts='2.51', fit_tolerance='1e-08', GAL='1.21', photon_index_error='0.00', photon_flux_upper_limit='1.06e-07', energy_flux_error2='1.05e-05', EG='0.61', time_epoch_completed='1630504091.14', return_code='0', job_id='592653', GAL2='1.21', EG2='0.61', return_code2='0', energy_flux_error='1.02e-05', photon_flux_error2='4.06e-08', ts2='2.51', photon_index='2.31' WHERE bin_id='1092' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:48:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 592653: <4FGL_J0957.3-1348_daily_bin1092> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1092 149.331 -13.8141 522374401 522633601 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 :                                   539.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             317.24 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            757 sec.

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

