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


Performing analysis on: 4FGL_J1154.0+6018_daily_bin1760
RA = 178.519, Dec = 60.3107
tmin = 695520001, tmax = 695779201
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='734929', job_status='RUN', time_executed='2023-01-19 00:48:05.929832', time_epoch_executed='1674118085.93' WHERE source_name='4FGL J1154.0+6018' and cadence='daily' and bin_id='1760'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/734929

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/734929/ft1_4FGL_J1154.0+6018_daily_bin1760.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/734929/ft1_4FGL_J1154.0+6018_daily_bin1760.fits outfile=/scratch/kocevski/734929/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin1760.fits ra=178.519 dec=60.3107 rad=12.0 tmin=695520001.0 tmax=695779201.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.43
user 2.21
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.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/734929/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin1760.fits evtable="EVENTS" outfile="/scratch/kocevski/734929/ft1_filtered_4FGL_J1154.0+6018_daily_bin1760.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.35
sys 0.15

Number of photons that the gtmktime cut: 413

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/734929/ft1_filtered_4FGL_J1154.0+6018_daily_bin1760.fits" evtable="EVENTS" scfile=/scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits sctable="SC_DATA" outfile=/scratch/kocevski/734929/ltcube_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.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/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits
.....................!
real 17.88
user 17.51
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/734929/ft1_filtered_4FGL_J1154.0+6018_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits sctable="SC_DATA" expcube=/scratch/kocevski/734929/ltcube_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.fits outfile=/scratch/kocevski/734929/expmap_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.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/734929/ltcube_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.fits
.....................!
real 193.80
user 189.12
sys 4.21

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

