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


Performing analysis on: 4FGL_J1154.0+6018_daily_bin1771
RA = 178.519, Dec = 60.3107
tmin = 698371201, tmax = 698630401
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='546326', job_status='RUN', time_executed='2023-02-21 00:46:54.243696', time_epoch_executed='1676969214.24' WHERE source_name='4FGL J1154.0+6018' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/546326

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/546326/ft1_4FGL_J1154.0+6018_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/546326/ft2_4FGL_J1154.0+6018_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/546326/ft1_4FGL_J1154.0+6018_daily_bin1771.fits outfile=/scratch/kocevski/546326/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin1771.fits ra=178.519 dec=60.3107 rad=12.0 tmin=698371201.0 tmax=698630401.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.06
user 2.87
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/546326/ft2_4FGL_J1154.0+6018_daily_bin1771.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/546326/ft1_filteredMKT_4FGL_J1154.0+6018_daily_bin1771.fits evtable="EVENTS" outfile="/scratch/kocevski/546326/ft1_filtered_4FGL_J1154.0+6018_daily_bin1771.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.49
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 164

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/546326/ft1_filtered_4FGL_J1154.0+6018_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/546326/ft2_4FGL_J1154.0+6018_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/546326/ltcube_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.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/546326/ft2_4FGL_J1154.0+6018_daily_bin1771.fits
.....................!
real 12.43
user 12.05
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/546326/ft1_filtered_4FGL_J1154.0+6018_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/546326/ft2_4FGL_J1154.0+6018_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/546326/ltcube_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.fits outfile=/scratch/kocevski/546326/expmap_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.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/546326/ltcube_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.fits
.....................!
real 189.43
user 185.05
sys 4.01

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/546326/ft1_filtered_4FGL_J1154.0+6018_daily_bin1771.fits scfile=/scratch/kocevski/546326/ft2_4FGL_J1154.0+6018_daily_bin1771.fits outfile=/scratch/kocevski/546326/cmap_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.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.53
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/546326/ft1_filtered_4FGL_J1154.0+6018_daily_bin1771.fits scfile=/scratch/kocevski/546326/ft2_4FGL_J1154.0+6018_daily_bin1771.fits outfile=/scratch/kocevski/546326/cmap_HighResolution_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/546326/ft1_filtered_4FGL_J1154.0+6018_daily_bin1771.fits', '/scratch/kocevski/546326/ft2_4FGL_J1154.0+6018_daily_bin1771.fits', expMap='/scratch/kocevski/546326/expmap_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.fits', expCube='/scratch/kocevski/546326/ltcube_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/546326/Model_4FGL_J1154.0+6018_daily_bin1771.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/546326/ft1_filtered_4FGL_J1154.0+6018_daily_bin1771.fits
Spacecraft file(s): /scratch/kocevski/546326/ft2_4FGL_J1154.0+6018_daily_bin1771.fits
Exposure map: /scratch/kocevski/546326/expmap_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.fits
Exposure cube: /scratch/kocevski/546326/ltcube_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/546326/Model_4FGL_J1154.0+6018_daily_bin1771.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) = 1654.6051248

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .39793E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .28755E-07   1.0000          .0000       .10000E+07
     3 'norm      '    .76833E-02   1.0000          .0000       .10000E+07
     4 'norm      '    12.237       1.0000          .0000       .10000E+07
     5 'Prefactor '    .46169E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .56710E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    .92645       1.0000          .0000       .10000E+07
     8 'norm      '    .16719E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    .28830       1.0000          .0000       .10000E+07
    10 'Prefactor '    .56798       1.0000          .0000       .10000E+07
    11 'norm      '    43.717       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16641       1.0000          .0000       .10000E+07
    13 'Prefactor '    .55084E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .86248E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    .60063E-07   1.0000          .0000       .10000E+07
    16 'norm      '    .18293E-05   1.0000          .0000       .10000E+07
    17 'Prefactor '    141.85       1.0000          .0000       .10000E+07
    18 'norm      '    83821.       1.0000          .0000       .10000E+07
    19 'Prefactor '    .72109E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .11763       1.0000          .0000       .10000E+07
    21 'Prefactor '    .83948       1.0000          .0000       .10000E+07
    22 'norm      '    .87874E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    26.781       1.0000          .0000       .10000E+07
    24 'norm      '    2.9766       1.0000          .0000       .10000E+07
    25 'norm      '    .76513E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    .33783E-03   1.0000          .0000       .10000E+07
    27 'norm      '    2.1618       1.0000          .0000       .10000E+07
    28 'norm      '    1.9397       1.0000          .0000       .10000E+07
    29 'Prefactor '    .49933E-04   1.0000          .0000       .10000E+07
    30 'Prefactor '    .36841E-04   1.0000          .0000       .10000E+07
    31 'Prefactor '    .32558E-02   1.0000          .0000       .10000E+07
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .35853       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=   1654.497     FROM MIGRAD    STATUS=CONVERGED    266 CALLS     3480 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21871E-07    19.172       -.91878E-06** at limit **
   2  Prefactor     .40024E-07    19.073        .58131E-05** at limit **
   3  norm          .27756E-09    20.856       -.26446E-05** at limit **
   4  norm          12.236        12.073       -.70893E-06   -.44478E-04
   5  Prefactor     .31641E-08    59.368        .49958E-05** at limit **
   6  norm           .0000        .54613       -.11355E-05** at limit **
   7  Prefactor     .81380E-04    2136.0       -.52783E-04** at limit **
   8  norm           .0000        25.806       -.21539E-06** at limit **
   9  Prefactor     .95611E-01    156.81       -.18333E-04** at limit **
  10  Prefactor     .35527E-08    141.08       -.40473E-06** at limit **
  11  norm          43.860        8.3913        .99343E-06   -.12310E-01
  12  Prefactor     .12331E-01    396.84        .34576E-05** at limit **
  13  Prefactor     .17623E-04    308.02       -.85065E-05** at limit **
  14  Prefactor      .0000        6.4503       -.14140E-06** at limit **
  15  Prefactor      .0000        .91578       -.78246E-06** at limit **
  16  norm          .12934E-07    79.071       -.56632E-05** at limit **
  17  Prefactor     143.02        45.948        .14557E-06    .14599    
  18  norm          83820.        47.772       -.13606E-06    2.9582    
  19  Prefactor     .39589E-04    1280.0        .56890E-04** at limit **
  20  Prefactor     .13661E-06    431.88       -.18041E-04** at limit **
  21  Prefactor     .16357E-03    535.73        .29975E-04** at limit **
  22  norm           .0000        13.609       -.92519E-06** at limit **
  23  Prefactor     26.820        6.5100        .16866E-06   -.37804E-01
  24  norm          2.9756        2.6269        .42213E-06    .29487E-03
  25  norm           .0000        23.565       -.23572E-05** at limit **
  26  Prefactor      .0000        5.8830        .16740E-06** at limit **
  27  norm          2.1737        4.2709       -.91180E-06   -.25436E-03
  28  norm          1.9404        3.9768       -.86941E-06   -.21954E-03
  29  Prefactor     .15543E-08    18.734       -.24314E-05** at limit **
  30  Prefactor      .0000        4.7020        .12163E-05** at limit **
  31  Prefactor      .0000        16.076       -.14237E-05** at limit **
  32  Normalizat    .10000E-01    .17647E-01   -.92938E-05** at limit **
  33  Prefactor     .35855        .10107        .13868E-04    .77184E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.18714e-08
  Prefactor  = 4.00235e-08
  norm       = 2.77556e-10
  norm       = 12.236
  Prefactor  = 3.16414e-09
  norm       = 0
  Prefactor  = 8.13796e-05
  norm       = 0
  Prefactor  = 0.0956115
  Prefactor  = 3.55271e-09
  norm       = 43.8603
  Prefactor  = 0.0123311
  Prefactor  = 1.76228e-05
  Prefactor  = 0
  Prefactor  = 0
  norm       = 1.29341e-08
  Prefactor  = 143.016
  norm       = 83820.2
  Prefactor  = 3.95886e-05
  Prefactor  = 1.36613e-07
  Prefactor  = 0.000163568
  norm       = 0
  Prefactor  = 26.8198
  norm       = 2.97561
  norm       = 0
  Prefactor  = 0
  norm       = 2.17367
  norm       = 1.94044
  Prefactor  = 1.55431e-09
  Prefactor  = 0
  Prefactor  = 0
  Normalizat = 0.01
  Prefactor  = 0.35855
 **********
 **   18 **HESSE 
 **********

 FCN=   1654.497     FROM HESSE     STATUS=OK           737 CALLS     4217 TOTAL
                     EDM=   .73E-02    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21871E-07    19.192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .40024E-07    19.109        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .27756E-09    20.428        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          12.236        12.069        .28611E-03   -1.5638    
   5  Prefactor     .31641E-08    59.374        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        .54581        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .81380E-04    2374.4        .43948E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        25.815        .17263E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .95611E-01    31708.        .10377E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .35527E-08    141.20        .72147E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          43.860        .61213E+06    .15126E-03   -1.5576    
  12  Prefactor     .12331E-01    6845.4        .12407E-02   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .17623E-04    309.21        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        6.4506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor      .0000        .91583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .12934E-07    79.037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     143.02        145.60        .83969E-04   -1.5469    
  18  norm          83820.        7919.1        .46890E-05   -.98335    
  19  Prefactor     .39589E-04    1276.1        .14749E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .13661E-06    446.52        .13478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16357E-03    551.75        .50037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm           .0000        13.610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     26.820        30.347        .19327E-03   -1.5604    
  24  norm          2.9756        2.6350        .58823E-03   -1.5673    
  25  norm           .0000        23.564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        5.8833        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          2.1737        4.2978        .70028E-03   -1.5678    
  28  norm          1.9404        4.0126        .74517E-03   -1.5680    
  29  Prefactor     .15543E-08    18.734        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor      .0000        4.7006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor      .0000        16.081        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .17341E-01    .75491E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .35855        .10275        .37651E-01   -1.1898    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.00730684
