/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 4 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 = 7415
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0117.8-2109_daily_bin156
RA = 19.4543, Dec = -21.1578
tmin = 279763201, tmax = 280022401
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='510828', job_status='RUN', time_executed='2021-08-13 21:21:58.750789', time_epoch_executed='1628914918.75' WHERE source_name='4FGL J0117.8-2109' and cadence='daily' and bin_id='156'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/510828

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/510828/ft1_4FGL_J0117.8-2109_daily_bin156.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/510828/ft1_4FGL_J0117.8-2109_daily_bin156.fits outfile=/scratch/kocevski/510828/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin156.fits ra=19.4543 dec=-21.1578 rad=12.0 tmin=279763201.0 tmax=280022401.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 7.45
user 3.30
sys 4.09

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.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/510828/ft1_filteredMKT_4FGL_J0117.8-2109_daily_bin156.fits evtable="EVENTS" outfile="/scratch/kocevski/510828/ft1_filtered_4FGL_J0117.8-2109_daily_bin156.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 4.47
user 0.34
sys 4.09

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/510828/ft1_filtered_4FGL_J0117.8-2109_daily_bin156.fits" evtable="EVENTS" scfile=/scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits sctable="SC_DATA" outfile=/scratch/kocevski/510828/ltcube_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.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/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits
.....................!
real 17.13
user 12.27
sys 4.69

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/510828/ft1_filtered_4FGL_J0117.8-2109_daily_bin156.fits evtable="EVENTS" scfile=/scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits sctable="SC_DATA" expcube=/scratch/kocevski/510828/ltcube_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.fits outfile=/scratch/kocevski/510828/expmap_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.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/510828/ltcube_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.fits
.....................!
real 196.86
user 185.50
sys 10.39

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 174 point sources and 0 extended sources

Setting source of interest to:
4FGL J0117.8-2109 @ 19.4543 -21.1578

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/510828/ft1_filtered_4FGL_J0117.8-2109_daily_bin156.fits scfile=/scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits outfile=/scratch/kocevski/510828/cmap_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.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=19.4543 yref=-21.1578 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 4.42
user 0.38
sys 3.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/510828/ft1_filtered_4FGL_J0117.8-2109_daily_bin156.fits scfile=/scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits outfile=/scratch/kocevski/510828/cmap_HighResolution_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.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=19.4543 yref=-21.1578 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 4.37
user 0.39
sys 3.93

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/510828/ft1_filtered_4FGL_J0117.8-2109_daily_bin156.fits evtable="EVENTS" scfile=/scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/510828/Model_4FGL_J0117.8-2109_daily_bin156.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/510828/ft1_filtered_4FGL_J0117.8-2109_daily_bin156.fits.....................!
real 46.38
user 39.56
sys 6.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/510828/ft1_filtered_4FGL_J0117.8-2109_daily_bin156.fits', '/scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits', expMap='/scratch/kocevski/510828/expmap_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.fits', expCube='/scratch/kocevski/510828/ltcube_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/510828/Model_4FGL_J0117.8-2109_daily_bin156.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0117.8-2109'

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  4.691e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/510828/ft1_filtered_4FGL_J0117.8-2109_daily_bin156.fits
Spacecraft file(s): /scratch/kocevski/510828/ft2_4FGL_J0117.8-2109_daily_bin156.fits
Exposure map: /scratch/kocevski/510828/expmap_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.fits
Exposure cube: /scratch/kocevski/510828/ltcube_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/510828/Model_4FGL_J0117.8-2109_daily_bin156.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) = 4353.61288953

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.2786       1.0000         .10000E-03   10000.    
     2 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.9409       1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.334       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12128E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    48.208       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    7.3424       1.0000         .10000E-03   10000.    
    11 'norm      '    6.2512       1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.655       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2288       1.0000         .10000E-03   10000.    
    14 'norm      '    2.9457       1.0000         .10000E-03   10000.    
    15 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    2.0973       1.0000         .10000E-03   10000.    
    17 'norm      '    2.0184       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8643       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .59798       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1776       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4353.578     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2412 TOTAL
                     EDM=   .44E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.2775        14.609        .39532E-06   -.77468E-05
   2  norm          .10000E-03    13.957        .14451E-05** at limit **
   3  Prefactor     .10000E-03    84.759        .59916E-06** at limit **
   4  Prefactor     1.8600        108.22        .63153E-05    .44302E-06
   5  norm          .10000E-03    4.9420        .32162E-07** at limit **
   6  Prefactor     13.345        11.540       -.35599E-06    .29058E-04
   7  Prefactor     .10000E-03    55.575       -.27284E-05** at limit **
   8  Prefactor     48.206        9.4737       -.31279E-06   -.89469E-05
   9  Prefactor     .10000E-03    5.0423        .40336E-08** at limit **
  10  norm          7.3434        3.6928       -.20465E-07   -.26677E-04
  11  norm          6.2552        3.9908       -.92034E-08    .42165E-04
  12  Prefactor     17.614        22.963       -.23896E-06    .99427E-05
  13  Prefactor     5.2313        6.9755        .38049E-06   -.20906E-04
  14  norm          2.8245        186.48        .10201E-05   -.91305E-05
  15  norm          .10000E-03    .55225        .25589E-06** at limit **
  16  norm          2.0979        2.2108        .33448E-07   -.30328E-04
  17  norm          2.0206        3.2244        .41652E-06    .91395E-05
  18  Prefactor     .10000E-03    37.050        .35573E-06** at limit **
  19  norm          .10000E-03    1.0661        .11902E-06** at limit **
  20  Prefactor     6.8660        15.520        .46554E-06   -.71208E-05
  21  Normalizat    .59769        .20919       -.71540E-06   -.12369E-03
  22  Prefactor     1.1778        .23514       -.18043E-05   -.88019E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 8.27749
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.85997
  norm       = 0.0001
  Prefactor  = 13.3452
  Prefactor  = 0.000100001
  Prefactor  = 48.2062
  Prefactor  = 0.0001
  norm       = 7.34338
  norm       = 6.25521
  Prefactor  = 17.6137
  Prefactor  = 5.23127
  norm       = 2.82454
  norm       = 0.0001
  norm       = 2.09789
  norm       = 2.02059
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.86596
  Normalizat = 0.597693
  Prefactor  = 1.17783
 **********
 **   18 **HESSE 
 **********

 FCN=   4353.578     FROM HESSE     STATUS=OK           350 CALLS     2762 TOTAL
                     EDM=   .93E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.2775        14.627        .13934E-03   -1.5132    
   2  norm          .10000E-03    14.699        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    84.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.8600        110.64        .29800E-03   -1.5435    
   5  norm          .10000E-03    4.9434        .14327E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.345        11.471        .10969E-03   -1.4977    
   7  Prefactor     .10000E-03    55.485        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     48.206        9.4237        .28876E-03   -1.4318    
   9  Prefactor     .10000E-03    5.0465        .14461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          7.3434        3.6820        .79640E-04   -1.5166    
  11  norm          6.2552        3.9929        .93230E-04   -1.5208    
  12  Prefactor     17.614        22.949        .95321E-04   -1.4868    
  13  Prefactor     5.2313        6.9479        .17280E-03   -1.5250    
  14  norm          2.8245        190.43        .23664E-03   -1.5372    
  15  norm          .10000E-03    .76831        .95502E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          2.0979        2.1868        .94389E-04   -1.5418    
  17  norm          2.0206        3.2152        .14050E-03   -1.5424    
  18  Prefactor     .10000E-03    37.119        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.0749        .66578E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8660        15.524        .15314E-03   -1.5184    
  21  Normalizat    .59769        .25745        .29113E-03   -1.0808    
  22  Prefactor     1.1778        .28639        .24720E-03   -.87016    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.30727e-11
