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


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1681
RA = 289.442, Dec = -69.5061
tmin = 675043201, tmax = 675302401
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='754429', job_status='RUN', time_executed='2022-05-27 00:53:15.780300', time_epoch_executed='1653637995.78' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1681'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/754429

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/754429/ft1_4FGL_J1917.7-6930_daily_bin1681.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/754429/ft2_4FGL_J1917.7-6930_daily_bin1681.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/754429/ft1_4FGL_J1917.7-6930_daily_bin1681.fits outfile=/scratch/kocevski/754429/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1681.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=675043201.0 tmax=675302401.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.56
user 3.30
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/754429/ft2_4FGL_J1917.7-6930_daily_bin1681.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/754429/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1681.fits evtable="EVENTS" outfile="/scratch/kocevski/754429/ft1_filtered_4FGL_J1917.7-6930_daily_bin1681.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.16

Number of photons that the gtmktime cut: 964

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/754429/ft1_filtered_4FGL_J1917.7-6930_daily_bin1681.fits" evtable="EVENTS" scfile=/scratch/kocevski/754429/ft2_4FGL_J1917.7-6930_daily_bin1681.fits sctable="SC_DATA" outfile=/scratch/kocevski/754429/ltcube_675043201_675302401_4FGL_J1917.7-6930_daily_bin1681.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/754429/ft2_4FGL_J1917.7-6930_daily_bin1681.fits
.....................!
real 15.57
user 14.37
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/754429/ft1_filtered_4FGL_J1917.7-6930_daily_bin1681.fits evtable="EVENTS" scfile=/scratch/kocevski/754429/ft2_4FGL_J1917.7-6930_daily_bin1681.fits sctable="SC_DATA" expcube=/scratch/kocevski/754429/ltcube_675043201_675302401_4FGL_J1917.7-6930_daily_bin1681.fits outfile=/scratch/kocevski/754429/expmap_675043201_675302401_4FGL_J1917.7-6930_daily_bin1681.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/754429/ltcube_675043201_675302401_4FGL_J1917.7-6930_daily_bin1681.fits
.....................!
real 191.78
user 186.03
sys 5.03

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/754429/ft1_filtered_4FGL_J1917.7-6930_daily_bin1681.fits scfile=/scratch/kocevski/754429/ft2_4FGL_J1917.7-6930_daily_bin1681.fits outfile=/scratch/kocevski/754429/cmap_675043201_675302401_4FGL_J1917.7-6930_daily_bin1681.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/754429/ft1_filtered_4FGL_J1917.7-6930_daily_bin1681.fits scfile=/scratch/kocevski/754429/ft2_4FGL_J1917.7-6930_daily_bin1681.fits outfile=/scratch/kocevski/754429/cmap_HighResolution_675043201_675302401_4FGL_J1917.7-6930_daily_bin1681.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/754429/ft1_filtered_4FGL_J1917.7-6930_daily_bin1681.fits evtable="EVENTS" scfile=/scratch/kocevski/754429/ft2_4FGL_J1917.7-6930_daily_bin1681.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/754429/Model_4FGL_J1917.7-6930_daily_bin1681.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/754429/ft1_filtered_4FGL_J1917.7-6930_daily_bin1681.fits.....................!
real 90.70
user 89.26
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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      '    40.964       1.0000         .10000E-03   10000.    
     3 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.840       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    84.469       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.3494       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    73.749       1.0000         .10000E-03   10000.    
    11 'norm      '    .81093       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.089       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1873       1.0000         .10000E-03   10000.    
    15 'norm      '    35.619       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.3673       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .89167       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=   9846.481     FROM MIGRAD    STATUS=CONVERGED    350 CALLS     1693 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    58.993        .32503E-05** at limit **
   2  norm          40.964        9.6526        .14117E-07    .94957E-05
   3  norm          .10000E-03    22.098       -.55049E-09** at limit **
   4  Prefactor     10.842        16.587        .77841E-07   -.90195E-05
   5  Prefactor     .10000E-03    4.8313        .98269E-08** at limit **
   6  Prefactor     84.463        73.111       -.83986E-06   -.48028E-04
   7  Prefactor     .10000E-03    66.936       -.23061E-05** at limit **
   8  norm          2.3215        59.670       -.44592E-05   -.84527E-04
   9  Prefactor     .10000E-03    40.234       -.64878E-06** at limit **
  10  norm          73.747        15.675        .91114E-07    .10202E-03
  11  norm          .81011        3.9555        .27397E-05   -.23013E-03
  12  Prefactor     .10000E-03    8.6613       -.75448E-07** at limit **
  13  Prefactor     13.087        28.727       -.39064E-06   -.23228E-04
  14  norm          2.1873        1.3446        .31946E-07   -.46527E-04
  15  norm          35.621        38.451        .14601E-06    .12703E-04
  16  Prefactor     .10000E-03    4.1063        .34252E-07** at limit **
  17  Normalizat    1.3674        .23172        .37857E-06   -.42034E-04
  18  Prefactor     .89163        .88332E-01   -.31447E-06    .10381E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  norm       = 40.9636
  norm       = 0.0001
  Prefactor  = 10.8419
  Prefactor  = 0.0001
  Prefactor  = 84.4631
  Prefactor  = 0.000100002
  norm       = 2.32153
  Prefactor  = 0.0001
  norm       = 73.7473
  norm       = 0.810109
  Prefactor  = 0.0001
  Prefactor  = 13.0865
  norm       = 2.18734
  norm       = 35.6209
  Prefactor  = 0.0001
  Normalizat = 1.36743
  Prefactor  = 0.891633
 **********
 **   18 **HESSE 
 **********

 FCN=   9846.481     FROM HESSE     STATUS=OK           242 CALLS     1935 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    60.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          40.964        9.6535        .62630E-04   -1.4427    
   3  norm          .10000E-03    22.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.842        16.593        .12169E-03   -1.5049    
   5  Prefactor     .10000E-03    4.8376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     84.463        73.430        .43708E-04   -1.3867    
   7  Prefactor     .10000E-03    67.772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.3215        65.742        .26743E-03   -1.5403    
   9  Prefactor     .10000E-03    40.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          73.747        15.702        .46752E-04   -1.3988    
  11  norm          .81011        4.1704        .39387E-03   -1.5528    
  12  Prefactor     .10000E-03    8.7850        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.087        28.754        .11072E-03   -1.4984    
  14  norm          2.1873        1.3411        .86815E-04   -1.5412    
  15  norm          35.621        38.470        .67148E-04   -1.4514    
  16  Prefactor     .10000E-03    4.1124        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.3674        .27489        .37393E-03   -.81575    
  18  Prefactor     .89163        .10530        .17341E-03   -.96434    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.97891e-10
