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


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1633
RA = 289.442, Dec = -69.5061
tmin = 662601601, tmax = 662860801
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='691614', job_status='RUN', time_executed='2022-01-03 00:34:07.490462', time_epoch_executed='1641198847.49' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1633'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/691614

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/691614/ft1_4FGL_J1917.7-6930_daily_bin1633.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/691614/ft2_4FGL_J1917.7-6930_daily_bin1633.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/691614/ft1_4FGL_J1917.7-6930_daily_bin1633.fits outfile=/scratch/kocevski/691614/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1633.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=662601601.0 tmax=662860801.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.99
user 2.73
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/691614/ft1_filtered_4FGL_J1917.7-6930_daily_bin1633.fits" evtable="EVENTS" scfile=/scratch/kocevski/691614/ft2_4FGL_J1917.7-6930_daily_bin1633.fits sctable="SC_DATA" outfile=/scratch/kocevski/691614/ltcube_662601601_662860801_4FGL_J1917.7-6930_daily_bin1633.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/691614/ft2_4FGL_J1917.7-6930_daily_bin1633.fits
.....................!
real 12.65
user 12.31
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/691614/ft1_filtered_4FGL_J1917.7-6930_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/691614/ft2_4FGL_J1917.7-6930_daily_bin1633.fits sctable="SC_DATA" expcube=/scratch/kocevski/691614/ltcube_662601601_662860801_4FGL_J1917.7-6930_daily_bin1633.fits outfile=/scratch/kocevski/691614/expmap_662601601_662860801_4FGL_J1917.7-6930_daily_bin1633.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/691614/ltcube_662601601_662860801_4FGL_J1917.7-6930_daily_bin1633.fits
.....................!
real 191.37
user 185.90
sys 5.15

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/691614/ft1_filtered_4FGL_J1917.7-6930_daily_bin1633.fits scfile=/scratch/kocevski/691614/ft2_4FGL_J1917.7-6930_daily_bin1633.fits outfile=/scratch/kocevski/691614/cmap_662601601_662860801_4FGL_J1917.7-6930_daily_bin1633.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.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/691614/ft1_filtered_4FGL_J1917.7-6930_daily_bin1633.fits scfile=/scratch/kocevski/691614/ft2_4FGL_J1917.7-6930_daily_bin1633.fits outfile=/scratch/kocevski/691614/cmap_HighResolution_662601601_662860801_4FGL_J1917.7-6930_daily_bin1633.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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/691614/ft1_filtered_4FGL_J1917.7-6930_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/691614/ft2_4FGL_J1917.7-6930_daily_bin1633.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/691614/Model_4FGL_J1917.7-6930_daily_bin1633.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/691614/ft1_filtered_4FGL_J1917.7-6930_daily_bin1633.fits.....................!
real 74.16
user 72.79
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11423E-02   1.0000         .10000E-03   10000.    
     2 'norm      '    13.908       1.0000         .10000E-03   10000.    
     3 'norm      '    45.705       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.376       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    89.056       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11977E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10061E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10752E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .41224       1.0000         .10000E-03   10000.    
    11 'norm      '    11.308       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.7216       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.561       1.0000         .10000E-03   10000.    
    14 'norm      '    4.4046       1.0000         .10000E-03   10000.    
    15 'norm      '    65.408       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2060       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .91532       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=   7941.658     FROM MIGRAD    STATUS=CONVERGED    627 CALLS     1990 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10343E-03    56.354        .22857    ** at limit **
   2  norm          13.908        5.9581        .10740E-03   -.28781E-03
   3  norm          45.843        71.873        .29653E-03   -.84077E-04
   4  Prefactor     14.375        25.533        .10564E-03    .93630E-05
   5  Prefactor     .10000E-03    6.5945        .18142E-02** at limit **
   6  Prefactor     89.040        149.34        .42577E-04   -.25099E-05
   7  Prefactor     .10000E-03    76.777        .18142E-02** at limit **
   8  norm          .10000E-03    15.721        .18142E-02** at limit **
   9  Prefactor     .10000E-03    107.52        .18142E-02** at limit **
  10  norm          .35787        75.580        .42266E-02   -.47541E-03
  11  norm          11.307        6.5522        .11914E-03    .43896E-05
  12  Prefactor     1.7261        14.580        .16007E-02   -.75705E-04
  13  Prefactor     10.562        16.766        .12329E-03    .24159E-04
  14  norm          4.4072        4.5255        .18260E-03    .59271E-04
  15  norm          65.486        50.179        .24811E-03    .17270E-03
  16  Prefactor     .10000E-03    14.975        .18142E-02** at limit **
  17  Normalizat    1.2059        .29116        .37251E-03   -.37649E-03
  18  Prefactor     .91541        .11605        .16449E-03   -.73007E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103433
  norm       = 13.9075
  norm       = 45.8426
  Prefactor  = 14.3754
  Prefactor  = 0.0001
  Prefactor  = 89.0401
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.357868
  norm       = 11.3073
  Prefactor  = 1.72605
  Prefactor  = 10.5617
  norm       = 4.40719
  norm       = 65.4862
  Prefactor  = 0.0001
  Normalizat = 1.20587
  Prefactor  = 0.915408
 **********
 **   18 **HESSE 
 **********

 FCN=   7941.658     FROM HESSE     STATUS=OK           240 CALLS     2230 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10343E-03    56.782        .22686       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          13.908        5.9577        .42960E-05   -1.4962    
   3  norm          45.843        71.864        .11861E-04   -1.4353    
   4  Prefactor     14.375        25.537        .42255E-05   -1.4949    
   5  Prefactor     .10000E-03    6.5948        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     89.040        149.36        .85155E-05   -1.3818    
   7  Prefactor     .10000E-03    76.777        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    15.727        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    107.52        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .35787        76.026        .16906E-03   -1.5588    
  11  norm          11.307        6.5507        .47654E-05   -1.5035    
  12  Prefactor     1.7261        14.458        .64027E-04   -1.5445    
  13  Prefactor     10.562        16.765        .49317E-05   -1.5058    
  14  norm          4.4072        4.5253        .73041E-05   -1.5288    
  15  norm          65.486        50.171        .99246E-05   -1.4088    
  16  Prefactor     .10000E-03    14.976        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2059        .29131        .74502E-04   -.86422    
  18  Prefactor     .91541        .11606        .32899E-04   -.95605    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.20331e-09
