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


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1719
RA = 289.442, Dec = -69.5061
tmin = 684892801, tmax = 685152001
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='666439', job_status='RUN', time_executed='2022-09-18 01:18:11.539092', time_epoch_executed='1663489091.54' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666439

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666439/ft1_4FGL_J1917.7-6930_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666439/ft1_4FGL_J1917.7-6930_daily_bin1719.fits outfile=/scratch/kocevski/666439/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1719.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=684892801.0 tmax=685152001.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.29
user 2.95
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.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/666439/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/666439/ft1_filtered_4FGL_J1917.7-6930_daily_bin1719.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.57
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 1179

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666439/ft1_filtered_4FGL_J1917.7-6930_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/666439/ltcube_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.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/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.fits
.....................!
real 17.09
user 16.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666439/ft1_filtered_4FGL_J1917.7-6930_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/666439/ltcube_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.fits outfile=/scratch/kocevski/666439/expmap_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.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/666439/ltcube_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.fits
.....................!
real 193.41
user 187.12
sys 5.38

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/666439/ft1_filtered_4FGL_J1917.7-6930_daily_bin1719.fits scfile=/scratch/kocevski/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.fits outfile=/scratch/kocevski/666439/cmap_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.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.59
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666439/ft1_filtered_4FGL_J1917.7-6930_daily_bin1719.fits scfile=/scratch/kocevski/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.fits outfile=/scratch/kocevski/666439/cmap_HighResolution_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.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.56
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/666439/ft1_filtered_4FGL_J1917.7-6930_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/666439/Model_4FGL_J1917.7-6930_daily_bin1719.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/666439/ft1_filtered_4FGL_J1917.7-6930_daily_bin1719.fits.....................!
real 112.68
user 110.75
sys 1.63

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666439/ft1_filtered_4FGL_J1917.7-6930_daily_bin1719.fits', '/scratch/kocevski/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.fits', expMap='/scratch/kocevski/666439/expmap_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.fits', expCube='/scratch/kocevski/666439/ltcube_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666439/Model_4FGL_J1917.7-6930_daily_bin1719.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/666439/ft1_filtered_4FGL_J1917.7-6930_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/666439/ft2_4FGL_J1917.7-6930_daily_bin1719.fits
Exposure map: /scratch/kocevski/666439/expmap_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.fits
Exposure cube: /scratch/kocevski/666439/ltcube_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666439/Model_4FGL_J1917.7-6930_daily_bin1719.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) = 12056.5896911

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.9249       1.0000          .0000       .10000E+07
     2 'norm      '    17.130       1.0000          .0000       .10000E+07
     3 'Prefactor '    37.677       1.0000          .0000       .10000E+07
     4 'Prefactor '    .27060E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    164.82       1.0000          .0000       .10000E+07
     6 'norm      '    .18529E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .41427E-03   1.0000          .0000       .10000E+07
     8 'norm      '    9.2099       1.0000          .0000       .10000E+07
     9 'norm      '    2.6768       1.0000          .0000       .10000E+07
    10 'Prefactor '    7.1565       1.0000          .0000       .10000E+07
    11 'Prefactor '    3.7189       1.0000          .0000       .10000E+07
    12 'norm      '    .37581E-07   1.0000          .0000       .10000E+07
    13 'norm      '    2.7757       1.0000          .0000       .10000E+07
    14 'Prefactor '    .20311E-05   1.0000          .0000       .10000E+07
    15 'Normalizat'    1.7825       1.0000         .10000E-01   10.000    
    16 'Prefactor '    .76222       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=   12056.46     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1167 TOTAL
                     EDM=   .13E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.8475        4.7984        .16295E-06   -.66852E-03
   2  norm          18.178        32.835       -.86936E-07   -.64532E-05
   3  Prefactor     38.163        20.227       -.38082E-07   -.65446E-04
   4  Prefactor      .0000        33.119       -.14729E-06** at limit **
   5  Prefactor     166.72        90.766        .10179E-06   -.17310E-04
   6  norm           .0000        8.6658       -.75606E-06** at limit **
   7  Prefactor      .0000        22.177       -.75598E-06** at limit **
   8  norm          9.1770        6.9632       -.87400E-07   -.34208E-06
   9  norm          2.6688        4.0785        .82743E-07    .86517E-04
  10  Prefactor     7.2146        9.0097        .56144E-07   -.12115E-04
  11  Prefactor     3.6479        13.510       -.92720E-07    .46356E-04
  12  norm           .0000        1.2711       -.38936E-07** at limit **
  13  norm          .55511E-10    252.14       -.51343E-06** at limit **
  14  Prefactor      .0000        6.0169        .60272E-07** at limit **
  15  Normalizat    1.7825        .26102       -.58781E-06   -.42017E-05
  16  Prefactor     .76233        .95812E-01    .15925E-05   -.24837E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 7.84751
  norm       = 18.1779
  Prefactor  = 38.1625
  Prefactor  = 0
  Prefactor  = 166.723
  norm       = 0
  Prefactor  = 0
  norm       = 9.17699
  norm       = 2.66878
  Prefactor  = 7.21458
  Prefactor  = 3.64793
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 0
  Normalizat = 1.78248
  Prefactor  = 0.762327
 **********
 **   18 **HESSE 
 **********

 FCN=   12056.46     FROM HESSE     STATUS=OK           241 CALLS     1408 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.8475        4.8045        .35594E-03   -1.5652    
   2  norm          18.178        32.772        .24172E-03   -1.5623    
   3  Prefactor     38.163        20.240        .16293E-03   -1.5584    
   4  Prefactor      .0000        32.928        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     166.72        90.716        .77900E-04   -1.5450    
   6  norm           .0000        8.6585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        22.233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.1770        6.9669        .33000E-03   -1.5647    
   9  norm          2.6688        4.0886        .62258E-03   -1.5675    
  10  Prefactor     7.2146        9.0162        .37473E-03   -1.5654    
  11  Prefactor     3.6479        13.536        .52340E-03   -1.5670    
  12  norm           .0000        .49508        .29240E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .55511E-10    250.71        .61056E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        6.0218        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Normalizat    1.7825        .21313        .76409E-01   -.70122    
  16  Prefactor     .76233        .77962E-01    .43224E-01   -1.0113    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53566e-08
