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


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1098
RA = 289.442, Dec = -69.5061
tmin = 523929601, tmax = 524188801
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='778524', job_status='RUN', time_executed='2021-09-22 15:34:28.345126', time_epoch_executed='1632350068.35' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1098'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/778524

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/778524/ft1_4FGL_J1917.7-6930_daily_bin1098.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/778524/ft2_4FGL_J1917.7-6930_daily_bin1098.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/778524/ft1_4FGL_J1917.7-6930_daily_bin1098.fits outfile=/scratch/kocevski/778524/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1098.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=523929601.0 tmax=524188801.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.51
user 3.29
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/778524/ft1_filtered_4FGL_J1917.7-6930_daily_bin1098.fits" evtable="EVENTS" scfile=/scratch/kocevski/778524/ft2_4FGL_J1917.7-6930_daily_bin1098.fits sctable="SC_DATA" outfile=/scratch/kocevski/778524/ltcube_523929601_524188801_4FGL_J1917.7-6930_daily_bin1098.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/778524/ft2_4FGL_J1917.7-6930_daily_bin1098.fits
.....................!
real 12.09
user 11.73
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/778524/ft1_filtered_4FGL_J1917.7-6930_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/778524/ft2_4FGL_J1917.7-6930_daily_bin1098.fits sctable="SC_DATA" expcube=/scratch/kocevski/778524/ltcube_523929601_524188801_4FGL_J1917.7-6930_daily_bin1098.fits outfile=/scratch/kocevski/778524/expmap_523929601_524188801_4FGL_J1917.7-6930_daily_bin1098.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/778524/ltcube_523929601_524188801_4FGL_J1917.7-6930_daily_bin1098.fits
.....................!
real 190.56
user 186.07
sys 4.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/778524/ft1_filtered_4FGL_J1917.7-6930_daily_bin1098.fits scfile=/scratch/kocevski/778524/ft2_4FGL_J1917.7-6930_daily_bin1098.fits outfile=/scratch/kocevski/778524/cmap_523929601_524188801_4FGL_J1917.7-6930_daily_bin1098.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/778524/ft1_filtered_4FGL_J1917.7-6930_daily_bin1098.fits scfile=/scratch/kocevski/778524/ft2_4FGL_J1917.7-6930_daily_bin1098.fits outfile=/scratch/kocevski/778524/cmap_HighResolution_523929601_524188801_4FGL_J1917.7-6930_daily_bin1098.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.53
user 0.35
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/778524/ft1_filtered_4FGL_J1917.7-6930_daily_bin1098.fits evtable="EVENTS" scfile=/scratch/kocevski/778524/ft2_4FGL_J1917.7-6930_daily_bin1098.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/778524/Model_4FGL_J1917.7-6930_daily_bin1098.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/778524/ft1_filtered_4FGL_J1917.7-6930_daily_bin1098.fits....................!
real 80.77
user 78.81
sys 1.32

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.5780       1.0000         .10000E-03   10000.    
     3 'norm      '    19.934       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10368E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    33.008       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .54018       1.0000         .10000E-03   10000.    
    11 'norm      '    .10140E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.423       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10192E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.1587       1.0000         .10000E-03   10000.    
    15 'norm      '    85.367       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.2038       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .92455       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=   8880.962     FROM MIGRAD    STATUS=CONVERGED    378 CALLS     1736 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    314.69        .56949E-05** at limit **
   2  norm          2.5770        5.4326        .54364E-05    .24938E-03
   3  norm          19.950        53.507       -.35666E-05   -.53856E-05
   4  Prefactor     .10000E-03    13.753       -.22475E-07** at limit **
   5  Prefactor     .10000E-03    10.897        .53545E-07** at limit **
   6  Prefactor     .10000E-03    44.093        .71805E-05** at limit **
   7  Prefactor     .10000E-03    37.699       -.43033E-05** at limit **
   8  norm          32.991        21.060       -.61509E-06   -.19670E-04
   9  Prefactor     .10000E-03    39.332       -.80511E-07** at limit **
  10  norm          .63496        7.9986        .27673E-05   -.47181E-03
  11  norm          .10000E-03    8.0304       -.17378E-06** at limit **
  12  Prefactor     11.396        14.407        .11228E-05   -.47150E-04
  13  Prefactor     .10000E-03    59.013       -.44356E-05** at limit **
  14  norm          4.1585        1.6838        .24531E-07   -.42703E-04
  15  norm          85.317        64.004        .35825E-05    .67993E-05
  16  Prefactor     .10000E-03    5.6614       -.47241E-07** at limit **
  17  Normalizat    1.2038        .22960       -.38918E-06   -.20937E-04
  18  Prefactor     .92456        .88151E-01   -.24508E-06    .88028E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.57696
  norm       = 19.9501
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 32.9911
  Prefactor  = 0.0001
  norm       = 0.634965
  norm       = 0.0001
  Prefactor  = 11.3956
  Prefactor  = 0.0001
  norm       = 4.1585
  norm       = 85.3172
  Prefactor  = 0.0001
  Normalizat = 1.2038
  Prefactor  = 0.924561
 **********
 **   18 **HESSE 
 **********

 FCN=   8880.962     FROM HESSE     STATUS=OK           244 CALLS     1980 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    317.39        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.5770        5.4710        .12709E-02   -1.5387    
   3  norm          19.950        53.618        .89708E-04   -1.4814    
   4  Prefactor     .10000E-03    13.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    44.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    37.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          32.991        21.035        .69745E-04   -1.4559    
   9  Prefactor     .10000E-03    39.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .63496        36.591        .44805E-02   -1.5549    
  11  norm          .10000E-03    8.4079        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     11.396        14.414        .11853E-03   -1.5033    
  13  Prefactor     .10000E-03    59.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.1585        1.6842        .74659E-04   -1.5300    
  15  norm          85.317        64.076        .21740E-03   -1.3858    
  16  Prefactor     .10000E-03    5.6761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Normalizat    1.2038        .27501        .37115E-03   -.86485    
  18  Prefactor     .92456        .10617        .16137E-03   -.95288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.31524e-09
