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


Performing analysis on: 4FGL_J0116.0-1136_daily_bin1696
RA = 19.0006, Dec = -11.606
tmin = 678931201, tmax = 679190401
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='785046', job_status='RUN', time_executed='2022-07-11 00:05:22.353853', time_epoch_executed='1657523122.35' WHERE source_name='4FGL J0116.0-1136' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/785046

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/785046/ft1_4FGL_J0116.0-1136_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/785046/ft2_4FGL_J0116.0-1136_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/785046/ft1_4FGL_J0116.0-1136_daily_bin1696.fits outfile=/scratch/kocevski/785046/ft1_filteredMKT_4FGL_J0116.0-1136_daily_bin1696.fits ra=19.0006 dec=-11.606 rad=12.0 tmin=678931201.0 tmax=679190401.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 3.67
user 3.35
sys 0.22

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

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

Number of photons that the gtmktime cut: 561

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/785046/ft1_filtered_4FGL_J0116.0-1136_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/785046/ft2_4FGL_J0116.0-1136_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/785046/ltcube_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.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/785046/ft2_4FGL_J0116.0-1136_daily_bin1696.fits
.....................!
real 14.66
user 13.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/785046/ft1_filtered_4FGL_J0116.0-1136_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785046/ft2_4FGL_J0116.0-1136_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/785046/ltcube_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.fits outfile=/scratch/kocevski/785046/expmap_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.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/785046/ltcube_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.fits
.....................!
real 190.82
user 185.35
sys 4.76

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/785046/ft1_filtered_4FGL_J0116.0-1136_daily_bin1696.fits scfile=/scratch/kocevski/785046/ft2_4FGL_J0116.0-1136_daily_bin1696.fits outfile=/scratch/kocevski/785046/cmap_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.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 1.28
user 0.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/785046/ft1_filtered_4FGL_J0116.0-1136_daily_bin1696.fits scfile=/scratch/kocevski/785046/ft2_4FGL_J0116.0-1136_daily_bin1696.fits outfile=/scratch/kocevski/785046/cmap_HighResolution_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.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 1.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/785046/ft1_filtered_4FGL_J0116.0-1136_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/785046/ft2_4FGL_J0116.0-1136_daily_bin1696.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/785046/Model_4FGL_J0116.0-1136_daily_bin1696.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/785046/ft1_filtered_4FGL_J0116.0-1136_daily_bin1696.fits.....................!
real 67.86
user 56.59
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/785046/ft1_filtered_4FGL_J0116.0-1136_daily_bin1696.fits', '/scratch/kocevski/785046/ft2_4FGL_J0116.0-1136_daily_bin1696.fits', expMap='/scratch/kocevski/785046/expmap_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.fits', expCube='/scratch/kocevski/785046/ltcube_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/785046/Model_4FGL_J0116.0-1136_daily_bin1696.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  1.000e-04  1.000e+04 ( 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/785046/ft1_filtered_4FGL_J0116.0-1136_daily_bin1696.fits
Spacecraft file(s): /scratch/kocevski/785046/ft2_4FGL_J0116.0-1136_daily_bin1696.fits
Exposure map: /scratch/kocevski/785046/expmap_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.fits
Exposure cube: /scratch/kocevski/785046/ltcube_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/785046/Model_4FGL_J0116.0-1136_daily_bin1696.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) = 6207.84831252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2431       1.0000         .10000E-03   10000.    
     2 'norm      '    .10076E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    6.3317       1.0000         .10000E-03   10000.    
     4 'Prefactor '    78.803       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.476       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.038       1.0000         .10000E-03   10000.    
     7 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    66.697       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.0099       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.0595       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5569       1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.4292       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .95182E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .52962E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    1.4025       1.0000         .10000E-03   10000.    
    19 'norm      '    23.482       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0743       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .83341       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6207.840     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2404 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2415        2.5915       -.85872E-06   -.92020E-03
   2  norm          .10000E-03    1.5195       -.13277E-06** at limit **
   3  norm          6.3311        4.9086       -.39761E-06   -.50791E-04
   4  Prefactor     78.737        92.821       -.60987E-04    .42269E-05
   5  Prefactor     13.476        12.906       -.22954E-05    .34458E-04
   6  Prefactor     16.037        18.880       -.11001E-05    .20604E-04
   7  norm          .10000E-03    3.6938        .23114E-06** at limit **
   8  Prefactor     .10000E-03    11.470       -.43798E-06** at limit **
   9  Prefactor     66.691        47.812       -.32365E-05    .31771E-04
  10  Prefactor     9.0098        8.7593        .30582E-06   -.92525E-04
  11  Prefactor     .10000E-03    1.6323       -.89782E-07** at limit **
  12  Prefactor     8.0673        7.4640        .11375E-05    .53707E-04
  13  Prefactor     .10000E-03    12.717       -.44185E-06** at limit **
  14  norm          1.5581        1.4974       -.15184E-06    .20476E-03
  15  Prefactor     2.4284        8.0194       -.39608E-05   -.36878E-03
  16  Prefactor     .10005E-03    2.5043       -.98881E-07** at limit **
  17  norm          .10001E-03    15.574        .41304E-06** at limit **
  18  norm          1.4028        1.1386       -.29327E-06    .18712E-04
  19  norm          23.484        7.2079       -.21706E-05    .19497E-05
  20  Prefactor     .10000E-03    21.459       -.18883E-06** at limit **
  21  Normalizat    1.0742        .17288        .51205E-05   -.68706E-04
  22  Prefactor     .83367        .16043        .50632E-06    .20445E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.24152
  norm       = 0.0001
  norm       = 6.33112
  Prefactor  = 78.7368
  Prefactor  = 13.4758
  Prefactor  = 16.0369
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 66.6912
  Prefactor  = 9.00981
  Prefactor  = 0.0001
  Prefactor  = 8.06732
  Prefactor  = 0.0001
  norm       = 1.55812
  Prefactor  = 2.42839
  Prefactor  = 0.00010005
  norm       = 0.000100006
  norm       = 1.40283
  norm       = 23.4842
  Prefactor  = 0.0001
  Normalizat = 1.07419
  Prefactor  = 0.833667
 **********
 **   18 **HESSE 
 **********

 FCN=   6207.840     FROM HESSE     STATUS=OK           356 CALLS     2760 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2415        2.5499        .17330E-03   -1.5485    
   2  norm          .10000E-03    2.9275        .18823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          6.3311        4.8851        .14575E-03   -1.5205    
   4  Prefactor     78.737        92.722        .22620E-03   -1.3931    
   5  Prefactor     13.476        12.906        .10911E-03   -1.4974    
   6  Prefactor     16.037        18.838        .10001E-03   -1.4907    
   7  norm          .10000E-03    3.6957        .14791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     66.691        47.695        .49144E-04   -1.4073    
  10  Prefactor     9.0098        8.7410        .13353E-03   -1.5108    
  11  Prefactor     .10000E-03    1.6731        .19651E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.0673        7.3403        .14123E-03   -1.5140    
  13  Prefactor     .10000E-03    12.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5581        1.4933        .88513E-04   -1.5458    
  15  Prefactor     2.4284        8.0327        .26256E-03   -1.5396    
  16  Prefactor     .10005E-03    15.301        .23026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10001E-03    20.179        .91051E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.4028        1.1417        .36628E-04   -1.5471    
  19  norm          23.484        7.2110        .82662E-04   -1.4738    
  20  Prefactor     .10000E-03    21.470        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0742        .19304        .23677E-03   -.90585    
  22  Prefactor     .83367        .18053        .25693E-03   -.98499    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47837e-09
