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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1755
RA = 178.348, Dec = -11.075
tmin = 694224001, tmax = 694483201
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='822109', job_status='RUN', time_executed='2023-01-04 00:57:31.010973', time_epoch_executed='1672822651.01' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/822109

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/822109/ft1_4FGL_J1153.3-1104_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/822109/ft1_4FGL_J1153.3-1104_daily_bin1755.fits outfile=/scratch/kocevski/822109/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1755.fits ra=178.348 dec=-11.075 rad=12.0 tmin=694224001.0 tmax=694483201.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.15
user 2.86
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.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/822109/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/822109/ft1_filtered_4FGL_J1153.3-1104_daily_bin1755.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.54
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 566

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/822109/ft1_filtered_4FGL_J1153.3-1104_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/822109/ltcube_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.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/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.fits
.....................!
real 18.33
user 17.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/822109/ft1_filtered_4FGL_J1153.3-1104_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/822109/ltcube_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.fits outfile=/scratch/kocevski/822109/expmap_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.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/822109/ltcube_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.fits
.....................!
real 192.91
user 187.14
sys 5.19

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/822109/ft1_filtered_4FGL_J1153.3-1104_daily_bin1755.fits scfile=/scratch/kocevski/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.fits outfile=/scratch/kocevski/822109/cmap_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/822109/ft1_filtered_4FGL_J1153.3-1104_daily_bin1755.fits scfile=/scratch/kocevski/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.fits outfile=/scratch/kocevski/822109/cmap_HighResolution_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/822109/ft1_filtered_4FGL_J1153.3-1104_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/822109/Model_4FGL_J1153.3-1104_daily_bin1755.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/822109/ft1_filtered_4FGL_J1153.3-1104_daily_bin1755.fits.....................!
real 57.25
user 55.65
sys 1.33

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/822109/ft1_filtered_4FGL_J1153.3-1104_daily_bin1755.fits', '/scratch/kocevski/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.fits', expMap='/scratch/kocevski/822109/expmap_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.fits', expCube='/scratch/kocevski/822109/ltcube_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/822109/Model_4FGL_J1153.3-1104_daily_bin1755.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/822109/ft1_filtered_4FGL_J1153.3-1104_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/822109/ft2_4FGL_J1153.3-1104_daily_bin1755.fits
Exposure map: /scratch/kocevski/822109/expmap_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.fits
Exposure cube: /scratch/kocevski/822109/ltcube_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/822109/Model_4FGL_J1153.3-1104_daily_bin1755.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) = 6234.6134591

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11730E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .78644E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .36676       1.0000          .0000       .10000E+07
     4 'norm      '    7.5383       1.0000          .0000       .10000E+07
     5 'norm      '    1.2859       1.0000          .0000       .10000E+07
     6 'Prefactor '    .90322E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    39.472       1.0000          .0000       .10000E+07
     8 'norm      '    .48638E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    13.272       1.0000          .0000       .10000E+07
    10 'Prefactor '    .57049E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .54464E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    .14245E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .35670E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .27457E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .10503E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    34.018       1.0000          .0000       .10000E+07
    17 'Prefactor '    .15118E-01   1.0000          .0000       .10000E+07
    18 'Prefactor '    23.961       1.0000          .0000       .10000E+07
    19 'norm      '    .90394E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    1.5815       1.0000          .0000       .10000E+07
    21 'Prefactor '    5.3168       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .51525E-03   1.0000          .0000       .10000E+07
    23 'Normalizat'    .73851       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2714       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=   6234.610     FROM MIGRAD    STATUS=CONVERGED    126 CALLS     1963 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .59674E-07    17.732       -.25712E-06** at limit **
   2  Prefactor     .47184E-08    3.7252        .25551E-07** at limit **
   3  Prefactor     .65592E-06    2.9185       -.28217E-06** at limit **
   4  norm          7.5087        5.2069       -.57022E-07   -.24754E-01
   5  norm          1.2855        1.2858        .47129E-07    .49622E-04
   6  Prefactor     .15599E-07    3.9260        .21114E-06** at limit **
   7  Prefactor     39.468        4.0916        .35292E-07   -.33799E-01
   8  norm          .38081E-07    6.1088       -.33492E-06** at limit **
   9  Prefactor     13.477        3.3301        .68663E-07   -.21253E-02
  10  Prefactor     .46296E-07    6.9305       -.28420E-06** at limit **
  11  norm          .23870E-08    2.5113        .25029E-06** at limit **
  12  Prefactor     .22055E-06    3.2605       -.36728E-07** at limit **
  13  Prefactor     .30531E-08    30.382       -.97363E-06** at limit **
  14  Prefactor     .39857E-07    3.7262        .17178E-06** at limit **
  15  norm          .11102E-08    1.4945       -.91159E-07** at limit **
  16  Prefactor     34.035        1.3082       -.41892E-08    .89968E-02
  17  Prefactor      .0000        21.849       -.88230E-07** at limit **
  18  Prefactor     23.947        1.1151       -.49432E-08   -.10426E-02
  19  norm          .39319E-06    4.9165        .40943E-06** at limit **
  20  Prefactor     1.4956        8.1516       -.25980E-07   -.61280E-03
  21  Prefactor     5.3262        2.3310        .54170E-06   -.92937E-04
  22  Prefactor     .32752E-08    2.7913        .29574E-06** at limit **
  23  Normalizat    .73825        .27659        .14284E-04    .44685E-04
  24  Prefactor     1.2718        .18237       -.30152E-05    .62427E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.96745e-08
  Prefactor  = 4.71845e-09
  Prefactor  = 6.5592e-07
  norm       = 7.50875
  norm       = 1.28549
  Prefactor  = 1.55986e-08
  Prefactor  = 39.4677
  norm       = 3.80806e-08
  Prefactor  = 13.4771
  Prefactor  = 4.62963e-08
  norm       = 2.38698e-09
  Prefactor  = 2.20546e-07
  Prefactor  = 3.05311e-09
  Prefactor  = 3.9857e-08
  norm       = 1.11022e-09
  Prefactor  = 34.0347
  Prefactor  = 0
  Prefactor  = 23.9474
  norm       = 3.93185e-07
  Prefactor  = 1.49561
  Prefactor  = 5.32618
  Prefactor  = 3.27516e-09
  Normalizat = 0.738254
  Prefactor  = 1.27178
 **********
 **   18 **HESSE 
 **********

 FCN=   6234.610     FROM HESSE     STATUS=OK           443 CALLS     2406 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .59674E-07    18.201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .47184E-08    3.7685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .65592E-06    69.747        .93444E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          7.5087        10.608        .36503E-03   -1.5653    
   5  norm          1.2855        1.3110        .97725E-03   -1.5685    
   6  Prefactor     .15599E-07    5.1599        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     39.468        15.027        .15918E-03   -1.5582    
   8  norm          .38081E-07    13.255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.477        26.114        .27469E-03   -1.5635    
  10  Prefactor     .46296E-07    13.040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .23870E-08    2.5380        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .22055E-06    5.3696        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .30531E-08    30.775        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .39857E-07    4.1071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .11102E-08    1.5058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.035        18.703        .17147E-03   -1.5591    
  17  Prefactor      .0000        21.821        .17382E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.947        24.266        .20434E-03   -1.5610    
  19  norm          .39319E-06    1.5981        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.4956        8.5299        .84413E-03   -1.5684    
  21  Prefactor     5.3262        2.3568        .43575E-02   -1.5246    
  22  Prefactor     .32752E-08    2.8302        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .73825        .26120        .86441E-01   -1.0240    
  24  Prefactor     1.2718        .16146        .33127E-01   -.84150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.29893e-06
