aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 87 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1745
RA = 19.0006, Dec = -11.606
tmin = 691632001, tmax = 691891201
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='637052', job_status='RUN', time_executed='2022-12-05 00:07:09.857606', time_epoch_executed='1670227629.86' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/637052

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/637052/ft1_4FGL_J0116.0-1136_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/637052/ft1_4FGL_J0116.0-1136_daily_bin1745.fits outfile=/scratch/kocevski/637052/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1745.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=691632001.0 tmax=691891201.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.81
user 2.15
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.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/637052/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1745.fits evtable="EVENTS" outfile="/scratch/kocevski/637052/ft1_filtered_4FGL_J0116.0-1136_daily_bin1745.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 1.70
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 353

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/637052/ft1_filtered_4FGL_J0116.0-1136_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/637052/ltcube_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.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/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits
.....................!
real 21.35
user 20.52
sys 0.42

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/637052/ft1_filtered_4FGL_J0116.0-1136_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/637052/ltcube_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.fits outfile=/scratch/kocevski/637052/expmap_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.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/637052/ltcube_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.fits
.....................!
real 192.28
user 186.31
sys 5.41

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

Setting source of interest to:
4FGL J0116.0-1136 @ 19.0006 -11.606

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/637052/ft1_filtered_4FGL_J0116.0-1136_daily_bin1745.fits scfile=/scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits outfile=/scratch/kocevski/637052/cmap_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.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.0006 yref=-11.606 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.64
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/637052/ft1_filtered_4FGL_J0116.0-1136_daily_bin1745.fits scfile=/scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits outfile=/scratch/kocevski/637052/cmap_HighResolution_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.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.0006 yref=-11.606 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.64
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/637052/ft1_filtered_4FGL_J0116.0-1136_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/637052/Model_4FGL_J0116.0-1136_daily_bin1745.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/637052/ft1_filtered_4FGL_J0116.0-1136_daily_bin1745.fits.....................!
real 45.29
user 43.79
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/637052/ft1_filtered_4FGL_J0116.0-1136_daily_bin1745.fits', '/scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits', expMap='/scratch/kocevski/637052/expmap_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.fits', expCube='/scratch/kocevski/637052/ltcube_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/637052/Model_4FGL_J0116.0-1136_daily_bin1745.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0116.0-1136'

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  2.100e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/637052/ft1_filtered_4FGL_J0116.0-1136_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/637052/ft2_4FGL_J0116.0-1136_daily_bin1745.fits
Exposure map: /scratch/kocevski/637052/expmap_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.fits
Exposure cube: /scratch/kocevski/637052/ltcube_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/637052/Model_4FGL_J0116.0-1136_daily_bin1745.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 3934.90449847

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.6450       1.0000          .0000       .10000E+07
     2 'norm      '    1.4475       1.0000          .0000       .10000E+07
     3 'norm      '    1.5521       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.9229       1.0000          .0000       .10000E+07
     5 'Prefactor '    .28845E-04   1.0000          .0000       .10000E+07
     6 'norm      '    22.884       1.0000          .0000       .10000E+07
     7 'Prefactor '    .75175E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    38.724       1.0000          .0000       .10000E+07
     9 'Prefactor '    .11894E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    5.9014       1.0000          .0000       .10000E+07
    11 'Prefactor '    8.6829       1.0000          .0000       .10000E+07
    12 'norm      '    4.4137       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.6104       1.0000          .0000       .10000E+07
    14 'Prefactor '    .14161E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .43913E-02   1.0000          .0000       .10000E+07
    16 'norm      '    1.3405       1.0000          .0000       .10000E+07
    17 'norm      '    47.789       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.1809       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .45499       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3932.752     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     1130 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5992        4.1517        .93838E-07    .10016E-01
   2  norm          1.4397        3.2052        .68823E-07    .36523E-02
   3  norm          1.6935        6.4109        .19387E-06    .39602E-02
   4  Prefactor     3.8461        1.1910        .50165E-08   -.79109E-02
   5  Prefactor     .41483E-06    10.461        .12695E-06** at limit **
   6  norm          22.954        3.6021        .46808E-08   -.52881E-01
   7  Prefactor     .62117E-07    70.572       -.22202E-06** at limit **
   8  Prefactor     38.874        7.3484        .77479E-08   -.12803    
   9  Prefactor     .21301E-05    5.6327        .28920E-07** at limit **
  10  Prefactor     5.7513        1.9455       -.45101E-08    .19292E-01
  11  Prefactor     8.3158        2.3460       -.10947E-07    .51939E-01
  12  norm          4.4428        2.8108        .11810E-08   -.36089E-02
  13  Prefactor     3.7521        1.0857        .36463E-08   -.10053E-01
  14  Prefactor     .19540E-07    3.6727       -.10009E-06** at limit **
  15  norm          .76605E-08    29.431       -.33812E-07** at limit **
  16  norm          1.3425        1.5487       -.19749E-07   -.19240E-02
  17  norm          47.763        10.577       -.19692E-08   -.17155    
  18  Normalizat    1.1818        .23832        .17389E-05    .35917E-03
  19  Prefactor     .45384        .22193       -.14160E-05    .21074E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.59918
  norm       = 1.43966
  norm       = 1.69354
  Prefactor  = 3.84614
  Prefactor  = 4.14835e-07
  norm       = 22.9545
  Prefactor  = 6.2117e-08
  Prefactor  = 38.8735
  Prefactor  = 2.13013e-06
  Prefactor  = 5.75128
  Prefactor  = 8.31579
  norm       = 4.44275
  Prefactor  = 3.75215
  Prefactor  = 1.95399e-08
  norm       = 7.66054e-09
  norm       = 1.34248
  norm       = 47.7634
  Normalizat = 1.18178
  Prefactor  = 0.453841
 **********
 **   18 **HESSE 
 **********

 FCN=   3932.752     FROM HESSE     STATUS=OK           314 CALLS     1444 TOTAL
                     EDM=   .62E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5992        4.2651        .52888E-03   -1.5670    
   2  norm          1.4397        3.2748        .89550E-03   -1.5684    
   3  norm          1.6935        6.6129        .85449E-03   -1.5682    
   4  Prefactor     3.8461        28.776        .50911E-03   -1.5669    
   5  Prefactor     .41483E-06    13.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          22.954        15.065        .20910E-03   -1.5612    
   7  Prefactor     .62117E-07    70.054        .14651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     38.874        15.061        .16072E-03   -1.5583    
   9  Prefactor     .21301E-05    3.4561        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     5.7513        14.811        .41314E-03   -1.5660    
  11  Prefactor     8.3158        30.707        .33993E-03   -1.5650    
  12  norm          4.4428        3.7165        .47912E-03   -1.5666    
  13  Prefactor     3.7521        10.605        .53152E-03   -1.5669    
  14  Prefactor     .19540E-07    3.7433        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .76605E-08    30.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          1.3425        1.5704        .94632E-03   -1.5685    
  17  norm          47.763        12.929        .14467E-03   -1.5570    
  18  Normalizat    1.1818        .21744        .35377E-01   -.87168    
  19  Prefactor     .45384        .20229        .71158E-01   -1.1414    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1906e-07
