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


Performing analysis on: 4FGL_J1153.4+4931_daily_bin1746
RA = 178.35, Dec = 49.5169
tmin = 691891201, tmax = 692150401
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='722677', job_status='RUN', time_executed='2022-12-08 00:45:31.554164', time_epoch_executed='1670489131.55' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/722677

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/722677/ft1_4FGL_J1153.4+4931_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/722677/ft2_4FGL_J1153.4+4931_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/722677/ft1_4FGL_J1153.4+4931_daily_bin1746.fits outfile=/scratch/kocevski/722677/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin1746.fits ra=178.35 dec=49.5169 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.72
user 4.49
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/722677/ft2_4FGL_J1153.4+4931_daily_bin1746.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/722677/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/722677/ft1_filtered_4FGL_J1153.4+4931_daily_bin1746.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.51
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 607

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/722677/ft1_filtered_4FGL_J1153.4+4931_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/722677/ft2_4FGL_J1153.4+4931_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/722677/ltcube_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.fits outfile=/scratch/kocevski/722677/expmap_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.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/722677/ltcube_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.fits
.....................!
real 190.28
user 185.30
sys 4.67

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/722677/ft1_filtered_4FGL_J1153.4+4931_daily_bin1746.fits scfile=/scratch/kocevski/722677/ft2_4FGL_J1153.4+4931_daily_bin1746.fits outfile=/scratch/kocevski/722677/cmap_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/722677/ft1_filtered_4FGL_J1153.4+4931_daily_bin1746.fits scfile=/scratch/kocevski/722677/ft2_4FGL_J1153.4+4931_daily_bin1746.fits outfile=/scratch/kocevski/722677/cmap_HighResolution_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.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.55
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/722677/ft1_filtered_4FGL_J1153.4+4931_daily_bin1746.fits', '/scratch/kocevski/722677/ft2_4FGL_J1153.4+4931_daily_bin1746.fits', expMap='/scratch/kocevski/722677/expmap_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.fits', expCube='/scratch/kocevski/722677/ltcube_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/722677/Model_4FGL_J1153.4+4931_daily_bin1746.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  0.000e+00  1.000e+06 ( 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/722677/ft1_filtered_4FGL_J1153.4+4931_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/722677/ft2_4FGL_J1153.4+4931_daily_bin1746.fits
Exposure map: /scratch/kocevski/722677/expmap_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.fits
Exposure cube: /scratch/kocevski/722677/ltcube_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/722677/Model_4FGL_J1153.4+4931_daily_bin1746.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) = 6762.15044393

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    85.627       1.0000          .0000       .10000E+07
     2 'Prefactor '    79.231       1.0000          .0000       .10000E+07
     3 'norm      '    3.9338       1.0000          .0000       .10000E+07
     4 'Prefactor '    54.251       1.0000          .0000       .10000E+07
     5 'Prefactor '    .24296E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .23864E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .13806E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    10.597       1.0000          .0000       .10000E+07
     9 'Prefactor '    45.672       1.0000          .0000       .10000E+07
    10 'norm      '    1.6255       1.0000          .0000       .10000E+07
    11 'Prefactor '    82.998       1.0000          .0000       .10000E+07
    12 'norm      '    2.8343       1.0000          .0000       .10000E+07
    13 'norm      '    .67035       1.0000          .0000       .10000E+07
    14 'norm      '    7.7651       1.0000          .0000       .10000E+07
    15 'Prefactor '    1.0444       1.0000          .0000       .10000E+07
    16 'Prefactor '    .51065E-02   1.0000          .0000       .10000E+07
    17 'norm      '    .75313E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    18.822       1.0000          .0000       .10000E+07
    19 'Prefactor '    .73513       1.0000          .0000       .10000E+07
    20 'norm      '    2.4928       1.0000          .0000       .10000E+07
    21 'norm      '    7.6072       1.0000          .0000       .10000E+07
    22 'Prefactor '    .74573E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    5.4567       1.0000          .0000       .10000E+07
    24 'norm      '    2.1556       1.0000          .0000       .10000E+07
    25 'Prefactor '    .28613E-01   1.0000          .0000       .10000E+07
    26 'norm      '    2.3797       1.0000          .0000       .10000E+07
    27 'Normalizat'    .67961       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2447       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6762.101     FROM MIGRAD    STATUS=CONVERGED    217 CALLS     2566 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     79.913        150.73       -.28150E-04    .28283E-02
   2  Prefactor     80.054        83.363        .36745E-05    .41222E-01
   3  norm          3.9852        2.7763        .48991E-07   -.12204E-02
   4  Prefactor     54.804        19.553       -.30837E-06   -.19442    
   5  Prefactor     .27756E-09    10.130        .47249E-05** at limit **
   6  Prefactor      .0000        36.490        .35349E-05** at limit **
   7  norm          .38858E-09    15.650        .24882E-05** at limit **
   8  Prefactor     10.482        7.3016        .15199E-06    .22092E-02
   9  Prefactor     45.856        29.594       -.16371E-05   -.42567E-02
  10  norm          1.6017        3.5013        .23291E-05    .24885E-03
  11  Prefactor     84.052        42.583       -.20671E-05    .88605E-01
  12  norm          3.0281        11.469        .75010E-06    .16707E-03
  13  norm          .66040        1.0846       -.12047E-07   -.57209E-03
  14  norm          7.7973        7.1280       -.23554E-06   -.25469E-03
  15  Prefactor     1.0562        3.1160        .47669E-06   -.27736E-02
  16  Prefactor     .27756E-09    12.546        .34015E-05** at limit **
  17  norm           .0000        3.9851       -.36897E-05** at limit **
  18  Prefactor     18.873        3.5902        .49332E-07    .20259    
  19  Prefactor     .79839        7.0126        .33112E-05    .51737E-03
  20  norm          2.4946        1.8544        .10030E-06    .33624E-03
  21  norm          7.5082        7.7993        .39508E-05   -.14894E-02
  22  Prefactor     .13212E-07    32.468       -.18708E-04** at limit **
  23  Prefactor     5.4579        4.6146        .79029E-06    .97187E-03
  24  norm          2.1553        2.0482        .31581E-06    .70052E-03
  25  Prefactor     .55511E-10    41.969        .37778E-05** at limit **
  26  norm          2.3810        1.6082        .54264E-07    .37439E-03
  27  Normalizat    .67972        .18310       -.72158E-05   -.10142E-04
  28  Prefactor     1.2445        .22441        .39036E-06   -.71050E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 79.9125
  Prefactor  = 80.0536
  norm       = 3.98519
  Prefactor  = 54.8042
  Prefactor  = 2.77556e-10
  Prefactor  = 0
  norm       = 3.88578e-10
  Prefactor  = 10.482
  Prefactor  = 45.8558
  norm       = 1.60167
  Prefactor  = 84.0521
  norm       = 3.02807
  norm       = 0.660396
  norm       = 7.79731
  Prefactor  = 1.05622
  Prefactor  = 2.77556e-10
  norm       = 0
  Prefactor  = 18.8729
  Prefactor  = 0.798389
  norm       = 2.49461
  norm       = 7.5082
  Prefactor  = 1.32117e-08
  Prefactor  = 5.45786
  norm       = 2.15531
  Prefactor  = 5.55112e-11
  norm       = 2.38097
  Normalizat = 0.679719
  Prefactor  = 1.24446
 **********
 **   18 **HESSE 
 **********

 FCN=   6762.101     FROM HESSE     STATUS=OK           589 CALLS     3155 TOTAL
                     EDM=   .36E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     79.913        151.49        .10807E-03   -1.5529    
   2  Prefactor     80.054        85.722        .11235E-03   -1.5529    
   3  norm          3.9852        2.7670        .50838E-03   -1.5668    
   4  Prefactor     54.804        45.803        .13578E-03   -1.5560    
   5  Prefactor     .27756E-09    10.134        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        36.487        .16795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .38858E-09    15.657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.482        7.3119        .30754E-03   -1.5643    
   9  Prefactor     45.856        29.652        .14798E-03   -1.5573    
  10  norm          1.6017        3.5776        .82946E-03   -1.5683    
  11  Prefactor     84.052        46.785        .10977E-03   -1.5525    
  12  norm          3.0281        11.502        .60377E-03   -1.5673    
  13  norm          .66040        1.1254        .63149E-03   -1.5692    
  14  norm          7.7973        7.1296        .35961E-03   -1.5652    
  15  Prefactor     1.0562        4.5311        .12191E-02   -1.5687    
  16  Prefactor     .27756E-09    12.544        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        3.9583        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.873        29.747        .23058E-03   -1.5621    
  19  Prefactor     .79839        7.0702        .57901E-03   -1.5690    
  20  norm          2.4946        1.8621        .64711E-03   -1.5676    
  21  norm          7.5082        7.8428        .36336E-03   -1.5653    
  22  Prefactor     .13212E-07    32.532        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     5.4579        4.6243        .42991E-03   -1.5661    
  24  norm          2.1553        2.0509        .70142E-03   -1.5679    
  25  Prefactor     .55511E-10    13.320        .95847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.3810        1.6103        .66379E-03   -1.5677    
  27  Normalizat    .67972        .15951        .42018E-01   -1.0470    
  28  Prefactor     1.2445        .19156        .58130E-01   -.84974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57391e-06
