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


Performing analysis on: 4FGL_J1153.4+4931_daily_bin1674
RA = 178.35, Dec = 49.5169
tmin = 673228801, tmax = 673488001
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='670098', job_status='RUN', time_executed='2022-05-06 02:50:19.952286', time_epoch_executed='1651830619.95' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='1674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/670098

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/670098/ft1_4FGL_J1153.4+4931_daily_bin1674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/670098/ft1_4FGL_J1153.4+4931_daily_bin1674.fits outfile=/scratch/kocevski/670098/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin1674.fits ra=178.35 dec=49.5169 rad=12.0 tmin=673228801.0 tmax=673488001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.77
user 2.54
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.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/670098/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin1674.fits evtable="EVENTS" outfile="/scratch/kocevski/670098/ft1_filtered_4FGL_J1153.4+4931_daily_bin1674.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.52
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 944

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/670098/ft1_filtered_4FGL_J1153.4+4931_daily_bin1674.fits" evtable="EVENTS" scfile=/scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits sctable="SC_DATA" outfile=/scratch/kocevski/670098/ltcube_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.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/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits
.....................!
real 16.01
user 15.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/670098/ft1_filtered_4FGL_J1153.4+4931_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits sctable="SC_DATA" expcube=/scratch/kocevski/670098/ltcube_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.fits outfile=/scratch/kocevski/670098/expmap_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.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/670098/ltcube_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.fits
.....................!
real 191.71
user 186.04
sys 5.32

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

