/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 113 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1119
RA = 178.348, Dec = -11.075
tmin = 529372801, tmax = 529632001
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='145436', job_status='RUN', time_executed='2021-09-04 14:53:27.495029', time_epoch_executed='1630792407.5' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1119'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145436

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145436/ft1_4FGL_J1153.3-1104_daily_bin1119.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145436/ft1_4FGL_J1153.3-1104_daily_bin1119.fits outfile=/scratch/kocevski/145436/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1119.fits ra=178.348 dec=-11.075 rad=12.0 tmin=529372801.0 tmax=529632001.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.53
user 3.32
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.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/145436/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1119.fits evtable="EVENTS" outfile="/scratch/kocevski/145436/ft1_filtered_4FGL_J1153.3-1104_daily_bin1119.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145436/ft1_filtered_4FGL_J1153.3-1104_daily_bin1119.fits" evtable="EVENTS" scfile=/scratch/kocevski/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.fits sctable="SC_DATA" outfile=/scratch/kocevski/145436/ltcube_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.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/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.fits
.....................!
real 11.60
user 11.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145436/ft1_filtered_4FGL_J1153.3-1104_daily_bin1119.fits evtable="EVENTS" scfile=/scratch/kocevski/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.fits sctable="SC_DATA" expcube=/scratch/kocevski/145436/ltcube_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.fits outfile=/scratch/kocevski/145436/expmap_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.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/145436/ltcube_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.fits
.....................!
real 189.48
user 184.82
sys 4.35

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/145436/ft1_filtered_4FGL_J1153.3-1104_daily_bin1119.fits scfile=/scratch/kocevski/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.fits outfile=/scratch/kocevski/145436/cmap_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145436/ft1_filtered_4FGL_J1153.3-1104_daily_bin1119.fits scfile=/scratch/kocevski/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.fits outfile=/scratch/kocevski/145436/cmap_HighResolution_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145436/ft1_filtered_4FGL_J1153.3-1104_daily_bin1119.fits evtable="EVENTS" scfile=/scratch/kocevski/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145436/Model_4FGL_J1153.3-1104_daily_bin1119.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/145436/ft1_filtered_4FGL_J1153.3-1104_daily_bin1119.fits.....................!
real 54.87
user 53.60
sys 1.09

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/145436/ft1_filtered_4FGL_J1153.3-1104_daily_bin1119.fits', '/scratch/kocevski/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.fits', expMap='/scratch/kocevski/145436/expmap_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.fits', expCube='/scratch/kocevski/145436/ltcube_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/145436/Model_4FGL_J1153.3-1104_daily_bin1119.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  1.000e-04  1.000e+04 ( 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/145436/ft1_filtered_4FGL_J1153.3-1104_daily_bin1119.fits
Spacecraft file(s): /scratch/kocevski/145436/ft2_4FGL_J1153.3-1104_daily_bin1119.fits
Exposure map: /scratch/kocevski/145436/expmap_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.fits
Exposure cube: /scratch/kocevski/145436/ltcube_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/145436/Model_4FGL_J1153.3-1104_daily_bin1119.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) = 5877.02098324

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2398       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5009       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.6735       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10547E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10422E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .97209E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .31498E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    19.884       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    8.3225       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.1707       1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.3843       1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.598       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.750       1.0000         .10000E-03   10000.    
    17 'norm      '    .42289E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.8434       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10576E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.774       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10450E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.7505       1.0000         .10000E-03   10000.    
    26 'Prefactor '    10.642       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.5573       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .84109       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.

 FCN=   5877.012     FROM MIGRAD    STATUS=CONVERGED    688 CALLS     3528 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2363        22.994        .10665E-05    .90751E-04
   2  Prefactor     4.4924        14.022        .10273E-05    .13073E-03
   3  Prefactor     4.6760        5.7710        .34719E-06    .21631E-03
   4  Prefactor     .10000E-03    91.161       -.41868E-05** at limit **
   5  norm          .10000E-03    13.932        .80187E-06** at limit **
   6  norm          .97111E-01    .82651        .18118E-06   -.39682E-03
   7  Prefactor     .10001E-03    3.6980       -.19460E-05** at limit **
   8  Prefactor     .10000E-03    5.0722       -.28189E-07** at limit **
   9  norm          19.844        27.359        .13833E-05    .24151E-03
  10  Prefactor     .10000E-03    13.901       -.15641E-05** at limit **
  11  Prefactor     .10000E-03    33.086       -.35816E-05** at limit **
  12  norm          8.3168        8.6344        .56563E-06    .20269E-03
  13  Prefactor     6.1713        5.0252       -.34480E-06    .73594E-05
  14  Prefactor     8.3863        25.344        .35474E-05    .15841E-04
  15  Prefactor     23.600        21.549        .35812E-07    .12317E-04
  16  Prefactor     12.788        24.591        .39229E-07   -.16043E-03
  17  norm          .10031E-03    5.4715        .59899E-06** at limit **
  18  Prefactor     .10000E-03    64.877        .43145E-05** at limit **
  19  Prefactor     6.8390        14.853        .16683E-06    .31768E-05
  20  Prefactor     .10000E-03    30.685        .23317E-05** at limit **
  21  Prefactor     18.772        23.641        .57547E-06    .65609E-05
  22  Prefactor     .10000E-03    32.023       -.27894E-06** at limit **
  23  norm          .10000E-03    1.1420        .20518E-07** at limit **
  24  Prefactor     .10000E-03    1.8779        .34572E-07** at limit **
  25  Prefactor     9.7502        2.9298       -.81755E-08   -.16375E-04
  26  Prefactor     10.642        14.167       -.74821E-09   -.10185E-04
  27  Normalizat    1.5573        .26544        .55513E-06    .18005E-03
  28  Prefactor     .84119        .16129       -.51534E-06    .18560E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.23634
  Prefactor  = 4.49241
  Prefactor  = 4.67605
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 0.0971109
  Prefactor  = 0.000100012
  Prefactor  = 0.0001
  norm       = 19.844
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 8.31678
  Prefactor  = 6.17129
  Prefactor  = 8.38631
  Prefactor  = 23.6004
  Prefactor  = 12.788
  norm       = 0.000100307
  Prefactor  = 0.000100002
  Prefactor  = 6.83902
  Prefactor  = 0.000100001
  Prefactor  = 18.7723
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.75023
  Prefactor  = 10.6415
  Normalizat = 1.55727
  Prefactor  = 0.84119
 **********
 **   18 **HESSE 
 **********

 FCN=   5877.012     FROM HESSE     STATUS=OK           527 CALLS     4055 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2363        21.993        .19569E-03   -1.5296    
   2  Prefactor     4.4924        13.654        .18978E-03   -1.5284    
   3  Prefactor     4.6760        5.8209        .18616E-03   -1.5275    
   4  Prefactor     .10000E-03    92.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    14.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .97111E-01    1.9602        .13315E-02   -1.5646    
   7  Prefactor     .10001E-03    8.2189        .24369E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.0917        .16858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          19.844        27.360        .89822E-04   -1.4817    
  10  Prefactor     .10000E-03    14.021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    33.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          8.3168        8.6328        .13896E-03   -1.5131    
  13  Prefactor     6.1713        5.0028        .13263E-03   -1.5211    
  14  Prefactor     8.3863        25.194        .69224E-03   -1.5129    
  15  Prefactor     23.600        21.550        .82459E-04   -1.4736    
  16  Prefactor     12.788        20.490        .11218E-03   -1.4993    
  17  norm          .10031E-03    69.412        .27898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    66.166        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.8390        14.929        .15337E-03   -1.5185    
  20  Prefactor     .10000E-03    30.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.772        23.642        .46219E-03   -1.4841    
  22  Prefactor     .10000E-03    32.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.1510        .79987E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    1.8805        .10258E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     9.7502        2.9301        .69897E-04   -1.5083    
  26  Prefactor     10.642        14.164        .12282E-03   -1.5055    
  27  Normalizat    1.5573        .32111        .29330E-03   -.76181    
  28  Prefactor     .84119        .19436        .24029E-03   -.98227    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72605e-08