Minuit parameter uncertainties:
  1  0.000927746
  2  9.65386
  3  8.8197e-07
  4  16.6001
  5  1.46753e-06
  6  73.5089
  7  0.00068225
  8  24.7375
  9  0.000140371
  10  15.7031
  11  3.67632
  12  2.46112e-06
  13  28.7845
  14  1.34108
  15  38.4972
  16  7.1819e-07
  17  0.27519
  18  0.105326
Done.

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

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.000e-04  2.461e-06  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.916e-01  1.053e-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.367e+00  2.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/754429/likelihoodResults_675043201_675302401_4FGL_J1917.7-6930_daily_bin1681.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) = 9846.48118681
delta logL = -0.000542600650078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9846.48064409
delta logL = 1.16398950922e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.2838       1.0000          .0000       10.000    
     3 'Normalizat'    1.3674       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89164       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=   9846.481     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      251 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10086E-03    61.844        .18142E-02** at limit **
   2  Index         2.2385        6.4422        .50000        .17428E-04
   3  Normalizat    1.3674        .15276E-01    .37392E-03   -.32836E-05
   4  Prefactor     .89163        .59065E-02    .17341E-03   -.35401E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100861
  Index      = 2.23849
  Normalizat = 1.36743
  Prefactor  = 0.891632
 **********
 **   18 **HESSE 
 **********

 FCN=   9846.481     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10086E-03    274.49        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2385        8.8778        .50000       -.58512    
   3  Normalizat    1.3674        .33116E-01    .14957E-04   -.81575    
   4  Prefactor     .89163        .12805E-01    .69366E-05   -.96434    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.91476e-09
Minuit parameter uncertainties:
  1  0.0308933
  2  410.252
  3  0.0331168
  4  0.0128046
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/754429': 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) = 9846.48064392
delta logL = 2.89805029752e-07

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.009e-04  3.089e-02  1.000e-04  1.000e+04 ( 1.000e-13)
424        Index:  2.238e+00  4.103e+02  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.916e-01  1.280e-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.367e+00  3.312e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/754429/cmap_HighResolution_675043201_675302401_4FGL_J1917.7-6930_daily_bin1681.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.34e-03', job_status='DONE', photon_flux_upper_limit='6.95e-08', time_completed='2022-05-27 01:06:44.519557', job_id='754429', GAL2='0.89', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1653638804.52', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='2.90e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1681' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May 27 01:06:44 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 754429: <4FGL_J1917.7-6930_daily_bin1681> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1681> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May 27 00:50:17 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May 27 00:52:51 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May 27 00:52:51 2022
Terminated at Fri May 27 01:06:45 2022
Results reported at Fri May 27 01:06:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1681 289.442 -69.5061 675043201 675302401 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 :                                   809.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             353.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   836 sec.
    Turnaround time :                            988 sec.

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

