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 168 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 = 7394
number of fields = 31
RA_SUN column already exists. File will not be modifiedDoDone.


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1725
RA = 19.0006, Dec = -11.606
tmin = 686448001, tmax = 686707201
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='875378', job_status='RUN', time_executed='2022-10-06 00:10:52.180910', time_epoch_executed='1665040252.18' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875378

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875378/ft1_4FGL_J0116.0-1136_daily_bin1725.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875378/ft2_4FGL_J0116.0-1136_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875378/ft1_4FGL_J0116.0-1136_daily_bin1725.fits outfile=/scratch/kocevski/875378/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1725.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=686448001.0 tmax=686707201.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.70
user 4.39
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875378/ft2_4FGL_J0116.0-1136_daily_bin1725.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/875378/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1725.fits evtable="EVENTS" outfile="/scratch/kocevski/875378/ft1_filtered_4FGL_J0116.0-1136_daily_bin1725.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 243

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875378/ft1_filtered_4FGL_J0116.0-1136_daily_bin1725.fits" evtable="EVENTS" scfile=/scratch/kocevski/875378/ft2_4FGL_J0116.0-1136_daily_bin1725.fits sctable="SC_DATA" outfile=/scratch/kocevski/875378/ltcube_686448001_686707201_4FGL_J0116.0-1136_daily_bin1725.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/875378/ft2_4FGL_J0116.0-1136_daily_bin1725.fits
.....................!
real 11.99
user 11.59
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875378/ft1_filtered_4FGL_J0116.0-1136_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/875378/ft2_4FGL_J0116.0-1136_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/875378/ltcube_686448001_686707201_4FGL_J0116.0-1136_daily_bin1725.fits outfile=/scratch/kocevski/875378/expmap_686448001_686707201_4FGL_J0116.0-1136_daily_bin1725.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/875378/ltcube_686448001_686707201_4FGL_J0116.0-1136_daily_bin1725.fits
.....................!
real 190.56
user 185.63
sys 4.61

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/875378/ft1_filtered_4FGL_J0116.0-1136_daily_bin1725.fits scfile=/scratch/kocevski/875378/ft2_4FGL_J0116.0-1136_daily_bin1725.fits outfile=/scratch/kocevski/875378/cmap_686448001_686707201_4FGL_J0116.0-1136_daily_bin1725.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.54
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875378/ft1_filtered_4FGL_J0116.0-1136_daily_bin1725.fits scfile=/scratch/kocevski/875378/ft2_4FGL_J0116.0-1136_daily_bin1725.fits outfile=/scratch/kocevski/875378/cmap_HighResolution_686448001_686707201_4FGL_J0116.0-1136_daily_bin1725.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/875378/ft1_filtered_4FGL_J0116.0-1136_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/875378/ft2_4FGL_J0116.0-1136_daily_bin1725.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875378/Model_4FGL_J0116.0-1136_daily_bin1725.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/875378/ft1_filtered_4FGL_J0116.0-1136_daily_bin1725.fits.....................!
real 34.88
user 33.62
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .39624E-03   1.0000          .0000       .10000E+07
     2 'norm      '    3.5654       1.0000          .0000       .10000E+07
     3 'norm      '    .45860E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    .36992E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .47619E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .19373       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.2610       1.0000          .0000       .10000E+07
     8 'Prefactor '    13.310       1.0000          .0000       .10000E+07
     9 'Prefactor '    .24030E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .55355E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.7994       1.0000          .0000       .10000E+07
    12 'norm      '    .49352       1.0000          .0000       .10000E+07
    13 'Prefactor '    .17362E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    15.231       1.0000          .0000       .10000E+07
    15 'norm      '    .12400E-04   1.0000          .0000       .10000E+07
    16 'norm      '    .68834E-08   1.0000          .0000       .10000E+07
    17 'norm      '    .27627E-05   1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0686       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .81414       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=   2801.624     FROM MIGRAD    STATUS=CONVERGED    150 CALLS     1168 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    3.3961        .19504E-05** at limit **
   2  norm          3.5689        4.2138        .43961E-06   -.49147E-03
   3  norm          .33307E-09    3.6862        .83964E-06** at limit **
   4  Prefactor     .28200E-07    17.223        .67098E-05** at limit **
   5  Prefactor     .11102E-08    18.868       -.86299E-06** at limit **
   6  norm          .94291E-06    10.573        .80270E-05** at limit **
   7  Prefactor     6.0387        2.6630        .16081E-05   -.31183E-01
   8  Prefactor     13.243        1.3607       -.30728E-06   -.17490E-01
   9  Prefactor     .16653E-09    4.3662        .12332E-05** at limit **
  10  Prefactor     .14433E-08    11.627        .70035E-06** at limit **
  11  Prefactor     12.296        54.401       -.52063E-05   -.21580E-02
  12  norm          .49520        1.8240       -.16881E-05    .55945E-02
  13  Prefactor     .16653E-09    6.8349        .18173E-05** at limit **
  14  Prefactor     15.249        9.0032        .12364E-05    .18869E-03
  15  norm          .15821E-07    16.037       -.99309E-05** at limit **
  16  norm           .0000        2.2204        .23405E-06** at limit **
  17  norm          .22204E-09    7.9454       -.12682E-05** at limit **
  18  Normalizat    1.0682        .27328        .93187E-05   -.11480E-03
  19  Prefactor     .81347        .26125       -.14337E-04    .14627E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 3.56885
  norm       = 3.33067e-10
  Prefactor  = 2.81997e-08
  Prefactor  = 1.11022e-09
  norm       = 9.42912e-07
  Prefactor  = 6.03875
  Prefactor  = 13.2428
  Prefactor  = 1.66533e-10
  Prefactor  = 1.44329e-09
  Prefactor  = 12.2961
  norm       = 0.495204
  Prefactor  = 1.66533e-10
  Prefactor  = 15.2487
  norm       = 1.58207e-08
  norm       = 0
  norm       = 2.22045e-10
  Normalizat = 1.06818
  Prefactor  = 0.813469
 **********
 **   18 **HESSE 
 **********

 FCN=   2801.624     FROM HESSE     STATUS=OK           306 CALLS     1474 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    3.3885        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          3.5689        4.2163        .53500E-03   -1.5670    
   3  norm          .33307E-09    3.6808        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28200E-07    18.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-08    18.854        .15637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .94291E-06    20.608        .90225E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.0387        58.583        .40094E-03   -1.5659    
   8  Prefactor     13.243        11.789        .27429E-03   -1.5635    
   9  Prefactor     .16653E-09    4.3256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .14433E-08    11.626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.296        53.817        .31987E-03   -1.5638    
  12  norm          .49520        1.8696        .79364E-03   -1.5694    
  13  Prefactor     .16653E-09    6.8099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.249        9.0428        .25637E-03   -1.5630    
  15  norm          .15821E-07    16.191        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.1311        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .22204E-09    7.8673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Normalizat    1.0682        .24062        .39451E-01   -.90780    
  19  Prefactor     .81347        .23020        .43901E-01   -.99234    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34283e-07