Minuit parameter uncertainties:
  1  14.6329
  2  6.13494e-05
  3  0.000254546
  4  28.7458
  5  3.18347e-06
  6  11.4729
  7  0.000417991
  8  9.42395
  9  6.03458e-06
  10  3.68214
  11  3.99309
  12  22.9609
  13  6.949
  14  46.5392
  15  2.38717e-06
  16  2.18686
  17  3.21545
  18  2.38793e-05
  19  1.82978e-06
  20  15.5327
  21  0.257968
  22  0.286773
Done.

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

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.000e-04  6.035e-06  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.376e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  1.178e+00  2.868e-01  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  5.977e-01  2.580e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.454 -21.158
Photon Flux Upper Limit: 8.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.30e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/510828/likelihoodResults_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.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) = 4353.5787566
delta logL = -0.000936236216148

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4353.57782032
delta logL = 3.95111783291e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3522       1.0000          .0000       10.000    
     3 'Normalizat'    .59766       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1779       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5540E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4353.578     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      245 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10288E-03    3.2468        .14803E-01** at limit **
   2  Index         2.2554        6.7940        .50000        .31274E-04
   3  Normalizat    .59770        .36042E-02    .29112E-03    .63888E-04
   4  Prefactor     1.1778        .42025E-02    .24720E-03   -.66832E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102877
  Index      = 2.25537
  Normalizat = 0.597697
  Prefactor  = 1.17782
 **********
 **   18 **HESSE 
 **********

 FCN=   4353.578     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      274 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10288E-03    74.803        .15265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2554        7.7726        .50000       -.58108    
   3  Normalizat    .59770        .17512E-01    .11645E-04   -1.0808    
   4  Prefactor     1.1778        .20419E-01    .49441E-04   -.87016    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.62143e-08
Minuit parameter uncertainties:
  1  0.029378
  2  362.722
  3  0.0175124
  4  0.0204196
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/510828': 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) = 4353.57781958
delta logL = 7.80014488555e-07

Extracting fit parameters...

4FGL J0117.8-2109
   Spectrum: PowerLaw
257    Prefactor:  1.029e-04  2.938e-02  1.000e-04  1.000e+04 ( 1.000e-13)
258        Index:  2.255e+00  3.627e+02  0.000e+00  1.000e+01 (-1.000e+00)
259        Scale:  1.358e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
551    Prefactor:  1.178e+00  2.042e-02  0.000e+00  1.000e+01 ( 1.000e+00)
552        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
553        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
550   Normalization:  5.977e-01  1.751e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 19.454 -21.158

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/510828/cmap_HighResolution_279763201_280022401_4FGL_J0117.8-2109_daily_bin156.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.30e-03', job_status='DONE', photon_flux_upper_limit='8.16e-08', time_completed='2021-08-13 21:31:53.040834', job_id='510828', GAL2='1.18', fit_tolerance='1e-08', EG2='0.60', EG='0.60', time_epoch_completed='1628915513.04', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='7.80e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.38' WHERE bin_id='156' AND source_name='4FGL J0117.8-2109' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 13 21:31:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 510828: <4FGL_J0117.8-2109_daily_bin156> in cluster <slac> Done

Job <4FGL_J0117.8-2109_daily_bin156> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Aug 13 21:16:03 2021
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 13 21:20:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 13 21:20:40 2021
Terminated at Fri Aug 13 21:31:53 2021
Results reported at Fri Aug 13 21:31:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0117.8-2109_daily_bin156 19.4543 -21.1578 279763201 280022401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0117.8-2109 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   653.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             273.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   675 sec.
    Turnaround time :                            950 sec.

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

