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


Performing analysis on: 4FGL_J1118.2-4634_daily_bin1667
RA = 169.558, Dec = -46.5795
tmin = 671414401, tmax = 671673601
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='477360', job_status='RUN', time_executed='2022-04-15 03:20:25.211236', time_epoch_executed='1650018025.21' WHERE source_name='4FGL J1118.2-4634' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/477360

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/477360/ft1_4FGL_J1118.2-4634_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/477360/ft1_4FGL_J1118.2-4634_daily_bin1667.fits outfile=/scratch/kocevski/477360/ft1_filteredMKT_4FGL_J1118.2-4634_daily_bin1667.fits ra=169.558 dec=-46.5795 rad=12.0 tmin=671414401.0 tmax=671673601.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.48
user 3.27
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.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/477360/ft1_filteredMKT_4FGL_J1118.2-4634_daily_bin1667.fits evtable="EVENTS" outfile="/scratch/kocevski/477360/ft1_filtered_4FGL_J1118.2-4634_daily_bin1667.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: 1134

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/477360/ft1_filtered_4FGL_J1118.2-4634_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/477360/ltcube_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.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/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits
.....................!
real 12.26
user 11.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/477360/ft1_filtered_4FGL_J1118.2-4634_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/477360/ltcube_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.fits outfile=/scratch/kocevski/477360/expmap_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.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/477360/ltcube_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.fits
.....................!
real 192.48
user 186.69
sys 5.44

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
Extended source G296.5+10.0 in ROI with RadialDisk spatial model.
Extended source Westerlund 2 in ROI with RadialDisk spatial model.
Extended source FGES J1036.3-5833 in ROI with RadialDisk spatial model.
Extended source FGES J1109.4-6115 in ROI with RadialDisk spatial model.
Extended source FGES J1213.3-6240 in ROI with RadialDisk spatial model.
Added 249 point sources and 5 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1118.2-4634 @ 169.558 -46.5795

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/477360/ft1_filtered_4FGL_J1118.2-4634_daily_bin1667.fits scfile=/scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits outfile=/scratch/kocevski/477360/cmap_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.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=169.558 yref=-46.5795 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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/477360/ft1_filtered_4FGL_J1118.2-4634_daily_bin1667.fits scfile=/scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits outfile=/scratch/kocevski/477360/cmap_HighResolution_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.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=169.558 yref=-46.5795 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.56
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/477360/ft1_filtered_4FGL_J1118.2-4634_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/477360/Model_4FGL_J1118.2-4634_daily_bin1667.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 FGES J1036.3-5833
adding source FGES J1109.4-6115
adding source FGES J1213.3-6240
adding source G296.5+10.0
adding source GAL_V02
adding source Westerlund 2
Working on...
/scratch/kocevski/477360/ft1_filtered_4FGL_J1118.2-4634_daily_bin1667.fits.....................!
real 159.25
user 157.72
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/477360/ft1_filtered_4FGL_J1118.2-4634_daily_bin1667.fits', '/scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits', expMap='/scratch/kocevski/477360/expmap_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.fits', expCube='/scratch/kocevski/477360/ltcube_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/477360/Model_4FGL_J1118.2-4634_daily_bin1667.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1118.2-4634'

4FGL J1118.2-4634
   Spectrum: LogParabola
429         norm:  3.356e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
430        alpha:  2.666e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
431         beta:  4.085e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.298e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/477360/ft1_filtered_4FGL_J1118.2-4634_daily_bin1667.fits
Spacecraft file(s): /scratch/kocevski/477360/ft2_4FGL_J1118.2-4634_daily_bin1667.fits
Exposure map: /scratch/kocevski/477360/expmap_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.fits
Exposure cube: /scratch/kocevski/477360/ltcube_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/477360/Model_4FGL_J1118.2-4634_daily_bin1667.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) = 11424.4618719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    42.313       1.0000         .10000E-03   10000.    
     4 'norm      '    7.1228       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.1011       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .21514E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10271E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10636E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .17681E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10121E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .31355E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    19.958       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10388E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.4480       1.0000         .10000E-03   10000.    
    17 'Normalizat'    2.2910       1.0000         .10000E-01   10.000    
    18 'Prefactor '    .74480       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11424.46     FROM MIGRAD    STATUS=CONVERGED    368 CALLS     1766 TOTAL
                     EDM=   .20E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.7978       -.69253E-07** at limit **
   2  norm          .10000E-03    6.6870        .12842E-06** at limit **
   3  Prefactor     42.290        32.538       -.10695E-04   -.26355E-04
   4  norm          7.1208        3.8619        .20833E-06   -.16175E-03
   5  Prefactor     5.1019        9.5397        .21366E-05   -.10125E-03
   6  norm          .10000E-03    .74655       -.54211E-07** at limit **
   7  Prefactor     .10010E-03    5.6333        .15906E-05** at limit **
   8  norm          .10000E-03    22.753       -.30068E-05** at limit **
   9  Prefactor     .10000E-03    46.625       -.11739E-04** at limit **
  10  Prefactor     .10000E-03    66.481        .60697E-04** at limit **
  11  norm          .10000E-03    9.2198        .52352E-08** at limit **
  12  Prefactor     .10260E-03    12.800       -.10576E-05** at limit **
  13  norm          19.945        9.6374       -.61727E-05    .25762E-03
  14  Prefactor     .10000E-03    30.249       -.18817E-04** at limit **
  15  Prefactor     .10000E-03    25.374        .10851E-04** at limit **
  16  Prefactor     3.4481        3.2905       -.16933E-06   -.21791E-03
  17  Normalizat    2.2911        .27881        .59649E-06   -.53404E-04
  18  Prefactor     .74478        .61901E-01    .99578E-06   -.44839E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 42.29
  norm       = 7.12076
  Prefactor  = 5.1019
  norm       = 0.0001
  Prefactor  = 0.000100098
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000102605
  norm       = 19.9445
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 3.44813
  Normalizat = 2.29108
  Prefactor  = 0.744779
 **********
 **   18 **HESSE 
 **********

 FCN=   11424.46     FROM HESSE     STATUS=OK           240 CALLS     2006 TOTAL
                     EDM=   .28E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8035        .17460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    6.6985        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     42.290        32.710        .61627E-04   -1.4406    
   4  norm          7.1208        3.8615        .14923E-03   -1.5174    
   5  Prefactor     5.1019        9.5316        .17802E-03   -1.5256    
   6  norm          .10000E-03    .75349        .90156E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10010E-03    23.894        .48960E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    23.355        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    46.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    66.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    9.2204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10260E-03    101.44        .72952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          19.945        9.5895        .89654E-04   -1.4814    
  14  Prefactor     .10000E-03    30.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.443        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.4481        3.2909        .18427E-03   -1.5337    
  17  Normalizat    2.2911        .31154        .45845E-03   -.57439    
  18  Prefactor     .74478        .69958E-01    .16138E-03   -1.0180    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79304e-08
