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


Performing analysis on: 4FGL_J1153.3-1104_daily_bin304
RA = 178.348, Dec = -11.075
tmin = 318124801, tmax = 318384001
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='138863', job_status='RUN', time_executed='2021-09-04 14:33:55.199662', time_epoch_executed='1630791235.2' WHERE source_name='4FGL J1153.3-1104' and cadence='daily' and bin_id='304'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/138863

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/138863/ft1_4FGL_J1153.3-1104_daily_bin304.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/138863/ft2_4FGL_J1153.3-1104_daily_bin304.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/138863/ft1_4FGL_J1153.3-1104_daily_bin304.fits outfile=/scratch/kocevski/138863/ft1_filteredMKT_4FGL_J1153.3-1104_daily_bin304.fits ra=178.348 dec=-11.075 rad=12.0 tmin=318124801.0 tmax=318384001.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.39
user 3.13
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/138863/ft1_filtered_4FGL_J1153.3-1104_daily_bin304.fits" evtable="EVENTS" scfile=/scratch/kocevski/138863/ft2_4FGL_J1153.3-1104_daily_bin304.fits sctable="SC_DATA" outfile=/scratch/kocevski/138863/ltcube_318124801_318384001_4FGL_J1153.3-1104_daily_bin304.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/138863/ft2_4FGL_J1153.3-1104_daily_bin304.fits
.....................!
real 12.40
user 11.94
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/138863/ft1_filtered_4FGL_J1153.3-1104_daily_bin304.fits evtable="EVENTS" scfile=/scratch/kocevski/138863/ft2_4FGL_J1153.3-1104_daily_bin304.fits sctable="SC_DATA" expcube=/scratch/kocevski/138863/ltcube_318124801_318384001_4FGL_J1153.3-1104_daily_bin304.fits outfile=/scratch/kocevski/138863/expmap_318124801_318384001_4FGL_J1153.3-1104_daily_bin304.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/138863/ltcube_318124801_318384001_4FGL_J1153.3-1104_daily_bin304.fits
.....................!
real 191.50
user 186.04
sys 4.87

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/138863/ft1_filtered_4FGL_J1153.3-1104_daily_bin304.fits scfile=/scratch/kocevski/138863/ft2_4FGL_J1153.3-1104_daily_bin304.fits outfile=/scratch/kocevski/138863/cmap_318124801_318384001_4FGL_J1153.3-1104_daily_bin304.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.53
user 0.38
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/138863/ft1_filtered_4FGL_J1153.3-1104_daily_bin304.fits evtable="EVENTS" scfile=/scratch/kocevski/138863/ft2_4FGL_J1153.3-1104_daily_bin304.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/138863/Model_4FGL_J1153.3-1104_daily_bin304.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/138863/ft1_filtered_4FGL_J1153.3-1104_daily_bin304.fits.....................!
real 52.37
user 50.87
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.976       1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.829       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    5.0001       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    17.294       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    16.097       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    17.053       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    9.3204       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .11928E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10306E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .51591       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 '    1.0149       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.4056       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .44007E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    1.1506       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0875       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=   5665.676     FROM MIGRAD    STATUS=CONVERGED    716 CALLS     4005 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.130        .36347E-05** at limit **
   2  Prefactor     29.970        18.646        .18367E-05   -.59230E-04
   3  Prefactor     10.827        7.5367        .10579E-06   -.11030E-03
   4  Prefactor     .10000E-03    31.918       -.92900E-05** at limit **
   5  norm          .10000E-03    4.3531        .15816E-07** at limit **
   6  norm          4.9995        1.8872       -.88492E-07   -.17710E-02
   7  Prefactor     .10000E-03    2.8172        .37869E-06** at limit **
   8  Prefactor     .10000E-03    10.733        .31229E-06** at limit **
   9  norm          17.280        20.271       -.12692E-04    .69017E-07
  10  Prefactor     .10000E-03    11.117       -.38501E-05** at limit **
  11  Prefactor     .10000E-03    15.099       -.38280E-06** at limit **
  12  norm          16.096        8.4924        .12692E-06    .13616E-03
  13  Prefactor     .10000E-03    1.9522       -.16655E-06** at limit **
  14  Prefactor     17.047        21.361        .12959E-04    .33217E-04
  15  Prefactor     .10000E-03    9.3821       -.74041E-08** at limit **
  16  Prefactor     .10000E-03    24.398        .40146E-05** at limit **
  17  norm          9.3206        6.8473       -.25204E-05   -.23317E-03
  18  Prefactor     .10000E-03    565.89       -.43674E-04** at limit **
  19  Prefactor     .10000E-03    21.626       -.12403E-05** at limit **
  20  Prefactor     .10000E-03    32.608       -.26967E-05** at limit **
  21  Prefactor     .30752        19.902        .10269E-06   -.11198E-03
  22  Prefactor     .10000E-03    34.317        .11804E-04** at limit **
  23  norm          .10000E-03    .81594       -.23796E-07** at limit **
  24  Prefactor     1.0161        3.3304       -.94378E-06   -.93329E-03
  25  Prefactor     5.4054        2.4075        .60560E-07    .31692E-04
  26  Prefactor     .10004E-03    7.1256       -.70230E-06** at limit **
  27  Normalizat    1.1511        .26060       -.20907E-05    .17262E-03
  28  Prefactor     1.0873        .16315        .74159E-06    .11018E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 29.9702
  Prefactor  = 10.8266
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 4.99948
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.2799
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 16.096
  Prefactor  = 0.0001
  Prefactor  = 17.0467
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 9.32057
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.307524
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.01609
  Prefactor  = 5.40541
  Prefactor  = 0.000100037
  Normalizat = 1.15111
  Prefactor  = 1.08728
 **********
 **   18 **HESSE 
 **********

 FCN=   5665.676     FROM HESSE     STATUS=OK           525 CALLS     4530 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     29.970        18.603        .73178E-04   -1.4613    
   3  Prefactor     10.827        7.5345        .12175E-03   -1.5050    
   4  Prefactor     .10000E-03    31.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.3587        .15330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.9995        1.8900        .30594E-03   -1.5261    
   7  Prefactor     .10000E-03    2.8542        .12328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          17.280        20.212        .96309E-04   -1.4876    
  10  Prefactor     .10000E-03    11.107        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    15.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          16.096        8.4858        .99827E-04   -1.4905    
  13  Prefactor     .10000E-03    1.9620        .10260E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     17.047        21.265        .96988E-04   -1.4882    
  15  Prefactor     .10000E-03    9.3846        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.520        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          9.3206        6.8659        .13127E-03   -1.5097    
  18  Prefactor     .10000E-03    590.35        .36330E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    21.923        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    32.664        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .30752        23.440        .10151       -1.5597    
  22  Prefactor     .10000E-03    34.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .81730        .66394E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.0161        3.1786        .23977E-02   -1.5506    
  25  Prefactor     5.4054        2.4197        .75033E-04   -1.5243    
  26  Prefactor     .10004E-03    37.090        .38918E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1511        .30261        .33268E-03   -.88127    
  28  Prefactor     1.0873        .18969        .21966E-03   -.89874    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.27365e-09