Minuit parameter uncertainties:
  1  151.498
  2  85.7233
  3  2.76703
  4  45.8029
  5  0.000105271
  6  6.01263e-05
  7  0.000159795
  8  7.3119
  9  29.6524
  10  3.57764
  11  46.7851
  12  11.5021
  13  1.12543
  14  7.12958
  15  4.37531
  16  0.00012085
  17  1.64777e-05
  18  29.747
  19  4.75176
  20  1.86209
  21  7.84277
  22  0.00131001
  23  4.62427
  24  2.05093
  25  6.46374e-05
  26  1.61032
  27  0.159618
  28  0.191673
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.056e+00  4.375e+00  0.000e+00  1.000e+06 ( 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.244e+00  1.917e-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:  6.797e-01  1.596e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/722677/likelihoodResults_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.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): 0
logL (Free Index) = 6761.02025126
delta logL = 1.08066258314

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6760.88960693
delta logL = 1.21130692194

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28540       1.0000          .0000       .10000E+07
     2 'Index     '    4.4518       1.0000          .0000       10.000    
     3 'Normalizat'    .59962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3053       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.

 FCN=   6760.890     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      297 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .28544        2.4950        .64205E-03   -.18602E-01
   2  Index         4.4518        2.5237        .13702        .48793E-04
   3  Normalizat    .59964        .35531E-01    .63326E-01    .21484E-03
   4  Prefactor     1.3053        .45500E-01    .56914E-01    .46159E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.285439
  Index      = 4.45175
  Normalizat = 0.599642
  Prefactor  = 1.30528
 **********
 **   18 **HESSE 
 **********

 FCN=   6760.890     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      328 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .28544        6.3314        .29083E-05   -1.5697    
   2  Index         4.4518        7.0486        .49024E-02   -.10987    
   3  Normalizat    .59964        .16495        .28019E-03   -1.0800    
   4  Prefactor     1.3053        .20864        .25166E-03   -.83150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.22206e-08
