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


Performing analysis on: 4FGL_J1958.3-3010_daily_bin493
RA = 299.581, Dec = -30.181
tmin = 367113601, tmax = 367372801
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='435114', job_status='RUN', time_executed='2021-09-24 01:19:15.620807', time_epoch_executed='1632471555.62' WHERE source_name='4FGL J1958.3-3010' and cadence='daily' and bin_id='493'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435114

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435114/ft1_4FGL_J1958.3-3010_daily_bin493.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435114/ft1_4FGL_J1958.3-3010_daily_bin493.fits outfile=/scratch/kocevski/435114/ft1_filteredMKT_4FGL_J1958.3-3010_daily_bin493.fits ra=299.581 dec=-30.181 rad=12.0 tmin=367113601.0 tmax=367372801.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.26
user 5.00
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.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/435114/ft1_filteredMKT_4FGL_J1958.3-3010_daily_bin493.fits evtable="EVENTS" outfile="/scratch/kocevski/435114/ft1_filtered_4FGL_J1958.3-3010_daily_bin493.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.51
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435114/ft1_filtered_4FGL_J1958.3-3010_daily_bin493.fits" evtable="EVENTS" scfile=/scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits sctable="SC_DATA" outfile=/scratch/kocevski/435114/ltcube_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.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/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits
.....................!
real 12.08
user 11.75
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435114/ft1_filtered_4FGL_J1958.3-3010_daily_bin493.fits evtable="EVENTS" scfile=/scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits sctable="SC_DATA" expcube=/scratch/kocevski/435114/ltcube_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.fits outfile=/scratch/kocevski/435114/expmap_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.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/435114/ltcube_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.fits
.....................!
real 191.18
user 186.10
sys 4.69

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 217 point sources and 0 extended sources

Setting source of interest to:
4FGL J1958.3-3010 @ 299.581 -30.181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/435114/ft1_filtered_4FGL_J1958.3-3010_daily_bin493.fits scfile=/scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits outfile=/scratch/kocevski/435114/cmap_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.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=299.581 yref=-30.181 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/435114/ft1_filtered_4FGL_J1958.3-3010_daily_bin493.fits scfile=/scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits outfile=/scratch/kocevski/435114/cmap_HighResolution_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.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=299.581 yref=-30.181 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/435114/ft1_filtered_4FGL_J1958.3-3010_daily_bin493.fits evtable="EVENTS" scfile=/scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435114/Model_4FGL_J1958.3-3010_daily_bin493.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/435114/ft1_filtered_4FGL_J1958.3-3010_daily_bin493.fits.....................!
real 73.26
user 71.97
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/435114/ft1_filtered_4FGL_J1958.3-3010_daily_bin493.fits', '/scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits', expMap='/scratch/kocevski/435114/expmap_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.fits', expCube='/scratch/kocevski/435114/ltcube_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/435114/Model_4FGL_J1958.3-3010_daily_bin493.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1958.3-3010'

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  6.150e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
458        Index:  1.849e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
459        Scale:  4.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/435114/ft1_filtered_4FGL_J1958.3-3010_daily_bin493.fits
Spacecraft file(s): /scratch/kocevski/435114/ft2_4FGL_J1958.3-3010_daily_bin493.fits
Exposure map: /scratch/kocevski/435114/expmap_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.fits
Exposure cube: /scratch/kocevski/435114/ltcube_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/435114/Model_4FGL_J1958.3-3010_daily_bin493.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) = 8163.88934485

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.902       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.6280       1.0000         .10000E-03   10000.    
     5 'Prefactor '    19.707       1.0000         .10000E-03   10000.    
     6 'norm      '    3.0208       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    19.642       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.8991       1.0000         .10000E-03   10000.    
    11 'norm      '    3.5824       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    6.3093       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    11.101       1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0775       1.0000         .10000E-01   10.000    
    17 'Prefactor '    1.0005       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8163.208     FROM MIGRAD    STATUS=CONVERGED    330 CALLS     1429 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    13.022        .71864E-06** at limit **
   2  Prefactor     12.902        6.9628       -.20384E-05   -.21056E-03
   3  Prefactor     .10000E-03    54.219       -.97979E-06** at limit **
   4  Prefactor     5.6265        11.482        .34303E-06   -.39219E-03
   5  Prefactor     19.707        25.823       -.25097E-07    .16841E-05
   6  norm          3.0218        46.586        .96842E-06   -.40472E-05
   7  Prefactor     .10000E-03    3.4304       -.19687E-06** at limit **
   8  norm          .10000E-03    .25265       -.36033E-07** at limit **
   9  Prefactor     19.642        19.340       -.16537E-07    .10326E-04
  10  Prefactor     3.8981        18.317        .50053E-06   -.22177E-03
  11  norm          3.5750        13.342        .66307E-06   -.32795E-03
  12  Prefactor     .10000E-03    22.120       -.22752E-05** at limit **
  13  norm          6.3058        14.453        .25667E-06   -.24643E-03
  14  Prefactor     .10000E-03    26.702        .31227E-05** at limit **
  15  Prefactor     11.100        9.1495        .19044E-06   -.20016E-06
  16  Normalizat    1.0776        .31685       -.11529E-06    .33880E-04
  17  Prefactor     1.0004        .92927E-01    .37573E-06   -.20124E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 12.9021
  Prefactor  = 0.0001
  Prefactor  = 5.62654
  Prefactor  = 19.7072
  norm       = 3.02184
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.6417
  Prefactor  = 3.89805
  norm       = 3.57496
  Prefactor  = 0.0001
  norm       = 6.30577
  Prefactor  = 0.0001
  Prefactor  = 11.0998
  Normalizat = 1.07755
  Prefactor  = 1.00044
 **********
 **   18 **HESSE 
 **********

 FCN=   8163.208     FROM HESSE     STATUS=OK           229 CALLS     1658 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     12.902        7.0622        .11152E-03   -1.4989    
   3  Prefactor     .10000E-03    54.274        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.6265        12.964        .84667E-03   -1.5234    
   5  Prefactor     19.707        25.824        .90223E-04   -1.4820    
   6  norm          3.0218        46.614        .23350E-03   -1.5360    
   7  Prefactor     .10000E-03    11.230        .32101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .25528        .44337E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.642        19.322        .90372E-04   -1.4821    
  10  Prefactor     3.8981        21.778        .10216E-02   -1.5313    
  11  norm          3.5750        18.677        .10675E-02   -1.5330    
  12  Prefactor     .10000E-03    22.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          6.3058        15.616        .79902E-03   -1.5206    
  14  Prefactor     .10000E-03    26.705        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     11.100        9.1819        .12025E-03   -1.5042    
  16  Normalizat    1.0776        .36667        .49210E-03   -.90476    
  17  Prefactor     1.0004        .10681        .15148E-03   -.92715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.168e-09