Minuit parameter uncertainties:
  1  0.00129575
  2  0.00174909
  3  0.000152534
  4  12.0689
  5  0.00086476
  6  1.21281e-06
  7  0.879493
  8  7.73946e-06
  9  110.711
  10  0.00141202
  11  6622.57
  12  18.3961
  13  0.147644
  14  5.81742e-07
  15  1.20273e-06
  16  0.00202302
  17  145.604
  18  7920.17
  19  0.449631
  20  0.0156206
  21  0.600882
  22  4.22551e-06
  23  30.3472
  24  2.63502
  25  4.59613e-05
  26  1.70624e-06
  27  4.29783
  28  4.01257
  29  0.00034072
  30  5.1133e-06
  31  6.07823e-06
  32  5.72754e-09
  33  0.102803
Done.

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

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  8.382e+04  7.920e+03  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:  3.586e-01  1.028e-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.000e-02  5.728e-09  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 483.88
Ra Dec: 178.519 60.311
Photon Index (Fixed Index): 2.75 +/- 0.00
Photon Flux (Fixed Index): 5.51e-04 +/- 5.20e-05
Energy Flux (Fixed Index): 1.42e-01 +/- 1.34e-02

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1628.52361486
delta logL = 25.9735897048

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1628.46965886
delta logL = 26.0275457032

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1628.470     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      237 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22067.        9367.3        .68073E-05   -.21151E-03
   2  alpha         4.0671        .31966        .34196E-01    .15573E-05
   3  Normalizat    .10000E-01    .16741E-01    .73049E-01** at limit **
   4  Prefactor     .54346        .12463        .40277E-01   -.22281E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 22066.8
  alpha      = 4.06713
  Normalizat = 0.01
  Prefactor  = 0.543456
 **********
 **   18 **HESSE 
 **********

 FCN=   1628.470     FROM HESSE     STATUS=OK            27 CALLS      264 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22067.        6333.8        .13615E-05   -1.2726    
   2  alpha         4.0671        .21645        .15097E-03    .67751    
   3  Normalizat    .10000E-01    .16774E-01    .16086E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .54346        .11888        .19711E-03   -1.1002    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.31139e-11
