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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1392
RA = 149.331, Dec = -13.8141
tmin = 600134401, tmax = 600393601
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='593238', job_status='RUN', time_executed='2021-09-01 06:37:18.844819', time_epoch_executed='1630503438.84' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1392'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/593238

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/593238/ft1_4FGL_J0957.3-1348_daily_bin1392.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/593238/ft2_4FGL_J0957.3-1348_daily_bin1392.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/593238/ft1_4FGL_J0957.3-1348_daily_bin1392.fits outfile=/scratch/kocevski/593238/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1392.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=600134401.0 tmax=600393601.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 5.01
user 4.63
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/593238/ft1_filtered_4FGL_J0957.3-1348_daily_bin1392.fits" evtable="EVENTS" scfile=/scratch/kocevski/593238/ft2_4FGL_J0957.3-1348_daily_bin1392.fits sctable="SC_DATA" outfile=/scratch/kocevski/593238/ltcube_600134401_600393601_4FGL_J0957.3-1348_daily_bin1392.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/593238/ft2_4FGL_J0957.3-1348_daily_bin1392.fits
.....................!
real 12.33
user 11.97
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/593238/ft1_filtered_4FGL_J0957.3-1348_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/593238/ft2_4FGL_J0957.3-1348_daily_bin1392.fits sctable="SC_DATA" expcube=/scratch/kocevski/593238/ltcube_600134401_600393601_4FGL_J0957.3-1348_daily_bin1392.fits outfile=/scratch/kocevski/593238/expmap_600134401_600393601_4FGL_J0957.3-1348_daily_bin1392.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/593238/ltcube_600134401_600393601_4FGL_J0957.3-1348_daily_bin1392.fits
.....................!
real 189.87
user 185.16
sys 4.34

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/593238/ft1_filtered_4FGL_J0957.3-1348_daily_bin1392.fits scfile=/scratch/kocevski/593238/ft2_4FGL_J0957.3-1348_daily_bin1392.fits outfile=/scratch/kocevski/593238/cmap_600134401_600393601_4FGL_J0957.3-1348_daily_bin1392.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.72
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/593238/ft1_filtered_4FGL_J0957.3-1348_daily_bin1392.fits scfile=/scratch/kocevski/593238/ft2_4FGL_J0957.3-1348_daily_bin1392.fits outfile=/scratch/kocevski/593238/cmap_HighResolution_600134401_600393601_4FGL_J0957.3-1348_daily_bin1392.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.59
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/593238/ft1_filtered_4FGL_J0957.3-1348_daily_bin1392.fits evtable="EVENTS" scfile=/scratch/kocevski/593238/ft2_4FGL_J0957.3-1348_daily_bin1392.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/593238/Model_4FGL_J0957.3-1348_daily_bin1392.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/593238/ft1_filtered_4FGL_J0957.3-1348_daily_bin1392.fits.....................!
real 75.53
user 71.62
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    51.508       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.6840       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.3126       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9439       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.262       1.0000         .10000E-03   10000.    
     6 'norm      '    3.5583       1.0000         .10000E-03   10000.    
     7 'norm      '    2.8973       1.0000         .10000E-03   10000.    
     8 'norm      '    4.4044       1.0000         .10000E-03   10000.    
     9 'norm      '    9.9960       1.0000         .10000E-03   10000.    
    10 'norm      '    9.2172       1.0000         .10000E-03   10000.    
    11 'Prefactor '    49.902       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0063       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .78340       1.0000         .10000E-01   10.000    
    14 'Prefactor '    .91881       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=   7479.808     FROM MIGRAD    STATUS=CONVERGED    238 CALLS     1183 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.503        33.758       -.53570E-05    .15172E-05
   2  Prefactor     3.6676        204.40       -.76748E-04    .51060E-06
   3  Prefactor     9.3011        19.616       -.90210E-05    .80431E-05
   4  Prefactor     1.9393        42.605       -.33573E-05   -.85836E-04
   5  Prefactor     12.260        11.465        .37058E-05   -.11046E-05
   6  norm          3.5576        5.3493       -.16096E-05   -.43964E-03
   7  norm          2.8970        2.8636        .37673E-06    .17322E-03
   8  norm          4.4042        2.1666       -.12935E-07   -.35983E-04
   9  norm          9.9947        8.5773        .37886E-05   -.94491E-05
  10  norm          9.2169        1.8006       -.19601E-06   -.12576E-04
  11  Prefactor     49.895        34.210       -.77889E-05    .12679E-04
  12  Prefactor     8.0064        5.1484        .21750E-06   -.77223E-04
  13  Normalizat    .78362        .18330        .51316E-05   -.83517E-04
  14  Prefactor     .91867        .11403       -.10638E-05    .35951E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.5026
  Prefactor  = 3.66762
  Prefactor  = 9.30109
  Prefactor  = 1.93925
  Prefactor  = 12.2605
  norm       = 3.55761
  norm       = 2.89701
  norm       = 4.40419
  norm       = 9.99474
  norm       = 9.21692
  Prefactor  = 49.8949
  Prefactor  = 8.00637
  Normalizat = 0.783623
  Prefactor  = 0.91867
 **********
 **   18 **HESSE 
 **********

 FCN=   7479.808     FROM HESSE     STATUS=OK           174 CALLS     1357 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.503        33.768        .55881E-04   -1.4271    
   2  Prefactor     3.6676        206.19        .21043E-03   -1.5325    
   3  Prefactor     9.3011        19.596        .13133E-03   -1.5098    
   4  Prefactor     1.9393        42.388        .29773E-03   -1.5429    
   5  Prefactor     12.260        11.470        .11439E-03   -1.5008    
   6  norm          3.5576        5.3246        .21426E-03   -1.5331    
   7  norm          2.8970        2.8652        .14068E-03   -1.5368    
   8  norm          4.4042        2.1650        .86068E-04   -1.5288    
   9  norm          9.9947        8.5839        .12674E-03   -1.5076    
  10  norm          9.2169        1.8026        .48602E-04   -1.5101    
  11  Prefactor     49.895        34.250        .56769E-04   -1.4294    
  12  Prefactor     8.0064        5.1487        .14170E-03   -1.5142    
  13  Normalizat    .78362        .21509        .30888E-03   -1.0068    
  14  Prefactor     .91867        .13488        .18863E-03   -.95492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.53604e-10
