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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1224
RA = 178.348, Dec = -11.075
tmin = 556588801, tmax = 556848001
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='145591', job_status='RUN', time_executed='2021-09-04 14:55:01.061161', time_epoch_executed='1630792501.06' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1224'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145591

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145591/ft1_4FGL_J1153.3-1104_daily_bin1224.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145591/ft2_4FGL_J1153.3-1104_daily_bin1224.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145591/ft1_4FGL_J1153.3-1104_daily_bin1224.fits outfile=/scratch/kocevski/145591/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1224.fits ra=178.348 dec=-11.075 rad=12.0 tmin=556588801.0 tmax=556848001.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 7.92
user 3.42
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145591/ft1_filtered_4FGL_J1153.3-1104_daily_bin1224.fits" evtable="EVENTS" scfile=/scratch/kocevski/145591/ft2_4FGL_J1153.3-1104_daily_bin1224.fits sctable="SC_DATA" outfile=/scratch/kocevski/145591/ltcube_556588801_556848001_4FGL_J1153.3-1104_daily_bin1224.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/145591/ft2_4FGL_J1153.3-1104_daily_bin1224.fits
.....................!
real 12.62
user 12.20
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145591/ft1_filtered_4FGL_J1153.3-1104_daily_bin1224.fits evtable="EVENTS" scfile=/scratch/kocevski/145591/ft2_4FGL_J1153.3-1104_daily_bin1224.fits sctable="SC_DATA" expcube=/scratch/kocevski/145591/ltcube_556588801_556848001_4FGL_J1153.3-1104_daily_bin1224.fits outfile=/scratch/kocevski/145591/expmap_556588801_556848001_4FGL_J1153.3-1104_daily_bin1224.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/145591/ltcube_556588801_556848001_4FGL_J1153.3-1104_daily_bin1224.fits
.....................!
real 190.22
user 185.28
sys 4.48

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/145591/ft1_filtered_4FGL_J1153.3-1104_daily_bin1224.fits scfile=/scratch/kocevski/145591/ft2_4FGL_J1153.3-1104_daily_bin1224.fits outfile=/scratch/kocevski/145591/cmap_556588801_556848001_4FGL_J1153.3-1104_daily_bin1224.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145591/ft1_filtered_4FGL_J1153.3-1104_daily_bin1224.fits scfile=/scratch/kocevski/145591/ft2_4FGL_J1153.3-1104_daily_bin1224.fits outfile=/scratch/kocevski/145591/cmap_HighResolution_556588801_556848001_4FGL_J1153.3-1104_daily_bin1224.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145591/ft1_filtered_4FGL_J1153.3-1104_daily_bin1224.fits evtable="EVENTS" scfile=/scratch/kocevski/145591/ft2_4FGL_J1153.3-1104_daily_bin1224.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145591/Model_4FGL_J1153.3-1104_daily_bin1224.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/145591/ft1_filtered_4FGL_J1153.3-1104_daily_bin1224.fits....................!
real 39.66
user 38.17
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3243       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    125.44       1.0000         .10000E-03   10000.    
     5 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.7020       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.0288       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10456E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.792       1.0000         .10000E-03   10000.    
    17 'norm      '    17.054       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    78.989       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10152E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.878       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .73347       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2595       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=   3732.373     FROM MIGRAD    STATUS=CONVERGED    674 CALLS     3422 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    19.837        .79231E-05** at limit **
   2  Prefactor     3.3245        23.839       -.29106E-05   -.86798E-04
   3  Prefactor     .10000E-03    3.8688        .38481E-07** at limit **
   4  Prefactor     125.44        112.76        .62340E-05   -.37015E-05
   5  norm          .10000E-03    7.0065        .96119E-06** at limit **
   6  norm          2.7020        1.8816       -.54360E-06   -.16608E-03
   7  Prefactor     .10000E-03    6.4270        .29536E-06** at limit **
   8  Prefactor     .10000E-03    15.872       -.32959E-05** at limit **
   9  norm          1.9873        154.24       -.10031E-03   -.22326E-05
  10  Prefactor     .10000E-03    29.148       -.20282E-05** at limit **
  11  Prefactor     .10000E-03    15.594       -.41225E-05** at limit **
  12  norm          .10000E-03    4.8302        .20970E-06** at limit **
  13  Prefactor     .10000E-03    2.9972        .17186E-06** at limit **
  14  Prefactor     .10000E-03    12.766        .30408E-05** at limit **
  15  Prefactor     .10000E-03    25.662        .25953E-05** at limit **
  16  Prefactor     21.791        22.743       -.83637E-06    .16314E-06
  17  norm          17.054        8.8813       -.54303E-06   -.29228E-04
  18  Prefactor     .10000E-03    36.977        .25607E-05** at limit **
  19  Prefactor     78.957        48.311       -.22060E-04   -.41723E-05
  20  Prefactor     .10000E-03    32.419       -.42977E-05** at limit **
  21  Prefactor     .10000E-03    90.337        .11522E-04** at limit **
  22  Prefactor     .10000E-03    27.988       -.19089E-05** at limit **
  23  norm          .10000E-03    3.2983        .75085E-07** at limit **
  24  Prefactor     .10000E-03    16.432       -.51562E-06** at limit **
  25  Prefactor     11.879        4.1950       -.59517E-07    .62223E-04
  26  Prefactor     .10000E-03    8.1044       -.75936E-06** at limit **
  27  Normalizat    .73348        .36934        .10967E-04    .61068E-04
  28  Prefactor     1.2595        .21970        .51241E-06    .17150E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.32454
  Prefactor  = 0.0001
  Prefactor  = 125.444
  norm       = 0.0001
  norm       = 2.70196
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.98728
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 21.7912
  norm       = 17.0539
  Prefactor  = 0.0001
  Prefactor  = 78.9568
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8792
  Prefactor  = 0.0001
  Normalizat = 0.73348
  Prefactor  = 1.2595
 **********
 **   18 **HESSE 
 **********

 FCN=   3732.373     FROM HESSE     STATUS=OK           507 CALLS     3929 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.886        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3245        23.793        .22201E-03   -1.5343    
   3  Prefactor     .10000E-03    3.8712        .11736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     125.44        112.68        .35941E-04   -1.3463    
   5  norm          .10000E-03    7.0119        .15793E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.7020        1.8744        .64626E-04   -1.5379    
   7  Prefactor     .10000E-03    6.4989        .15116E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.9873        157.04        .29045E-03   -1.5426    
  10  Prefactor     .10000E-03    29.129        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.8393        .13114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.0101        .10328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    12.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     21.791        22.778        .85803E-04   -1.4774    
  17  norm          17.054        8.8914        .96984E-04   -1.4882    
  18  Prefactor     .10000E-03    36.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     78.957        48.360        .45186E-04   -1.3928    
  20  Prefactor     .10000E-03    32.406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    90.693        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.990        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    3.2997        .10836E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    16.911        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     11.879        4.1898        .71899E-04   -1.5019    
  26  Prefactor     .10000E-03    8.1151        .16987E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .73348        .40751        .42987E-03   -1.0259    
  28  Prefactor     1.2595        .24554        .20702E-03   -.84519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.61268e-10
