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


Performing analysis on: 4FGL_J1153.4+4931_daily_bin19
RA = 178.35, Dec = 49.5169
tmin = 244252801, tmax = 244512001
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='147825', job_status='RUN', time_executed='2021-09-04 14:59:59.186800', time_epoch_executed='1630792799.19' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='19'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/147825

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/147825/ft1_4FGL_J1153.4+4931_daily_bin19.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/147825/ft1_4FGL_J1153.4+4931_daily_bin19.fits outfile=/scratch/kocevski/147825/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin19.fits ra=178.35 dec=49.5169 rad=12.0 tmin=244252801.0 tmax=244512001.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 2.47
user 2.21
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.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/147825/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin19.fits evtable="EVENTS" outfile="/scratch/kocevski/147825/ft1_filtered_4FGL_J1153.4+4931_daily_bin19.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.66
user 0.35
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/147825/ft1_filtered_4FGL_J1153.4+4931_daily_bin19.fits" evtable="EVENTS" scfile=/scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits sctable="SC_DATA" outfile=/scratch/kocevski/147825/ltcube_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.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/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits
.....................!
real 12.60
user 12.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/147825/ft1_filtered_4FGL_J1153.4+4931_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits sctable="SC_DATA" expcube=/scratch/kocevski/147825/ltcube_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.fits outfile=/scratch/kocevski/147825/expmap_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.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/147825/ltcube_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.fits
.....................!
real 189.88
user 184.73
sys 4.73

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 220 point sources and 0 extended sources