Minuit parameter uncertainties:
  1  33.7802
  2  55.1997
  3  19.6093
  4  18.147
  5  11.4725
  6  5.32529
  7  2.8653
  8  2.16508
  9  8.58499
  10  1.80264
  11  34.2636
  12  5.149
  13  0.215324
  14  0.134928
Done.

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

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  9.995e+00  8.585e+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.187e-01  1.349e-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.836e-01  2.153e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.48
Ra Dec: 149.331 -13.814
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 3.30e-08 +/- 2.84e-08
Energy Flux (Fixed Index): 1.09e-05 +/- 9.36e-06

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

Saving results to:
/scratch/kocevski/593238/likelihoodResults_600134401_600393601_4FGL_J0957.3-1348_daily_bin1392.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) = 7479.71671009
delta logL = 0.0916303622371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7479.68512984
delta logL = 0.123210613423

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.4517       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6674       1.0000          .0000       5.0000    
     3 'Normalizat'    .80573       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91174       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=   7479.685     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      209 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.4517        7.1899        .36730E-02    .19574E-02
   2  alpha         1.6676        .69357        .44490       -.49374E-04
   3  Normalizat    .80633        .17182        .68888E-01   -.25125E-03
   4  Prefactor     .91135        .11302        .45155E-01   -.18552E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.45169
  alpha      = 1.66756
  Normalizat = 0.80633
  Prefactor  = 0.91135
 **********
 **   18 **HESSE 
 **********

 FCN=   7479.685     FROM HESSE     STATUS=OK            29 CALLS      238 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.4517        9.4804        .14692E-03   -1.5162    
   2  alpha         1.6676        1.0413        .24754E-01   -.33946    
   3  Normalizat    .80633        .20260        .30481E-03   -.99834    
   4  Prefactor     .91135        .13347        .18929E-03   -.95746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.78043e-09
Minuit parameter uncertainties:
  1  9.48231
  2  1.07857
  3  0.202785
  4  0.133516
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/593238': 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) = 7479.68512507
delta logL = 0.123215382262

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  7.452e+00  9.482e+00  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  1.668e+00  1.079e+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.113e-01  1.335e-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.063e-01  2.028e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.72
Ra Dec: 149.331 -13.814
Photon Index (Free Index): 1.67 +/- 1.08
Photon Flux (Free Index): 1.57e-08 +/- 2.55e-08
Energy Flux (Free Index): 1.18e-05 +/- 1.27e-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/593238/cmap_HighResolution_600134401_600393601_4FGL_J0957.3-1348_daily_bin1392.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-05', comment='SUCCESS', photon_flux='3.30e-08', energy_flux2='1.18e-05', photon_flux_error='2.84e-08', dlogl='1.23e-01', energy_flux='1.09e-05', photon_flux2='1.57e-08', job_status='DONE', time_completed='2021-09-01 06:46:36.292919', photon_index_error2='1.08', photon_index2='1.67', ts='3.48', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='9.98e-08', energy_flux_error2='1.27e-05', EG='0.78', time_epoch_completed='1630503996.29', return_code='0', job_id='593238', GAL2='0.91', EG2='0.81', return_code2='0', energy_flux_error='9.36e-06', photon_flux_error2='2.55e-08', ts2='3.72', photon_index='2.31' WHERE bin_id='1392' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:46:36 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0241>
Subject: Job 593238: <4FGL_J0957.3-1348_daily_bin1392> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin1392> 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) <bullet0241>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:36:28 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:28 2021
Terminated at Wed Sep  1 06:46:38 2021
Results reported at Wed Sep  1 06:46:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1392 149.331 -13.8141 600134401 600393601 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 :                                   537.33 sec.
    Max Memory :                                 1148 MB
    Average Memory :                             300.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            611 sec.

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

