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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1776
RA = 19.0006, Dec = -11.606
tmin = 699667201, tmax = 699926401
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='823858', job_status='RUN', time_executed='2023-03-08 00:06:37.444655', time_epoch_executed='1678262797.44' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823858

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823858/ft1_4FGL_J0116.0-1136_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823858/ft2_4FGL_J0116.0-1136_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823858/ft1_4FGL_J0116.0-1136_daily_bin1776.fits outfile=/scratch/kocevski/823858/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1776.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=699667201.0 tmax=699926401.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 4.31
user 3.65
sys 0.23

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

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

Number of photons that the gtmktime cut: 435

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823858/ft1_filtered_4FGL_J0116.0-1136_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/823858/ft2_4FGL_J0116.0-1136_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/823858/ltcube_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.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/823858/ft2_4FGL_J0116.0-1136_daily_bin1776.fits
.....................!
real 12.54
user 11.87
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823858/ft1_filtered_4FGL_J0116.0-1136_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/823858/ft2_4FGL_J0116.0-1136_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/823858/ltcube_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.fits outfile=/scratch/kocevski/823858/expmap_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.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/823858/ltcube_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.fits
.....................!
real 191.18
user 185.75
sys 4.80

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/823858/ft1_filtered_4FGL_J0116.0-1136_daily_bin1776.fits scfile=/scratch/kocevski/823858/ft2_4FGL_J0116.0-1136_daily_bin1776.fits outfile=/scratch/kocevski/823858/cmap_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823858/ft1_filtered_4FGL_J0116.0-1136_daily_bin1776.fits scfile=/scratch/kocevski/823858/ft2_4FGL_J0116.0-1136_daily_bin1776.fits outfile=/scratch/kocevski/823858/cmap_HighResolution_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/823858/ft1_filtered_4FGL_J0116.0-1136_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/823858/ft2_4FGL_J0116.0-1136_daily_bin1776.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/823858/Model_4FGL_J0116.0-1136_daily_bin1776.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/823858/ft1_filtered_4FGL_J0116.0-1136_daily_bin1776.fits.....................!
real 53.79
user 51.70
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/823858/ft1_filtered_4FGL_J0116.0-1136_daily_bin1776.fits', '/scratch/kocevski/823858/ft2_4FGL_J0116.0-1136_daily_bin1776.fits', expMap='/scratch/kocevski/823858/expmap_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.fits', expCube='/scratch/kocevski/823858/ltcube_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/823858/Model_4FGL_J0116.0-1136_daily_bin1776.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/823858/ft1_filtered_4FGL_J0116.0-1136_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/823858/ft2_4FGL_J0116.0-1136_daily_bin1776.fits
Exposure map: /scratch/kocevski/823858/expmap_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.fits
Exposure cube: /scratch/kocevski/823858/ltcube_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/823858/Model_4FGL_J0116.0-1136_daily_bin1776.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) = 4998.93347005

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.8780       1.0000          .0000       .10000E+07
     2 'norm      '    .11728E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .11339E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    6.1625       1.0000          .0000       .10000E+07
     5 'Prefactor '    .98534E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .68826E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    17.969       1.0000          .0000       .10000E+07
     8 'Prefactor '    8.9511       1.0000          .0000       .10000E+07
     9 'Prefactor '    .20735E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    1.4399       1.0000          .0000       .10000E+07
    11 'Prefactor '    14.515       1.0000          .0000       .10000E+07
    12 'norm      '    .25476E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .13593E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    .73911E-04   1.0000          .0000       .10000E+07
    15 'norm      '    4.1059       1.0000          .0000       .10000E+07
    16 'norm      '    .27090E-03   1.0000          .0000       .10000E+07
    17 'norm      '    22.057       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.4065       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .85622       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=   4998.914     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1392 TOTAL
                     EDM=   .34E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.9397        4.5935        .38241E-07    .29910E-03
   2  norm           .0000        1.5797       -.21617E-07** at limit **
   3  norm           .0000        4.1764        .98742E-07** at limit **
   4  Prefactor     6.1887        2.9702       -.14813E-07    .54772E-01
   5  Prefactor     .10048E-06    5.7889        .11303E-08** at limit **
   6  norm          .28366E-07    6.9467        .49428E-07** at limit **
   7  Prefactor     16.885        25.164        .87082E-07   -.41225E-02
   8  Prefactor     8.9404        7.8334       -.81960E-08    .73284E-03
   9  Prefactor      .0000        11.215        .23713E-06** at limit **
  10  Prefactor     1.4308        12.458        .29280E-06    .46355E-03
  11  Prefactor     15.064        41.221        .22193E-06   -.28595E-02
  12  norm           .0000        .97507        .11753E-06** at limit **
  13  Prefactor     .37637E-07    13.635       -.90669E-08** at limit **
  14  Prefactor      .0000        2.5498       -.73325E-07** at limit **
  15  norm          4.0684        2.9875       -.42625E-08   -.67978E-02
  16  norm           .0000        2.5707        .17691E-06** at limit **
  17  norm          22.069        10.258        .47254E-07    .16619E-01
  18  Normalizat    1.4061        .23763       -.71210E-05    .54464E-05
  19  Prefactor     .85674        .22482        .80164E-05   -.11195E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.93966
  norm       = 0
  norm       = 0
  Prefactor  = 6.18871
  Prefactor  = 1.00475e-07
  norm       = 2.83662e-08
  Prefactor  = 16.8852
  Prefactor  = 8.94041
  Prefactor  = 0
  Prefactor  = 1.43085
  Prefactor  = 15.0641
  norm       = 0
  Prefactor  = 3.76366e-08
  Prefactor  = 0
  norm       = 4.0684
  norm       = 0
  norm       = 22.0688
  Normalizat = 1.40607
  Prefactor  = 0.85674
 **********
 **   18 **HESSE 
 **********

 FCN=   4998.914     FROM HESSE     STATUS=OK           308 CALLS     1700 TOTAL
                     EDM=   .95E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.9397        4.5930        .38232E-03   -1.5655    
   2  norm           .0000        1.5769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        4.1723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     6.1887        12.159        .40417E-03   -1.5658    
   5  Prefactor     .10048E-06    12.419        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .28366E-07    12.026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.885        25.221        .23600E-03   -1.5626    
   8  Prefactor     8.9404        7.8359        .33477E-03   -1.5648    
   9  Prefactor      .0000        11.076        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.4308        12.456        .89878E-03   -1.5684    
  11  Prefactor     15.064        41.291        .26264E-03   -1.5630    
  12  norm           .0000        .97423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .37637E-07    14.385        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        2.5468        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.0684        23.187        .49727E-03   -1.5668    
  16  norm           .0000        2.5028        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          22.069        10.547        .21298E-03   -1.5614    
  18  Normalizat    1.4061        .20532        .55334E-01   -.80453    
  19  Prefactor     .85674        .19413        .64563E-01   -.97670    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.47674e-08