Minuit parameter uncertainties:
  1  1.37392e-06
  2  5.47206
  3  53.7475
  4  5.7768e-06
  5  4.2761e-06
  6  2.45615e-05
  7  1.03466e-05
  8  21.0393
  9  5.38179e-07
  10  9.64572
  11  2.69291e-05
  12  14.4182
  13  0.000125902
  14  1.68421
  15  64.1276
  16  1.21673e-07
  17  0.275337
  18  0.106193
Done.

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

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.140e+01  1.442e+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:  9.246e-01  1.062e-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.204e+00  2.753e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/778524/likelihoodResults_523929601_524188801_4FGL_J1917.7-6930_daily_bin1098.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) = 8879.80581415
delta logL = 1.15601723903

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8879.78970004
delta logL = 1.17213135084

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1888       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6366       1.0000          .0000       10.000    
     3 'Normalizat'    1.1096       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94561       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=   8879.790     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      257 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1919        19.363        .69550E-02    .80913E-03
   2  Index         3.6360        2.0560        .11844        .22575E-03
   3  Normalizat    1.1098        .67291E-01    .86727E-01    .88691E-05
   4  Prefactor     .94556        .25569E-01    .45584E-01   -.41057E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.19193
  Index      = 3.63605
  Normalizat = 1.10983
  Prefactor  = 0.945556
 **********
 **   18 **HESSE 
 **********

 FCN=   8879.790     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      288 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1919        40.848        .82580E-04   -1.5412    
   2  Index         3.6360        3.5310        .41378E-02   -.27629    
   3  Normalizat    1.1098        .26349        .38404E-03   -.89437    
   4  Prefactor     .94556        .10073        .15965E-03   -.94567    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.84404e-10
Minuit parameter uncertainties:
  1  18.9392
  2  3.96496
  3  0.2638
  4  0.100747
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/778524': 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) = 8879.7896994
delta logL = 1.17213198981

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  2.192e+00  1.894e+01  1.000e-04  1.000e+04 ( 1.000e-13)
424        Index:  3.636e+00  3.965e+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.456e-01  1.007e-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.110e+00  2.638e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.41
Ra Dec: 289.442 -69.506
Photon Index (Free Index): 3.64 +/- 3.96
Photon Flux (Free Index): 1.07e-07 +/- 6.93e-08
Energy Flux (Free Index): 1.72e-05 +/- 1.64e-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/778524/cmap_HighResolution_523929601_524188801_4FGL_J1917.7-6930_daily_bin1098.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.74e-03', comment='SUCCESS', energy_flux2='1.72e-05', dlogl='1.17e+00', photon_flux2='1.07e-07', job_status='DONE', time_completed='2021-09-22 15:47:40.983462', photon_index_error2='3.96', photon_index2='3.64', ts='0.91', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='1.27e-07', energy_flux_error2='1.64e-05', EG='1.20', time_epoch_completed='1632350860.98', return_code='0', job_id='778524', GAL2='0.95', EG2='1.11', return_code2='102', photon_flux_error2='6.93e-08', ts2='3.41', photon_index='2.31' WHERE bin_id='1098' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 22 15:47:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0172>
Subject: Job 778524: <4FGL_J1917.7-6930_daily_bin1098> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1098> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Sep 22 15:31:04 2021
Job was executed on host(s) <bullet0172>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 22 15:34:16 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:34:16 2021
Terminated at Wed Sep 22 15:47:41 2021
Results reported at Wed Sep 22 15:47:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1098 289.442 -69.5061 523929601 524188801 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 :                                   750.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             340.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   805 sec.
    Turnaround time :                            997 sec.

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