Minuit parameter uncertainties:
  1  4.80454
  2  32.7726
  3  20.2402
  4  1.96069e-05
  5  90.7163
  6  1.0788e-05
  7  3.67294e-06
  8  6.9669
  9  4.08864
  10  9.0162
  11  13.5364
  12  1.122e-07
  13  0.000170002
  14  1.17691e-06
  15  0.213242
  16  0.0779733
Done.

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

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  7.215e+00  9.016e+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

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  7.623e-01  7.797e-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.782e+00  2.132e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.90
Ra Dec: 289.442 -69.506
Photon Flux Upper Limit: 8.91e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666439/likelihoodResults_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.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) = 12056.4541622
delta logL = 0.00204198349275

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12056.4533825
delta logL = 0.00282176994733

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8257       1.0000          .0000       .10000E+07
     2 'Index     '    2.3641       1.0000          .0000       10.000    
     3 'Normalizat'    1.7810       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76267       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12056.45     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      238 TOTAL
                     EDM=   .88E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.8250        10.732        .15352E-04    .77016E-03
   2  Index         2.3663        .82691        .95222E-02    .27708E-04
   3  Normalizat    1.7808        .26054        .33821E-03   -.24097E-03
   4  Prefactor     .76269        .94621E-01    .17735E-03   -.43919E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.825
  Index      = 2.3663
  Normalizat = 1.78085
  Prefactor  = 0.762689
 **********
 **   18 **HESSE 
 **********

 FCN=   12056.45     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .74E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.8250        10.080        .61408E-06   -1.5656    
   2  Index         2.3663        .77725        .38089E-03   -.55476    
   3  Normalizat    1.7808        .26070        .67642E-04   -.70165    
   4  Prefactor     .76269        .94685E-01    .35469E-04   -1.0112    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.3638e-11
Minuit parameter uncertainties:
  1  10.0805
  2  0.781651
  3  0.260899
  4  0.0947046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666439': 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) = 12056.4533766
delta logL = 0.00282763393079

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  6.825e+00  1.008e+01  0.000e+00  1.000e+06 ( 1.000e-13)
424        Index:  2.366e+00  7.817e-01  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:  7.627e-01  9.470e-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.781e+00  2.609e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.90
Ra Dec: 289.442 -69.506

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/666439/cmap_HighResolution_684892801_685152001_4FGL_J1917.7-6930_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.84e-03', job_status='DONE', photon_flux_upper_limit='8.91e-08', time_completed='2022-09-18 01:31:46.524254', job_id='666439', GAL2='0.76', fit_tolerance='1e-08', EG2='1.78', EG='1.78', time_epoch_completed='1663489906.52', return_code2='0', ts='0.90', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='2.83e-03', ts2='0.91', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1719' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:31:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0077>
Subject: Job 666439: <4FGL_J1917.7-6930_daily_bin1719> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 01:15:26 2022
Job was executed on host(s) <bullet0077>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:15:59 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:15:59 2022
Terminated at Sun Sep 18 01:31:47 2022
Results reported at Sun Sep 18 01:31:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1719 289.442 -69.5061 684892801 685152001 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 :                                   814.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             314.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            981 sec.

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

