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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin1090
RA = 178.348, Dec = -11.075
tmin = 521856001, tmax = 522115201
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='145394', job_status='RUN', time_executed='2021-09-04 14:52:03.531989', time_epoch_executed='1630792323.53' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/145394

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/145394/ft1_4FGL_J1153.3-1104_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/145394/ft2_4FGL_J1153.3-1104_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/145394/ft1_4FGL_J1153.3-1104_daily_bin1090.fits outfile=/scratch/kocevski/145394/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1090.fits ra=178.348 dec=-11.075 rad=12.0 tmin=521856001.0 tmax=522115201.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.74
user 3.51
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/145394/ft2_4FGL_J1153.3-1104_daily_bin1090.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/145394/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/145394/ft1_filtered_4FGL_J1153.3-1104_daily_bin1090.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.52
user 0.35
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/145394/ft1_filtered_4FGL_J1153.3-1104_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/145394/ft2_4FGL_J1153.3-1104_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/145394/ltcube_521856001_522115201_4FGL_J1153.3-1104_daily_bin1090.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/145394/ft2_4FGL_J1153.3-1104_daily_bin1090.fits
.....................!
real 14.87
user 14.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/145394/ft1_filtered_4FGL_J1153.3-1104_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/145394/ft2_4FGL_J1153.3-1104_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/145394/ltcube_521856001_522115201_4FGL_J1153.3-1104_daily_bin1090.fits outfile=/scratch/kocevski/145394/expmap_521856001_522115201_4FGL_J1153.3-1104_daily_bin1090.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/145394/ltcube_521856001_522115201_4FGL_J1153.3-1104_daily_bin1090.fits
.....................!
real 191.14
user 185.40
sys 5.33

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/145394/ft1_filtered_4FGL_J1153.3-1104_daily_bin1090.fits scfile=/scratch/kocevski/145394/ft2_4FGL_J1153.3-1104_daily_bin1090.fits outfile=/scratch/kocevski/145394/cmap_521856001_522115201_4FGL_J1153.3-1104_daily_bin1090.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/145394/ft1_filtered_4FGL_J1153.3-1104_daily_bin1090.fits scfile=/scratch/kocevski/145394/ft2_4FGL_J1153.3-1104_daily_bin1090.fits outfile=/scratch/kocevski/145394/cmap_HighResolution_521856001_522115201_4FGL_J1153.3-1104_daily_bin1090.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.55
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/145394/ft1_filtered_4FGL_J1153.3-1104_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/145394/ft2_4FGL_J1153.3-1104_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/145394/Model_4FGL_J1153.3-1104_daily_bin1090.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/145394/ft1_filtered_4FGL_J1153.3-1104_daily_bin1090.fits.....................!
real 64.28
user 62.95
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.0600       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .42957E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.3224       1.0000         .10000E-03   10000.    
     6 'norm      '    3.9644       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11016       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11852E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10794E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .22768E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    40.034       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.5660       1.0000         .10000E-03   10000.    
    17 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    20.362       1.0000         .10000E-03   10000.    
    19 'Prefactor '    29.190       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.2606       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.7880       1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.1343       1.0000         .10000E-03   10000.    
    26 'Prefactor '    6.2515       1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0845       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .99327       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=   7460.795     FROM MIGRAD    STATUS=CONVERGED   1235 CALLS     3582 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.0608        13.842        .14122E-03    .27531E-04
   2  Prefactor     .10000E-03    10.575        .18142E-02** at limit **
   3  Prefactor     .53045E-01    5.2646        .49979E-01    .33545E-03
   4  Prefactor     .10000E-03    24.047        .18142E-02** at limit **
   5  norm          1.3257        8.6020        .19125E-02    .74151E-03
   6  norm          3.9646        1.4145        .58849E-04    .34792E-03
   7  Prefactor     .99072E-01    12.366        .20996E-02   -.11865E-03
   8  Prefactor     .10000E-03    19.908        .32908E-02** at limit **
   9  norm          .10000E-03    35.647        .36285E-03** at limit **
  10  Prefactor     .10000E-03    6.1155        .18142E-02** at limit **
  11  Prefactor     .10000E-03    11.656        .18142E-02** at limit **
  12  norm          .10000E-03    9.2081        .29697E-02** at limit **
  13  Prefactor     .10000E-03    1.1504        .90135E-03** at limit **
  14  Prefactor     40.033        16.944        .63351E-04    .62523E-04
  15  Prefactor     .10000E-03    13.647        .18142E-02** at limit **
  16  Prefactor     8.5568        10.174        .13696E-03    .34696E-04
  17  norm          .10000E-03    2.2191        .12444E-02** at limit **
  18  Prefactor     20.360        22.376        .88762E-04    .38424E-05
  19  Prefactor     29.188        18.882        .74156E-04    .79720E-05
  20  Prefactor     .10000E-03    14.073        .18142E-02** at limit **
  21  Prefactor     .10000E-03    8.4961        .18142E-02** at limit **
  22  Prefactor     .10000E-03    15.362        .18142E-02** at limit **
  23  norm          2.2610        2.7133        .15163E-03   -.61033E-04
  24  Prefactor     2.7877        3.7906        .18681E-03    .27812E-04
  25  Prefactor     7.1341        2.2600        .69580E-04   -.52285E-05
  26  Prefactor     6.2522        10.701        .80275E-03    .99631E-04
  27  Normalizat    1.0841        .25831        .31344E-03    .11084E-03
  28  Prefactor     .99359        .15950        .20991E-03    .18347E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.0608
  Prefactor  = 0.0001
  Prefactor  = 0.0530446
  Prefactor  = 0.0001
  norm       = 1.32566
  norm       = 3.96464
  Prefactor  = 0.0990717
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 40.0326
  Prefactor  = 0.0001
  Prefactor  = 8.55683
  norm       = 0.0001
  Prefactor  = 20.3601
  Prefactor  = 29.1881
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.26097
  Prefactor  = 2.7877
  Prefactor  = 7.1341
  Prefactor  = 6.25216
  Normalizat = 1.08408
  Prefactor  = 0.993589
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.795     FROM HESSE     STATUS=OK           503 CALLS     4085 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.0608        13.839        .56490E-05   -1.5140    
   2  Prefactor     .10000E-03    10.582        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .53045E-01    4.9981        .51542E-01   -1.5662    
   4  Prefactor     .10000E-03    24.047        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.3257        8.5471        .76502E-04   -1.5478    
   6  norm          3.9646        1.4144        .23540E-05   -1.5310    
   7  Prefactor     .99072E-01    12.504        .83985E-04   -1.5645    
   8  Prefactor     .10000E-03    20.056        .65817E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    35.647        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.1156        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.656        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    9.2884        .59395E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.1505        .18027E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     40.033        16.943        .12670E-04   -1.4442    
  15  Prefactor     .10000E-03    13.648        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     8.5568        10.173        .54785E-05   -1.5123    
  17  norm          .10000E-03    2.2196        .24888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.360        22.374        .35505E-05   -1.4805    
  19  Prefactor     29.188        18.882        .29662E-05   -1.4627    
  20  Prefactor     .10000E-03    14.073        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.4963        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    15.362        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.2610        2.7132        .60650E-05   -1.5407    
  24  Prefactor     2.7877        3.7903        .74722E-05   -1.5374    
  25  Prefactor     7.1341        2.2599        .27832E-05   -1.5174    
  26  Prefactor     6.2522        10.696        .32110E-04   -1.5208    
  27  Normalizat    1.0841        .25843        .12538E-04   -.90264    
  28  Prefactor     .99359        .15961        .41982E-04   -.92944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1862e-09
