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


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1675
RA = 289.442, Dec = -69.5061
tmin = 673488001, tmax = 673747201
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='882835', job_status='RUN', time_executed='2022-05-09 01:21:27.306864', time_epoch_executed='1652084487.31' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1675'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/882835

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/882835/ft1_4FGL_J1917.7-6930_daily_bin1675.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/882835/ft2_4FGL_J1917.7-6930_daily_bin1675.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/882835/ft1_4FGL_J1917.7-6930_daily_bin1675.fits outfile=/scratch/kocevski/882835/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1675.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=673488001.0 tmax=673747201.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 2.57
user 2.34
sys 0.21

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

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

Number of photons that the gtmktime cut: 819

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/882835/ft1_filtered_4FGL_J1917.7-6930_daily_bin1675.fits" evtable="EVENTS" scfile=/scratch/kocevski/882835/ft2_4FGL_J1917.7-6930_daily_bin1675.fits sctable="SC_DATA" outfile=/scratch/kocevski/882835/ltcube_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.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/882835/ft2_4FGL_J1917.7-6930_daily_bin1675.fits
.....................!
real 16.95
user 16.53
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/882835/ft1_filtered_4FGL_J1917.7-6930_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/882835/ft2_4FGL_J1917.7-6930_daily_bin1675.fits sctable="SC_DATA" expcube=/scratch/kocevski/882835/ltcube_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.fits outfile=/scratch/kocevski/882835/expmap_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.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/882835/ltcube_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.fits
.....................!
real 192.60
user 186.85
sys 5.08

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/882835/ft1_filtered_4FGL_J1917.7-6930_daily_bin1675.fits scfile=/scratch/kocevski/882835/ft2_4FGL_J1917.7-6930_daily_bin1675.fits outfile=/scratch/kocevski/882835/cmap_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/882835/ft1_filtered_4FGL_J1917.7-6930_daily_bin1675.fits scfile=/scratch/kocevski/882835/ft2_4FGL_J1917.7-6930_daily_bin1675.fits outfile=/scratch/kocevski/882835/cmap_HighResolution_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/882835/ft1_filtered_4FGL_J1917.7-6930_daily_bin1675.fits evtable="EVENTS" scfile=/scratch/kocevski/882835/ft2_4FGL_J1917.7-6930_daily_bin1675.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/882835/Model_4FGL_J1917.7-6930_daily_bin1675.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/882835/ft1_filtered_4FGL_J1917.7-6930_daily_bin1675.fits.....................!
real 80.98
user 79.43
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/882835/ft1_filtered_4FGL_J1917.7-6930_daily_bin1675.fits', '/scratch/kocevski/882835/ft2_4FGL_J1917.7-6930_daily_bin1675.fits', expMap='/scratch/kocevski/882835/expmap_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.fits', expCube='/scratch/kocevski/882835/ltcube_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/882835/Model_4FGL_J1917.7-6930_daily_bin1675.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  1.000e-04  1.000e+04 ( 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/882835/ft1_filtered_4FGL_J1917.7-6930_daily_bin1675.fits
Spacecraft file(s): /scratch/kocevski/882835/ft2_4FGL_J1917.7-6930_daily_bin1675.fits
Exposure map: /scratch/kocevski/882835/expmap_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.fits
Exposure cube: /scratch/kocevski/882835/ltcube_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/882835/Model_4FGL_J1917.7-6930_daily_bin1675.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) = 8511.33301494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    59.763       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    27.020       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    50.081       1.0000         .10000E-03   10000.    
    11 'norm      '    4.6078       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.8161       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.0607       1.0000         .10000E-03   10000.    
    15 'norm      '    .10178E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.413       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.6556       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .86815       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.

 FCN=   8511.265     FROM MIGRAD    STATUS=CONVERGED    349 CALLS     1726 TOTAL
                     EDM=   .25E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    69.379       -.66337E-05** at limit **
   2  norm          59.763        12.595        .11945E-07   -.26798E-04
   3  norm          .10000E-03    93.228        .55658E-05** at limit **
   4  Prefactor     27.037        27.724       -.13620E-05   -.85251E-04
   5  Prefactor     .10000E-03    19.065        .24808E-05** at limit **
   6  Prefactor     .10000E-03    38.282        .48038E-05** at limit **
   7  Prefactor     .10000E-03    51.075       -.43213E-05** at limit **
   8  norm          .10000E-03    9.5195        .28349E-07** at limit **
   9  Prefactor     .10000E-03    46.157       -.11775E-05** at limit **
  10  norm          50.077        15.983       -.58716E-06    .65001E-06
  11  norm          4.6079        5.8603        .43833E-07   -.50831E-05
  12  Prefactor     1.8273        27.403        .13058E-04   -.13211E-04
  13  Prefactor     .10000E-03    20.202       -.23665E-05** at limit **
  14  norm          1.0610        1.7379        .10783E-06   -.46582E-04
  15  norm          .10000E-03    91.311        .42490E-05** at limit **
  16  Prefactor     11.415        14.911        .41676E-06    .21435E-05
  17  Normalizat    1.6555        .26648       -.69334E-06   -.80120E-05
  18  Prefactor     .86815        .10112       -.79526E-08   -.76672E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 59.7632
  norm       = 0.0001
  Prefactor  = 27.0367
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 50.0769
  norm       = 4.60793
  Prefactor  = 1.82727
  Prefactor  = 0.0001
  norm       = 1.06102
  norm       = 0.0001
  Prefactor  = 11.4146
  Normalizat = 1.65549
  Prefactor  = 0.868148
 **********
 **   18 **HESSE 
 **********

 FCN=   8511.265     FROM HESSE     STATUS=OK           242 CALLS     1968 TOTAL
                     EDM=   .41E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    69.315        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          59.763        12.599        .51899E-04   -1.4160    
   3  norm          .10000E-03    93.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     27.037        27.816        .77069E-04   -1.4668    
   5  Prefactor     .10000E-03    19.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    38.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    51.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.5303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    46.155        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          50.077        16.026        .56668E-04   -1.4291    
  11  norm          4.6079        5.8610        .18751E-03   -1.5279    
  12  Prefactor     1.8273        27.507        .15497E-02   -1.5438    
  13  Prefactor     .10000E-03    20.291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.0610        1.7010        .14701E-03   -1.5502    
  15  norm          .10000E-03    91.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.415        14.971        .59293E-03   -1.5032    
  17  Normalizat    1.6555        .32046        .36651E-03   -.73498    
  18  Prefactor     .86815        .12214        .18647E-03   -.97263    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.084e-11