Minuit parameter uncertainties:
  1  8.50136e-06
  2  7.06263
  3  3.67867e-06
  4  12.9705
  5  25.8382
  6  23.7587
  7  0.000107585
  8  3.25687e-07
  9  19.3281
  10  18.4372
  11  16.3505
  12  4.4996e-05
  13  15.6265
  14  5.1716e-05
  15  9.18306
  16  0.367539
  17  0.106833
Done.

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

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.964e+01  1.933e+01  1.000e-04  1.000e+04 ( 1.000e-14)
458        Index:  1.849e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
459        Scale:  4.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  1.000e+00  1.068e-01  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
748   Normalization:  1.078e+00  3.675e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.38
Ra Dec: 299.581 -30.181
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 2.17e-08 +/- 2.13e-08
Energy Flux (Fixed Index): 2.24e-05 +/- 2.21e-05

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) = 8161.57314313
delta logL = 1.63474009493

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8161.55939377
delta logL = 1.64848945902

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.358       1.0000         .10000E-03   10000.    
     2 'Index     '    .63300       1.0000          .0000       10.000    
     3 'Normalizat'    1.0830       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0020       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8161.559     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      222 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.265        15.319        .25551E-02   -.26472E-03
   2  Index         .63027        .54098        .40247        .50816E-04
   3  Normalizat    1.0830        .30443        .11074        .12029E-03
   4  Prefactor     1.0021        .91237E-01    .34254E-01    .31735E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.265
  Index      = 0.630267
  Normalizat = 1.08296
  Prefactor  = 1.00206
 **********
 **   18 **HESSE 
 **********

 FCN=   8161.559     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.265        22.990        .10220E-03   -1.4926    
   2  Index         .63027        .72536        .19745E-01   -1.0633    
   3  Normalizat    1.0830        .34680        .49098E-03   -.90301    
   4  Prefactor     1.0021        .10435        .15136E-03   -.92661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.62727e-10
Minuit parameter uncertainties:
  1  23.003
  2  0.736584
  3  0.347533
  4  0.104375
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435114': 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) = 8161.55938621
delta logL = 1.64849701353

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.527e+01  2.300e+01  1.000e-04  1.000e+04 ( 1.000e-14)
458        Index:  6.303e-01  7.366e-01  0.000e+00  1.000e+01 (-1.000e+00)
459        Scale:  4.051e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
749    Prefactor:  1.002e+00  1.044e-01  0.000e+00  1.000e+01 ( 1.000e+00)
750        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
751        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
748   Normalization:  1.083e+00  3.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.68
Ra Dec: 299.581 -30.181
Photon Index (Free Index): 0.63 +/- 0.74
Photon Flux (Free Index): 5.05e-09 +/- 5.32e-09
Energy Flux (Free Index): 1.48e-04 +/- 1.80e-04

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/435114/cmap_HighResolution_367113601_367372801_4FGL_J1958.3-3010_daily_bin493.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.17e-08', energy_flux2='1.48e-04', photon_flux_error='2.13e-08', dlogl='1.65e+00', energy_flux='2.24e-05', photon_flux2='5.05e-09', job_status='DONE', time_completed='2021-09-24 01:29:33.351121', photon_index_error2='0.74', photon_index2='0.63', ts='6.38', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.80e-04', EG='1.08', time_epoch_completed='1632472173.35', return_code='0', job_id='435114', GAL2='1.00', EG2='1.08', return_code2='0', energy_flux_error='2.21e-05', photon_flux_error2='5.32e-09', ts2='9.68', photon_index='1.85' WHERE bin_id='493' AND source_name='4FGL J1958.3-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 01:29:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 435114: <4FGL_J1958.3-3010_daily_bin493> in cluster <slac> Done

Job <4FGL_J1958.3-3010_daily_bin493> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 24 01:16:50 2021
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 24 01:16:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 24 01:16:53 2021
Terminated at Fri Sep 24 01:29:33 2021
Results reported at Fri Sep 24 01:29:33 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1958.3-3010_daily_bin493 299.581 -30.181 367113601 367372801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1958.3-3010 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   616.20 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             293.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            763 sec.

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