Minuit parameter uncertainties:
  1  4.2651
  2  3.2748
  3  6.61289
  4  21.0408
  5  0.00469357
  6  15.0648
  7  0.00417162
  8  15.0607
  9  0.00542652
  10  14.8112
  11  30.7073
  12  3.71647
  13  10.6052
  14  0.000540677
  15  0.000958919
  16  1.57043
  17  12.9286
  18  0.217608
  19  0.202607
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  2.130e-06  5.427e-03  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.362e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  4.538e-01  2.026e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.182e+00  2.176e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 19.001 -11.606
Photon Flux Upper Limit: 9.04e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/637052/likelihoodResults_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.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) = 3932.75308292
delta logL = -0.00149950304422

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3932.74488354
delta logL = 0.00669986911043

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21104       1.0000          .0000       .10000E+07
     2 'Index     '    2.9682       1.0000          .0000       10.000    
     3 'Normalizat'    1.1772       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .45528       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3932.745     FROM MIGRAD    STATUS=CONVERGED     66 CALLS      282 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21229        10.312        .28253E-02** at limit **
   2  Index         2.9677        1.8531        .50000        .58585E-05
   3  Normalizat    1.1775        .12032E-01    .35476E-01    .14292E-06
   4  Prefactor     .45507        .11365E-01    .71066E-01    .21630E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.21229
  Index      = 2.96774
  Normalizat = 1.17745
  Prefactor  = 0.455065
 **********
 **   18 **HESSE 
 **********

 FCN=   3932.745     FROM HESSE     STATUS=OK            35 CALLS      317 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21229        9.4059        .16659E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9677        3.8055        .10834E-01   -.41857    
   3  Normalizat    1.1775        .23545        .21637E-03   -.87302    
   4  Prefactor     .45507        .21837        .31467E-03   -1.1408    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.18718e-10
Minuit parameter uncertainties:
  1  2.82616
  2  4.4977
  3  0.235664
  4  0.218768
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/637052': 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): 0
logL (Free Index) = 3932.74488275
delta logL = 0.00670066350312

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  2.123e-01  2.826e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  2.968e+00  4.498e+00  0.000e+00  1.000e+01 (-1.000e+00)
284        Scale:  7.757e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
583    Prefactor:  4.551e-01  2.188e-01  0.000e+00  1.000e+01 ( 1.000e+00)
584        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
585        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
582   Normalization:  1.177e+00  2.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 19.001 -11.606

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/637052/cmap_HighResolution_691632001_691891201_4FGL_J0116.0-1136_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.97e-03', job_status='DONE', photon_flux_upper_limit='9.04e-08', time_completed='2022-12-05 00:15:00.430687', job_id='637052', GAL2='0.46', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1670228100.43', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.45', dlogl='6.70e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1745' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 00:15:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0128>
Subject: Job 637052: <4FGL_J0116.0-1136_daily_bin1745> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1745> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Dec  5 00:04:49 2022
Job was executed on host(s) <bullet0128>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 00:04:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 00:04:52 2022
Terminated at Mon Dec  5 00:15:01 2022
Results reported at Mon Dec  5 00:15:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1745 19.0006 -11.606 691632001 691891201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0116.0-1136 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   467.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             314.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            612 sec.

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