Setting source of interest to:
4FGL J1154.0+6018 @ 178.519 60.3107

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/734929/ft1_filtered_4FGL_J1154.0+6018_daily_bin1760.fits scfile=/scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits outfile=/scratch/kocevski/734929/cmap_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.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.519 yref=60.3107 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/734929/ft1_filtered_4FGL_J1154.0+6018_daily_bin1760.fits scfile=/scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits outfile=/scratch/kocevski/734929/cmap_HighResolution_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.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.519 yref=60.3107 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.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/734929/ft1_filtered_4FGL_J1154.0+6018_daily_bin1760.fits evtable="EVENTS" scfile=/scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/734929/Model_4FGL_J1154.0+6018_daily_bin1760.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/734929/ft1_filtered_4FGL_J1154.0+6018_daily_bin1760.fits.....................!
real 48.45
user 47.11
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/734929/ft1_filtered_4FGL_J1154.0+6018_daily_bin1760.fits', '/scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits', expMap='/scratch/kocevski/734929/expmap_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.fits', expCube='/scratch/kocevski/734929/ltcube_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/734929/Model_4FGL_J1154.0+6018_daily_bin1760.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1154.0+6018'

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  1.841e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
409        alpha:  2.754e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
410         beta:  2.407e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/734929/ft1_filtered_4FGL_J1154.0+6018_daily_bin1760.fits
Spacecraft file(s): /scratch/kocevski/734929/ft2_4FGL_J1154.0+6018_daily_bin1760.fits
Exposure map: /scratch/kocevski/734929/expmap_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.fits
Exposure cube: /scratch/kocevski/734929/ltcube_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/734929/Model_4FGL_J1154.0+6018_daily_bin1760.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) = 4645.64521762

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .59523E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    42.053       1.0000          .0000       .10000E+07
     3 'norm      '    .41823       1.0000          .0000       .10000E+07
     4 'norm      '    .36548       1.0000          .0000       .10000E+07
     5 'Prefactor '    .23621E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .29403E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .33015E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .60729E-07   1.0000          .0000       .10000E+07
     9 'Prefactor '    .58105       1.0000          .0000       .10000E+07
    10 'Prefactor '    .33031       1.0000          .0000       .10000E+07
    11 'norm      '    .11001       1.0000          .0000       .10000E+07
    12 'Prefactor '    4.5555       1.0000          .0000       .10000E+07
    13 'Prefactor '    52.704       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.6840       1.0000          .0000       .10000E+07
    15 'Prefactor '    .12208E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .95960E-01   1.0000          .0000       .10000E+07
    17 'Prefactor '    .59879E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .13723E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    60.761       1.0000          .0000       .10000E+07
    20 'Prefactor '    .17655E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .64137E-01   1.0000          .0000       .10000E+07
    22 'norm      '    .89095E-07   1.0000          .0000       .10000E+07
    23 'Prefactor '    .61229E-01   1.0000          .0000       .10000E+07
    24 'norm      '    .12922E-04   1.0000          .0000       .10000E+07
    25 'norm      '    .80521       1.0000          .0000       .10000E+07
    26 'Prefactor '    .10201E-05   1.0000          .0000       .10000E+07
    27 'norm      '    5.4486       1.0000          .0000       .10000E+07
    28 'norm      '    4.0080       1.0000          .0000       .10000E+07
    29 'Prefactor '    18.765       1.0000          .0000       .10000E+07
    30 'Prefactor '    5.5100       1.0000          .0000       .10000E+07
    31 'Prefactor '    49.379       1.0000          .0000       .10000E+07
    32 'Normalizat'    1.0506       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .82491       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4645.641     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     3485 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .69944E-08    29.215       -.60361E-06** at limit **
   2  Prefactor     42.379        9.7170       -.10105E-06    .26690E-01
   3  norm          .36997        8.1946       -.16620E-06   -.94413E-03
   4  norm          .36547        2.5134        .26559E-06    .53402E-03
   5  Prefactor     .78476E-05    114.51        .32117E-06** at limit **
   6  norm           .0000        1.4835       -.78926E-07** at limit **
   7  Prefactor     .33749E-03    284.36        .13207E-05** at limit **
   8  norm           .0000        1.0700        .15663E-07** at limit **
   9  Prefactor     .18304E-01    223.20       -.10277E-06** at limit **
  10  Prefactor     .16737E-03    58.225        .63282E-06** at limit **
  11  norm          .10027E-05    71.295       -.12349E-06** at limit **
  12  Prefactor     4.5299        9.1219        .22390E-07   -.10569E-02
  13  Prefactor     53.267        27.355        .19646E-06    .10582    
  14  Prefactor     1.6793        66.186       -.24062E-06    .18950E-01
  15  Prefactor     .14988E-08    20.137       -.19631E-06** at limit **
  16  norm          .63283E-07    88.647        .99768E-06** at limit **
  17  Prefactor     .62728E-08    6.5909        .12914E-06** at limit **
  18  norm          .37192E-08    6.2055        .24590E-07** at limit **
  19  Prefactor     61.351        32.889        .22183E-06    .41835E-01
  20  Prefactor     .55511E-10    25.002        .77677E-06** at limit **
  21  Prefactor     .10497E-06    71.385        .11408E-05** at limit **
  22  norm           .0000        .87926        .29644E-07** at limit **
  23  Prefactor     .40801E-07    69.498        .15189E-06** at limit **
  24  norm           .0000        2.0695        .16475E-07** at limit **
  25  norm          .79900        17.682       -.96990E-06   -.17077E-01
  26  Prefactor      .0000        1.2415       -.86342E-07** at limit **
  27  norm          5.4561        2.3889       -.73245E-08   -.67436E-03
  28  norm          4.0080        2.0579       -.10995E-07   -.45782E-03
  29  Prefactor     18.787        6.5537        .11365E-06   -.47626E-01
  30  Prefactor     5.3149        10.131       -.34831E-06    .49341E-03
  31  Prefactor     49.323        1.5730        .27128E-08   -.97245E-02
  32  Normalizat    1.0511        .21058        .67169E-05   -.75099E-04
  33  Prefactor     .82478        .24486       -.14336E-04   -.85821E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.99441e-09
  Prefactor  = 42.3787
  norm       = 0.369974
  norm       = 0.365474
  Prefactor  = 7.84756e-06
  norm       = 0
  Prefactor  = 0.000337489
  norm       = 0
  Prefactor  = 0.0183035
  Prefactor  = 0.000167373
  norm       = 1.0027e-06
  Prefactor  = 4.52986
  Prefactor  = 53.2667
  Prefactor  = 1.67929
  Prefactor  = 1.4988e-09
  norm       = 6.32827e-08
  Prefactor  = 6.27276e-09
  norm       = 3.71925e-09
  Prefactor  = 61.3508
  Prefactor  = 5.55112e-11
  Prefactor  = 1.04972e-07
  norm       = 0
  Prefactor  = 4.08007e-08
  norm       = 0
  norm       = 0.799
  Prefactor  = 0
  norm       = 5.45606
  norm       = 4.008
  Prefactor  = 18.7874
  Prefactor  = 5.31492
  Prefactor  = 49.3232
  Normalizat = 1.05114
  Prefactor  = 0.824778
 **********
 **   18 **HESSE 
 **********

 FCN=   4645.641     FROM HESSE     STATUS=OK           795 CALLS     4280 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .69944E-08    29.290        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     42.379        50.784        .15422E-03   -1.5578    
   3  norm          .36997        4.9502        .55852E-02   -1.5696    
   4  norm          .36547        2.5938        .93600E-03   -1.5696    
   5  Prefactor     .78476E-05    116.26        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.4828        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33749E-03    323.77        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        1.0687        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .18304E-01    1630.6        .70943E-03   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16737E-03    37.311        .12133E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10027E-05    71.196        .13668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.5299        9.3228        .47141E-03   -1.5665    
  13  Prefactor     53.267        41.545        .13776E-03   -1.5562    
  14  Prefactor     1.6793        73.640        .81124E-03   -1.5682    
  15  Prefactor     .14988E-08    19.668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .63283E-07    16.383        .97270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .62728E-08    6.5814        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .37192E-08    6.2065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     61.351        44.858        .12830E-03   -1.5551    
  20  Prefactor     .55511E-10    5.9894        .86356E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10497E-06    18.009        .15016E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        .87609        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .40801E-07    18.861        .97849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm           .0000        2.0646        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .79900        18.352        .52547E-03   -1.5690    
  26  Prefactor      .0000        1.2431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          5.4561        2.3923        .43024E-03   -1.5661    
  28  norm          4.0080        2.0600        .50350E-03   -1.5668    
  29  Prefactor     18.787        18.704        .23093E-03   -1.5621    
  30  Prefactor     5.3149        10.192        .42780E-03   -1.5662    
  31  Prefactor     49.323        61.272        .14232E-03   -1.5568    
  32  Normalizat    1.0511        .18676        .40514E-01   -.91336    
  33  Prefactor     .82478        .21203        .65311E-01   -.98821    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.2467e-05