Minuit parameter uncertainties:
  1  13.8446
  2  8.33529e-05
  3  1.02892
  4  3.43315e-05
  5  6.73333
  6  1.41442
  7  2.22539
  8  0.000360945
  9  0.000182586
  10  5.52056e-06
  11  8.29478e-06
  12  7.1258e-05
  13  3.71701e-06
  14  16.9454
  15  4.75979e-06
  16  10.1746
  17  4.49776e-06
  18  22.3835
  19  18.8857
  20  3.21836e-06
  21  8.22287e-06
  22  1.25024e-05
  23  2.71335
  24  3.79064
  25  2.25996
  26  10.6997
  27  0.258727
  28  0.15969
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  4.003e+01  1.695e+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:  9.936e-01  1.597e-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.084e+00  2.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.47
Ra Dec: 178.348 -11.075
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 4.28e-08
Energy Flux (Fixed Index): 3.63e-05 +/- 1.53e-05

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) = 7460.63072134
delta logL = 0.163940806813

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7460.62985749
delta logL = 0.164804650575

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.846       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1217       1.0000          .0000       10.000    
     3 'Normalizat'    1.1041       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98503       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=   7460.630     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      264 TOTAL
                     EDM=   .68E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.820        389.60        .14344E-02    .12071E-04
   2  Index         2.1210        3.1030        .13957        .10229E-03
   3  Normalizat    1.1047        .16470        .70261E-01    .31744E-04
   4  Prefactor     .98481        .70319E-01    .46080E-01    .41935E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.8197
  Index      = 2.12103
  Normalizat = 1.10466
  Prefactor  = 0.984806
 **********
 **   18 **HESSE 
 **********

 FCN=   7460.630     FROM HESSE     STATUS=OK            31 CALLS      295 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.820        25.084        .57376E-04   -1.4309    
   2  Index         2.1210        .36783        .53474E-02   -.61357    
   3  Normalizat    1.1047        .24424        .31089E-03   -.89602    
   4  Prefactor     .98481        .15689        .21071E-03   -.93238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.92923e-12
Minuit parameter uncertainties:
  1  25.0896
  2  0.368333
  3  0.244485
  4  0.156963
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/145394': 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) = 7460.62985107
delta logL = 0.164811069188

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  4.882e+01  2.509e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  2.121e+00  3.683e-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.848e-01  1.570e-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.105e+00  2.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 13.76
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 2.12 +/- 0.37
Photon Flux (Free Index): 8.60e-08 +/- 4.53e-08
Energy Flux (Free Index): 4.51e-05 +/- 2.85e-05

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/145394/cmap_HighResolution_521856001_522115201_4FGL_J1153.3-1104_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='4.51e-05', photon_flux_error='4.28e-08', dlogl='1.65e-01', energy_flux='3.63e-05', photon_flux2='8.60e-08', job_status='DONE', time_completed='2021-09-04 15:06:13.482063', photon_index_error2='0.37', photon_index2='2.12', ts='13.47', fit_tolerance='1e-08', GAL='0.99', photon_index_error='0.00', energy_flux_error2='2.85e-05', EG='1.08', time_epoch_completed='1630793173.48', return_code='0', job_id='145394', GAL2='0.98', EG2='1.10', return_code2='0', energy_flux_error='1.53e-05', photon_flux_error2='4.53e-08', ts2='13.76', photon_index='2.34' WHERE bin_id='1090' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:06:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0134>
Subject: Job 145394: <4FGL_J1153.3-1104_daily_bin1090> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin1090 178.348 -11.075 521856001 522115201 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 :                                   842.15 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            894 sec.

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

