/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 141 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1121
RA = 289.442, Dec = -69.5061
tmin = 529891201, tmax = 530150401
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='779801', job_status='RUN', time_executed='2021-09-22 15:38:26.102397', time_epoch_executed='1632350306.1' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1121'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/779801

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/779801/ft1_4FGL_J1917.7-6930_daily_bin1121.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/779801/ft2_4FGL_J1917.7-6930_daily_bin1121.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/779801/ft1_4FGL_J1917.7-6930_daily_bin1121.fits outfile=/scratch/kocevski/779801/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1121.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=529891201.0 tmax=530150401.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.59
user 3.33
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/779801/ft2_4FGL_J1917.7-6930_daily_bin1121.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/779801/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1121.fits evtable="EVENTS" outfile="/scratch/kocevski/779801/ft1_filtered_4FGL_J1917.7-6930_daily_bin1121.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/779801/ft1_filtered_4FGL_J1917.7-6930_daily_bin1121.fits" evtable="EVENTS" scfile=/scratch/kocevski/779801/ft2_4FGL_J1917.7-6930_daily_bin1121.fits sctable="SC_DATA" outfile=/scratch/kocevski/779801/ltcube_529891201_530150401_4FGL_J1917.7-6930_daily_bin1121.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/779801/ft2_4FGL_J1917.7-6930_daily_bin1121.fits
.....................!
real 12.28
user 11.88
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/779801/ft1_filtered_4FGL_J1917.7-6930_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/779801/ft2_4FGL_J1917.7-6930_daily_bin1121.fits sctable="SC_DATA" expcube=/scratch/kocevski/779801/ltcube_529891201_530150401_4FGL_J1917.7-6930_daily_bin1121.fits outfile=/scratch/kocevski/779801/expmap_529891201_530150401_4FGL_J1917.7-6930_daily_bin1121.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/779801/ltcube_529891201_530150401_4FGL_J1917.7-6930_daily_bin1121.fits
.....................!
real 191.99
user 186.38
sys 4.95

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/779801/ft1_filtered_4FGL_J1917.7-6930_daily_bin1121.fits scfile=/scratch/kocevski/779801/ft2_4FGL_J1917.7-6930_daily_bin1121.fits outfile=/scratch/kocevski/779801/cmap_529891201_530150401_4FGL_J1917.7-6930_daily_bin1121.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/779801/ft1_filtered_4FGL_J1917.7-6930_daily_bin1121.fits scfile=/scratch/kocevski/779801/ft2_4FGL_J1917.7-6930_daily_bin1121.fits outfile=/scratch/kocevski/779801/cmap_HighResolution_529891201_530150401_4FGL_J1917.7-6930_daily_bin1121.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/779801/ft1_filtered_4FGL_J1917.7-6930_daily_bin1121.fits evtable="EVENTS" scfile=/scratch/kocevski/779801/ft2_4FGL_J1917.7-6930_daily_bin1121.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/779801/Model_4FGL_J1917.7-6930_daily_bin1121.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/779801/ft1_filtered_4FGL_J1917.7-6930_daily_bin1121.fits.....................!
real 88.06
user 86.64
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    9.4676       1.0000         .10000E-03   10000.    
     3 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    27.417       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    27.341       1.0000         .10000E-03   10000.    
     9 'Prefactor '    61.494       1.0000         .10000E-03   10000.    
    10 'norm      '    .10041E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.7529       1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.489       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.9903       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.099       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.0738       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .88052       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=   10134.11     FROM MIGRAD    STATUS=CONVERGED    345 CALLS     1681 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    80.103       -.21094E-04** at limit **
   2  norm          9.4670        6.6709       -.53299E-05   -.22288E-03
   3  norm          .10000E-03    43.254        .36612E-04** at limit **
   4  Prefactor     .10000E-03    6.5687        .11460E-07** at limit **
   5  Prefactor     .10000E-03    4.7413       -.32662E-07** at limit **
   6  Prefactor     27.416        66.345       -.72943E-06    .98477E-05
   7  Prefactor     .10000E-03    36.585       -.23211E-04** at limit **
   8  norm          27.341        24.218       -.29289E-07    .24837E-07
   9  Prefactor     61.494        66.314       -.11228E-06    .54404E-05
  10  norm          .10000E-03    3.7118       -.43327E-07** at limit **
  11  norm          6.7527        5.6504       -.15229E-05   -.13148E-03
  12  Prefactor     23.493        13.747        .74368E-08   -.59064E-05
  13  Prefactor     .10000E-03    18.765       -.40724E-06** at limit **
  14  norm          2.9904        1.2823       -.71230E-07   -.31237E-03
  15  norm          .10000E-03    16.260        .86537E-06** at limit **
  16  Prefactor     21.102        17.009       -.93254E-06   -.47169E-03
  17  Normalizat    1.0737        .21250        .42882E-06    .23634E-04
  18  Prefactor     .88058        .79370E-01    .66438E-06   -.10364E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 9.46701
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.4162
  Prefactor  = 0.0001
  norm       = 27.341
  Prefactor  = 61.4935
  norm       = 0.0001
  norm       = 6.75268
  Prefactor  = 23.4928
  Prefactor  = 0.0001
  norm       = 2.99043
  norm       = 0.0001
  Prefactor  = 21.1018
  Normalizat = 1.07366
  Prefactor  = 0.880576
 **********
 **   18 **HESSE 
 **********

 FCN=   10134.11     FROM HESSE     STATUS=OK           242 CALLS     1923 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    80.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          9.4670        6.7077        .13024E-03   -1.5092    
   3  norm          .10000E-03    43.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.5916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.7892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     27.416        66.336        .76511E-04   -1.4660    
   7  Prefactor     .10000E-03    36.513        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          27.341        24.230        .76616E-04   -1.4662    
   9  Prefactor     61.494        66.292        .51168E-04   -1.4138    
  10  norm          .10000E-03    3.7302        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.7527        5.6573        .15441E-03   -1.5188    
  12  Prefactor     23.493        13.767        .82649E-04   -1.4738    
  13  Prefactor     .10000E-03    18.817        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.9904        1.2811        .71436E-04   -1.5362    
  15  norm          .10000E-03    16.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.102        17.193        .43599E-03   -1.4789    
  17  Normalizat    1.0737        .25529        .37227E-03   -.90602    
  18  Prefactor     .88058        .95724E-01    .15715E-03   -.96823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.16386e-10