Minuit parameter uncertainties:
  1  0.0279504
  2  5.95799
  3  72.0004
  4  25.5565
  5  9.7978e-06
  6  150.002
  7  0.000404841
  8  3.6005e-05
  9  0.000413272
  10  10.4441
  11  6.55115
  12  9.99407
  13  16.7726
  14  4.52562
  15  50.2038
  16  0.000127918
  17  0.291704
  18  0.116092
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
680    Prefactor:  9.154e-01  1.161e-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.206e+00  2.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/691614/likelihoodResults_662601601_662860801_4FGL_J1917.7-6930_daily_bin1633.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) = 7941.40904898
delta logL = 0.249183054794

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7941.40727634
delta logL = 0.25095569137

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.4239       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4477       1.0000          .0000       10.000    
     3 'Normalizat'    1.2117       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91238       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=   7941.407     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      276 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.4239        26.825        .39589E-02    .70141E-03
   2  Index         1.4477        1.4977        .30434       -.25370E-05
   3  Normalizat    1.2118        .24012        .83944E-01   -.91481E-04
   4  Prefactor     .91233        .93977E-01    .45163E-01   -.28279E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.42391
  Index      = 1.44773
  Normalizat = 1.21178
  Prefactor  = 0.912332
 **********
 **   18 **HESSE 
 **********

 FCN=   7941.407     FROM HESSE     STATUS=OK            31 CALLS      307 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.4239        11.895        .15835E-03   -1.5201    
   2  Index         1.4477        .87133        .16258E-01   -.79014    
   3  Normalizat    1.2118        .28446        .37166E-03   -.86240    
   4  Prefactor     .91233        .11201        .16470E-03   -.95712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36545e-09
Minuit parameter uncertainties:
  1  11.8996
  2  0.880492
  3  0.284826
  4  0.112043
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/691614': 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) = 7941.40727624
delta logL = 0.250955794214

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  6.424e+00  1.190e+01  1.000e-04  1.000e+04 ( 1.000e-13)
424        Index:  1.448e+00  8.805e-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:  9.123e-01  1.120e-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.212e+00  2.848e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/691614/cmap_HighResolution_662601601_662860801_4FGL_J1917.7-6930_daily_bin1633.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.98e-03', job_status='DONE', photon_flux_upper_limit='9.09e-08', time_completed='2022-01-03 00:46:11.853585', job_id='691614', GAL2='0.91', fit_tolerance='1e-08', EG2='1.21', EG='1.21', time_epoch_completed='1641199571.85', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='2.51e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1633' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan  3 00:46:11 PST 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 691614: <4FGL_J1917.7-6930_daily_bin1633> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1633> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Jan  3 00:30:14 2022
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan  3 00:30:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan  3 00:30:17 2022
Terminated at Mon Jan  3 00:46:12 2022
Results reported at Mon Jan  3 00:46:12 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1633 289.442 -69.5061 662601601 662860801 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 :                                   726.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             287.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   955 sec.
    Turnaround time :                            958 sec.

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

