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


Performing analysis on: 4FGL_J0957.3-1348_daily_bin1060
RA = 149.331, Dec = -13.8141
tmin = 514080001, tmax = 514339201
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='592583', job_status='RUN', time_executed='2021-09-01 06:36:46.747582', time_epoch_executed='1630503406.75' WHERE source_name='4FGL J0957.3-1348' and cadence='daily' and bin_id='1060'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/592583

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/592583/ft1_4FGL_J0957.3-1348_daily_bin1060.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/592583/ft2_4FGL_J0957.3-1348_daily_bin1060.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/592583/ft1_4FGL_J0957.3-1348_daily_bin1060.fits outfile=/scratch/kocevski/592583/ft1_filteredMKT_4FGL_J0957.3-1348_daily_bin1060.fits ra=149.331 dec=-13.8141 rad=12.0 tmin=514080001.0 tmax=514339201.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.69
user 3.37
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/592583/ft1_filtered_4FGL_J0957.3-1348_daily_bin1060.fits" evtable="EVENTS" scfile=/scratch/kocevski/592583/ft2_4FGL_J0957.3-1348_daily_bin1060.fits sctable="SC_DATA" outfile=/scratch/kocevski/592583/ltcube_514080001_514339201_4FGL_J0957.3-1348_daily_bin1060.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/592583/ft2_4FGL_J0957.3-1348_daily_bin1060.fits
.....................!
real 11.98
user 11.59
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/592583/ft1_filtered_4FGL_J0957.3-1348_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/592583/ft2_4FGL_J0957.3-1348_daily_bin1060.fits sctable="SC_DATA" expcube=/scratch/kocevski/592583/ltcube_514080001_514339201_4FGL_J0957.3-1348_daily_bin1060.fits outfile=/scratch/kocevski/592583/expmap_514080001_514339201_4FGL_J0957.3-1348_daily_bin1060.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/592583/ltcube_514080001_514339201_4FGL_J0957.3-1348_daily_bin1060.fits
.....................!
real 191.88
user 186.36
sys 5.12

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/592583/ft1_filtered_4FGL_J0957.3-1348_daily_bin1060.fits scfile=/scratch/kocevski/592583/ft2_4FGL_J0957.3-1348_daily_bin1060.fits outfile=/scratch/kocevski/592583/cmap_514080001_514339201_4FGL_J0957.3-1348_daily_bin1060.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.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/592583/ft1_filtered_4FGL_J0957.3-1348_daily_bin1060.fits evtable="EVENTS" scfile=/scratch/kocevski/592583/ft2_4FGL_J0957.3-1348_daily_bin1060.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/592583/Model_4FGL_J0957.3-1348_daily_bin1060.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/592583/ft1_filtered_4FGL_J0957.3-1348_daily_bin1060.fits.....................!
real 76.39
user 73.35
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    45.697       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    49.761       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.5346       1.0000         .10000E-03   10000.    
     7 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.4252       1.0000         .10000E-03   10000.    
     9 'norm      '    4.8013       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    48.298       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.6178       1.0000         .10000E-03   10000.    
    13 'Normalizat'    .49076       1.0000         .10000E-01   10.000    
    14 'Prefactor '    1.1335       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=   7934.312     FROM MIGRAD    STATUS=CONVERGED    273 CALLS     1268 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     45.845        30.010       -.60771E-05    .43233E-04
   2  Prefactor     .10000E-03    20.361       -.36815E-06** at limit **
   3  Prefactor     49.485        30.160        .30789E-04    .54076E-04
   4  Prefactor     .10000E-03    9.7273        .14805E-06** at limit **
   5  Prefactor     .10000E-03    5.0158        .31646E-06** at limit **
   6  norm          3.5460        6.2841        .26795E-05   -.42025E-03
   7  norm          .10000E-03    1.9049       -.72762E-06** at limit **
   8  norm          2.4253        1.4058       -.11200E-07    .22501E-03
   9  norm          4.7998        6.0308       -.29080E-05   -.14992E-03
  10  norm          .10000E-03    .39090        .62688E-06** at limit **
  11  Prefactor     48.571        34.613        .57448E-04    .24834E-04
  12  Prefactor     1.6179        3.0788        .47212E-06   -.42424E-03
  13  Normalizat    .49069        .16779       -.25687E-04    .46962E-04
  14  Prefactor     1.1335        .10939        .43635E-05   -.10176E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 45.8455
  Prefactor  = 0.0001
  Prefactor  = 49.485
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.54599
  norm       = 0.000100002
  norm       = 2.4253
  norm       = 4.7998
  norm       = 0.000100001
  Prefactor  = 48.5712
  Prefactor  = 1.61793
  Normalizat = 0.49069
  Prefactor  = 1.13352
 **********
 **   18 **HESSE 
 **********

 FCN=   7934.312     FROM HESSE     STATUS=OK           166 CALLS     1434 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     45.845        29.972        .59311E-04   -1.4353    
   2  Prefactor     .10000E-03    20.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     49.485        30.136        .56849E-04   -1.4300    
   4  Prefactor     .10000E-03    9.7320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.0466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.5460        6.2501        .21501E-03   -1.5331    
   7  norm          .10000E-03    4.0082        .23701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.4253        1.4055        .77982E-04   -1.5396    
   9  norm          4.7998        6.0205        .18361E-03   -1.5270    
  10  norm          .10000E-03    .67458        .10775E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     48.571        34.561        .57699E-04   -1.4313    
  12  Prefactor     1.6179        3.0431        .20929E-03   -1.5454    
  13  Normalizat    .49069        .18467        .34643E-03   -1.1285    
  14  Prefactor     1.1335        .12265        .16234E-03   -.88402    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.36612e-09