Setting source of interest to:
4FGL J1153.4+4931 @ 178.35 49.5169

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/670098/ft1_filtered_4FGL_J1153.4+4931_daily_bin1674.fits scfile=/scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits outfile=/scratch/kocevski/670098/cmap_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.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=178.35 yref=49.5169 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.57
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/670098/ft1_filtered_4FGL_J1153.4+4931_daily_bin1674.fits scfile=/scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits outfile=/scratch/kocevski/670098/cmap_HighResolution_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.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=178.35 yref=49.5169 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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/670098/ft1_filtered_4FGL_J1153.4+4931_daily_bin1674.fits evtable="EVENTS" scfile=/scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/670098/Model_4FGL_J1153.4+4931_daily_bin1674.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/670098/ft1_filtered_4FGL_J1153.4+4931_daily_bin1674.fits.....................!
real 79.86
user 78.33
sys 1.38

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/670098/ft1_filtered_4FGL_J1153.4+4931_daily_bin1674.fits', '/scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits', expMap='/scratch/kocevski/670098/expmap_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.fits', expCube='/scratch/kocevski/670098/ltcube_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/670098/Model_4FGL_J1153.4+4931_daily_bin1674.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.4+4931'

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  3.122e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/670098/ft1_filtered_4FGL_J1153.4+4931_daily_bin1674.fits
Spacecraft file(s): /scratch/kocevski/670098/ft2_4FGL_J1153.4+4931_daily_bin1674.fits
Exposure map: /scratch/kocevski/670098/expmap_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.fits
Exposure cube: /scratch/kocevski/670098/ltcube_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/670098/Model_4FGL_J1153.4+4931_daily_bin1674.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) = 10377.9843169

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    84.287       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10569E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    2.7463       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.976       1.0000         .10000E-03   10000.    
     8 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .22507       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .24541E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.5555       1.0000         .10000E-03   10000.    
    15 'norm      '    13.884       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .24490E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.143       1.0000         .10000E-03   10000.    
    18 'norm      '    .27768       1.0000         .10000E-03   10000.    
    19 'Prefactor '    17.382       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.6875       1.0000         .10000E-03   10000.    
    21 'norm      '    7.4645       1.0000         .10000E-03   10000.    
    22 'norm      '    8.4409       1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.6628       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    6.2524       1.0000         .10000E-03   10000.    
    26 'Prefactor '    12.073       1.0000         .10000E-03   10000.    
    27 'norm      '    2.1238       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .70502       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3520       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+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=   10377.94     FROM MIGRAD    STATUS=CONVERGED   1347 CALLS     4385 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.298        .18142E-02** at limit **
   2  Prefactor     84.260        73.399        .21877E-03    .48847E-05
   3  Prefactor     .10000E-03    78.596        .18142E-02** at limit **
   4  norm          2.7462        1.6120        .94685E-04    .21132E-04
   5  Prefactor     .10000E-03    28.991        .18142E-02** at limit **
   6  Prefactor     .10000E-03    12.801        .18142E-02** at limit **
   7  Prefactor     12.984        36.528        .11120E-03    .16358E-05
   8  norm          .10000E-03    9.4161        .18142E-02** at limit **
   9  Prefactor     .10000E-03    1.4271        .11835E-02** at limit **
  10  Prefactor     .34206        10.203        .99911E-01    .40994E-03
  11  norm          .10000E-03    .67528        .81512E-03** at limit **
  12  Prefactor     .10000E-03    27.377        .13192    ** at limit **
  13  norm          .10000E-03    3.3393        .18142E-02** at limit **
  14  norm          1.5550        1.1986        .70996E-04    .92011E-03
  15  norm          13.882        9.6810        .10749E-03    .56900E-04
  16  Prefactor     .10000E-03    8.3224        .17191E-02** at limit **
  17  Prefactor     17.232        59.949        .96734E-04    .23505E-04
  18  norm          .27987        10.608        .22503E-02    .80062E-03
  19  Prefactor     17.391        13.741        .96067E-04    .80946E-04
  20  Prefactor     7.6852        6.8446        .72315E-03    .28505E-03
  21  norm          7.4649        1.9392        .68970E-04    .28484E-03
  22  norm          8.4420        5.2573        .68990E-03   -.52765E-04
  23  Prefactor     9.6672        15.147        .12892E-03    .14110E-04
  24  Prefactor     .10000E-03    1.8482        .13442E-02** at limit **
  25  norm          6.2527        2.3908        .94815E-04    .36691E-04
  26  Prefactor     12.078        12.937        .11529E-03    .84804E-05
  27  norm          2.1240        1.4188        .96469E-04    .32998E-05
  28  Normalizat    .70490        .14869        .26502E-03    .34206E-03
  29  Prefactor     1.3519        .18848        .25637E-03    .30612E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 84.26
  Prefactor  = 0.0001
  norm       = 2.74625
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9839
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.342065
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.55496
  norm       = 13.8821
  Prefactor  = 0.0001
  Prefactor  = 17.2316
  norm       = 0.27987
  Prefactor  = 17.3914
  Prefactor  = 7.68516
  norm       = 7.46489
  norm       = 8.44201
  Prefactor  = 9.66719
  Prefactor  = 0.0001
  norm       = 6.2527
  Prefactor  = 12.0776
  norm       = 2.12402
  Normalizat = 0.704899
  Prefactor  = 1.35192
 **********
 **   18 **HESSE 
 **********

 FCN=   10377.94     FROM HESSE     STATUS=OK           547 CALLS     4932 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.298        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     84.260        73.393        .87510E-05   -1.3870    
   3  Prefactor     .10000E-03    78.602        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          2.7462        1.6119        .37874E-05   -1.5377    
   5  Prefactor     .10000E-03    28.995        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    12.805        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     12.984        36.531        .44480E-05   -1.4987    
   8  norm          .10000E-03    9.4161        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.4273        .23669E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .34206        10.158        .10010       -1.5591    
  11  norm          .10000E-03    .67531        .16302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.588        .13124       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    3.3393        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.5550        1.1990        .28398E-05   -1.5459    
  15  norm          13.882        9.6819        .42997E-05   -1.4963    
  16  Prefactor     .10000E-03    8.4650        .34383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     17.232        60.012        .38693E-05   -1.4878    
  18  norm          .27987        10.045        .90011E-04   -1.5602    
  19  Prefactor     17.391        13.728        .38427E-05   -1.4874    
  20  Prefactor     7.6852        6.6579        .28926E-04   -1.5153    
  21  norm          7.4649        1.9392        .27588E-05   -1.5161    
  22  norm          8.4420        5.2560        .27596E-04   -1.5127    
  23  Prefactor     9.6672        15.144        .51566E-05   -1.5086    
  24  Prefactor     .10000E-03    1.8486        .26883E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          6.2527        2.3908        .37926E-05   -1.5208    
  26  Prefactor     12.078        12.938        .46116E-05   -1.5013    
  27  norm          2.1240        1.4188        .38587E-05   -1.5416    
  28  Normalizat    .70490        .14877        .10601E-04   -1.0370    
  29  Prefactor     1.3519        .18866        .51275E-04   -.81776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11813e-09
