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


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1440
RA = 289.442, Dec = -69.5061
tmin = 612576001, tmax = 612835201
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='783463', job_status='RUN', time_executed='2021-09-22 15:49:51.251051', time_epoch_executed='1632350991.25' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1440'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/783463

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/783463/ft1_4FGL_J1917.7-6930_daily_bin1440.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/783463/ft2_4FGL_J1917.7-6930_daily_bin1440.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/783463/ft1_4FGL_J1917.7-6930_daily_bin1440.fits outfile=/scratch/kocevski/783463/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1440.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=612576001.0 tmax=612835201.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.85
user 2.63
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/783463/ft1_filtered_4FGL_J1917.7-6930_daily_bin1440.fits" evtable="EVENTS" scfile=/scratch/kocevski/783463/ft2_4FGL_J1917.7-6930_daily_bin1440.fits sctable="SC_DATA" outfile=/scratch/kocevski/783463/ltcube_612576001_612835201_4FGL_J1917.7-6930_daily_bin1440.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/783463/ft2_4FGL_J1917.7-6930_daily_bin1440.fits
.....................!
real 14.86
user 14.46
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/783463/ft1_filtered_4FGL_J1917.7-6930_daily_bin1440.fits evtable="EVENTS" scfile=/scratch/kocevski/783463/ft2_4FGL_J1917.7-6930_daily_bin1440.fits sctable="SC_DATA" expcube=/scratch/kocevski/783463/ltcube_612576001_612835201_4FGL_J1917.7-6930_daily_bin1440.fits outfile=/scratch/kocevski/783463/expmap_612576001_612835201_4FGL_J1917.7-6930_daily_bin1440.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/783463/ltcube_612576001_612835201_4FGL_J1917.7-6930_daily_bin1440.fits
.....................!
real 191.45
user 186.13
sys 4.76

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/783463/ft1_filtered_4FGL_J1917.7-6930_daily_bin1440.fits scfile=/scratch/kocevski/783463/ft2_4FGL_J1917.7-6930_daily_bin1440.fits outfile=/scratch/kocevski/783463/cmap_612576001_612835201_4FGL_J1917.7-6930_daily_bin1440.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.54
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/783463/ft1_filtered_4FGL_J1917.7-6930_daily_bin1440.fits scfile=/scratch/kocevski/783463/ft2_4FGL_J1917.7-6930_daily_bin1440.fits outfile=/scratch/kocevski/783463/cmap_HighResolution_612576001_612835201_4FGL_J1917.7-6930_daily_bin1440.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/783463/ft1_filtered_4FGL_J1917.7-6930_daily_bin1440.fits evtable="EVENTS" scfile=/scratch/kocevski/783463/ft2_4FGL_J1917.7-6930_daily_bin1440.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/783463/Model_4FGL_J1917.7-6930_daily_bin1440.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/783463/ft1_filtered_4FGL_J1917.7-6930_daily_bin1440.fits.....................!
real 59.98
user 58.63
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    18.053       1.0000         .10000E-03   10000.    
     3 'norm      '    8.2136       1.0000         .10000E-03   10000.    
     4 'Prefactor '    107.75       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10365E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
     8 'norm      '    20.729       1.0000         .10000E-03   10000.    
     9 'Prefactor '    10000.       1.0000         .10000E-03   10000.    
    10 'norm      '    61.009       1.0000         .10000E-03   10000.    
    11 'norm      '    8.0490       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.6946       1.0000         .10000E-03   10000.    
    14 'norm      '    15.021       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.1176       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .96524       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=   5907.616     FROM MIGRAD    STATUS=CONVERGED    347 CALLS     1796 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    79.250       -.10138E-03** at limit **
   2  norm          18.053        9.7786       -.27832E-05   -.19294E-03
   3  norm          8.3110        320.74        .19875E-03    .16556E-04
   4  Prefactor     107.71        113.83       -.29371E-04   -.11582E-03
   5  Prefactor     .10000E-03    82.955        .10780E-03** at limit **
   6  Prefactor    10000.0        679.43       -.22765E-03** at limit **
   7  Prefactor    10000.0        1226.7        .63809E-03** at limit **
   8  norm          20.731        25.148       -.24864E-05   -.26508E-04
   9  Prefactor    10000.0        6200.9        .12698E-02** at limit **
  10  norm          61.010        23.443        .34434E-06   -.39182E-04
  11  norm          8.0501        6.7229       -.51894E-06   -.18622E-03
  12  Prefactor     .10000E-03    11.075        .10032E-06** at limit **
  13  Prefactor     2.6971        43.511       -.32265E-05   -.53596E-04
  14  norm          15.020        8.7288       -.47848E-05   -.54194E-04
  15  norm          .10000E-03    39.694        .12589E-05** at limit **
  16  Prefactor     .10000E-03    9.8045        .55043E-07** at limit **
  17  Normalizat    1.1179        .28376        .50654E-05   -.18069E-03
  18  Prefactor     .96509        .12072       -.21692E-05    .22173E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  norm       = 18.0531
  norm       = 8.31105
  Prefactor  = 107.709
  Prefactor  = 0.000100002
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 20.7314
  Prefactor  = 10000
  norm       = 61.0095
  norm       = 8.05007
  Prefactor  = 0.0001
  Prefactor  = 2.69708
  norm       = 15.02
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11793
  Prefactor  = 0.965094
 **********
 **   18 **HESSE 
 **********

 FCN=   5907.616     FROM HESSE     STATUS=OK           240 CALLS     2036 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    79.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          18.053        9.7778        .94264E-04   -1.4858    
   3  norm          8.3110        319.38        .13989E-03   -1.5131    
   4  Prefactor     107.71        113.96        .19372E-03   -1.3629    
   5  Prefactor     .10000E-03    83.118        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor    10000.0        679.33        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor    10000.0        1225.7        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          20.731        25.157        .87972E-04   -1.4797    
   9  Prefactor    10000.0        6199.3        .18142E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          61.010        23.439        .51370E-04   -1.4144    
  11  norm          8.0501        6.7473        .14132E-03   -1.5140    
  12  Prefactor     .10000E-03    11.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.6971        43.781        .24818E-03   -1.5379    
  14  norm          15.020        8.7450        .10334E-03   -1.4933    
  15  norm          .10000E-03    39.813        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    9.9427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.1179        .33223        .39522E-03   -.89178    
  18  Prefactor     .96509        .14277        .17525E-03   -.93902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21775e-09