Minuit parameter uncertainties:
  1  0.000905525
  2  50.7844
  3  2.70661
  4  1.94727
  5  0.0604119
  6  2.02196e-06
  7  0.661148
  8  7.6748e-07
  9  10.9293
  10  0.15805
  11  0.0168983
  12  9.32285
  13  41.5452
  14  22.2411
  15  0.000344275
  16  0.00203637
  17  0.000405686
  18  0.00030291
  19  44.8581
  20  4.38325e-05
  21  0.00274982
  22  6.30447e-07
  23  0.00175415
  24  4.69488e-06
  25  7.65864
  26  2.06765e-06
  27  2.39225
  28  2.06001
  29  18.7042
  30  10.1921
  31  61.2726
  32  0.186872
  33  0.212242
Done.

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

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  3.719e-09  3.029e-04  0.000e+00  1.000e+06 ( 1.000e-12)
409        alpha:  2.754e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
410         beta:  2.407e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  8.248e-01  2.122e-01  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  1.051e+00  1.869e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 178.519 60.311
Photon Flux Upper Limit: 8.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.30e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/734929/likelihoodResults_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.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) = 4645.72488843
delta logL = -0.0839852161362

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4645.64090337
delta logL = -1.56843270815e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .92004E-06   1.0000          .0000       .10000E+07
     2 'alpha     '    2.2274       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0512       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .82483       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7490E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4645.641     FROM MIGRAD    STATUS=CONVERGED     32 CALLS      195 TOTAL
                     EDM=   .48E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        18.277        .16331E-06** at limit **
   2  alpha         1.4386        3.2151        .35015E-05     .0000    
   3  Normalizat    1.0511        .20143        .27395E-05   -.36102E-04
   4  Prefactor     .82478        .24287       -.53587E-05   -.52440E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 1.43865
  Normalizat = 1.05114
  Prefactor  = 0.824778
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4645.641     FROM HESSE     STATUS=FAILED        11 CALLS      206 TOTAL
                     EDM=   .48E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        18.032        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         .46871        1.0599        .35015E-05   -.43845    
   3  Normalizat    1.0511        1.2021        .27395E-05   -.91336    
   4  Prefactor     .82478        1.1727       -.53587E-05   -.98821    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.79403e-12
Minuit parameter uncertainties:
  1  2.84745e-05
  2  0.938567
  3  1.2356
  4  1.21149
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/734929': 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): 101
logL (Free Index) = 4645.64090321
delta logL = 3.0286173569e-10

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  0.000e+00  2.847e-05  0.000e+00  1.000e+06 ( 1.000e-12)
409        alpha:  1.439e+00  9.386e-01  0.000e+00  5.000e+00 ( 1.000e+00)
410         beta:  2.407e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
411           Eb:  6.636e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
746    Prefactor:  8.248e-01  1.211e+00  0.000e+00  1.000e+01 ( 1.000e+00)
747        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
748        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
745   Normalization:  1.051e+00  1.236e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 178.519 60.311

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/734929/cmap_HighResolution_695520001_695779201_4FGL_J1154.0+6018_daily_bin1760.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.30e-05', job_status='DONE', photon_flux_upper_limit='8.93e-08', time_completed='2023-01-19 01:01:36.858830', job_id='734929', GAL2='0.82', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1674118896.86', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='3.03e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.75' WHERE bin_id='1760' AND source_name='4FGL J1154.0+6018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan 19 01:01:36 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0173>
Subject: Job 734929: <4FGL_J1154.0+6018_daily_bin1760> in cluster <slac> Done

Job <4FGL_J1154.0+6018_daily_bin1760> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan 19 00:45:19 2023
Job was executed on host(s) <bullet0173>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan 19 00:46:54 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan 19 00:46:54 2023
Terminated at Thu Jan 19 01:01:37 2023
Results reported at Thu Jan 19 01:01:37 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.0+6018_daily_bin1760 178.519 60.3107 695520001 695779201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1154.0+6018 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   813.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             340.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            978 sec.

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