Minuit parameter uncertainties:
  1  6335.74
  2  0.216901
  3  1.73751e-10
  4  0.118933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/546326': 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) = 1628.46965884
delta logL = 26.0275457217

Extracting fit parameters...

4FGL J1154.0+6018
   Spectrum: LogParabola
408         norm:  2.207e+04  6.336e+03  0.000e+00  1.000e+06 ( 1.000e-12)
409        alpha:  4.067e+00  2.169e-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:  5.435e-01  1.189e-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.000e-02  1.738e-10  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 542.78
Ra Dec: 178.519 60.311
Photon Index (Free Index): 4.07 +/- 0.22
Photon Flux (Free Index): 8.76e-04 +/- 9.88e-05
Energy Flux (Free Index): 1.42e-01 +/- 1.41e-02

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/546326/cmap_HighResolution_698371201_698630401_4FGL_J1154.0+6018_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.51e-04', energy_flux2='1.42e-01', photon_flux_error='5.20e-05', dlogl='2.60e+01', energy_flux='1.42e-01', photon_flux2='8.76e-04', job_status='DONE', time_completed='2023-02-21 00:54:58.179145', photon_index_error2='0.22', photon_index2='4.07', ts='483.88', fit_tolerance='1e-08', GAL='0.36', photon_index_error='0.00', energy_flux_error2='1.41e-02', EG='0.01', time_epoch_completed='1676969698.18', return_code='0', job_id='546326', GAL2='0.54', EG2='0.01', return_code2='0', energy_flux_error='1.34e-02', photon_flux_error2='9.88e-05', ts2='542.78', photon_index='2.75' WHERE bin_id='1771' AND source_name='4FGL J1154.0+6018' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 00:54:58 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0116>
Subject: Job 546326: <4FGL_J1154.0+6018_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1154.0+6018_daily_bin1771> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Tue Feb 21 00:45:16 2023
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:45:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:45:17 2023
Terminated at Tue Feb 21 00:54:58 2023
Results reported at Tue Feb 21 00:54:58 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1154.0+6018_daily_bin1771 178.519 60.3107 698371201 698630401 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 :                                   485.38 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   581 sec.
    Turnaround time :                            582 sec.

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