Minuit parameter uncertainties:
  1  0.000553077
  2  9.7787
  3  103.641
  4  114.194
  5  0.000876901
  6  0.000198086
  7  0.000218753
  8  25.1695
  9  0.000211617
  10  23.4427
  11  6.7479
  12  1.93408e-05
  13  21.7514
  14  8.74578
  15  2.12098e-05
  16  2.60727e-05
  17  0.332854
  18  0.14283
Done.

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

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.000e-04  1.934e-05  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.651e-01  1.428e-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.118e+00  3.329e-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: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/783463/likelihoodResults_612576001_612835201_4FGL_J1917.7-6930_daily_bin1440.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) = 5907.61635246
delta logL = -0.00042890484292

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5907.61592487
delta logL = -1.31379601953e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3373       1.0000          .0000       10.000    
     3 'Normalizat'    1.1174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96527       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=   5907.616     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      239 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.581        .90712E-02** at limit **
   2  Index         2.3576        6.1626        .50000       -.16294E-04
   3  Normalizat    1.1179        .27785        .89239E-01    .32713E-04
   4  Prefactor     .96509        .11621        .45832E-01    .28923E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.35755
  Normalizat = 1.11794
  Prefactor  = 0.965091
 **********
 **   18 **HESSE 
 **********

 FCN=   5907.616     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      270 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1355.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3576        8.2813        .50000       -.55682    
   3  Normalizat    1.1179        .98040E-01    .39522E-03   -.89178    
   4  Prefactor     .96509        .41049E-01    .17525E-03   -.93902    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94728e-08
Minuit parameter uncertainties:
  1  0.000962126
  2  47.1518
  3  0.0980557
  4  0.0410507
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/783463': 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) = 5907.61592337
delta logL = 1.7979346012e-07

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.000e-04  9.621e-04  1.000e-04  1.000e+04 ( 1.000e-13)
424        Index:  2.358e+00  4.715e+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.651e-01  4.105e-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.118e+00  9.806e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/783463/cmap_HighResolution_612576001_612835201_4FGL_J1917.7-6930_daily_bin1440.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.68e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2021-09-22 16:02:29.891720', job_id='783463', GAL2='0.97', fit_tolerance='1e-08', EG2='1.12', EG='1.12', time_epoch_completed='1632351749.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.97', dlogl='1.80e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1440' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 22 16:02:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 783463: <4FGL_J1917.7-6930_daily_bin1440> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1440> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 22 15:45:59 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 22 15:49:05 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:49:05 2021
Terminated at Wed Sep 22 16:02:30 2021
Results reported at Wed Sep 22 16:02:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1440 289.442 -69.5061 612576001 612835201 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 :                                   610.33 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   807 sec.
    Turnaround time :                            991 sec.

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

