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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1399
RA = 149.331, Dec = -13.8141
tmin = 601948801, tmax = 602208001
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='593250', job_status='RUN', time_executed='2021-09-01 06:37:25.454213', time_epoch_executed='1630503445.45' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1399'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593250

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593250/ft1_4FGL_J0957.3-1348_daily_bin1399.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593250/ft2_4FGL_J0957.3-1348_daily_bin1399.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593250/ft1_4FGL_J0957.3-1348_daily_bin1399.fits outfile=/scratch/kocevski/593250/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1399.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=601948801.0 tmax=602208001.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.80
user 3.55
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/593250/ft1_filtered_4FGL_J0957.3-1348_daily_bin1399.fits" evtable="EVENTS" scfile=/scratch/kocevski/593250/ft2_4FGL_J0957.3-1348_daily_bin1399.fits sctable="SC_DATA" outfile=/scratch/kocevski/593250/ltcube_601948801_602208001_4FGL_J0957.3-1348_daily_bin1399.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/593250/ft2_4FGL_J0957.3-1348_daily_bin1399.fits
.....................!
real 12.54
user 12.19
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593250/ft1_filtered_4FGL_J0957.3-1348_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/593250/ft2_4FGL_J0957.3-1348_daily_bin1399.fits sctable="SC_DATA" expcube=/scratch/kocevski/593250/ltcube_601948801_602208001_4FGL_J0957.3-1348_daily_bin1399.fits outfile=/scratch/kocevski/593250/expmap_601948801_602208001_4FGL_J0957.3-1348_daily_bin1399.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/593250/ltcube_601948801_602208001_4FGL_J0957.3-1348_daily_bin1399.fits
.....................!
real 191.08
user 185.91
sys 4.79

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/593250/ft1_filtered_4FGL_J0957.3-1348_daily_bin1399.fits scfile=/scratch/kocevski/593250/ft2_4FGL_J0957.3-1348_daily_bin1399.fits outfile=/scratch/kocevski/593250/cmap_601948801_602208001_4FGL_J0957.3-1348_daily_bin1399.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.62
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/593250/ft1_filtered_4FGL_J0957.3-1348_daily_bin1399.fits scfile=/scratch/kocevski/593250/ft2_4FGL_J0957.3-1348_daily_bin1399.fits outfile=/scratch/kocevski/593250/cmap_HighResolution_601948801_602208001_4FGL_J0957.3-1348_daily_bin1399.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.62
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/593250/ft1_filtered_4FGL_J0957.3-1348_daily_bin1399.fits evtable="EVENTS" scfile=/scratch/kocevski/593250/ft2_4FGL_J0957.3-1348_daily_bin1399.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/593250/Model_4FGL_J0957.3-1348_daily_bin1399.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/593250/ft1_filtered_4FGL_J0957.3-1348_daily_bin1399.fits.....................!
real 68.43
user 67.04
sys 1.11

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.667       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    60.743       1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.769       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.2862       1.0000         .10000E-03   10000.    
     6 'norm      '    2.0312       1.0000         .10000E-03   10000.    
     7 'norm      '    .62951E-01   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.1364       1.0000         .10000E-03   10000.    
    10 'norm      '    3.6633       1.0000         .10000E-03   10000.    
    11 'Prefactor '    26.294       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    13 'Normalizat'    1.1864       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .96839       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=   6413.387     FROM MIGRAD    STATUS=CONVERGED    272 CALLS     1225 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.676        36.440        .17358E-05   -.38032E-04
   2  Prefactor     .10000E-03    25.380       -.34965E-07** at limit **
   3  Prefactor     60.752        36.392        .11294E-05   -.45597E-04
   4  Prefactor     10.761        28.822       -.48991E-05   -.31312E-04
   5  Prefactor     5.2894        17.327        .62944E-05   -.16727E-04
   6  norm          2.0334        5.2226        .57704E-05   -.17084E-04
   7  norm          .73211E-01    2.0588        .44776E-06   -.34406E-03
   8  norm          .10000E-03    .78566        .38380E-07** at limit **
   9  norm          1.1357        4.5869        .66686E-06    .16606E-05
  10  norm          3.6642        1.7340        .65443E-07   -.14509E-03
  11  Prefactor     26.160        58.500        .82643E-05   -.20565E-04
  12  Prefactor     .10000E-03    3.5453        .17965E-06** at limit **
  13  Normalizat    1.1852        .22448        .96038E-06   -.55949E-04
  14  Prefactor     .96914        .13653       -.26510E-05   -.20747E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.6758
  Prefactor  = 0.0001
  Prefactor  = 60.7524
  Prefactor  = 10.7608
  Prefactor  = 5.2894
  norm       = 2.03345
  norm       = 0.0732111
  norm       = 0.0001
  norm       = 1.13569
  norm       = 3.66415
  Prefactor  = 26.1603
  Prefactor  = 0.0001
  Normalizat = 1.18515
  Prefactor  = 0.969142
 **********
 **   18 **HESSE 
 **********

 FCN=   6413.387     FROM HESSE     STATUS=OK           166 CALLS     1391 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.676        36.404        .59331E-04   -1.4355    
   2  Prefactor     .10000E-03    25.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     60.752        36.436        .51481E-04   -1.4148    
   4  Prefactor     10.761        28.890        .12209E-03   -1.5052    
   5  Prefactor     5.2894        17.336        .17481E-03   -1.5248    
   6  norm          2.0334        5.2820        .14069E-02   -1.5423    
   7  norm          .73211E-01    33.382        .22046E-02   -1.5654    
   8  norm          .10000E-03    .79514        .69296E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.1357        4.4965        .33334E-03   -1.5495    
  10  norm          3.6642        1.7344        .68929E-04   -1.5325    
  11  Prefactor     26.160        58.938        .78124E-04   -1.4685    
  12  Prefactor     .10000E-03    3.5582        .14727E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Normalizat    1.1852        .26890        .29471E-03   -.87063    
  14  Prefactor     .96914        .16344        .20433E-03   -.93765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71436e-09
