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


Performing analysis on: 4FGL_J1958.3-3010_daily_bin1468
RA = 299.581, Dec = -30.181
tmin = 619833601, tmax = 620092801
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='439626', job_status='RUN', time_executed='2021-09-24 01:34:47.967727', time_epoch_executed='1632472487.97' WHERE source_name='4FGL J1958.3-3010' and cadence='daily' and bin_id='1468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/439626

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/439626/ft1_4FGL_J1958.3-3010_daily_bin1468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/439626/ft2_4FGL_J1958.3-3010_daily_bin1468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/439626/ft1_4FGL_J1958.3-3010_daily_bin1468.fits outfile=/scratch/kocevski/439626/ft1_filteredMKT_4FGL_J1958.3-3010_daily_bin1468.fits ra=299.581 dec=-30.181 rad=12.0 tmin=619833601.0 tmax=620092801.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.47
user 3.22
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/439626/ft1_filtered_4FGL_J1958.3-3010_daily_bin1468.fits" evtable="EVENTS" scfile=/scratch/kocevski/439626/ft2_4FGL_J1958.3-3010_daily_bin1468.fits sctable="SC_DATA" outfile=/scratch/kocevski/439626/ltcube_619833601_620092801_4FGL_J1958.3-3010_daily_bin1468.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/439626/ft2_4FGL_J1958.3-3010_daily_bin1468.fits
.....................!
real 12.08
user 11.72
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/439626/ft1_filtered_4FGL_J1958.3-3010_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/439626/ft2_4FGL_J1958.3-3010_daily_bin1468.fits sctable="SC_DATA" expcube=/scratch/kocevski/439626/ltcube_619833601_620092801_4FGL_J1958.3-3010_daily_bin1468.fits outfile=/scratch/kocevski/439626/expmap_619833601_620092801_4FGL_J1958.3-3010_daily_bin1468.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/439626/ltcube_619833601_620092801_4FGL_J1958.3-3010_daily_bin1468.fits
.....................!
real 190.09
user 185.06
sys 4.67

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/439626/ft1_filtered_4FGL_J1958.3-3010_daily_bin1468.fits scfile=/scratch/kocevski/439626/ft2_4FGL_J1958.3-3010_daily_bin1468.fits outfile=/scratch/kocevski/439626/cmap_619833601_620092801_4FGL_J1958.3-3010_daily_bin1468.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/439626/ft1_filtered_4FGL_J1958.3-3010_daily_bin1468.fits scfile=/scratch/kocevski/439626/ft2_4FGL_J1958.3-3010_daily_bin1468.fits outfile=/scratch/kocevski/439626/cmap_HighResolution_619833601_620092801_4FGL_J1958.3-3010_daily_bin1468.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/439626/ft1_filtered_4FGL_J1958.3-3010_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/439626/ft2_4FGL_J1958.3-3010_daily_bin1468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/439626/Model_4FGL_J1958.3-3010_daily_bin1468.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/439626/ft1_filtered_4FGL_J1958.3-3010_daily_bin1468.fits.....................!
real 75.14
user 73.81
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4563       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8154       1.0000         .10000E-03   10000.    
     3 'Prefactor '    24.153       1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.3074       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7022       1.0000         .10000E-03   10000.    
     8 'norm      '    10.709       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.580       1.0000         .10000E-03   10000.    
    10 'Prefactor '    43.162       1.0000         .10000E-03   10000.    
    11 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    87.925       1.0000         .10000E-03   10000.    
    13 'norm      '    .10040E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Normalizat'    1.3335       1.0000         .10000E-01   10.000    
    17 'Prefactor '    .84833       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=   7987.459     FROM MIGRAD    STATUS=CONVERGED    327 CALLS     1634 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4653        19.343        .20042E-04    .44385E-04
   2  Prefactor     1.8184        5.0612        .71707E-06   -.22368E-04
   3  Prefactor     24.175        107.14       -.70268E-05    .37431E-04
   4  Prefactor     5.3099        12.221        .19721E-05    .31022E-05
   5  Prefactor     .10000E-03    11.193       -.65482E-07** at limit **
   6  norm          .10000E-03    9.4806       -.35332E-07** at limit **
   7  Prefactor     3.7014        6.2150        .45376E-06    .38504E-04
   8  norm          10.708        2.0752        .19271E-07    .10594E-03
   9  Prefactor     17.589        29.281       -.21523E-06    .10102E-03
  10  Prefactor     43.170        29.684        .82249E-07    .13579E-03
  11  norm          .10000E-03    36.467       -.82264E-06** at limit **
  12  Prefactor     87.966        60.819       -.13490E-05    .38170E-03
  13  norm          .10000E-03    24.179       -.37128E-06** at limit **
  14  Prefactor     .10000E-03    27.301       -.71074E-06** at limit **
  15  Prefactor     .10000E-03    4.4353       -.33784E-06** at limit **
  16  Normalizat    1.3342        .30362        .65451E-08   -.93988E-04
  17  Prefactor     .84808        .88788E-01   -.74630E-06    .19677E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.46526
  Prefactor  = 1.8184
  Prefactor  = 24.1753
  Prefactor  = 5.30987
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.70137
  norm       = 10.7078
  Prefactor  = 17.589
  Prefactor  = 43.1695
  norm       = 0.000100001
  Prefactor  = 87.9665
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.33425
  Prefactor  = 0.848076
 **********
 **   18 **HESSE 
 **********

 FCN=   7987.459     FROM HESSE     STATUS=OK           219 CALLS     1853 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4653        19.473        .17838E-02   -1.5466    
   2  Prefactor     1.8184        5.0444        .31000E-03   -1.5438    
   3  Prefactor     24.175        107.46        .81507E-04   -1.4724    
   4  Prefactor     5.3099        12.206        .87229E-03   -1.5247    
   5  Prefactor     .10000E-03    11.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    9.4849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.7014        6.1981        .20989E-03   -1.5323    
   8  norm          10.708        2.0762        .53882E-04   -1.5053    
   9  Prefactor     17.589        29.298        .95522E-04   -1.4869    
  10  Prefactor     43.170        29.712        .61021E-04   -1.4393    
  11  norm          .10000E-03    38.165        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     87.966        61.453        .21424E-03   -1.3829    
  13  norm          .10000E-03    24.806        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    27.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.4560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Normalizat    1.3342        .35990        .44662E-03   -.82550    
  17  Prefactor     .84808        .10632        .15979E-03   -.97980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29695e-09