Minuit parameter uncertainties:
  1  29.9816
  2  4.54086e-05
  3  30.1451
  4  1.46136e-05
  5  7.33156e-05
  6  6.25126
  7  0.000169524
  8  1.40552
  9  6.02122
  10  5.5792e-05
  11  34.5751
  12  3.04335
  13  0.184905
  14  0.122679
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
543    Prefactor:  1.134e+00  1.227e-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:  4.907e-01  1.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.09
Ra Dec: 149.331 -13.814
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.59e-08 +/- 1.99e-08
Energy Flux (Fixed Index): 5.23e-06 +/- 6.56e-06

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

Saving results to:
/scratch/kocevski/592583/likelihoodResults_514080001_514339201_4FGL_J0957.3-1348_daily_bin1060.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) = 7934.09720211
delta logL = 0.214354242981

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7934.09666394
delta logL = 0.214892417212

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3854       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.3696       1.0000          .0000       5.0000    
     3 'Normalizat'    .45940       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1466       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=   7934.097     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      267 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3830        76.271        .54976E-02    .57149E-03
   2  alpha         3.3711        3.3660        .44849        .62468E-04
   3  Normalizat    .45928        .52402E-01    .80764E-01    .55337E-04
   4  Prefactor     1.1466        .32331E-01    .36037E-01   -.77708E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.38303
  alpha      = 3.37113
  Normalizat = 0.459282
  Prefactor  = 1.14665
 **********
 **   18 **HESSE 
 **********

 FCN=   7934.097     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3830        17.450        .14679E-03   -1.5340    
   2  alpha         3.3711        4.1843        .26332E-01    .35592    
   3  Normalizat    .45928        .20611        .35770E-03   -1.1434    
   4  Prefactor     1.1466        .13490        .16151E-03   -.87989    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20127e-07
Minuit parameter uncertainties:
  1  15.3736
  2  4.40959
  3  0.20645
  4  0.13494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/592583': 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) = 7934.09666319
delta logL = 0.214893164162

Extracting fit parameters...

4FGL J0957.3-1348
   Spectrum: LogParabola
237         norm:  3.383e+00  1.537e+01  1.000e-04  1.000e+04 ( 1.000e-12)
238        alpha:  3.371e+00  4.410e+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.147e+00  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:  4.593e-01  2.064e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.55
Ra Dec: 149.331 -13.814
Photon Index (Free Index): 3.37 +/- 4.41
Photon Flux (Free Index): 3.63e-08 +/- 5.21e-08
Energy Flux (Free Index): 6.65e-06 +/- 6.62e-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/592583/cmap_HighResolution_514080001_514339201_4FGL_J0957.3-1348_daily_bin1060.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.22e-05', comment='SUCCESS', photon_flux='1.59e-08', energy_flux2='6.65e-06', photon_flux_error='1.99e-08', dlogl='2.15e-01', energy_flux='5.23e-06', photon_flux2='3.63e-08', job_status='DONE', time_completed='2021-09-01 06:47:14.408989', photon_index_error2='4.41', photon_index2='3.37', ts='1.09', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='6.73e-08', energy_flux_error2='6.62e-06', EG='0.49', time_epoch_completed='1630504034.41', return_code='0', job_id='592583', GAL2='1.15', EG2='0.46', return_code2='0', energy_flux_error='6.56e-06', photon_flux_error2='5.21e-08', ts2='1.55', photon_index='2.31' WHERE bin_id='1060' AND source_name='4FGL J0957.3-1348' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep  1 06:47:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 592583: <4FGL_J0957.3-1348_daily_bin1060> in cluster <slac> Done

Job <4FGL_J0957.3-1348_daily_bin1060> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep  1 06:35:28 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep  1 06:35: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:35:30 2021
Terminated at Wed Sep  1 06:47:15 2021
Results reported at Wed Sep  1 06:47:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0957.3-1348_daily_bin1060 149.331 -13.8141 514080001 514339201 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 :                                   556.00 sec.
    Max Memory :                                 1176 MB
    Average Memory :                             295.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   704 sec.
    Turnaround time :                            707 sec.

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