Minuit parameter uncertainties:
  1  4.28331e-05
  2  18.6067
  3  7.53515
  4  7.8956e-06
  5  3.15872e-06
  6  1.89002
  7  6.14314e-05
  8  1.05438e-05
  9  20.2197
  10  6.93854e-05
  11  1.7835e-05
  12  8.48639
  13  2.91061e-05
  14  21.2744
  15  2.65151e-06
  16  0.000289985
  17  6.8665
  18  0.000452745
  19  4.16152e-06
  20  1.7132e-05
  21  5.37104
  22  4.79463e-05
  23  2.81207e-07
  24  3.17913
  25  2.41978
  26  0.0023552
  27  0.30307
  28  0.189807
Done.

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

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.705e+01  2.127e+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:  1.087e+00  1.898e-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.151e+00  3.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/138863/likelihoodResults_318124801_318384001_4FGL_J1153.3-1104_daily_bin304.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) = 5665.02826877
delta logL = 0.64811179032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5664.84348774
delta logL = 0.832892824338

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15478E-01   1.0000         .10000E-03   10000.    
     2 'Index     '    6.1440       1.0000          .0000       10.000    
     3 'Normalizat'    1.0246       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1511       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=   5664.843     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      321 TOTAL
                     EDM=   .61E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15186E-01    .16707        .14533E-02    .80494E-02
   2  Index         6.1520        2.2968        .10308        .18373E-03
   3  Normalizat    1.0245        .66275E-01    .79039E-01    .24307E-04
   4  Prefactor     1.1512        .42780E-01    .35903E-01    .34951E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0151863
  Index      = 6.15201
  Normalizat = 1.02447
  Prefactor  = 1.15118
 **********
 **   18 **HESSE 
 **********

 FCN=   5664.843     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      356 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15186E-01    .38512        .65375E-04   -1.5683    
   2  Index         6.1520        3.7995        .39307E-02    .23249    
   3  Normalizat    1.0245        .23215        .34985E-03   -.92215    
   4  Prefactor     1.1512        .14754        .21429E-03   -.87847    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94337e-11
Minuit parameter uncertainties:
  1  0.152448
  2  4.36
  3  0.232379
  4  0.147595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/138863': 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) = 5664.84348343
delta logL = 0.832897137395

Extracting fit parameters...

4FGL J1153.3-1104
   Spectrum: PowerLaw
289    Prefactor:  1.519e-02  1.524e-01  1.000e-04  1.000e+04 ( 1.000e-13)
290        Index:  6.152e+00  4.360e+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.151e+00  1.476e-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.024e+00  2.324e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.74
Ra Dec: 178.348 -11.075
Photon Index (Free Index): 6.15 +/- 4.36
Photon Flux (Free Index): 1.36e-07 +/- 9.31e-08
Energy Flux (Free Index): 1.68e-05 +/- 1.20e-05

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/138863/cmap_HighResolution_318124801_318384001_4FGL_J1153.3-1104_daily_bin304.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.26e-02', comment='SUCCESS', energy_flux2='1.68e-05', dlogl='8.33e-01', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-04 14:47:48.365716', photon_index_error2='4.36', photon_index2='6.15', ts='0.85', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', photon_flux_upper_limit='1.64e-07', energy_flux_error2='1.20e-05', EG='1.15', time_epoch_completed='1630792068.37', return_code='0', job_id='138863', GAL2='1.15', EG2='1.02', return_code2='102', photon_flux_error2='9.31e-08', ts2='2.74', photon_index='2.34' WHERE bin_id='304' AND source_name='4FGL J1153.3-1104' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 14:47:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0214>
Subject: Job 138863: <4FGL_J1153.3-1104_daily_bin304> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.3-1104_daily_bin304 178.348 -11.075 318124801 318384001 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 :                                   832.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             281.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            970 sec.

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