Minuit parameter uncertainties:
  1  4.79927e-06
  2  73.4717
  3  4.91618e-05
  4  1.61197
  5  1.92448e-05
  6  7.87192e-06
  7  36.5939
  8  9.40477e-07
  9  9.15836e-07
  10  3.72823
  11  3.02737e-07
  12  7.89649e-05
  13  5.98906e-08
  14  1.19901
  15  9.68296
  16  7.12988e-05
  17  60.223
  18  3.35346
  19  13.73
  20  6.65853
  21  1.93926
  22  5.25628
  23  15.1496
  24  1.79232e-06
  25  2.39079
  26  12.9406
  27  1.4188
  28  0.148854
  29  0.188755
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.000e-04  7.130e-05  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  1.352e+00  1.888e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  7.049e-01  1.489e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 178.350 49.517
Photon Flux Upper Limit: 4.34e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.35e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/670098/likelihoodResults_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.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) = 10377.9358495
delta logL = -0.000577102244279

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10377.9352761
delta logL = -3.69937151845e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17865E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3440       1.0000          .0000       10.000    
     3 'Normalizat'    .70494       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3520       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   10377.94     FROM MIGRAD    STATUS=FAILED       108 CALLS      283 TOTAL
                     EDM=   .52E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10216E-03    88.556        .18296E-02** at limit **
   2  Index         2.1907        5.9553        .50000        .84192E-05
   3  Normalizat    .70490        .77940E-02    .26502E-03    .22135E-04
   4  Prefactor     1.3519        .10144E-01    .25637E-03    .22083E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   10377.94     FROM SIMPLEX   STATUS=UNCHANGED    121 CALLS      404 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10216E-03    88.556        .59154E-03** at limit **
   2  Index         2.1907        5.9553        .43040E-03    .84192E-05
   3  Normalizat    .70490        .77940E-02    .27334E-05    .22135E-04
   4  Prefactor     1.3519        .10144E-01    .15298E-05    .22083E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10377.94     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      477 TOTAL
                     EDM=   .63E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.896        .14637E-04** at limit **
   2  Index         2.1652        6.4067        .50000        .18781E-07
   3  Normalizat    .70490        .14390        .21202E-05   -.85794E-04
   4  Prefactor     1.3519        .18729        .20510E-05   -.88688E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.16518
  Normalizat = 0.704899
  Prefactor  = 1.35192
 **********
 **   18 **HESSE 
 **********

 FCN=   10377.94     FROM HESSE     STATUS=OK            29 CALLS      506 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.173        .29273E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1652        5.3641        .50000       -.60282    
   3  Normalizat    .70490        .14539        .42403E-06   -1.0370    
   4  Prefactor     1.3519        .18923        .41020E-06   -.81776    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.1348e-12
Minuit parameter uncertainties:
  1  1.62179e-05
  2  52.5415
  3  0.145473
  4  0.189329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/670098': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10377.9352701
delta logL = 2.34147591982e-06

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.000e-04  1.622e-05  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.165e+00  5.254e+01  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  1.352e+00  1.893e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  7.049e-01  1.455e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 178.350 49.517

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/670098/cmap_HighResolution_673228801_673488001_4FGL_J1153.4+4931_daily_bin1674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.35e-03', job_status='DONE', photon_flux_upper_limit='4.34e-08', time_completed='2022-05-06 03:15:01.747081', job_id='670098', GAL2='1.35', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1651832101.75', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='2.34e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='1674' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri May  6 03:15:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 670039: <4FGL_J1153.4+4931_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin1674> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri May  6 00:07:14 2022
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:49:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:49:05 2022
Terminated at Fri May  6 03:14:31 2022
Results reported at Fri May  6 03:14:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin1674 178.35 49.5169 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.4+4931 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1486.27 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             330.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1526 sec.
    Turnaround time :                            11237 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0113>
Subject: Job 670098: <4FGL_J1153.4+4931_daily_bin1674> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin1674> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri May  6 00:07:18 2022
Job was executed on host(s) <bullet0113>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri May  6 02:49:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri May  6 02:49:23 2022
Terminated at Fri May  6 03:15:02 2022
Results reported at Fri May  6 03:15:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin1674 178.35 49.5169 673228801 673488001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.4+4931 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1478.17 sec.
    Max Memory :                                 633 MB
    Average Memory :                             322.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1539 sec.
    Turnaround time :                            11264 sec.

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