Minuit parameter uncertainties:
  1  2.01244e-06
  2  12.5994
  3  0.000116563
  4  27.8297
  5  0.000135868
  6  3.47467e-06
  7  1.35123e-06
  8  1.96666e-06
  9  1.39621e-06
  10  16.0274
  11  5.86171
  12  14.1867
  13  1.28276e-05
  14  1.70112
  15  0.000127118
  16  14.9754
  17  0.320859
  18  0.122178
Done.

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

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.827e+00  1.419e+01  1.000e-04  1.000e+04 ( 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.681e-01  1.222e-01  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.655e+00  3.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/882835/likelihoodResults_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.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) = 8510.95182823
delta logL = 0.313012040649

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8510.9221835
delta logL = 0.342656770181

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.6141       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5252       1.0000          .0000       10.000    
     3 'Normalizat'    1.5953       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87979       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=   8510.922     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      241 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.6132        43.763        .83326E-02    .11794E-02
   2  Index         3.5258        3.0409        .13176        .18613E-03
   3  Normalizat    1.5953        .63455E-01    .83961E-01    .53714E-05
   4  Prefactor     .87973        .24291E-01    .44747E-01   -.62352E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.61321
  Index      = 3.52584
  Normalizat = 1.59533
  Prefactor  = 0.879732
 **********
 **   18 **HESSE 
 **********

 FCN=   8510.922     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      274 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.6132        123.53        .14035E-03   -1.5454    
   2  Index         3.5258        6.5815        .73089E-02   -.29928    
   3  Normalizat    1.5953        .29184        .37166E-03   -.75134    
   4  Prefactor     .87973        .11192        .18525E-03   -.96853    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.4957e-06
Minuit parameter uncertainties:
  1  28.2933
  2  7.90651
  3  0.29215
  4  0.111948
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/882835': 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) = 8510.92218303
delta logL = 0.342657243329

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.613e+00  2.829e+01  1.000e-04  1.000e+04 ( 1.000e-13)
424        Index:  3.526e+00  7.907e+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.797e-01  1.119e-01  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.595e+00  2.922e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/882835/cmap_HighResolution_673488001_673747201_4FGL_J1917.7-6930_daily_bin1675.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.99e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2022-05-09 01:33:45.975215', job_id='882835', GAL2='0.88', fit_tolerance='1e-08', EG2='1.60', EG='1.66', time_epoch_completed='1652085225.98', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='3.43e-01', ts2='0.74', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1675' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon May  9 01:33:46 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0047>
Subject: Job 882835: <4FGL_J1917.7-6930_daily_bin1675> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1675> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Mon May  9 01:20:28 2022
Job was executed on host(s) <bullet0047>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon May  9 01:21:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon May  9 01:21:05 2022
Terminated at Mon May  9 01:33:46 2022
Results reported at Mon May  9 01:33:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1675 289.442 -69.5061 673488001 673747201 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 :                                   739.48 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             319.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            798 sec.

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

