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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1446
RA = 149.331, Dec = -13.8141
tmin = 614131201, tmax = 614390401
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='594373', job_status='RUN', time_executed='2021-09-01 06:43:26.008363', time_epoch_executed='1630503806.01' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1446'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/594373

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

Retrieving the FT1 file...

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

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

Retrieving 43 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/594373/ft1_4FGL_J0957.3-1348_daily_bin1446.fits


Retrieving the FT1 file...

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

Retrieving 43 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/594373/ft2_4FGL_J0957.3-1348_daily_bin1446.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/594373/ft1_4FGL_J0957.3-1348_daily_bin1446.fits outfile=/scratch/kocevski/594373/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1446.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=614131201.0 tmax=614390401.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.79
user 4.42
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/594373/ft1_filtered_4FGL_J0957.3-1348_daily_bin1446.fits" evtable="EVENTS" scfile=/scratch/kocevski/594373/ft2_4FGL_J0957.3-1348_daily_bin1446.fits sctable="SC_DATA" outfile=/scratch/kocevski/594373/ltcube_614131201_614390401_4FGL_J0957.3-1348_daily_bin1446.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/594373/ft2_4FGL_J0957.3-1348_daily_bin1446.fits
.....................!
real 11.33
user 10.91
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/594373/ft1_filtered_4FGL_J0957.3-1348_daily_bin1446.fits evtable="EVENTS" scfile=/scratch/kocevski/594373/ft2_4FGL_J0957.3-1348_daily_bin1446.fits sctable="SC_DATA" expcube=/scratch/kocevski/594373/ltcube_614131201_614390401_4FGL_J0957.3-1348_daily_bin1446.fits outfile=/scratch/kocevski/594373/expmap_614131201_614390401_4FGL_J0957.3-1348_daily_bin1446.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/594373/ltcube_614131201_614390401_4FGL_J0957.3-1348_daily_bin1446.fits
.....................!
real 191.64
user 184.93
sys 5.05

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/594373/ft1_filtered_4FGL_J0957.3-1348_daily_bin1446.fits scfile=/scratch/kocevski/594373/ft2_4FGL_J0957.3-1348_daily_bin1446.fits outfile=/scratch/kocevski/594373/cmap_614131201_614390401_4FGL_J0957.3-1348_daily_bin1446.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=149.331 yref=-13.8141 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/594373/ft1_filtered_4FGL_J0957.3-1348_daily_bin1446.fits scfile=/scratch/kocevski/594373/ft2_4FGL_J0957.3-1348_daily_bin1446.fits outfile=/scratch/kocevski/594373/cmap_HighResolution_614131201_614390401_4FGL_J0957.3-1348_daily_bin1446.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/594373/ft1_filtered_4FGL_J0957.3-1348_daily_bin1446.fits evtable="EVENTS" scfile=/scratch/kocevski/594373/ft2_4FGL_J0957.3-1348_daily_bin1446.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/594373/Model_4FGL_J0957.3-1348_daily_bin1446.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/594373/ft1_filtered_4FGL_J0957.3-1348_daily_bin1446.fits.....................!
real 84.75
user 82.53
sys 1.80

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .97299E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    51.871       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11216E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.8043       1.0000         .10000E-03   10000.    
     6 'norm      '    .10056E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .22434       1.0000         .10000E-03   10000.    
     9 'norm      '    8.0421       1.0000         .10000E-03   10000.    
    10 'norm      '    2.2158       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.021       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.5722       1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.1412       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .95854       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=   8472.081     FROM MIGRAD    STATUS=CONVERGED    276 CALLS     1240 TOTAL
                     EDM=   .36E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10004E-03    16.900       -.10096E-05** at limit **
   2  Prefactor     51.838        43.138       -.15042E-04    .88951E-05
   3  Prefactor     .10000E-03    17.172       -.35062E-06** at limit **
   4  Prefactor     .10000E-03    6.5504       -.41396E-06** at limit **
   5  Prefactor     8.7949        12.284        .37737E-06   -.24278E-04
   6  norm          .10000E-03    1.7133       -.54588E-07** at limit **
   7  norm          .10000E-03    .92796       -.14124E-06** at limit **
   8  norm          .20822        .93096       -.47654E-06    .12008E-03
   9  norm          8.0450        8.0701       -.13482E-05   -.31133E-04
  10  norm          2.2155        1.1740       -.76095E-07   -.42388E-03
  11  Prefactor     12.020        26.490       -.27968E-06   -.99590E-06
  12  Prefactor     9.5726        5.3513       -.15619E-05   -.12868E-04
  13  Normalizat    1.1411        .17128        .10247E-05    .15921E-03
  14  Prefactor     .95858        .11074        .49768E-06    .25814E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100042
  Prefactor  = 51.8382
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.79487
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.20822
  norm       = 8.04501
  norm       = 2.2155
  Prefactor  = 12.0202
  Prefactor  = 9.57261
  Normalizat = 1.14115
  Prefactor  = 0.95858
 **********
 **   18 **HESSE 
 **********

 FCN=   8472.081     FROM HESSE     STATUS=OK           174 CALLS     1414 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10004E-03    18.483        .11742       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     51.838        43.145        .55686E-04   -1.4267    
   3  Prefactor     .10000E-03    17.234        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.5519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     8.7949        12.286        .13509E-03   -1.5115    
   6  norm          .10000E-03    1.7187        .11765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    .93164        .86571E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .20822        4.3442        .16912E-02   -1.5617    
   9  norm          8.0450        8.0803        .14138E-03   -1.5141    
  10  norm          2.2155        1.1702        .69185E-04   -1.5410    
  11  Prefactor     12.020        26.525        .11554E-03   -1.5014    
  12  Prefactor     9.5726        5.3574        .12953E-03   -1.5089    
  13  Normalizat    1.1411        .20439        .27436E-03   -.88441    
  14  Prefactor     .95858        .13223        .19645E-03   -.94123    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.634e-10
