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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1129
RA = 149.331, Dec = -13.8141
tmin = 531964801, tmax = 532224001
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='592731', job_status='RUN', time_executed='2021-09-01 06:38:33.614746', time_epoch_executed='1630503513.61' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592731

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592731/ft1_4FGL_J0957.3-1348_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592731/ft2_4FGL_J0957.3-1348_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592731/ft1_4FGL_J0957.3-1348_daily_bin1129.fits outfile=/scratch/kocevski/592731/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1129.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=531964801.0 tmax=532224001.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.50
user 3.31
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/592731/ft2_4FGL_J0957.3-1348_daily_bin1129.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/592731/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/592731/ft1_filtered_4FGL_J0957.3-1348_daily_bin1129.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/592731/ft1_filtered_4FGL_J0957.3-1348_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/592731/ft2_4FGL_J0957.3-1348_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/592731/ltcube_531964801_532224001_4FGL_J0957.3-1348_daily_bin1129.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/592731/ft2_4FGL_J0957.3-1348_daily_bin1129.fits
.....................!
real 11.68
user 11.31
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592731/ft1_filtered_4FGL_J0957.3-1348_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/592731/ft2_4FGL_J0957.3-1348_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/592731/ltcube_531964801_532224001_4FGL_J0957.3-1348_daily_bin1129.fits outfile=/scratch/kocevski/592731/expmap_531964801_532224001_4FGL_J0957.3-1348_daily_bin1129.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/592731/ltcube_531964801_532224001_4FGL_J0957.3-1348_daily_bin1129.fits
.....................!
real 189.64
user 184.76
sys 4.33

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/592731/ft1_filtered_4FGL_J0957.3-1348_daily_bin1129.fits scfile=/scratch/kocevski/592731/ft2_4FGL_J0957.3-1348_daily_bin1129.fits outfile=/scratch/kocevski/592731/cmap_531964801_532224001_4FGL_J0957.3-1348_daily_bin1129.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.58
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/592731/ft1_filtered_4FGL_J0957.3-1348_daily_bin1129.fits scfile=/scratch/kocevski/592731/ft2_4FGL_J0957.3-1348_daily_bin1129.fits outfile=/scratch/kocevski/592731/cmap_HighResolution_531964801_532224001_4FGL_J0957.3-1348_daily_bin1129.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.57
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592731/ft1_filtered_4FGL_J0957.3-1348_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/592731/ft2_4FGL_J0957.3-1348_daily_bin1129.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592731/Model_4FGL_J0957.3-1348_daily_bin1129.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/592731/ft1_filtered_4FGL_J0957.3-1348_daily_bin1129.fits.....................!
real 89.00
user 87.10
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11897E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .14642E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10545E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    33.151       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .33541E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .88979       1.0000         .10000E-03   10000.    
     9 'norm      '    7.3173       1.0000         .10000E-03   10000.    
    10 'norm      '    17.967       1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.006       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    .80606       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.0113       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=   9393.236     FROM MIGRAD    STATUS=CONVERGED    264 CALLS     1221 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.771       -.30666E-06** at limit **
   2  Prefactor     .10000E-03    56.415        .28560E-06** at limit **
   3  Prefactor     .10000E-03    25.319        .32126E-06** at limit **
   4  Prefactor     33.110        25.784        .38228E-06   -.21614E-04
   5  Prefactor     .10003E-03    6.7981        .24144E-05** at limit **
   6  norm          .10000E-03    8.1336       -.46475E-05** at limit **
   7  norm          .10000E-03    .99712        .23192E-07** at limit **
   8  norm          .88969        .97659        .20538E-07    .87142E-04
   9  norm          7.3161        5.5341        .40860E-07    .94950E-04
  10  norm          17.967        2.0639       -.12201E-07   -.76799E-04
  11  Prefactor     18.002        24.991       -.22122E-06   -.15850E-04
  12  Prefactor     .10000E-03    1.5593        .46886E-07** at limit **
  13  Normalizat    .80585        .15675        .47842E-06    .88084E-04
  14  Prefactor     1.0114        .10460        .49521E-07    .14261E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.1101
  Prefactor  = 0.000100029
  norm       = 0.000100003
  norm       = 0.0001
  norm       = 0.889688
  norm       = 7.31608
  norm       = 17.9673
  Prefactor  = 18.002
  Prefactor  = 0.0001
  Normalizat = 0.805851
  Prefactor  = 1.01138
 **********
 **   18 **HESSE 
 **********

 FCN=   9393.236     FROM HESSE     STATUS=OK           162 CALLS     1383 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.945        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    56.662        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    25.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     33.110        25.894        .69596E-04   -1.4557    
   5  Prefactor     .10003E-03    13.212        .38399E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.0025        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.0091        .94485E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .88969        .95511        .97560E-04   -1.5519    
   9  norm          7.3161        5.5347        .14827E-03   -1.5167    
  10  norm          17.967        2.0643        .45315E-04   -1.4860    
  11  Prefactor     18.002        25.057        .94387E-04   -1.4859    
  12  Prefactor     .10000E-03    1.5662        .11818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    .80585        .18464        .31016E-03   -.99852    
  14  Prefactor     1.0114        .12363        .18878E-03   -.92351    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.58114e-09
