/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 150 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 = 7471
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1958.3-3010_daily_bin194
RA = 299.581, Dec = -30.181
tmin = 289612801, tmax = 289872001
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='432500', job_status='RUN', time_executed='2021-09-24 01:09:34.894769', time_epoch_executed='1632470974.89' WHERE source_name='4FGL J1958.3-3010' and cadence='daily' and bin_id='194'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/432500

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/432500/ft1_4FGL_J1958.3-3010_daily_bin194.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/432500/ft2_4FGL_J1958.3-3010_daily_bin194.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/432500/ft1_4FGL_J1958.3-3010_daily_bin194.fits outfile=/scratch/kocevski/432500/ft1_filteredMKT_4FGL_J1958.3-3010_daily_bin194.fits ra=299.581 dec=-30.181 rad=12.0 tmin=289612801.0 tmax=289872001.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.51
user 3.25
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/432500/ft1_filtered_4FGL_J1958.3-3010_daily_bin194.fits" evtable="EVENTS" scfile=/scratch/kocevski/432500/ft2_4FGL_J1958.3-3010_daily_bin194.fits sctable="SC_DATA" outfile=/scratch/kocevski/432500/ltcube_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.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/432500/ft2_4FGL_J1958.3-3010_daily_bin194.fits
.....................!
real 12.33
user 11.96
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/432500/ft1_filtered_4FGL_J1958.3-3010_daily_bin194.fits evtable="EVENTS" scfile=/scratch/kocevski/432500/ft2_4FGL_J1958.3-3010_daily_bin194.fits sctable="SC_DATA" expcube=/scratch/kocevski/432500/ltcube_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.fits outfile=/scratch/kocevski/432500/expmap_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.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/432500/ltcube_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.fits
.....................!
real 190.15
user 185.04
sys 4.74

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/432500/ft1_filtered_4FGL_J1958.3-3010_daily_bin194.fits scfile=/scratch/kocevski/432500/ft2_4FGL_J1958.3-3010_daily_bin194.fits outfile=/scratch/kocevski/432500/cmap_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/432500/ft1_filtered_4FGL_J1958.3-3010_daily_bin194.fits scfile=/scratch/kocevski/432500/ft2_4FGL_J1958.3-3010_daily_bin194.fits outfile=/scratch/kocevski/432500/cmap_HighResolution_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.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.55
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/432500/ft1_filtered_4FGL_J1958.3-3010_daily_bin194.fits evtable="EVENTS" scfile=/scratch/kocevski/432500/ft2_4FGL_J1958.3-3010_daily_bin194.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/432500/Model_4FGL_J1958.3-3010_daily_bin194.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/432500/ft1_filtered_4FGL_J1958.3-3010_daily_bin194.fits.....................!
real 71.93
user 70.39
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/432500/ft1_filtered_4FGL_J1958.3-3010_daily_bin194.fits', '/scratch/kocevski/432500/ft2_4FGL_J1958.3-3010_daily_bin194.fits', expMap='/scratch/kocevski/432500/expmap_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.fits', expCube='/scratch/kocevski/432500/ltcube_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/432500/Model_4FGL_J1958.3-3010_daily_bin194.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/432500/ft1_filtered_4FGL_J1958.3-3010_daily_bin194.fits
Spacecraft file(s): /scratch/kocevski/432500/ft2_4FGL_J1958.3-3010_daily_bin194.fits
Exposure map: /scratch/kocevski/432500/expmap_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.fits
Exposure cube: /scratch/kocevski/432500/ltcube_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/432500/Model_4FGL_J1958.3-3010_daily_bin194.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) = 7737.35806001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.9502       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.433       1.0000         .10000E-03   10000.    
     3 'Prefactor '    205.75       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5275       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.031       1.0000         .10000E-03   10000.    
     8 'norm      '    .10187       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11795E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.5761       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .75587       1.0000         .10000E-03   10000.    
    13 'norm      '    5.8050       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .23282E-02   1.0000         .10000E-03   10000.    
    16 'Normalizat'    2.0754       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .69242       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=   7737.355     FROM MIGRAD    STATUS=CONVERGED    365 CALLS     1701 TOTAL
                     EDM=   .10E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.9504        9.6217        .82591E-06    .41512E-04
   2  Prefactor     10.431        5.5598        .23861E-06    .51478E-04
   3  Prefactor     205.90        120.12       -.11134E-04    .63195E-05
   4  Prefactor     3.5350        12.426        .41572E-05    .23177E-04
   5  Prefactor     .10000E-03    22.314       -.13946E-06** at limit **
   6  norm          .10000E-03    17.529       -.64979E-07** at limit **
   7  Prefactor     13.036        8.7361        .16817E-06    .76017E-04
   8  norm          .98977E-01    .60059        .13937E-06   -.53758E-03
   9  Prefactor     .10000E-03    18.496       -.13155E-06** at limit **
  10  Prefactor     .10000E-03    48.765       -.53093E-06** at limit **
  11  norm          1.5818        27.069        .14514E-04    .38723E-06
  12  Prefactor     1.6207        514.24       -.11667E-05   -.46241E-05
  13  norm          5.8037        9.5349        .83891E-06    .43842E-04
  14  Prefactor     .10000E-03    26.492       -.16967E-06** at limit **
  15  Prefactor     .10001E-03    5.3211       -.69111E-06** at limit **
  16  Normalizat    2.0747        .31847       -.39852E-06    .16575E-03
  17  Prefactor     .69245        .86930E-01    .33930E-06    .28327E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.95043
  Prefactor  = 10.4305
  Prefactor  = 205.896
  Prefactor  = 3.53496
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.0358
  norm       = 0.0989768
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.58176
  Prefactor  = 1.62072
  norm       = 5.80367
  Prefactor  = 0.0001
  Prefactor  = 0.000100005
  Normalizat = 2.07467
  Prefactor  = 0.692447
 **********
 **   18 **HESSE 
 **********

 FCN=   7737.355     FROM HESSE     STATUS=OK           229 CALLS     1930 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.9504        9.6319        .18076E-03   -1.5263    
   2  Prefactor     10.431        5.5609        .62023E-03   -1.5062    
   3  Prefactor     205.90        120.16        .14089E-03   -1.2828    
   4  Prefactor     3.5350        12.431        .10762E-02   -1.5332    
   5  Prefactor     .10000E-03    22.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    17.619        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.036        8.7524        .11096E-03   -1.4986    
   8  norm          .98977E-01    3.6048        .12763E-02   -1.5645    
   9  Prefactor     .10000E-03    18.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    49.604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.5818        27.105        .16922E-02   -1.5456    
  12  Prefactor     1.6207        530.76        .49097E-02   -1.5453    
  13  norm          5.8037        9.5342        .83347E-03   -1.5226    
  14  Prefactor     .10000E-03    26.515        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10001E-03    26.908        .38695E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    2.0747        .37624        .38134E-03   -.62692    
  17  Prefactor     .69245        .10405        .17350E-03   -1.0382    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08274e-09