Minuit parameter uncertainties:
  1  0.00176417
  2  43.1709
  3  8.14441e-06
  4  2.06187e-06
  5  12.2896
  6  7.32459e-07
  7  1.49139e-06
  8  1.90186
  9  8.08142
  10  1.17017
  11  26.551
  12  5.35764
  13  0.20453
  14  0.132279
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  8.045e+00  8.081e+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:  9.586e-01  1.323e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.141e+00  2.045e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.77
Ra Dec: 149.331 -13.814
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 2.66e-08 +/- 2.67e-08
Energy Flux (Fixed Index): 8.77e-06 +/- 8.81e-06

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

Saving results to:
/scratch/kocevski/594373/likelihoodResults_614131201_614390401_4FGL_J0957.3-1348_daily_bin1446.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) = 8472.01317318
delta logL = 0.0681625036668

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8472.00985049
delta logL = 0.0714851927351

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4828       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6390       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96206       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=   8472.010     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      215 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4805        247.34        .36653E-02    .29759E-03
   2  alpha         2.6394        2.6753        .41232        .38872E-04
   3  Normalizat    1.1316        .84174E-01    .62254E-01   -.16183E-03
   4  Prefactor     .96209        .50053E-01    .45791E-01   -.19884E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.48049
  alpha      = 2.63942
  Normalizat = 1.1316
  Prefactor  = 0.962086
 **********
 **   18 **HESSE 
 **********

 FCN=   8472.010     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4805        7.9568        .14661E-03   -1.5161    
   2  alpha         2.6394        .88017        .24283E-01    .55798E-01
   3  Normalizat    1.1316        .20063        .27536E-03   -.88744    
   4  Prefactor     .96209        .13242        .19612E-03   -.94004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11864e-09
Minuit parameter uncertainties:
  1  7.95791
  2  0.899509
  3  0.200768
  4  0.132467
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/594373': 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) = 8472.0098503
delta logL = 0.0714853841091

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  7.480e+00  7.958e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.639e+00  8.995e-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.621e-01  1.325e-01  0.000e+00  1.000e+01 ( 1.000e+00)
544        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
545        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
542   Normalization:  1.132e+00  2.008e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.91
Ra Dec: 149.331 -13.814
Photon Index (Free Index): 2.64 +/- 0.90
Photon Flux (Free Index): 3.42e-08 +/- 3.57e-08
Energy Flux (Free Index): 8.76e-06 +/- 8.32e-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/594373/cmap_HighResolution_614131201_614390401_4FGL_J0957.3-1348_daily_bin1446.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.97e-05', comment='SUCCESS', photon_flux='2.66e-08', energy_flux2='8.76e-06', photon_flux_error='2.67e-08', dlogl='7.15e-02', energy_flux='8.77e-06', photon_flux2='3.42e-08', job_status='DONE', time_completed='2021-09-01 06:53:25.379153', photon_index_error2='0.90', photon_index2='2.64', ts='1.77', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='9.02e-08', energy_flux_error2='8.32e-06', EG='1.14', time_epoch_completed='1630504405.38', return_code='0', job_id='594373', GAL2='0.96', EG2='1.13', return_code2='0', energy_flux_error='8.81e-06', photon_flux_error2='3.57e-08', ts2='1.91', photon_index='2.31' WHERE bin_id='1446' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:53:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 594373: <4FGL_J0957.3-1348_daily_bin1446> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin1446> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 06:40:28 2021
Job was executed on host(s) <bullet0035>, 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:26 2021
Results reported at Wed Sep  1 06:53:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1446 149.331 -13.8141 614131201 614390401 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 :                                   588.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   776 sec.
    Turnaround time :                            778 sec.

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

