/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin835
RA = 149.331, Dec = -13.8141
tmin = 455760001, tmax = 456019201
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='591097', job_status='RUN', time_executed='2021-09-01 06:33:58.741390', time_epoch_executed='1630503238.74' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='835'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/591097

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/591097/ft1_4FGL_J0957.3-1348_daily_bin835.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/591097/ft2_4FGL_J0957.3-1348_daily_bin835.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/591097/ft1_4FGL_J0957.3-1348_daily_bin835.fits outfile=/scratch/kocevski/591097/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin835.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=455760001.0 tmax=456019201.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.46
user 3.16
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/591097/ft1_filtered_4FGL_J0957.3-1348_daily_bin835.fits" evtable="EVENTS" scfile=/scratch/kocevski/591097/ft2_4FGL_J0957.3-1348_daily_bin835.fits sctable="SC_DATA" outfile=/scratch/kocevski/591097/ltcube_455760001_456019201_4FGL_J0957.3-1348_daily_bin835.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/591097/ft2_4FGL_J0957.3-1348_daily_bin835.fits
.....................!
real 14.61
user 13.82
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/591097/ft1_filtered_4FGL_J0957.3-1348_daily_bin835.fits evtable="EVENTS" scfile=/scratch/kocevski/591097/ft2_4FGL_J0957.3-1348_daily_bin835.fits sctable="SC_DATA" expcube=/scratch/kocevski/591097/ltcube_455760001_456019201_4FGL_J0957.3-1348_daily_bin835.fits outfile=/scratch/kocevski/591097/expmap_455760001_456019201_4FGL_J0957.3-1348_daily_bin835.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/591097/ltcube_455760001_456019201_4FGL_J0957.3-1348_daily_bin835.fits
.....................!
real 191.38
user 185.24
sys 4.60

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/591097/ft1_filtered_4FGL_J0957.3-1348_daily_bin835.fits scfile=/scratch/kocevski/591097/ft2_4FGL_J0957.3-1348_daily_bin835.fits outfile=/scratch/kocevski/591097/cmap_455760001_456019201_4FGL_J0957.3-1348_daily_bin835.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.38
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/591097/ft1_filtered_4FGL_J0957.3-1348_daily_bin835.fits evtable="EVENTS" scfile=/scratch/kocevski/591097/ft2_4FGL_J0957.3-1348_daily_bin835.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/591097/Model_4FGL_J0957.3-1348_daily_bin835.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/591097/ft1_filtered_4FGL_J0957.3-1348_daily_bin835.fits.....................!
real 61.96
user 60.26
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    50.122       1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.075       1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.572       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.7046       1.0000         .10000E-03   10000.    
     6 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.4856       1.0000         .10000E-03   10000.    
     8 'norm      '    .10384E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.2504       1.0000         .10000E-03   10000.    
    10 'norm      '    .47617       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10248E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2575       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .80920       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.2576       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=   5992.747     FROM MIGRAD    STATUS=CONVERGED    255 CALLS     1216 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.649        .34373E-07** at limit **
   2  Prefactor     50.128        63.799        .37174E-05    .99612E-04
   3  Prefactor     35.069        35.478       -.29758E-05   -.19848E-03
   4  Prefactor     19.579        28.608        .50155E-05    .27817E-03
   5  Prefactor     2.7045        7.9451        .36335E-07   -.89095E-04
   6  norm          .10000E-03    8.7454       -.78891E-07** at limit **
   7  norm          1.4856        3.0962        .21156E-06   -.17411E-03
   8  norm          .10000E-03    1.5152       -.11366E-07** at limit **
   9  norm          4.2508        12.458        .40314E-05   -.58626E-03
  10  norm          .47565        1.1056        .19023E-06   -.34136E-03
  11  Prefactor     .10000E-03    39.478        .36933E-06** at limit **
  12  Prefactor     4.2569        6.2915       -.57880E-06   -.26336E-03
  13  Normalizat    .80905        .22952       -.61755E-06   -.26854E-04
  14  Prefactor     1.2577        .15011       -.32278E-06   -.46265E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 50.128
  Prefactor  = 35.0695
  Prefactor  = 19.5793
  Prefactor  = 2.7045
  norm       = 0.0001
  norm       = 1.4856
  norm       = 0.0001
  norm       = 4.25077
  norm       = 0.475647
  Prefactor  = 0.0001
  Prefactor  = 4.25691
  Normalizat = 0.809048
  Prefactor  = 1.25767
 **********
 **   18 **HESSE 
 **********

 FCN=   5992.747     FROM HESSE     STATUS=OK           166 CALLS     1382 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     50.128        64.153        .56645E-04   -1.4291    
   3  Prefactor     35.069        36.134        .67666E-04   -1.4523    
   4  Prefactor     19.579        29.696        .90534E-04   -1.4823    
   5  Prefactor     2.7045        7.9376        .24769E-03   -1.5379    
   6  norm          .10000E-03    8.8657        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.4856        3.0577        .19041E-03   -1.5464    
   8  norm          .10000E-03    3.1542        .18409E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.2508        15.990        .97720E-03   -1.5296    
  10  norm          .47565        1.0338        .11928E-02   -1.5570    
  11  Prefactor     .10000E-03    39.617        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2569        6.3321        .19527E-03   -1.5295    
  13  Normalizat    .80905        .26480        .34471E-03   -.99734    
  14  Prefactor     1.2577        .17380        .18651E-03   -.84575    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.40308e-09