Minuit parameter uncertainties:
  1  9.63489
  2  5.56118
  3  120.307
  4  12.44
  5  2.91863e-05
  6  2.31401e-05
  7  8.75323
  8  1.19411
  9  1.78516e-05
  10  0.000229005
  11  13.102
  12  59.1936
  13  9.53672
  14  2.10365e-05
  15  0.000737825
  16  0.376782
  17  0.104078
Done.

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

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.000e-04  1.785e-05  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:  6.924e-01  1.041e-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:  2.075e+00  3.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 299.581 -30.181
Photon Flux Upper Limit: 8.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/432500/likelihoodResults_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.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): 102
logL (Free Index) = 7737.35546029
delta logL = -0.000257378871538

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7736.75743929
delta logL = 0.597763620179

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .69480       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4898       1.0000          .0000       10.000    
     3 'Normalizat'    1.9829       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70271       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=   7736.757     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      261 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .69470        10.705        .12042E-01    .13393E-02
   2  Index         3.4896        1.8110        .73193E-01    .93304E-04
   3  Normalizat    1.9831        .70077E-01    .87447E-01   -.47706E-03
   4  Prefactor     .70265        .20016E-01    .42437E-01   -.12343E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.694703
  Index      = 3.48957
  Normalizat = 1.98307
  Prefactor  = 0.702648
 **********
 **   18 **HESSE 
 **********

 FCN=   7736.757     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      290 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .69470        32.413        .69770E-04   -1.5541    
   2  Index         3.4896        3.6168        .41543E-02   -.30688    
   3  Normalizat    1.9831        .31422        .38706E-03   -.64976    
   4  Prefactor     .70265        .89361E-01    .17215E-03   -1.0342    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.62429e-08
Minuit parameter uncertainties:
  1  9.49536
  2  4.10618
  3  0.314551
  4  0.0893795
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/432500': 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): 102
logL (Free Index) = 7736.75743877
delta logL = 0.597764138372

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  6.947e-01  9.495e+00  1.000e-04  1.000e+04 ( 1.000e-14)
458        Index:  3.490e+00  4.106e+00  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:  7.026e-01  8.938e-02  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.983e+00  3.146e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.24
Ra Dec: 299.581 -30.181
Photon Index (Free Index): 3.49 +/- 4.11
Photon Flux (Free Index): 1.14e-07 +/- 1.11e-07
Energy Flux (Free Index): 1.90e-05 +/- 2.92e-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/432500/cmap_HighResolution_289612801_289872001_4FGL_J1958.3-3010_daily_bin194.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.26e-03', comment='SUCCESS', energy_flux2='1.90e-05', dlogl='5.98e-01', photon_flux2='1.14e-07', job_status='DONE', time_completed='2021-09-24 01:21:04.597315', photon_index_error2='4.11', photon_index2='3.49', ts='-0.00', fit_tolerance='1e-08', GAL='0.69', photon_index_error='0.00', photon_flux_upper_limit='8.46e-08', energy_flux_error2='2.92e-05', EG='2.07', time_epoch_completed='1632471664.6', return_code='0', job_id='432500', GAL2='0.70', EG2='1.98', return_code2='102', photon_flux_error2='1.11e-07', ts2='1.24', photon_index='1.85' WHERE bin_id='194' AND source_name='4FGL J1958.3-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 01:21:04 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 432500: <4FGL_J1958.3-3010_daily_bin194> in cluster <slac> Done

Job <4FGL_J1958.3-3010_daily_bin194> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 24 01:06:52 2021
Job was executed on host(s) <bullet0215>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 24 01:06:55 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:06:55 2021
Terminated at Fri Sep 24 01:21:05 2021
Results reported at Fri Sep 24 01:21:05 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1958.3-3010_daily_bin194 299.581 -30.181 289612801 289872001 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 :                                   689.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             278.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            853 sec.

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

