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


Performing analysis on: 4FGL_J1958.3-3010_daily_bin473
RA = 299.581, Dec = -30.181
tmin = 361929601, tmax = 362188801
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='435082', job_status='RUN', time_executed='2021-09-24 01:19:51.364652', time_epoch_executed='1632471591.36' WHERE source_name='4FGL J1958.3-3010' and cadence='daily' and bin_id='473'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435082

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

Retrieving the FT1 file...

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

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

Retrieving 51 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435082/ft1_4FGL_J1958.3-3010_daily_bin473.fits


Retrieving the FT1 file...

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

Retrieving 51 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435082/ft2_4FGL_J1958.3-3010_daily_bin473.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435082/ft1_4FGL_J1958.3-3010_daily_bin473.fits outfile=/scratch/kocevski/435082/ft1_filteredMKT_4FGL_J1958.3-3010_daily_bin473.fits ra=299.581 dec=-30.181 rad=12.0 tmin=361929601.0 tmax=362188801.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.48
user 5.20
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435082/ft1_filtered_4FGL_J1958.3-3010_daily_bin473.fits" evtable="EVENTS" scfile=/scratch/kocevski/435082/ft2_4FGL_J1958.3-3010_daily_bin473.fits sctable="SC_DATA" outfile=/scratch/kocevski/435082/ltcube_361929601_362188801_4FGL_J1958.3-3010_daily_bin473.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/435082/ft2_4FGL_J1958.3-3010_daily_bin473.fits
.....................!
real 11.92
user 11.58
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435082/ft1_filtered_4FGL_J1958.3-3010_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/435082/ft2_4FGL_J1958.3-3010_daily_bin473.fits sctable="SC_DATA" expcube=/scratch/kocevski/435082/ltcube_361929601_362188801_4FGL_J1958.3-3010_daily_bin473.fits outfile=/scratch/kocevski/435082/expmap_361929601_362188801_4FGL_J1958.3-3010_daily_bin473.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/435082/ltcube_361929601_362188801_4FGL_J1958.3-3010_daily_bin473.fits
.....................!
real 190.72
user 185.46
sys 4.95

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/435082/ft1_filtered_4FGL_J1958.3-3010_daily_bin473.fits scfile=/scratch/kocevski/435082/ft2_4FGL_J1958.3-3010_daily_bin473.fits outfile=/scratch/kocevski/435082/cmap_361929601_362188801_4FGL_J1958.3-3010_daily_bin473.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/435082/ft1_filtered_4FGL_J1958.3-3010_daily_bin473.fits scfile=/scratch/kocevski/435082/ft2_4FGL_J1958.3-3010_daily_bin473.fits outfile=/scratch/kocevski/435082/cmap_HighResolution_361929601_362188801_4FGL_J1958.3-3010_daily_bin473.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.57
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/435082/ft1_filtered_4FGL_J1958.3-3010_daily_bin473.fits evtable="EVENTS" scfile=/scratch/kocevski/435082/ft2_4FGL_J1958.3-3010_daily_bin473.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/435082/Model_4FGL_J1958.3-3010_daily_bin473.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/435082/ft1_filtered_4FGL_J1958.3-3010_daily_bin473.fits.....................!
real 89.12
user 87.71
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10620E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.298       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21490       1.0000         .10000E-03   10000.    
     8 'norm      '    5.6169       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.2577       1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.744       1.0000         .10000E-03   10000.    
    13 'norm      '    14.306       1.0000         .10000E-03   10000.    
    14 'Prefactor '    86.300       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.0355       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .94652       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=   9945.381     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1644 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7296        .90712E-02** at limit **
   2  Prefactor     .10000E-03    2.3247        .49983E-01** at limit **
   3  Prefactor     .10000E-03    20.964        .90712E-02** at limit **
   4  Prefactor     .10000E-03    3.6152        .90712E-02** at limit **
   5  Prefactor     16.298        19.737        .24802E-02   -.12408E-03
   6  norm          .10000E-03    6.0426        .90712E-02** at limit **
   7  Prefactor     .23400        2.5247        .85311E-01    .19377E-03
   8  norm          5.6171        1.3302        .42376E-02    .11127E-03
   9  Prefactor     .10000E-03    26.152        .90712E-02** at limit **
  10  Prefactor     5.2592        20.942        .43824E-02   -.11364E-02
  11  norm          .10001E-03    5.7337        .90712E-02** at limit **
  12  Prefactor     35.744        43.671        .16758E-02   -.27413E-03
  13  norm          14.308        12.940        .26474E-02   -.26379E-03
  14  Prefactor     86.300        59.109        .10811E-02   -.26120E-03
  15  Prefactor     .10000E-03    2.4950        .90712E-02** at limit **
  16  Normalizat    1.0350        .27925        .10482        .17046E-04
  17  Prefactor     .94665        .79303E-01    .33147E-01   -.38922E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.2981
  norm       = 0.000100003
  Prefactor  = 0.234001
  norm       = 5.6171
  Prefactor  = 0.000100001
  Prefactor  = 5.25921
  norm       = 0.000100012
  Prefactor  = 35.7439
  norm       = 14.3076
  Prefactor  = 86.3002
  Prefactor  = 0.0001
  Normalizat = 1.035
  Prefactor  = 0.946646
 **********
 **   18 **HESSE 
 **********

 FCN=   9945.381     FROM HESSE     STATUS=OK           219 CALLS     1863 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.7426        .16090E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.4895        .29198E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    20.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    3.6313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     16.298        19.738        .99209E-04   -1.4900    
   6  norm          .10000E-03    6.0465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .23400        33.602        .29232E-02   -1.5611    
   8  norm          5.6171        1.3304        .53678E-04   -1.5234    
   9  Prefactor     .10000E-03    26.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.2592        20.935        .17530E-03   -1.5249    
  11  norm          .10001E-03    5.7687        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.744        43.715        .67032E-04   -1.4512    
  13  norm          14.308        12.955        .10590E-03   -1.4951    
  14  Prefactor     86.300        59.309        .43246E-04   -1.3847    
  15  Prefactor     .10000E-03    2.5088        .15377E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.0350        .31952        .46455E-03   -.91867    
  17  Prefactor     .94665        .91121E-01    .14647E-03   -.94530    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6051e-08