Minuit parameter uncertainties:
  1  19.3157
  2  13.6636
  3  5.82163
  4  0.00111285
  5  0.000116625
  6  0.872176
  7  0.000627517
  8  4.38223e-06
  9  27.3772
  10  0.000120796
  11  0.000555558
  12  8.63411
  13  5.00309
  14  25.226
  15  21.5571
  16  20.5013
  17  0.00923585
  18  0.000811865
  19  14.9372
  20  0.000325623
  21  23.6536
  22  4.84312e-05
  23  5.7352e-08
  24  1.02285e-06
  25  2.93013
  26  14.1681
  27  0.321534
  28  0.19452
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  8.386e+00  2.523e+01  1.000e-04  1.000e+04 ( 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:  8.412e-01  1.945e-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.557e+00  3.215e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.14
Ra Dec: 178.348 -11.075
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/145436/likelihoodResults_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.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) = 5877.01015207
delta logL = 0.002328878958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5877.00968286
delta logL = 0.00279808441246

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.6846       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4358       1.0000          .0000       10.000    
     3 'Normalizat'    1.5545       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84189       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=   5877.010     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      264 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.6645        26.891        .14466E-03    .17518E-03
   2  Index         2.4343        1.4376        .11207E-01    .10749E-04
   3  Normalizat    1.5547        .30608        .29350E-03    .10750E-03
   4  Prefactor     .84233        .19199        .24014E-03   -.94683E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.66452
  Index      = 2.43431
  Normalizat = 1.55471
  Prefactor  = 0.842335
 **********
 **   18 **HESSE 
 **********

 FCN=   5877.010     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.6645        24.687        .57863E-05   -1.5154    
   2  Index         2.4343        1.3230        .44827E-03   -.53884    
   3  Normalizat    1.5547        .30619        .58700E-04   -.76252    
   4  Prefactor     .84233        .19185        .96057E-05   -.98186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11417e-10
Minuit parameter uncertainties:
  1  24.72
  2  1.34494
  3  0.306562
  4  0.191998
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145436': 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) = 5877.0096632
delta logL = 0.00281775011263

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  7.665e+00  2.472e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.434e+00  1.345e+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:  8.423e-01  1.920e-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.555e+00  3.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.14
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/145436/cmap_HighResolution_529372801_529632001_4FGL_J1153.3-1104_daily_bin1119.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', job_status='DONE', photon_flux_upper_limit='1.60e-07', time_completed='2021-09-04 15:06:51.264363', job_id='145436', GAL2='0.84', fit_tolerance='1e-08', EG2='1.55', EG='1.56', time_epoch_completed='1630793211.26', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='2.82e-03', ts2='0.14', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1119' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:06:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 145436: <4FGL_J1153.3-1104_daily_bin1119> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1119> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 14:51:23 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:51:24 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 14:51:24 2021
Terminated at Sat Sep  4 15:06:52 2021
Results reported at Sat Sep  4 15:06:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1119 178.348 -11.075 529372801 529632001 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 :                                   802.33 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             293.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            929 sec.

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