Minuit parameter uncertainties:
  1  2.55016
  2  1.8682e-05
  3  4.88544
  4  92.8925
  5  12.9085
  6  18.8453
  7  4.433e-05
  8  4.98992e-07
  9  47.7225
  10  8.74219
  11  1.00726e-05
  12  7.34113
  13  5.05923e-06
  14  1.49334
  15  8.03625
  16  0.00175595
  17  0.000695206
  18  1.14176
  19  7.21132
  20  1.01237e-05
  21  0.193164
  22  0.18066
Done.

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

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  1.007e-05  1.000e-04  1.000e+04 ( 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.337e-01  1.807e-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.074e+00  1.932e-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: 5.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/785046/likelihoodResults_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.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) = 6207.84300304
delta logL = -0.00284271382407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6207.8401619
delta logL = -1.56838086696e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10848E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3321       1.0000          .0000       10.000    
     3 'Normalizat'    1.0743       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83360       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=   6207.840     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      227 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.5015        .38887E-01** at limit **
   2  Index         1.6634        8.2373        .50000       -.14575E-05
   3  Normalizat    1.0742        .53144E-02    .39157E-01   -.15736E-04
   4  Prefactor     .83366        .51725E-02    .44153E-01   -.17174E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.66343
  Normalizat = 1.0742
  Prefactor  = 0.833663
 **********
 **   18 **HESSE 
 **********

 FCN=   6207.840     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      262 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    116.11        .19441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6634        6.1621        .50000       -.73060    
   3  Normalizat    1.0742        .26545E-01    .23677E-03   -.90585    
   4  Prefactor     .83366        .25831E-01    .25693E-03   -.98499    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.69467e-09
Minuit parameter uncertainties:
  1  0.00039779
  2  312.391
  3  0.0265451
  4  0.0258314
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/785046': 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) = 6207.84014593
delta logL = 1.43970664794e-05

Extracting fit parameters...

4FGL J0116.0-1136
   Spectrum: PowerLaw
282    Prefactor:  1.000e-04  3.978e-04  1.000e-04  1.000e+04 ( 1.000e-12)
283        Index:  1.663e+00  3.124e+02  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.337e-01  2.583e-02  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.074e+00  2.655e-02  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/785046/cmap_HighResolution_678931201_679190401_4FGL_J0116.0-1136_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.13e-03', job_status='DONE', photon_flux_upper_limit='5.36e-08', time_completed='2022-07-11 00:16:28.483157', job_id='785046', GAL2='0.83', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1657523788.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='1.44e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1696' AND source_name='4FGL J0116.0-1136' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:16:28 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0243>
Subject: Job 785046: <4FGL_J0116.0-1136_daily_bin1696> in cluster <slac> Done

Job <4FGL_J0116.0-1136_daily_bin1696> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Mon Jul 11 00:04:46 2022
Job was executed on host(s) <bullet0243>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:04:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:04:47 2022
Terminated at Mon Jul 11 00:16:28 2022
Results reported at Mon Jul 11 00:16:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0116.0-1136_daily_bin1696 19.0006 -11.606 678931201 679190401 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 :                                   647.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   701 sec.
    Turnaround time :                            702 sec.

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

