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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1749
RA = 178.348, Dec = -11.075
tmin = 692668801, tmax = 692928001
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='950477', job_status='RUN', time_executed='2022-12-17 00:42:38.322944', time_epoch_executed='1671266558.32' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/950477

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/950477/ft1_4FGL_J1153.3-1104_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/950477/ft1_4FGL_J1153.3-1104_daily_bin1749.fits outfile=/scratch/kocevski/950477/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1749.fits ra=178.348 dec=-11.075 rad=12.0 tmin=692668801.0 tmax=692928001.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.68
user 3.43
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.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/950477/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1749.fits evtable="EVENTS" outfile="/scratch/kocevski/950477/ft1_filtered_4FGL_J1153.3-1104_daily_bin1749.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 873

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/950477/ft1_filtered_4FGL_J1153.3-1104_daily_bin1749.fits" evtable="EVENTS" scfile=/scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits sctable="SC_DATA" outfile=/scratch/kocevski/950477/ltcube_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.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/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits
.....................!
real 12.42
user 11.98
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/950477/ft1_filtered_4FGL_J1153.3-1104_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/950477/ltcube_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.fits outfile=/scratch/kocevski/950477/expmap_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.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/950477/ltcube_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.fits
.....................!
real 191.24
user 185.21
sys 4.76

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