Minuit parameter uncertainties:
  1  3.22302e-05
  2  4.2163
  3  7.09009e-05
  4  0.00143243
  5  0.000289688
  6  0.00881615
  7  37.618
  8  11.7886
  9  5.47905e-05
  10  0.000258666
  11  51.4495
  12  1.86955
  13  7.21285e-05
  14  9.04285
  15  0.00101247
  16  1.46832e-05
  17  8.16559e-05
  18  0.240868
  19  0.230475
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.665e-10  5.479e-05  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.135e-01  2.305e-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.068e+00  2.409e-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.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.20e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875378/likelihoodResults_686448001_686707201_4FGL_J0116.0-1136_daily_bin1725.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) = 2801.63417406
delta logL = -0.0103180172441

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2801.60173165
delta logL = 0.0221243899432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .78921E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.3537       1.0000          .0000       10.000    
     3 'Normalizat'    1.0494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82351       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=   2801.602     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      265 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80387E-01    2.9126        .14534E-02** at limit **
   2  Index         4.3415        2.5146        .33677        .10516E-04
   3  Normalizat    1.0494        .20770E-01    .40598E-01    .17340E-05
   4  Prefactor     .82353        .19815E-01    .44022E-01    .56182E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0803867
  Index      = 4.34155
  Normalizat = 1.0494
  Prefactor  = 0.823525
 **********
 **   18 **HESSE 
 **********

 FCN=   2801.602     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      300 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80387E-01    83.933        .52767E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.3415        5.9946        .82261E-02   -.13207    
   3  Normalizat    1.0494        .18920        .23275E-03   -.91393    
   4  Prefactor     .82353        .16698        .24639E-03   -.98867    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.74905e-07
Minuit parameter uncertainties:
  1  5.19511
  2  33.2537
  3  0.18932
  4  0.167087
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875378': 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) = 2801.60172901
delta logL = 0.0221270337088

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  8.039e-02  5.195e+00  0.000e+00  1.000e+06 ( 1.000e-12)
283        Index:  4.342e+00  3.325e+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.235e-01  1.671e-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.049e+00  1.893e-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/875378/cmap_HighResolution_686448001_686707201_4FGL_J0116.0-1136_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.20e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2022-10-06 00:17:44.858125', job_id='875378', GAL2='0.82', fit_tolerance='1e-08', EG2='1.05', EG='1.07', time_epoch_completed='1665040664.86', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='2.21e-02', ts2='0.05', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1725' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 00:17:44 PDT 2022

---------------------------------------------------------
Sender: LSF System <lsf@bullet0033>
Subject: Job 875374: <4FGL_J0116.0-1136_daily_bin1725> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1725> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Oct  6 00:05:49 2022
Job was executed on host(s) <bullet0033>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 00:07:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 00:07:55 2022
Terminated at Thu Oct  6 00:13:40 2022
Results reported at Thu Oct  6 00:13:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1725 19.0006 -11.606 686448001 686707201 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 :                                   331.00 sec.
    Max Memory :                                 617 MB
    Average Memory :                             290.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   344 sec.
    Turnaround time :                            471 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0115>
Subject: Job 875378: <4FGL_J0116.0-1136_daily_bin1725> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1725> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct  6 00:05:49 2022
Job was executed on host(s) <bullet0115>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 00:07:55 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 00:07:55 2022
Terminated at Thu Oct  6 00:17:45 2022
Results reported at Thu Oct  6 00:17:45 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1725 19.0006 -11.606 686448001 686707201 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 :                                   415.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             277.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   590 sec.
    Turnaround time :                            716 sec.

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