Minuit parameter uncertainties:
  1  3.71502e-06
  2  64.2412
  3  36.157
  4  29.7188
  5  7.94071
  6  6.89145e-05
  7  3.05801
  8  3.45432e-06
  9  16.0058
  10  1.03386
  11  5.91724e-05
  12  6.33308
  13  0.265219
  14  0.173881
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  4.251e+00  1.601e+01  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  2.310e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
239         beta:  1.553e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
240           Eb:  5.621e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.258e+00  1.739e-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.090e-01  2.652e-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: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.29e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/591097/likelihoodResults_455760001_456019201_4FGL_J0957.3-1348_daily_bin835.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) = 5992.26589847
delta logL = 0.481542880046

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5992.21358074
delta logL = 0.533860607278

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2087       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7695       1.0000          .0000       5.0000    
     3 'Normalizat'    .73584       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2840       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=   5992.214     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      235 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2035        108.22        .49108E-02    .47990E-03
   2  alpha         3.7693        3.7499        .50000        .48046E-04
   3  Normalizat    .73577        .69349E-01    .81309E-01    .33636E-04
   4  Prefactor     1.2841        .46379E-01    .32894E-01    .52569E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 4.20348
  alpha      = 3.76934
  Normalizat = 0.735774
  Prefactor  = 1.28413
 **********
 **   18 **HESSE 
 **********

 FCN=   5992.214     FROM HESSE     STATUS=OK            33 CALLS      268 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2035        13.678        .14972E-03   -1.5298    
   2  alpha         3.7693        3.7454        .22695E-01    .53256    
   3  Normalizat    .73577        .26943        .36003E-03   -1.0250    
   4  Prefactor     1.2841        .17474        .18478E-03   -.83780    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.27844e-11
Minuit parameter uncertainties:
  1  13.6878
  2  2.24646
  3  0.269915
  4  0.17482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/591097': 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) = 5992.21357948
delta logL = 0.53386186952

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  4.203e+00  1.369e+01  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  3.769e+00  2.246e+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:  1.284e+00  1.748e-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:  7.358e-01  2.699e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 149.331 -13.814
Photon Index (Free Index): 3.77 +/- 2.25
Photon Flux (Free Index): 7.53e-08 +/- 7.80e-08
Energy Flux (Free Index): 1.24e-05 +/- 1.49e-05

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/591097/cmap_HighResolution_455760001_456019201_4FGL_J0957.3-1348_daily_bin835.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.29e-05', comment='SUCCESS', energy_flux2='1.24e-05', dlogl='5.34e-01', photon_flux2='7.53e-08', job_status='DONE', time_completed='2021-09-01 06:42:20.214535', photon_index_error2='2.25', photon_index2='3.77', ts='0.08', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.30e-07', energy_flux_error2='1.49e-05', EG='0.81', time_epoch_completed='1630503740.21', return_code='0', job_id='591097', GAL2='1.28', EG2='0.74', return_code2='0', photon_flux_error2='7.80e-08', ts2='1.22', photon_index='2.31' WHERE bin_id='835' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:42:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 591097: <4FGL_J0957.3-1348_daily_bin835> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin835 149.331 -13.8141 455760001 456019201 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 :                                   489.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             321.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   670 sec.
    Turnaround time :                            672 sec.

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