Minuit parameter uncertainties:
  1  36.4216
  2  1.27537e-05
  3  36.4496
  4  28.928
  5  17.3529
  6  5.28318
  7  3.12623
  8  9.75625e-07
  9  4.49785
  10  1.73444
  11  59.07
  12  1.50708e-05
  13  0.26921
  14  0.163528
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  1.136e+00  4.498e+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.691e-01  1.635e-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.185e+00  2.692e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/593250/likelihoodResults_601948801_602208001_4FGL_J0957.3-1348_daily_bin1399.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) = 6413.38665289
delta logL = 1.94721460502e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6413.38663735
delta logL = 3.50165264535e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1226       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3258       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1851       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96917       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=   6413.387     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      267 TOTAL
                     EDM=   .33E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1319        4.7717        .33271E-03    .40041E-04
   2  alpha         2.3298        1.9920        .64470E-01    .12697E-05
   3  Normalizat    1.1851        .25294        .29471E-03   -.57864E-06
   4  Prefactor     .96916        .16145        .20433E-03   -.16691E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 1.13193
  alpha      = 2.32982
  Normalizat = 1.1851
  Prefactor  = 0.969161
 **********
 **   18 **HESSE 
 **********

 FCN=   6413.387     FROM HESSE     STATUS=OK            27 CALLS      294 TOTAL
                     EDM=   .19E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1319        4.5086        .66542E-04   -1.5495    
   2  alpha         2.3298        1.9525        .25788E-02   -.68126E-01
   3  Normalizat    1.1851        .25321        .11788E-04   -.87065    
   4  Prefactor     .96916        .16162        .81733E-05   -.93765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.93639e-14
Minuit parameter uncertainties:
  1  4.50992
  2  2.24272
  3  0.25347
  4  0.161696
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593250': 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) = 6413.38663311
delta logL = 3.92583579014e-05

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  1.132e+00  4.510e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.330e+00  2.243e+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.692e-01  1.617e-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.185e+00  2.535e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.08
Ra Dec: 149.331 -13.814

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/593250/cmap_HighResolution_601948801_602208001_4FGL_J0957.3-1348_daily_bin1399.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.94e-05', job_status='DONE', photon_flux_upper_limit='5.87e-08', time_completed='2021-09-01 06:46:10.159000', job_id='593250', GAL2='0.97', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1630503970.16', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='3.93e-05', ts2='0.08', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1399' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:46:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0160>
Subject: Job 593250: <4FGL_J0957.3-1348_daily_bin1399> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin1399> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 06:36:27 2021
Job was executed on host(s) <bullet0160>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:36:29 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:36:29 2021
Terminated at Wed Sep  1 06:46:10 2021
Results reported at Wed Sep  1 06:46:10 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1399 149.331 -13.8141 601948801 602208001 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 :                                   508.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            583 sec.

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