Setting source of interest to:
4FGL J1153.4+4931 @ 178.35 49.5169

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/147825/ft1_filtered_4FGL_J1153.4+4931_daily_bin19.fits scfile=/scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits outfile=/scratch/kocevski/147825/cmap_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.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.35 yref=49.5169 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/147825/ft1_filtered_4FGL_J1153.4+4931_daily_bin19.fits scfile=/scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits outfile=/scratch/kocevski/147825/cmap_HighResolution_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.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.35 yref=49.5169 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.56
user 0.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/147825/ft1_filtered_4FGL_J1153.4+4931_daily_bin19.fits evtable="EVENTS" scfile=/scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/147825/Model_4FGL_J1153.4+4931_daily_bin19.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/147825/ft1_filtered_4FGL_J1153.4+4931_daily_bin19.fits.....................!
real 45.89
user 44.51
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/147825/ft1_filtered_4FGL_J1153.4+4931_daily_bin19.fits', '/scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits', expMap='/scratch/kocevski/147825/expmap_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.fits', expCube='/scratch/kocevski/147825/ltcube_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/147825/Model_4FGL_J1153.4+4931_daily_bin19.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1153.4+4931'

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  3.122e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/147825/ft1_filtered_4FGL_J1153.4+4931_daily_bin19.fits
Spacecraft file(s): /scratch/kocevski/147825/ft2_4FGL_J1153.4+4931_daily_bin19.fits
Exposure map: /scratch/kocevski/147825/expmap_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.fits
Exposure cube: /scratch/kocevski/147825/ltcube_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/147825/Model_4FGL_J1153.4+4931_daily_bin19.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) = 5053.98640437

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.525       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    6.1120       1.0000         .10000E-03   10000.    
     5 'Prefactor '    18.402       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10587E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .88517E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11482E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.2175       1.0000         .10000E-03   10000.    
    15 'norm      '    5.9443       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .29835E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    17.668       1.0000         .10000E-03   10000.    
    18 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.1946       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.684       1.0000         .10000E-03   10000.    
    21 'norm      '    4.6965       1.0000         .10000E-03   10000.    
    22 'norm      '    1.5675       1.0000         .10000E-03   10000.    
    23 'Prefactor '    16.366       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.4146       1.0000         .10000E-03   10000.    
    25 'norm      '    2.5274       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    3.9078       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.2324       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .73935       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5053.891     FROM MIGRAD    STATUS=CONVERGED    162 CALLS     2721 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.532        1.4317       -.15886E-07   -.48422E-03
   2  Prefactor     .10377E-03    29.126        .16455E-05** at limit **
   3  Prefactor     .10018E-03    27.918        .13771E-05** at limit **
   4  norm          6.1121        2.9010       -.29977E-08   -.76786E-05
   5  Prefactor     18.431        3.0827        .92036E-08   -.13373E-02
   6  Prefactor     .10020E-03    30.926       -.34058E-05** at limit **
   7  Prefactor     .10015E-03    29.526        .27480E-05** at limit **
   8  norm          .10000E-03    23.865        .22657E-07** at limit **
   9  Prefactor     .10316E-03    32.835       -.26635E-07** at limit **
  10  Prefactor     .10016E-03    27.691        .13838E-05** at limit **
  11  norm          .10000E-03    18.183       -.51434E-06** at limit **
  12  Prefactor     .12195E-03    67.458       -.54747E-05** at limit **
  13  norm          .10000E-03    7.0567        .39018E-07** at limit **
  14  norm          1.2171        1.1858       -.89698E-07   -.78306E-04
  15  norm          5.9439        6.9635       -.16196E-06   -.27997E-02
  16  Prefactor     .27761E-01    118.86        .72003E-05   -.40537E-03
  17  Prefactor     17.681        1.4071        .18136E-07   -.54967E-03
  18  norm          .10000E-03    3.8365        .57247E-07** at limit **
  19  Prefactor     9.0948        25.401        .20902E-05   -.94331E-03
  20  Prefactor     12.686        5.7288        .91524E-08    .40526E-03
  21  norm          4.6963        2.8552        .10424E-07   -.39746E-05
  22  norm          1.5676        7.1411       -.11967E-06   -.22327E-06
  23  Prefactor     16.375        1.4569       -.15342E-07   -.46573E-03
  24  Prefactor     7.4163        7.3176       -.66652E-06   -.13688E-03
  25  norm          2.5274        2.6324        .10610E-06    .17565E-04
  26  Prefactor     .10071E-03    43.755       -.47464E-05** at limit **
  27  norm          3.9080        2.6334        .17201E-07   -.70618E-05
  28  Normalizat    1.2322        .21279       -.10962E-06    .18759E-04
  29  Prefactor     .73937        .25640       -.13377E-06    .83162E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.5324
  Prefactor  = 0.000103771
  Prefactor  = 0.000100179
  norm       = 6.11213
  Prefactor  = 18.4312
  Prefactor  = 0.000100196
  Prefactor  = 0.000100154
  norm       = 0.000100001
  Prefactor  = 0.000103162
  Prefactor  = 0.000100165
  norm       = 0.0001
  Prefactor  = 0.000121952
  norm       = 0.0001
  norm       = 1.21713
  norm       = 5.94395
  Prefactor  = 0.0277614
  Prefactor  = 17.681
  norm       = 0.0001
  Prefactor  = 9.0948
  Prefactor  = 12.6858
  norm       = 4.69629
  norm       = 1.56758
  Prefactor  = 16.3751
  Prefactor  = 7.41632
  norm       = 2.52742
  Prefactor  = 0.000100712
  norm       = 3.90804
  Normalizat = 1.23225
  Prefactor  = 0.739369
 **********
 **   18 **HESSE 
 **********

 FCN=   5053.891     FROM HESSE     STATUS=OK           631 CALLS     3352 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.532        86.832        .22102E-02   -1.4801    
   2  Prefactor     .10377E-03    68.175        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10018E-03    92.827        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          6.1121        2.9145        .40599E-02   -1.5213    
   5  Prefactor     18.431        69.665        .23341E-02   -1.4849    
   6  Prefactor     .10020E-03    32.231        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10015E-03    30.592        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    23.865        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10316E-03    8.0888        .69053E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10016E-03    91.797        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.7508        .29386E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .12195E-03    223.65        .90712E-02   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.0534        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.2171        1.3739        .10229E-02   -1.5487    
  15  norm          5.9439        8.7676        .41175E-02   -1.5220    
  16  Prefactor     .27761E-01    2.1573        .66739E-01   -1.5675    
  17  Prefactor     17.681        57.225        .23821E-02   -1.4867    
  18  norm          .10000E-03    3.7874        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.0948        26.989        .33043E-02   -1.5105    
  20  Prefactor     12.686        9.5303        .28118E-02   -1.4995    
  21  norm          4.6963        2.8621        .46422E-02   -1.5275    
  22  norm          1.5676        8.6921        .84910E-02   -1.5458    
  23  Prefactor     16.375        28.353        .24751E-02   -1.4898    
  24  Prefactor     7.4163        7.3215        .36823E-02   -1.5163    
  25  norm          2.5274        2.6274        .64234E-02   -1.5390    
  26  Prefactor     .10071E-03    55.744        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          3.9080        2.6367        .51023E-02   -1.5313    
  28  Normalizat    1.2322        .19897        .34141E-01   -.85612    
  29  Prefactor     .73937        .22663        .73328E-01   -1.0200    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26148e-06