Minuit parameter uncertainties:
  1  5.38611e-06
  2  0.000245128
  3  8.31824e-06
  4  6.06378e-07
  5  19.7459
  6  0.000278052
  7  5.61021
  8  1.33036
  9  0.000255456
  10  20.9645
  11  0.000526033
  12  43.7545
  13  12.9571
  14  59.3496
  15  5.40463e-06
  16  0.320119
  17  0.0911359
Done.

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

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.000e-04  2.555e-04  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:  9.466e-01  9.114e-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.035e+00  3.201e-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: 7.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435082/likelihoodResults_361929601_362188801_4FGL_J1958.3-3010_daily_bin473.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) = 9945.38074753
delta logL = -0.000181399955181

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9945.38058425
delta logL = -1.81269333552e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.8961       1.0000          .0000       10.000    
     3 'Normalizat'    1.0337       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94681       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=   9945.381     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      219 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    89.246        .90712E-02** at limit **
   2  Index         1.9531        5.3282        .50000       -.18071E-04
   3  Normalizat    1.0350        .10693E-01    .10482        .58726E-04
   4  Prefactor     .94665        .32593E-02    .33147E-01    .41350E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100007
  Index      = 1.95308
  Normalizat = 1.03501
  Prefactor  = 0.946646
 **********
 **   18 **HESSE 
 **********

 FCN=   9945.381     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      252 TOTAL
                     EDM=   .62E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    1790.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9531        5.7833        .50000       -.65528    
   3  Normalizat    1.0350        .52272E-01    .46455E-03   -.91867    
   4  Prefactor     .94665        .15983E-01    .14647E-03   -.94530    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.15297e-08
Minuit parameter uncertainties:
  1  0.00744171
  2  30.1072
  3  0.0522743
  4  0.0159834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435082': 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) = 9945.38056572
delta logL = 4.11806468037e-07

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.000e-04  7.442e-03  1.000e-04  1.000e+04 ( 1.000e-14)
458        Index:  1.953e+00  3.011e+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:  9.466e-01  1.598e-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.035e+00  5.227e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 299.581 -30.181

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/435082/cmap_HighResolution_361929601_362188801_4FGL_J1958.3-3010_daily_bin473.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.20e-03', job_status='DONE', photon_flux_upper_limit='7.02e-08', time_completed='2021-09-24 01:33:24.454874', job_id='435082', GAL2='0.95', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1632472404.45', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='4.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='473' AND source_name='4FGL J1958.3-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 01:33:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 435082: <4FGL_J1958.3-3010_daily_bin473> in cluster <slac> Done

Job <4FGL_J1958.3-3010_daily_bin473> was submitted from host <rhel6-64a> by user <kocevski> in cluster <slac> at Fri Sep 24 01:16:47 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 24 01:16:49 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:49 2021
Terminated at Fri Sep 24 01:33:25 2021
Results reported at Fri Sep 24 01:33:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1958.3-3010_daily_bin473 299.581 -30.181 361929601 362188801 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 :                                   812.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   995 sec.
    Turnaround time :                            998 sec.

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