Minuit parameter uncertainties:
  1  4.59302
  2  2.17472e-07
  3  1.27171e-05
  4  12.1586
  5  0.00223383
  6  0.00116784
  7  25.2216
  8  7.83592
  9  7.53763e-07
  10  8.44333
  11  41.2922
  12  1.38379e-07
  13  0.00147109
  14  1.22515e-06
  15  19.4253
  16  6.04068e-07
  17  10.5473
  18  0.205442
  19  0.194288
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  0.000e+00  7.538e-07  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:  8.567e-01  1.943e-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.406e+00  2.054e-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: 1.05e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.06e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/823858/likelihoodResults_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.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) = 4998.91504049
delta logL = -0.00151545971494

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4998.91353043
delta logL = -5.39626307727e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10946E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.7952       1.0000          .0000       10.000    
     3 'Normalizat'    1.4059       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85656       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=   4998.767     FROM MIGRAD    STATUS=CONVERGED    167 CALLS      385 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .83752E-04    .20001E-02    .23770E-04** at limit **
   2  Index         8.5689        7.3951        .34747        .54961E-04
   3  Normalizat    1.3599        .30382E-01    .56100E-01    .17057E-03
   4  Prefactor     .88464        .28664E-01    .63661E-01    .86274E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.37516e-05
  Index      = 8.56885
  Normalizat = 1.35989
  Prefactor  = 0.884644
 **********
 **   18 **HESSE 
 **********

 FCN=   4998.767     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      416 TOTAL
                     EDM=   .25E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .83752E-04    .14511E-01    .11506E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         8.5689        6.9645        .13400E-01    .79487    
   3  Normalizat    1.3599        .18189        .24807E-03   -.81796    
   4  Prefactor     .88464        .16711        .28157E-03   -.96680    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.50405e-06
Minuit parameter uncertainties:
  1  0.0022048
  2  13.5326
  3  0.181973
  4  0.16721
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823858': 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) = 4998.76703203
delta logL = 0.146493003905

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  8.375e-05  2.205e-03  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  8.569e+00  1.353e+01  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:  8.846e-01  1.672e-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.360e+00  1.820e-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/823858/cmap_HighResolution_699667201_699926401_4FGL_J0116.0-1136_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.06e-03', job_status='DONE', photon_flux_upper_limit='1.05e-07', time_completed='2023-03-08 00:15:03.488974', job_id='823858', GAL2='0.88', fit_tolerance='1e-08', EG2='1.36', EG='1.41', time_epoch_completed='1678263303.49', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.46e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1776' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 00:15:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0015>
Subject: Job 823858: <4FGL_J0116.0-1136_daily_bin1776> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1776> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Mar  8 00:04:48 2023
Job was executed on host(s) <bullet0015>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 00:04:49 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 00:04:49 2023
Terminated at Wed Mar  8 00:15:04 2023
Results reported at Wed Mar  8 00:15:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1776 19.0006 -11.606 699667201 699926401 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 :                                   500.29 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             320.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   614 sec.
    Turnaround time :                            616 sec.

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