Setting source of interest to:
4FGL J1153.3-1104 @ 178.348 -11.075

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/950477/ft1_filtered_4FGL_J1153.3-1104_daily_bin1749.fits scfile=/scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits outfile=/scratch/kocevski/950477/cmap_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.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.348 yref=-11.075 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/950477/ft1_filtered_4FGL_J1153.3-1104_daily_bin1749.fits scfile=/scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits outfile=/scratch/kocevski/950477/cmap_HighResolution_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.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.348 yref=-11.075 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/950477/ft1_filtered_4FGL_J1153.3-1104_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/950477/Model_4FGL_J1153.3-1104_daily_bin1749.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/950477/ft1_filtered_4FGL_J1153.3-1104_daily_bin1749.fits.....................!
real 78.42
user 76.68
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/950477/ft1_filtered_4FGL_J1153.3-1104_daily_bin1749.fits', '/scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits', expMap='/scratch/kocevski/950477/expmap_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.fits', expCube='/scratch/kocevski/950477/ltcube_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/950477/Model_4FGL_J1153.3-1104_daily_bin1749.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.3-1104'

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.746e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  2.336e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/950477/ft1_filtered_4FGL_J1153.3-1104_daily_bin1749.fits
Spacecraft file(s): /scratch/kocevski/950477/ft2_4FGL_J1153.3-1104_daily_bin1749.fits
Exposure map: /scratch/kocevski/950477/expmap_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.fits
Exposure cube: /scratch/kocevski/950477/ltcube_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/950477/Model_4FGL_J1153.3-1104_daily_bin1749.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) = 9219.4154941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.1368       1.0000          .0000       .10000E+07
     2 'Prefactor '    9.5902       1.0000          .0000       .10000E+07
     3 'Prefactor '    35.816       1.0000          .0000       .10000E+07
     4 'norm      '    .95851E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .25535E-08   1.0000          .0000       .10000E+07
     6 'Prefactor '    .11185E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    104.09       1.0000          .0000       .10000E+07
     8 'norm      '    4.6921       1.0000          .0000       .10000E+07
     9 'Prefactor '    1.5296       1.0000          .0000       .10000E+07
    10 'Prefactor '    .23263       1.0000          .0000       .10000E+07
    11 'norm      '    .71738E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    4.4135       1.0000          .0000       .10000E+07
    13 'Prefactor '    6.0805       1.0000          .0000       .10000E+07
    14 'Prefactor '    .31520E-01   1.0000          .0000       .10000E+07
    15 'norm      '    5.3711       1.0000          .0000       .10000E+07
    16 'Prefactor '    8.6388       1.0000          .0000       .10000E+07
    17 'Prefactor '    24.529       1.0000          .0000       .10000E+07
    18 'Prefactor '    7.5951       1.0000          .0000       .10000E+07
    19 'norm      '    .86153E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    .23727E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    4.3064       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.6076       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2942       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .94148       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9219.347     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     2014 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.1087        7.3139        .16696E-07   -.57831E-02
   2  Prefactor     9.5075        5.8468        .91849E-07    .64310E-03
   3  Prefactor     36.197        56.536        .10285E-06   -.41051E-02
   4  norm          .76605E-08    9.5467        .26448E-06** at limit **
   5  norm           .0000        .29233       -.34890E-07** at limit **
   6  Prefactor      .0000        2.0203       -.11422E-06** at limit **
   7  Prefactor     104.13        9.4115        .20599E-07   -.81750E-01
   8  norm          4.5635        9.7418        .80211E-07    .15625E-02
   9  Prefactor     2.4097        7.2552       -.27185E-06   -.49629E-02
  10  Prefactor     .22204E-06    23.356        .26835E-06** at limit **
  11  norm          .16098E-08    8.2556       -.31039E-06** at limit **
  12  Prefactor     4.4122        2.6051       -.24839E-07   -.82079E-03
  13  Prefactor     6.1116        4.3490        .10459E-07   -.70819E-02
  14  Prefactor     .24772E-05    28.398       -.19993E-06** at limit **
  15  norm          5.3863        3.9051        .89686E-07    .22700E-03
  16  Prefactor     8.6641        4.4362        .40625E-07    .35890E-01
  17  Prefactor     24.609        22.792       -.99110E-07    .27221E-01
  18  Prefactor     7.5656        4.8938        .27219E-07   -.22202E-01
  19  norm           .0000        .56297       -.62810E-07** at limit **
  20  Prefactor      .0000        5.3906       -.31394E-06** at limit **
  21  Prefactor     4.3083        1.9284        .65041E-06    .13281E-03
  22  Prefactor     3.6026        9.0208       -.91322E-07   -.15002E-01
  23  Normalizat    1.2929        .24570        .21340E-05   -.20529E-04
  24  Prefactor     .94188        .15214       -.34025E-05   -.42681E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.10867
  Prefactor  = 9.50752
  Prefactor  = 36.1971
  norm       = 7.66054e-09
  norm       = 0
  Prefactor  = 0
  Prefactor  = 104.126
  norm       = 4.5635
  Prefactor  = 2.40969
  Prefactor  = 2.22045e-07
  norm       = 1.60982e-09
  Prefactor  = 4.41218
  Prefactor  = 6.11158
  Prefactor  = 2.47724e-06
  norm       = 5.38629
  Prefactor  = 8.66414
  Prefactor  = 24.609
  Prefactor  = 7.56563
  norm       = 0
  Prefactor  = 0
  Prefactor  = 4.30832
  Prefactor  = 3.60257
  Normalizat = 1.29292
  Prefactor  = 0.941877
 **********
 **   18 **HESSE 
 **********

 FCN=   9219.347     FROM HESSE     STATUS=OK           465 CALLS     2479 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.1087        15.079        .33133E-03   -1.5648    
   2  Prefactor     9.5075        5.9261        .32336E-03   -1.5646    
   3  Prefactor     36.197        56.814        .16711E-03   -1.5588    
   4  norm          .76605E-08    10.617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        .29107        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        2.0168        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     104.13        15.232        .98021E-04   -1.5504    
   8  norm          4.5635        9.8972        .46433E-03   -1.5665    
   9  Prefactor     2.4097        38.909        .86275E-03   -1.5677    
  10  Prefactor     .22204E-06    11.259        .16429E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .16098E-08    8.4203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.4122        2.6236        .47913E-03   -1.5666    
  13  Prefactor     6.1116        11.975        .40693E-03   -1.5659    
  14  Prefactor     .24772E-05    8.3478        .12884E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.3863        4.6704        .43339E-03   -1.5662    
  16  Prefactor     8.6641        10.426        .34080E-03   -1.5649    
  17  Prefactor     24.609        24.313        .20196E-03   -1.5609    
  18  Prefactor     7.5656        15.857        .36365E-03   -1.5653    
  19  norm           .0000        .56355        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor      .0000        5.3599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.3083        1.9301        .48532E-02   -1.5293    
  22  Prefactor     3.6026        11.466        .53173E-03   -1.5670    
  23  Normalizat    1.2929        .21371        .71682E-01   -.83778    
  24  Prefactor     .94188        .12843        .45532E-01   -.94693    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.96719e-08