Minuit parameter uncertainties:
  1  0.00208481
  2  0.000265925
  3  0.0135277
  4  10.608
  5  1.31099
  6  0.000567065
  7  15.0272
  8  0.0014213
  9  26.1147
  10  0.00155433
  11  0.000155707
  12  0.00217653
  13  0.00061161
  14  0.00080943
  15  8.17401e-05
  16  18.7035
  17  1.73294e-05
  18  24.2661
  19  0.0015853
  20  7.14353
  21  2.35688
  22  0.000193016
  23  0.26164
  24  0.161524
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.053e-09  6.116e-04  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:  1.272e+00  1.615e-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:  7.383e-01  2.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/822109/likelihoodResults_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.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) = 6234.49587751
delta logL = 0.113804873135

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6234.36420956
delta logL = 0.2454728256

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19066E-02   1.0000          .0000       .10000E+07
     2 'Index     '    6.5138       1.0000          .0000       10.000    
     3 'Normalizat'    .68402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2947       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.

 FCN=   6234.364     FROM MIGRAD    STATUS=CONVERGED    232 CALLS      517 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18742E-02    .47931E-01    .11431E-03** at limit **
   2  Index         6.5213        2.8858        .13104        .15611E-03
   3  Normalizat    .68391        .39069E-01    .89596E-01    .53669E-05
   4  Prefactor     1.2948        .25530E-01    .32703E-01   -.60981E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00187421
  Index      = 6.52125
  Normalizat = 0.683906
  Prefactor  = 1.29478
 **********
 **   18 **HESSE 
 **********

 FCN=   6234.364     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      552 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18742E-02    .21289        .52250E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         6.5213        8.2602        .77672E-02    .30915    
   3  Normalizat    .68391        .16710        .39688E-03   -1.0453    
   4  Prefactor     1.2948        .10823        .19361E-03   -.83462    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.87159e-11
Minuit parameter uncertainties:
  1  0.0399504
  2  9.0425
  3  0.167228
  4  0.108252
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/822109': 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) = 6234.36420869
delta logL = 0.245473697124

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.874e-03  3.995e-02  0.000e+00  1.000e+06 ( 1.000e-13)
290        Index:  6.521e+00  9.042e+00  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:  1.295e+00  1.083e-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:  6.839e-01  1.672e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/822109/cmap_HighResolution_694224001_694483201_4FGL_J1153.3-1104_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.34e-03', job_status='DONE', photon_flux_upper_limit='9.54e-08', time_completed='2023-01-04 01:08:54.147034', job_id='822109', GAL2='1.29', fit_tolerance='1e-08', EG2='0.68', EG='0.74', time_epoch_completed='1672823334.15', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.27', dlogl='2.45e-01', ts2='0.53', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1755' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:08:54 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 822109: <4FGL_J1153.3-1104_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1755> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan  4 00:55:14 2023
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:55:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:55:30 2023
Terminated at Wed Jan  4 01:08:55 2023
Results reported at Wed Jan  4 01:08:55 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1755 178.348 -11.075 694224001 694483201 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 :                                   678.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             333.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   804 sec.
    Turnaround time :                            821 sec.

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