Minuit parameter uncertainties:
  1  10.6871
  2  5.04558
  3  102.245
  4  12.2118
  5  1.22156e-06
  6  9.38855e-06
  7  6.19918
  8  2.07622
  9  29.3224
  10  29.722
  11  0.000385698
  12  61.4979
  13  0.000398801
  14  0.000171366
  15  4.13302e-05
  16  0.360582
  17  0.106341
Done.

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

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  1.759e+01  2.932e+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:  8.481e-01  1.063e-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.334e+00  3.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.51
Ra Dec: 299.581 -30.181
Photon Flux Upper Limit: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.02e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/439626/likelihoodResults_619833601_620092801_4FGL_J1958.3-3010_daily_bin1468.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) = 7987.23849101
delta logL = 0.22040709546

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7987.23248511
delta logL = 0.226412990435

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.9613       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4951       1.0000          .0000       10.000    
     3 'Normalizat'    1.3019       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85014       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7987.232     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      327 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.9604        37.180        .13389E-03   -.97477E-04
   2  Index         2.4949        1.6419        .69917E-02   -.78589E-04
   3  Normalizat    1.3008        .36611        .45136E-03   -.15163E-03
   4  Prefactor     .85048        .10463        .15953E-03   -.50462E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.96035
  Index      = 2.49494
  Normalizat = 1.3008
  Prefactor  = 0.850483
 **********
 **   18 **HESSE 
 **********

 FCN=   7987.232     FROM HESSE     STATUS=OK            25 CALLS      352 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.9604        20.318        .53556E-05   -1.5109    
   2  Index         2.4949        .92767        .27967E-03   -.52477    
   3  Normalizat    1.3008        .35534        .18055E-04   -.83542    
   4  Prefactor     .85048        .10329        .31906E-04   -.97893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.14042e-10
Minuit parameter uncertainties:
  1  20.3336
  2  0.93493
  3  0.356006
  4  0.10331
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/439626': 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) = 7987.23247944
delta logL = 0.226418660449

Extracting fit parameters...

4FGL J1958.3-3010
   Spectrum: PowerLaw
457    Prefactor:  8.960e+00  2.033e+01  1.000e-04  1.000e+04 ( 1.000e-14)
458        Index:  2.495e+00  9.349e-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:  8.505e-01  1.033e-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.301e+00  3.560e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.51
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/439626/cmap_HighResolution_619833601_620092801_4FGL_J1958.3-3010_daily_bin1468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.02e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-24 01:48:45.671028', job_id='439626', GAL2='0.85', fit_tolerance='1e-08', EG2='1.30', EG='1.33', time_epoch_completed='1632473325.67', return_code2='0', ts='0.51', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.26e-01', ts2='0.97', photon_index_error='0.00', photon_index='1.85' WHERE bin_id='1468' AND source_name='4FGL J1958.3-3010' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 24 01:48:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0079>
Subject: Job 439626: <4FGL_J1958.3-3010_daily_bin1468> in cluster <slac> Done

Job <4FGL_J1958.3-3010_daily_bin1468> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Sep 24 01:32:42 2021
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 24 01:32:46 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:32:46 2021
Terminated at Fri Sep 24 01:48:46 2021
Results reported at Fri Sep 24 01:48:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1958.3-3010_daily_bin1468 299.581 -30.181 619833601 620092801 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 :                                   699.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             284.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            964 sec.

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

