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


Performing analysis on: 4FGL_J1917.7-6930_daily_bin1632
RA = 289.442, Dec = -69.5061
tmin = 662342401, tmax = 662601601
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='628282', job_status='RUN', time_executed='2021-12-31 00:35:32.171939', time_epoch_executed='1640939732.17' WHERE source_name='4FGL J1917.7-6930' and cadence='daily' and bin_id='1632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/628282

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/628282/ft1_4FGL_J1917.7-6930_daily_bin1632.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/628282/ft2_4FGL_J1917.7-6930_daily_bin1632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/628282/ft1_4FGL_J1917.7-6930_daily_bin1632.fits outfile=/scratch/kocevski/628282/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1632.fits ra=289.442 dec=-69.5061 rad=12.0 tmin=662342401.0 tmax=662601601.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.93
user 2.73
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/628282/ft2_4FGL_J1917.7-6930_daily_bin1632.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/628282/ft1_filteredMKT_4FGL_J1917.7-6930_daily_bin1632.fits evtable="EVENTS" outfile="/scratch/kocevski/628282/ft1_filtered_4FGL_J1917.7-6930_daily_bin1632.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/628282/ft1_filtered_4FGL_J1917.7-6930_daily_bin1632.fits" evtable="EVENTS" scfile=/scratch/kocevski/628282/ft2_4FGL_J1917.7-6930_daily_bin1632.fits sctable="SC_DATA" outfile=/scratch/kocevski/628282/ltcube_662342401_662601601_4FGL_J1917.7-6930_daily_bin1632.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/628282/ft2_4FGL_J1917.7-6930_daily_bin1632.fits
.....................!
real 13.26
user 12.89
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/628282/ft1_filtered_4FGL_J1917.7-6930_daily_bin1632.fits evtable="EVENTS" scfile=/scratch/kocevski/628282/ft2_4FGL_J1917.7-6930_daily_bin1632.fits sctable="SC_DATA" expcube=/scratch/kocevski/628282/ltcube_662342401_662601601_4FGL_J1917.7-6930_daily_bin1632.fits outfile=/scratch/kocevski/628282/expmap_662342401_662601601_4FGL_J1917.7-6930_daily_bin1632.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/628282/ltcube_662342401_662601601_4FGL_J1917.7-6930_daily_bin1632.fits
.....................!
real 192.08
user 186.03
sys 5.71

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/628282/ft1_filtered_4FGL_J1917.7-6930_daily_bin1632.fits scfile=/scratch/kocevski/628282/ft2_4FGL_J1917.7-6930_daily_bin1632.fits outfile=/scratch/kocevski/628282/cmap_662342401_662601601_4FGL_J1917.7-6930_daily_bin1632.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/628282/ft1_filtered_4FGL_J1917.7-6930_daily_bin1632.fits scfile=/scratch/kocevski/628282/ft2_4FGL_J1917.7-6930_daily_bin1632.fits outfile=/scratch/kocevski/628282/cmap_HighResolution_662342401_662601601_4FGL_J1917.7-6930_daily_bin1632.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/628282/ft1_filtered_4FGL_J1917.7-6930_daily_bin1632.fits evtable="EVENTS" scfile=/scratch/kocevski/628282/ft2_4FGL_J1917.7-6930_daily_bin1632.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/628282/Model_4FGL_J1917.7-6930_daily_bin1632.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/628282/ft1_filtered_4FGL_J1917.7-6930_daily_bin1632.fits.....................!
real 70.45
user 68.97
sys 1.35

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    3.2780       1.0000         .10000E-03   10000.    
     3 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    65.621       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10298E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .96932E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.5761       1.0000         .10000E-03   10000.    
    11 'norm      '    12.645       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.917       1.0000         .10000E-03   10000.    
    14 'norm      '    5.0721       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    11.437       1.0000         .10000E-03   10000.    
    17 'Normalizat'    1.9444       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .81290       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=   6919.625     FROM MIGRAD    STATUS=CONVERGED    372 CALLS     1724 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    35.869       -.12556E-06** at limit **
   2  norm          3.2778        3.4398       -.13567E-07   -.19643E-04
   3  norm          .10000E-03    35.349        .41097E-06** at limit **
   4  Prefactor     .10000E-03    23.687       -.84969E-07** at limit **
   5  Prefactor     .10000E-03    8.8953       -.91214E-07** at limit **
   6  Prefactor     65.595        118.60       -.37567E-05   -.83015E-04
   7  Prefactor     .10004E-03    164.26       -.79764E-05** at limit **
   8  norm          .10003E-03    123.47        .97491E-05** at limit **
   9  Prefactor     .10000E-03    67.031       -.10586E-05** at limit **
  10  norm          5.5733        12.235        .49676E-05   -.33961E-03
  11  norm          12.644        7.2224       -.14016E-07   -.10522E-03
  12  Prefactor     .10000E-03    8.5888       -.14285E-06** at limit **
  13  Prefactor     11.917        20.620        .79917E-07   -.10566E-04
  14  norm          5.0730        3.5043        .29867E-08   -.92179E-04
  15  norm          .10000E-03    19.986       -.81354E-07** at limit **
  16  Prefactor     11.420        31.205       -.56210E-06   -.40318E-04
  17  Normalizat    1.9437        .29759       -.23338E-07   -.92180E-04
  18  Prefactor     .81313        .10557       -.17566E-06   -.14936E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 3.27784
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 65.595
  Prefactor  = 0.000100039
  norm       = 0.000100026
  Prefactor  = 0.000100001
  norm       = 5.57334
  norm       = 12.6444
  Prefactor  = 0.0001
  Prefactor  = 11.9167
  norm       = 5.07305
  norm       = 0.0001
  Prefactor  = 11.4198
  Normalizat = 1.9437
  Prefactor  = 0.81313
 **********
 **   18 **HESSE 
 **********

 FCN=   6919.625     FROM HESSE     STATUS=OK           242 CALLS     1966 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.882        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.2778        3.4419        .15383E-03   -1.5346    
   3  norm          .10000E-03    35.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    23.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.9233        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     65.595        120.45        .49543E-04   -1.4086    
   7  Prefactor     .10004E-03    172.31        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10003E-03    132.58        .36286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    67.138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.5733        12.627        .85066E-03   -1.5236    
  11  norm          12.644        7.2327        .11265E-03   -1.4997    
  12  Prefactor     .10000E-03    8.6191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     11.917        20.620        .11604E-03   -1.5017    
  14  norm          5.0730        3.5070        .12454E-03   -1.5257    
  15  norm          .10000E-03    19.993        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     11.420        31.458        .11846E-03   -1.5032    
  17  Normalizat    1.9437        .35985        .35076E-03   -.65969    
  18  Prefactor     .81313        .12746        .18308E-03   -.99246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.2004e-10
