/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 126 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 = 7472
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1153.3-1104_daily_bin361
RA = 178.348, Dec = -11.075
tmin = 332899201, tmax = 333158401
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='138953', job_status='RUN', time_executed='2021-09-04 14:34:03.970388', time_epoch_executed='1630791243.97' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='361'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/138953

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/138953/ft1_4FGL_J1153.3-1104_daily_bin361.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/138953/ft2_4FGL_J1153.3-1104_daily_bin361.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/138953/ft1_4FGL_J1153.3-1104_daily_bin361.fits outfile=/scratch/kocevski/138953/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin361.fits ra=178.348 dec=-11.075 rad=12.0 tmin=332899201.0 tmax=333158401.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 4.27
user 3.95
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/138953/ft1_filtered_4FGL_J1153.3-1104_daily_bin361.fits" evtable="EVENTS" scfile=/scratch/kocevski/138953/ft2_4FGL_J1153.3-1104_daily_bin361.fits sctable="SC_DATA" outfile=/scratch/kocevski/138953/ltcube_332899201_333158401_4FGL_J1153.3-1104_daily_bin361.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/138953/ft2_4FGL_J1153.3-1104_daily_bin361.fits
.....................!
real 12.01
user 11.64
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/138953/ft1_filtered_4FGL_J1153.3-1104_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/138953/ft2_4FGL_J1153.3-1104_daily_bin361.fits sctable="SC_DATA" expcube=/scratch/kocevski/138953/ltcube_332899201_333158401_4FGL_J1153.3-1104_daily_bin361.fits outfile=/scratch/kocevski/138953/expmap_332899201_333158401_4FGL_J1153.3-1104_daily_bin361.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/138953/ltcube_332899201_333158401_4FGL_J1153.3-1104_daily_bin361.fits
.....................!
real 191.22
user 185.00
sys 5.71

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/138953/ft1_filtered_4FGL_J1153.3-1104_daily_bin361.fits scfile=/scratch/kocevski/138953/ft2_4FGL_J1153.3-1104_daily_bin361.fits outfile=/scratch/kocevski/138953/cmap_332899201_333158401_4FGL_J1153.3-1104_daily_bin361.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/138953/ft1_filtered_4FGL_J1153.3-1104_daily_bin361.fits scfile=/scratch/kocevski/138953/ft2_4FGL_J1153.3-1104_daily_bin361.fits outfile=/scratch/kocevski/138953/cmap_HighResolution_332899201_333158401_4FGL_J1153.3-1104_daily_bin361.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/138953/ft1_filtered_4FGL_J1153.3-1104_daily_bin361.fits evtable="EVENTS" scfile=/scratch/kocevski/138953/ft2_4FGL_J1153.3-1104_daily_bin361.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/138953/Model_4FGL_J1153.3-1104_daily_bin361.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/138953/ft1_filtered_4FGL_J1153.3-1104_daily_bin361.fits.....................!
real 52.81
user 50.38
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.8522       1.0000         .10000E-03   10000.    
     3 'Prefactor '    15.227       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.3876       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6997       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10433E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.239       1.0000         .10000E-03   10000.    
    11 'Prefactor '    54.305       1.0000         .10000E-03   10000.    
    12 'norm      '    .37589       1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.4203       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11501E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    18.176       1.0000         .10000E-03   10000.    
    17 'norm      '    4.4938       1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.162       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6963       1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.744       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    43.800       1.0000         .10000E-03   10000.    
    23 'norm      '    .43438E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.8126       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10551E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.0023       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.1220       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=   5625.125     FROM MIGRAD    STATUS=CONVERGED    725 CALLS     3527 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.672        .35449E-06** at limit **
   2  Prefactor     9.8466        10.861        .22921E-06    .20935E-04
   3  Prefactor     15.228        7.9391        .29750E-07    .32742E-04
   4  Prefactor     .10000E-03    21.794       -.17964E-07** at limit **
   5  norm          .10000E-03    3.4072        .11044E-07** at limit **
   6  norm          4.3878        1.8488        .60794E-07    .22938E-04
   7  Prefactor     5.7006        6.8934        .52191E-06    .16724E-03
   8  Prefactor     .10000E-03    7.2914       -.94608E-07** at limit **
   9  norm          .10000E-03    22.833        .26098E-06** at limit **
  10  Prefactor     19.202        38.736        .63824E-06    .30043E-03
  11  Prefactor     54.307        43.321        .84822E-07   -.38643E-04
  12  norm          .37951        6.8158       -.32818E-05    .86425E-03
  13  Prefactor     3.4188        3.7872       -.16364E-06    .38565E-03
  14  Prefactor     .10000E-03    41.621       -.84036E-07** at limit **
  15  Prefactor     .10000E-03    12.074        .42667E-07** at limit **
  16  Prefactor     18.159        27.190       -.71732E-07   -.16498E-03
  17  norm          4.5051        9.2108        .21400E-06    .18514E-04
  18  Prefactor     11.160        37.231       -.16727E-05    .27121E-04
  19  Prefactor     3.6975        9.9251        .10261E-04    .31768E-03
  20  Prefactor     29.745        33.175       -.69764E-06    .12850E-04
  21  Prefactor     .10000E-03    14.482       -.57895E-07** at limit **
  22  Prefactor     43.435        104.12       -.14347E-05   -.96499E-04
  23  norm          .10000E-03    1.5803       -.29519E-07** at limit **
  24  Prefactor     .10000E-03    8.1895       -.63837E-07** at limit **
  25  Prefactor     9.8128        3.1776       -.62109E-08    .83891E-05
  26  Prefactor     .10000E-03    34.128       -.59708E-06** at limit **
  27  Normalizat    1.0022        .27495       -.49517E-05    .16027E-03
  28  Prefactor     1.1220        .17287        .17478E-05    .28666E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.84659
  Prefactor  = 15.2275
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.38779
  Prefactor  = 5.70059
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 19.2017
  Prefactor  = 54.3067
  norm       = 0.379513
  Prefactor  = 3.41883
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.1592
  norm       = 4.50514
  Prefactor  = 11.1599
  Prefactor  = 3.6975
  Prefactor  = 29.745
  Prefactor  = 0.0001
  Prefactor  = 43.4346
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.81278
  Prefactor  = 0.0001
  Normalizat = 1.00223
  Prefactor  = 1.12201
 **********
 **   18 **HESSE 
 **********

 FCN=   5625.125     FROM HESSE     STATUS=OK           521 CALLS     4048 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    35.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.8466        10.843        .12766E-03   -1.5080    
   3  Prefactor     15.228        7.9292        .10264E-03   -1.4927    
   4  Prefactor     .10000E-03    21.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.4092        .13517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.3878        1.8482        .63689E-04   -1.5289    
   7  Prefactor     5.7006        6.8378        .16825E-03   -1.5230    
   8  Prefactor     .10000E-03    7.3700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    22.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.202        38.453        .91313E-04   -1.4831    
  11  Prefactor     54.307        43.327        .54430E-04   -1.4233    
  12  norm          .37951        19.086        .33633E-02   -1.5585    
  13  Prefactor     3.4188        3.7613        .14230E-03   -1.5338    
  14  Prefactor     .10000E-03    42.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.093        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     18.159        26.977        .93945E-04   -1.4855    
  17  norm          4.5051        9.1018        .18993E-03   -1.5283    
  18  Prefactor     11.160        37.165        .11992E-03   -1.5040    
  19  Prefactor     3.6975        10.074        .10503E-02   -1.5323    
  20  Prefactor     29.745        33.156        .73463E-04   -1.4617    
  21  Prefactor     .10000E-03    14.526        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     43.435        103.93        .60577E-04   -1.4389    
  23  norm          .10000E-03    10.956        .18317E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.2857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     9.8128        3.1746        .73672E-04   -1.5081    
  26  Prefactor     .10000E-03    34.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.0022        .31418        .35280E-03   -.92956    
  28  Prefactor     1.1220        .19981        .21628E-03   -.88766    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72594e-09
