aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 31 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7445
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1738
RA = 289.442, Dec = -69.5061
tmin = 689817601, tmax = 690076801
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='410506', job_status='RUN', time_executed='2022-11-14 00:47:17.425085', time_epoch_executed='1668415637.43' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1738'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/410506

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/410506/ft1_4FGL_J1917.7-6930_daily_bin1738.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/410506/ft1_4FGL_J1917.7-6930_daily_bin1738.fits outfile=/scratch/kocevski/410506/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1738.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=689817601.0 tmax=690076801.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 4.13
user 3.86
sys 0.25

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.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/410506/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1738.fits evtable="EVENTS" outfile="/scratch/kocevski/410506/ft1_filtered_4FGL_J1917.7-6930_daily_bin1738.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.36
sys 0.14

Number of photons that the gtmktime cut: 1024

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/410506/ft1_filtered_4FGL_J1917.7-6930_daily_bin1738.fits" evtable="EVENTS" scfile=/scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits sctable="SC_DATA" outfile=/scratch/kocevski/410506/ltcube_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.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/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits
.....................!
real 14.67
user 14.27
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/410506/ft1_filtered_4FGL_J1917.7-6930_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits sctable="SC_DATA" expcube=/scratch/kocevski/410506/ltcube_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.fits outfile=/scratch/kocevski/410506/expmap_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.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/410506/ltcube_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.fits
.....................!
real 196.80
user 190.87
sys 5.36

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

Setting source of interest to:
4FGL J1917.7-6930 @ 289.442 -69.5061

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/410506/ft1_filtered_4FGL_J1917.7-6930_daily_bin1738.fits scfile=/scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits outfile=/scratch/kocevski/410506/cmap_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.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=289.442 yref=-69.5061 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.60
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/410506/ft1_filtered_4FGL_J1917.7-6930_daily_bin1738.fits scfile=/scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits outfile=/scratch/kocevski/410506/cmap_HighResolution_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.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=289.442 yref=-69.5061 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.59
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/410506/ft1_filtered_4FGL_J1917.7-6930_daily_bin1738.fits evtable="EVENTS" scfile=/scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/410506/Model_4FGL_J1917.7-6930_daily_bin1738.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/410506/ft1_filtered_4FGL_J1917.7-6930_daily_bin1738.fits.....................!
real 95.69
user 93.50
sys 1.58

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/410506/ft1_filtered_4FGL_J1917.7-6930_daily_bin1738.fits', '/scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits', expMap='/scratch/kocevski/410506/expmap_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.fits', expCube='/scratch/kocevski/410506/ltcube_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/410506/Model_4FGL_J1917.7-6930_daily_bin1738.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1917.7-6930'

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  2.026e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
424        Index:  2.308e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
425        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/410506/ft1_filtered_4FGL_J1917.7-6930_daily_bin1738.fits
Spacecraft file(s): /scratch/kocevski/410506/ft2_4FGL_J1917.7-6930_daily_bin1738.fits
Exposure map: /scratch/kocevski/410506/expmap_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.fits
Exposure cube: /scratch/kocevski/410506/ltcube_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/410506/Model_4FGL_J1917.7-6930_daily_bin1738.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) = 10544.8744282

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    43.339       1.0000          .0000       .10000E+07
     2 'norm      '    .45015E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .17625E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    .18455E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    14.309       1.0000          .0000       .10000E+07
     6 'norm      '    8.7800       1.0000          .0000       .10000E+07
     7 'Prefactor '    .42678E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .28202E-04   1.0000          .0000       .10000E+07
     9 'norm      '    14.737       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.865       1.0000          .0000       .10000E+07
    11 'Prefactor '    .99365E-08   1.0000          .0000       .10000E+07
    12 'norm      '    .14988E-08   1.0000          .0000       .10000E+07
    13 'norm      '    35.045       1.0000          .0000       .10000E+07
    14 'Prefactor '    .13072E-02   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.2937       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .86267       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10544.80     FROM MIGRAD    STATUS=CONVERGED    130 CALLS      914 TOTAL
                     EDM=   .72E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          43.340        9.1683       -.28247E-07   -.52783E-03
   2  norm          .70499E-07    28.597        .47801E-05** at limit **
   3  Prefactor      .0000        10.834        .14660E-05** at limit **
   4  Prefactor     .38858E-09    18.458        .63819E-05** at limit **
   5  Prefactor     13.977        6.8674        .20283E-05   -.27423E-01
   6  norm          8.8838        1.2378        .65052E-07   -.22920E-03
   7  Prefactor     .34195E-07    22.614       -.69067E-05** at limit **
   8  norm          .55511E-10    8.1310        .25593E-06** at limit **
   9  norm          14.732        7.0250       -.41851E-08    .20336E-02
  10  Prefactor     11.585        10.702       -.96838E-08    .52872E-03
  11  Prefactor     .11102E-09    11.947       -.30436E-05** at limit **
  12  norm          .11102E-09    .62029       -.82187E-07** at limit **
  13  norm          37.934        45.672        .50780E-06   -.37769E-02
  14  Prefactor     .12768E-08    8.2271       -.18212E-05** at limit **
  15  Normalizat    1.2948        .24891        .71061E-06   -.17369E-03
  16  Prefactor     .86209        .96977E-01    .55819E-06   -.48616E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 43.3402
  norm       = 7.04992e-08
  Prefactor  = 0
  Prefactor  = 3.88578e-10
  Prefactor  = 13.9774
  norm       = 8.8838
  Prefactor  = 3.41949e-08
  norm       = 5.55112e-11
  norm       = 14.7322
  Prefactor  = 11.5853
  Prefactor  = 1.11022e-10
  norm       = 1.11022e-10
  norm       = 37.9337
  Prefactor  = 1.27676e-09
  Normalizat = 1.2948
  Prefactor  = 0.862093
 **********
 **   18 **HESSE 
 **********

 FCN=   10544.80     FROM HESSE     STATUS=OK           231 CALLS     1145 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          43.340        9.1654        .15192E-03   -1.5576    
   2  norm          .70499E-07    29.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        10.813        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .38858E-09    18.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     13.977        30.217        .26452E-03   -1.5633    
   6  norm          8.8838        16.962        .33804E-03   -1.5648    
   7  Prefactor     .34195E-07    23.025        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    8.1104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.732        7.0199        .26064E-03   -1.5631    
  10  Prefactor     11.585        10.724        .29057E-03   -1.5640    
  11  Prefactor     .11102E-09    11.942        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11102E-09    .60627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          37.934        45.625        .16894E-03   -1.5585    
  14  Prefactor     .12768E-08    8.2140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.2948        .20508        .79927E-01   -.83722    
  16  Prefactor     .86209        .79754E-01    .44527E-01   -.97479    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60809e-08