Minuit parameter uncertainties:
  1  15.0792
  2  5.92608
  3  56.8147
  4  0.00056957
  5  3.04798e-07
  6  3.50814e-06
  7  15.2322
  8  9.89723
  9  19.366
  10  0.00316237
  11  0.000232569
  12  2.62364
  13  11.9747
  14  0.00909496
  15  4.67038
  16  10.4261
  17  24.3133
  18  15.8573
  19  7.60618e-07
  20  1.57473e-05
  21  1.93013
  22  11.466
  23  0.213853
  24  0.12847
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  6.112e+00  1.197e+01  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  2.336e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  9.419e-01  1.285e-01  0.000e+00  1.000e+01 ( 1.000e+00)
629        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
630        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.293e+00  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.32
Ra Dec: 178.348 -11.075
Photon Flux Upper Limit: 8.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/950477/likelihoodResults_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.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) = 9219.32389216
delta logL = 0.022931949652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9219.31418428
delta logL = 0.0326398252564

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.1922       1.0000          .0000       .10000E+07
     2 'Index     '    2.1097       1.0000          .0000       10.000    
     3 'Normalizat'    1.2960       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93976       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6310E+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=   9219.314     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      237 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.1884        16.126        .14002E-04    .12590E-01
   2  Index         2.1087        .86023        .12371E-01    .47089E-03
   3  Normalizat    1.2960        .23450        .31686E-03   -.91142E-03
   4  Prefactor     .94000        .15067        .23284E-03   -.14780E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.18839
  Index      = 2.10868
  Normalizat = 1.29596
  Prefactor  = 0.940001
 **********
 **   18 **HESSE 
 **********

 FCN=   9219.314     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.1884        15.615        .28003E-05   -1.5651    
   2  Index         2.1087        .83385        .49483E-03   -.61660    
   3  Normalizat    1.2960        .23465        .63373E-04   -.83687    
   4  Prefactor     .94000        .15075        .46567E-04   -.94757    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.18187e-08
Minuit parameter uncertainties:
  1  15.6155
  2  0.839765
  3  0.234847
  4  0.150821
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/950477': 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) = 9219.31417814
delta logL = 0.0326459664248

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  8.188e+00  1.562e+01  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  2.109e+00  8.398e-01  0.000e+00  1.000e+01 (-1.000e+00)
291        Scale:  1.208e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
628    Prefactor:  9.400e-01  1.508e-01  0.000e+00  1.000e+01 ( 1.000e+00)
629        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
630        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
627   Normalization:  1.296e+00  2.348e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
Ra Dec: 178.348 -11.075

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/950477/cmap_HighResolution_692668801_692928001_4FGL_J1153.3-1104_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.85e-03', job_status='DONE', photon_flux_upper_limit='8.90e-08', time_completed='2022-12-17 00:56:25.529830', job_id='950477', GAL2='0.94', fit_tolerance='1e-08', EG2='1.30', EG='1.29', time_epoch_completed='1671267385.53', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='3.26e-02', ts2='0.38', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1749' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:56:25 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 950477: <4FGL_J1153.3-1104_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1749> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Dec 17 00:40:13 2022
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:40:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:40:15 2022
Terminated at Sat Dec 17 00:56:26 2022
Results reported at Sat Dec 17 00:56:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1749 178.348 -11.075 692668801 692928001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.3-1104 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   826.27 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   970 sec.
    Turnaround time :                            973 sec.

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