Minuit parameter uncertainties:
  1  0.000197779
  2  10.8454
  3  7.92971
  4  5.18223e-06
  5  3.9787e-07
  6  1.84823
  7  6.83872
  8  1.3983e-05
  9  4.33484e-06
  10  38.503
  11  43.3521
  12  5.3838
  13  3.76161
  14  0.000186712
  15  5.15859e-06
  16  26.9949
  17  9.10456
  18  37.2426
  19  10.0784
  20  33.1768
  21  5.69083e-07
  22  104.364
  23  0.000140712
  24  1.71596e-05
  25  3.17469
  26  5.59608e-05
  27  0.31476
  28  0.199939
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.000e-04  1.867e-04  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.122e+00  1.999e-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.002e+00  3.148e-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.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/138953/likelihoodResults_332899201_333158401_4FGL_J1153.3-1104_daily_bin361.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) = 5625.1253142
delta logL = -0.00011189210818

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5625.12518474
delta logL = 1.75735203811e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19927E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0016       1.0000          .0000       10.000    
     3 'Normalizat'    1.0022       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1220       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=   5625.122     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      288 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .39780        4.6023        .69720E-01    .43872E-03
   2  Index         3.3351        .50737        .50000        .17751E-05
   3  Normalizat    .99548        .94628E-02    .79955E-01    .17849E-03
   4  Prefactor     1.1238        .61273E-02    .36805E-01    .27760E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.397795
  Index      = 3.33513
  Normalizat = 0.995485
  Prefactor  = 1.12379
 **********
 **   18 **HESSE 
 **********

 FCN=   5625.122     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      321 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .39780        2194.0        .21410E-02   -1.5582    
   2  Index         3.3351        6.4570        .53797E-02   -.33946    
   3  Normalizat    .99548        .21827        .35390E-03   -.93182    
   4  Prefactor     1.1238        .13492        .21613E-03   -.88710    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.25037e-08
Minuit parameter uncertainties:
  1  61.4858
  2  63.1029
  3  0.218468
  4  0.134959
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/138953': 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) = 5625.12155051
delta logL = 0.00365180075732

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  3.978e-01  6.149e+01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  3.335e+00  6.310e+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:  1.124e+00  1.350e-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:  9.955e-01  2.185e-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/138953/cmap_HighResolution_332899201_333158401_4FGL_J1153.3-1104_daily_bin361.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.83e-03', job_status='DONE', photon_flux_upper_limit='1.15e-07', time_completed='2021-09-04 14:47:16.479244', job_id='138953', GAL2='1.12', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1630792036.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.65e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='361' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:47:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 138953: <4FGL_J1153.3-1104_daily_bin361> in cluster <slac> Done

Job <4FGL_J1153.3-1104_daily_bin361> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 14:31:46 2021
Job was executed on host(s) <bullet0049>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:31:49 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:31:49 2021
Terminated at Sat Sep  4 14:47:16 2021
Results reported at Sat Sep  4 14:47:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin361 178.348 -11.075 332899201 333158401 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 :                                   790.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             288.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            930 sec.

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