Minuit parameter uncertainties:
  1  0.000162944
  2  7.5507e-05
  3  0.000144963
  4  25.903
  5  0.00124555
  6  0.000343665
  7  2.24559e-07
  8  0.955126
  9  5.53509
  10  2.06431
  11  25.0714
  12  1.46795e-06
  13  0.184784
  14  0.123664
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  7.316e+00  5.535e+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.011e+00  1.237e-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.059e-01  1.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.97
Ra Dec: 149.331 -13.814
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 2.42e-08 +/- 1.83e-08
Energy Flux (Fixed Index): 7.98e-06 +/- 6.03e-06

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) = 9392.52153439
delta logL = 0.71490558368

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9392.46454586
delta logL = 0.771894111665

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.0691       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.3756       1.0000          .0000       5.0000    
     3 'Normalizat'    .81788       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0093       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=   9392.465     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      209 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.0691        4.3534        .44647E-02    .33891E-03
   2  alpha         1.3755        .49139        .48287       -.47840E-04
   3  Normalizat    .81789        .15367        .69625E-01    .34155E-03
   4  Prefactor     1.0093        .10429        .43429E-01    .39361E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 5.06906
  alpha      = 1.37554
  Normalizat = 0.817891
  Prefactor  = 1.00931
 **********
 **   18 **HESSE 
 **********

 FCN=   9392.465     FROM HESSE     STATUS=OK            31 CALLS      240 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.0691        6.0794        .17859E-03   -1.5258    
   2  alpha         1.3755        .75888        .20772E-01   -.46652    
   3  Normalizat    .81789        .18145        .30808E-03   -.99408    
   4  Prefactor     1.0093        .12342        .18899E-03   -.92420    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.72779e-10
Minuit parameter uncertainties:
  1  6.08015
  2  0.774303
  3  0.181587
  4  0.123457
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592731': 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) = 9392.46454585
delta logL = 0.771894124162

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  5.069e+00  6.080e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  1.376e+00  7.743e-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.009e+00  1.235e-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.179e-01  1.816e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.51
Ra Dec: 149.331 -13.814
Photon Index (Free Index): 1.38 +/- 0.77
Photon Flux (Free Index): 9.86e-09 +/- 1.23e-08
Energy Flux (Free Index): 1.27e-05 +/- 1.37e-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/592731/cmap_HighResolution_531964801_532224001_4FGL_J0957.3-1348_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.42e-08', energy_flux2='1.27e-05', photon_flux_error='1.83e-08', dlogl='7.72e-01', energy_flux='7.98e-06', photon_flux2='9.86e-09', job_status='DONE', time_completed='2021-09-01 06:49:47.159805', photon_index_error2='0.77', photon_index2='1.38', ts='4.97', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='1.37e-05', EG='0.81', time_epoch_completed='1630504187.16', return_code='0', job_id='592731', GAL2='1.01', EG2='0.82', return_code2='0', energy_flux_error='6.03e-06', photon_flux_error2='1.23e-08', ts2='6.51', photon_index='2.31' WHERE bin_id='1129' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:49:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 592731: <4FGL_J0957.3-1348_daily_bin1129> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1129 149.331 -13.8141 531964801 532224001 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 :                                   552.16 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             223.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            850 sec.

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