Minuit parameter uncertainties:
  1  2.68868
  2  5.37766
  3  0.165081
  4  0.208772
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/722677': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6760.88960691
delta logL = 1.21130694132

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  2.854e-01  2.689e+00  0.000e+00  1.000e+06 ( 1.000e-12)
363        Index:  4.452e+00  5.378e+00  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.305e+00  2.088e-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:  5.996e-01  1.651e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.75
Ra Dec: 178.350 49.517
Photon Index (Free Index): 4.45 +/- 5.38
Photon Flux (Free Index): 7.42e-08 +/- 5.10e-08
Energy Flux (Free Index): 1.04e-05 +/- 9.50e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/722677/cmap_HighResolution_691891201_692150401_4FGL_J1153.4+4931_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.32e-03', comment='SUCCESS', energy_flux2='1.04e-05', dlogl='1.21e+00', photon_flux2='7.42e-08', job_status='DONE', time_completed='2022-12-08 00:59:02.967677', photon_index_error2='5.38', photon_index2='4.45', ts='0.14', fit_tolerance='1e-08', GAL='1.24', photon_index_error='0.00', photon_flux_upper_limit='8.17e-08', energy_flux_error2='9.50e-06', EG='0.68', time_epoch_completed='1670489942.97', return_code='0', job_id='722677', GAL2='1.31', EG2='0.60', return_code2='102', photon_flux_error2='5.10e-08', ts2='2.75', photon_index='2.41' WHERE bin_id='1746' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 00:59:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 722677: <4FGL_J1153.4+4931_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:45:18 2022
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:45:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:45:19 2022
Terminated at Thu Dec  8 00:59:03 2022
Results reported at Thu Dec  8 00:59:03 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin1746 178.35 49.5169 691891201 692150401 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 :                                   813.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            825 sec.

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