Minuit parameter uncertainties:
  1  1.84945e-06
  2  2.93822e-05
  3  32.7234
  4  3.86159
  5  9.53446
  6  1.94837e-06
  7  0.00306014
  8  6.59581e-06
  9  3.93942e-05
  10  0.000274639
  11  6.67567e-07
  12  0.0325654
  13  9.59023
  14  0.000337499
  15  3.41169e-05
  16  3.29106
  17  0.311829
  18  0.0699661
Done.

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

Extracting fit parameters...

4FGL J1118.2-4634
   Spectrum: LogParabola
429         norm:  1.000e-04  6.596e-06  1.000e-04  1.000e+04 ( 1.000e-13)
430        alpha:  2.666e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
431         beta:  4.085e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.298e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
896    Prefactor:  7.448e-01  6.997e-02  0.000e+00  1.000e+01 ( 1.000e+00)
897        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
898        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
881   Normalization:  2.291e+00  3.118e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 169.558 -46.580
Photon Flux Upper Limit: 5.25e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.26e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/477359/likelihoodResults_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.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) = 11424.4588136
delta logL = -0.000204243558983

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11424.4586093
delta logL = 1.5294062905e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6420       1.0000          .0000       5.0000    
     3 'Normalizat'    2.2910       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74479       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .9020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11424.46     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      260 TOTAL
                     EDM=   .55E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    2.2163        .18142    ** at limit **
   2  alpha         2.2776        2.7794        .50000        .48294E-07
   3  Normalizat    2.2911        .40145E-02    .45845E-03    .58127E-04
   4  Prefactor     .74478        .88603E-03    .16138E-03    .15301E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100006
  alpha      = 2.27759
  Normalizat = 2.29108
  Prefactor  = 0.74478
 **********
 **   18 **HESSE 
 **********

 FCN=   11424.46     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      291 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    299.91        .63604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.2776        3.0585        .50000       -.89081E-01
   3  Normalizat    2.2911        .27463E-01    .18338E-04   -.57439    
   4  Prefactor     .74478        .60612E-02    .64553E-05   -1.0180    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.52286e-10
Minuit parameter uncertainties:
  1  0.0025922
  2  1429.95
  3  0.0274627
  4  0.00606124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/477359': 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) = 11424.458609
delta logL = 3.49140464095e-07

Extracting fit parameters...

4FGL J1118.2-4634
   Spectrum: LogParabola
429         norm:  1.000e-04  2.592e-03  1.000e-04  1.000e+04 ( 1.000e-13)
430        alpha:  2.278e+00  1.430e+03  0.000e+00  5.000e+00 ( 1.000e+00)
431         beta:  4.085e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
432           Eb:  1.298e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
896    Prefactor:  7.448e-01  6.061e-03  0.000e+00  1.000e+01 ( 1.000e+00)
897        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
898        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
881   Normalization:  2.291e+00  2.746e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 169.558 -46.580

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/477359/cmap_HighResolution_671414401_671673601_4FGL_J1118.2-4634_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.26e-05', job_status='DONE', photon_flux_upper_limit='5.25e-08', time_completed='2022-04-15 03:39:14.931557', job_id='477359', GAL2='0.74', fit_tolerance='1e-08', EG2='2.29', EG='2.29', time_epoch_completed='1650019154.93', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='3.49e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.67' WHERE bin_id='1667' AND source_name='4FGL J1118.2-4634' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:39:14 PDT 2022

------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 477360: <4FGL_J1118.2-4634_daily_bin1667> in cluster <slac> Done

Job <4FGL_J1118.2-4634_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 00:06:57 2022
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:18:53 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:18:53 2022
Terminated at Fri Apr 15 03:39:14 2022
Results reported at Fri Apr 15 03:39:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1118.2-4634_daily_bin1667 169.558 -46.5795 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1118.2-4634 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1130.02 sec.
    Max Memory :                                 1260 MB
    Average Memory :                             366.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1220 sec.
    Turnaround time :                            12737 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 477359: <4FGL_J1118.2-4634_daily_bin1667> in cluster <slac> Done

Job <4FGL_J1118.2-4634_daily_bin1667> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Apr 15 00:06:57 2022
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:18:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:18:56 2022
Terminated at Fri Apr 15 03:39:15 2022
Results reported at Fri Apr 15 03:39:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1118.2-4634_daily_bin1667 169.558 -46.5795 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1118.2-4634 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1140.00 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             356.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1222 sec.
    Turnaround time :                            12738 sec.

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