Minuit parameter uncertainties:
  1  84.6579
  2  0.0321056
  3  0.00817519
  4  2.91457
  5  69.9751
  6  0.0050265
  7  0.00434844
  8  0.000238596
  9  0.0101154
  10  0.00778999
  11  9.61448e-06
  12  0.140666
  13  3.6092e-08
  14  1.37393
  15  8.76945
  16  0.488582
  17  57.4034
  18  6.82461e-07
  19  27.0248
  20  9.53142
  21  2.86221
  22  7.38399
  23  28.3758
  24  7.32243
  25  2.6275
  26  0.0126112
  27  2.63677
  28  0.199088
  29  0.226919
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  2.776e-02  4.886e-01  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.412e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  7.394e-01  2.269e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.232e+00  1.991e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 178.350 49.517
Photon Flux Upper Limit: 8.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/147825/likelihoodResults_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.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) = 5053.85223104
delta logL = 0.0387983449082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5053.82470633
delta logL = 0.0663230546725

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29583       1.0000         .10000E-03   10000.    
     2 'Index     '    3.5680       1.0000          .0000       10.000    
     3 'Normalizat'    1.2144       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74963       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5053.825     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      245 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29609        9.1472        .22687E-01    .14260E-02
   2  Index         3.5676        3.6642        .21073        .61276E-04
   3  Normalizat    1.2144        .21458E-01    .34548E-01    .57213E-05
   4  Prefactor     .74953        .26368E-01    .72872E-01    .21231E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.296086
  Index      = 3.56763
  Normalizat = 1.21441
  Prefactor  = 0.749529
 **********
 **   18 **HESSE 
 **********

 FCN=   5053.825     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      280 TOTAL
                     EDM=   .13E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29609        108.86        .89294E-03   -1.5599    
   2  Index         3.5676        8.2145        .12854E-01   -.29054    
   3  Normalizat    1.2144        .13166        .21262E-03   -.86159    
   4  Prefactor     .74953        .16761        .32251E-03   -1.0162    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.26993e-11
Minuit parameter uncertainties:
  1  11.3737
  2  21.3587
  3  0.131694
  4  0.167727
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/147825': 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) = 5053.82470623
delta logL = 0.0663231538965

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  2.961e-01  1.137e+01  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  3.568e+00  2.136e+01  0.000e+00  1.000e+01 (-1.000e+00)
364        Scale:  7.717e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  7.495e-01  1.677e-01  0.000e+00  1.000e+01 ( 1.000e+00)
703        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
704        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
701   Normalization:  1.214e+00  1.317e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 178.350 49.517

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/147825/cmap_HighResolution_244252801_244512001_4FGL_J1153.4+4931_daily_bin19.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.44e-03', job_status='DONE', photon_flux_upper_limit='8.33e-08', time_completed='2021-09-04 15:12:18.290016', job_id='147825', GAL2='0.75', fit_tolerance='1e-08', EG2='1.21', EG='1.23', time_epoch_completed='1630793538.29', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='6.63e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='19' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:12:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 147825: <4FGL_J1153.4+4931_daily_bin19> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin19> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 14:57:08 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 14:57:10 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:57:10 2021
Terminated at Sat Sep  4 15:12:19 2021
Results reported at Sat Sep  4 15:12:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin19 178.35 49.5169 244252801 244512001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1153.4+4931 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   739.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             273.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   908 sec.
    Turnaround time :                            911 sec.

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