Minuit parameter uncertainties:
  1  8.15264e-05
  2  6.70821
  3  8.09939e-05
  4  7.99336e-06
  5  7.05069e-06
  6  66.5148
  7  6.15296e-06
  8  24.2389
  9  66.3712
  10  5.29419e-06
  11  5.65778
  12  13.7684
  13  8.23341e-06
  14  1.28107
  15  1.66434e-06
  16  17.1968
  17  0.255587
  18  0.0957424
Done.

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

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  2.349e+01  1.377e+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.806e-01  9.574e-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.074e+00  2.556e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.44
Ra Dec: 289.442 -69.506
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 7.27e-08 +/- 4.26e-08
Energy Flux (Fixed Index): 2.72e-05 +/- 1.59e-05

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) = 10132.4760027
delta logL = 1.63652883198

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10132.4046165
delta logL = 1.70791506634

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .68674       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3019       1.0000          .0000       10.000    
     3 'Normalizat'    .93753       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91952       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=   10132.40     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      276 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .68384        3.2215        .76366E-02   -.17267E-04
   2  Index         4.3036        1.6376        .80810E-01    .20614E-03
   3  Normalizat    .93746        .63516E-01    .89178E-01    .40962E-04
   4  Prefactor     .91955        .24348E-01    .45253E-01    .35975E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.683835
  Index      = 4.30363
  Normalizat = 0.937464
  Prefactor  = 0.919545
 **********
 **   18 **HESSE 
 **********

 FCN=   10132.40     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      309 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .68384        6.0457        .34343E-04   -1.5543    
   2  Index         4.3036        2.4830        .32221E-02   -.13973    
   3  Normalizat    .93746        .22133        .39491E-03   -.95156    
   4  Prefactor     .91955        .84807E-01    .15409E-03   -.95461    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.43617e-10
Minuit parameter uncertainties:
  1  4.06683
  2  2.60101
  3  0.221543
  4  0.0848196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/779801': 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) = 10132.4046158
delta logL = 1.70791569144

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  6.838e-01  4.067e+00  1.000e-04  1.000e+04 ( 1.000e-13)
424        Index:  4.304e+00  2.601e+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:  9.195e-01  8.482e-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:  9.375e-01  2.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.38
Ra Dec: 289.442 -69.506
Photon Index (Free Index): 4.30 +/- 2.60
Photon Flux (Free Index): 1.51e-07 +/- 6.43e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.12e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/779801/cmap_HighResolution_529891201_530150401_4FGL_J1917.7-6930_daily_bin1121.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.27e-08', energy_flux2='2.16e-05', photon_flux_error='4.26e-08', dlogl='1.71e+00', energy_flux='2.72e-05', photon_flux2='1.51e-07', job_status='DONE', time_completed='2021-09-22 15:50:34.624777', photon_index_error2='2.60', photon_index2='4.30', ts='4.44', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.12e-05', EG='1.07', time_epoch_completed='1632351034.62', return_code='0', job_id='779801', GAL2='0.92', EG2='0.94', return_code2='102', energy_flux_error='1.59e-05', photon_flux_error2='6.43e-08', ts2='8.38', photon_index='2.31' WHERE bin_id='1121' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 22 15:50:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0194>
Subject: Job 779801: <4FGL_J1917.7-6930_daily_bin1121> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1121> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 22 15:35:50 2021
Job was executed on host(s) <bullet0194>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 22 15:35:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 22 15:35:58 2021
Terminated at Wed Sep 22 15:50:35 2021
Results reported at Wed Sep 22 15:50:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1121 289.442 -69.5061 529891201 530150401 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 :                                   723.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            885 sec.

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