Minuit parameter uncertainties:
  1  4.20393e-05
  2  3.44211
  3  0.000122479
  4  2.11496e-05
  5  1.24858e-05
  6  120.906
  7  0.00523133
  8  0.00375587
  9  0.000382483
  10  12.6335
  11  7.23325
  12  2.3458e-05
  13  20.6326
  14  3.50719
  15  1.96913e-05
  16  31.5039
  17  0.360346
  18  0.127508
Done.

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

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.000e-04  2.346e-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:  8.131e-01  1.275e-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.944e+00  3.603e-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.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.76e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/628282/likelihoodResults_662342401_662601601_4FGL_J1917.7-6930_daily_bin1632.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) = 6919.62564957
delta logL = -0.000552702606001

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6919.62509704
delta logL = -1.76321918843e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3111       1.0000          .0000       10.000    
     3 'Normalizat'    1.9436       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81317       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=   6919.625     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      206 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    778.24        .90712E-02** at limit **
   2  Index         2.3142        8.1347        .50000       -.32088E-05
   3  Normalizat    1.9437        .83006E-01    .79269E-01    .14842E-04
   4  Prefactor     .81313        .29993E-01    .43888E-01    .22007E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.31416
  Normalizat = 1.9437
  Prefactor  = 0.81313
 **********
 **   18 **HESSE 
 **********

 FCN=   6919.625     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      239 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1737.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3142        5.1939        .50000       -.56708    
   3  Normalizat    1.9437        .19500        .35076E-03   -.65969    
   4  Prefactor     .81313        .70559E-01    .18308E-03   -.99246    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.40173e-09
Minuit parameter uncertainties:
  1  3.34717e-05
  2  61.8409
  3  0.195078
  4  0.0705673
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/628282': 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) = 6919.62509686
delta logL = 4.49927028967e-09

Extracting fit parameters...

4FGL J1917.7-6930
   Spectrum: PowerLaw
423    Prefactor:  1.000e-04  3.347e-05  1.000e-04  1.000e+04 ( 1.000e-13)
424        Index:  2.314e+00  6.184e+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:  8.131e-01  7.057e-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.944e+00  1.951e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 289.442 -69.506

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.76e-03', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2021-12-31 00:46:26.088407', job_id='628282', GAL2='0.81', fit_tolerance='1e-08', EG2='1.94', EG='1.94', time_epoch_completed='1640940386.09', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='4.50e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='1632' AND source_name='4FGL J1917.7-6930' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 31 00:46:26 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0265>
Subject: Job 628282: <4FGL_J1917.7-6930_daily_bin1632> in cluster <slac> Done

Job <4FGL_J1917.7-6930_daily_bin1632> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Dec 31 00:35:13 2021
Job was executed on host(s) <bullet0265>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 31 00:35:14 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 31 00:35:14 2021
Terminated at Fri Dec 31 00:46:26 2021
Results reported at Fri Dec 31 00:46:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1917.7-6930_daily_bin1632 289.442 -69.5061 662342401 662601601 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 :                                   656.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             337.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            673 sec.

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