Minuit parameter uncertainties:
  1  6.15411e-05
  2  17.7975
  3  4.51337e-06
  4  112.877
  5  1.44231e-05
  6  1.87444
  7  0.000197228
  8  0.000158542
  9  35.4276
  10  0.00074413
  11  1.94446e-05
  12  4.5736e-05
  13  3.3148e-05
  14  1.13977e-05
  15  2.22228e-05
  16  22.787
  17  8.89205
  18  0.000215484
  19  48.3845
  20  0.000146143
  21  0.000612996
  22  1.83789e-05
  23  1.41825e-05
  24  0.000113635
  25  4.18989
  26  1.24153e-05
  27  0.409207
  28  0.245767
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.140e-05  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:  1.260e+00  2.458e-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.335e-01  4.092e-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: 1.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.00e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/145591/likelihoodResults_556588801_556848001_4FGL_J1153.3-1104_daily_bin1224.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) = 3732.37310302
delta logL = -0.00037183293216

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3732.37273144
delta logL = -2.5190956876e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3359       1.0000          .0000       10.000    
     3 'Normalizat'    .73321       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2597       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=   3732.373     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      202 TOTAL
                     EDM=   .66E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2026.9        .90712E-02** at limit **
   2  Index         2.3356        5.8929        .50000        .15749E-06
   3  Normalizat    .73348        .15028        .97000E-01    .18937E-04
   4  Prefactor     1.2595        .92663E-01    .33353E-01   -.36683E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.33558
  Normalizat = 0.733481
  Prefactor  = 1.2595
 **********
 **   18 **HESSE 
 **********

 FCN=   3732.373     FROM HESSE     STATUS=OK            33 CALLS      235 TOTAL
                     EDM=   .27E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    12.904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3356        6.1678        .50000       -.56201    
   3  Normalizat    .73348        .38576        .42987E-03   -1.0259    
   4  Prefactor     1.2595        .23998        .20702E-03   -.84519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.71854e-14
Minuit parameter uncertainties:
  1  3.20797e-07
  2  4.26147
  3  0.387197
  4  0.240194
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145591': 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) = 3732.37273119
delta logL = 4.32009983342e-11

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  3.208e-07  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.336e+00  4.261e+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.259e+00  2.402e-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.335e-01  3.872e-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/145591/cmap_HighResolution_556588801_556848001_4FGL_J1153.3-1104_daily_bin1224.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.00e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-04 15:05:29.494851', job_id='145591', GAL2='1.26', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1630793129.49', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.26', dlogl='4.32e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1224' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:05:29 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 145591: <4FGL_J1153.3-1104_daily_bin1224> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin1224> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 14:51:33 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:51:35 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:35 2021
Terminated at Sat Sep  4 15:05:30 2021
Results reported at Sat Sep  4 15:05:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1224 178.348 -11.075 556588801 556848001 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 :                                   611.24 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   834 sec.
    Turnaround time :                            837 sec.

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