Minuit parameter uncertainties:
  1  9.16536
  2  0.00287428
  3  1.60558e-05
  4  0.000170949
  5  30.217
  6  16.962
  7  0.00177442
  8  3.82848e-05
  9  7.01992
  10  10.7236
  11  7.66695e-05
  12  1.56265e-05
  13  45.625
  14  0.000206482
  15  0.205207
  16  0.0797644
Done.

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

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.159e+01  1.072e+01  0.000e+00  1.000e+06 ( 1.000e-13)
424        Index:  2.308e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
425        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  8.621e-01  7.976e-02  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  1.295e+00  2.052e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.19
Ra Dec: 289.442 -69.506
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 3.58e-08 +/- 3.32e-08
Energy Flux (Fixed Index): 1.34e-05 +/- 1.24e-05

TS (Fixed Index): 2.19
Ra Dec: 289.442 -69.506
Photon Flux Upper Limit: 1.12e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/410506/likelihoodResults_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.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) = 10543.7094879
delta logL = 1.08734951265

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10543.6589369
delta logL = 1.13790052674

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5462       1.0000          .0000       .10000E+07
     2 'Index     '    3.5218       1.0000          .0000       10.000    
     3 'Normalizat'    1.2129       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88088       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6830E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10543.66     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      261 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5427        19.824        .63967E-03    .67580E-02
   2  Index         3.5224        2.0029        .12001        .25835E-03
   3  Normalizat    1.2129        .64388E-01    .82097E-01    .20179E-04
   4  Prefactor     .88088        .24451E-01    .44761E-01   -.61578E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.54274
  Index      = 3.52241
  Normalizat = 1.21289
  Prefactor  = 0.880884
 **********
 **   18 **HESSE 
 **********

 FCN=   10543.66     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      294 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5427        39.546        .87342E-05   -1.5676    
   2  Index         3.5224        3.3455        .42396E-02   -.30000    
   3  Normalizat    1.2129        .24721        .36346E-03   -.86205    
   4  Prefactor     .88088        .94253E-01    .16232E-03   -.96812    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.88834e-07
Minuit parameter uncertainties:
  1  20.0556
  2  3.70635
  3  0.247449
  4  0.0942705
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/410506': 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) = 10543.6589366
delta logL = 1.13790078677

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  2.543e+00  2.006e+01  0.000e+00  1.000e+06 ( 1.000e-13)
424        Index:  3.522e+00  3.706e+00  0.000e+00  1.000e+01 (-1.000e+00)
425        Scale:  1.347e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  8.809e-01  9.427e-02  0.000e+00  1.000e+01 ( 1.000e+00)
681        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
682        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
679   Normalization:  1.213e+00  2.474e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.61
Ra Dec: 289.442 -69.506
Photon Index (Free Index): 3.52 +/- 3.71
Photon Flux (Free Index): 9.62e-08 +/- 6.09e-08
Energy Flux (Free Index): 1.59e-05 +/- 1.38e-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/410506/cmap_HighResolution_689817601_690076801_4FGL_J1917.7-6930_daily_bin1738.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.60e-03', comment='SUCCESS', photon_flux='3.58e-08', energy_flux2='1.59e-05', photon_flux_error='3.32e-08', dlogl='1.14e+00', energy_flux='1.34e-05', photon_flux2='9.62e-08', job_status='DONE', time_completed='2022-11-14 00:59:13.388571', photon_index_error2='3.71', photon_index2='3.52', ts='2.19', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='1.12e-07', energy_flux_error2='1.38e-05', EG='1.29', time_epoch_completed='1668416353.39', return_code='0', job_id='410506', GAL2='0.88', EG2='1.21', return_code2='102', energy_flux_error='1.24e-05', photon_flux_error2='6.09e-08', ts2='4.61', photon_index='2.31' WHERE bin_id='1738' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Nov 14 00:59:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0124>
Subject: Job 410506: <4FGL_J1917.7-6930_daily_bin1738> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1738> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Nov 14 00:45:24 2022
Job was executed on host(s) <bullet0124>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Nov 14 00:46:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Nov 14 00:46:36 2022
Terminated at Mon Nov 14 00:59:14 2022
Results reported at Mon Nov 14 00:59:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1738 289.442 -69.5061 689817601 690076801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1917.7-6930 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   715.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            830 sec.

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

