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


Performing analysis on: 4FGL_J1153.4+4931_daily_bin813
RA = 178.35, Dec = 49.5169
tmin = 450057601, tmax = 450316801
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='152976', job_status='RUN', time_executed='2021-09-04 15:11:45.921495', time_epoch_executed='1630793505.92' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='813'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152976

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152976/ft1_4FGL_J1153.4+4931_daily_bin813.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152976/ft2_4FGL_J1153.4+4931_daily_bin813.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152976/ft1_4FGL_J1153.4+4931_daily_bin813.fits outfile=/scratch/kocevski/152976/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin813.fits ra=178.35 dec=49.5169 rad=12.0 tmin=450057601.0 tmax=450316801.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.55
user 3.30
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152976/ft2_4FGL_J1153.4+4931_daily_bin813.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/152976/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin813.fits evtable="EVENTS" outfile="/scratch/kocevski/152976/ft1_filtered_4FGL_J1153.4+4931_daily_bin813.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.48
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152976/ft1_filtered_4FGL_J1153.4+4931_daily_bin813.fits" evtable="EVENTS" scfile=/scratch/kocevski/152976/ft2_4FGL_J1153.4+4931_daily_bin813.fits sctable="SC_DATA" outfile=/scratch/kocevski/152976/ltcube_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.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/152976/ft2_4FGL_J1153.4+4931_daily_bin813.fits
.....................!
real 11.68
user 11.36
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152976/ft1_filtered_4FGL_J1153.4+4931_daily_bin813.fits evtable="EVENTS" scfile=/scratch/kocevski/152976/ft2_4FGL_J1153.4+4931_daily_bin813.fits sctable="SC_DATA" expcube=/scratch/kocevski/152976/ltcube_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.fits outfile=/scratch/kocevski/152976/expmap_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.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/152976/ltcube_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.fits
.....................!
real 189.79
user 184.83
sys 4.65

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/152976/ft1_filtered_4FGL_J1153.4+4931_daily_bin813.fits scfile=/scratch/kocevski/152976/ft2_4FGL_J1153.4+4931_daily_bin813.fits outfile=/scratch/kocevski/152976/cmap_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.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.52
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152976/ft1_filtered_4FGL_J1153.4+4931_daily_bin813.fits scfile=/scratch/kocevski/152976/ft2_4FGL_J1153.4+4931_daily_bin813.fits outfile=/scratch/kocevski/152976/cmap_HighResolution_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.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.55
user 0.38
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/152976/ft1_filtered_4FGL_J1153.4+4931_daily_bin813.fits', '/scratch/kocevski/152976/ft2_4FGL_J1153.4+4931_daily_bin813.fits', expMap='/scratch/kocevski/152976/expmap_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.fits', expCube='/scratch/kocevski/152976/ltcube_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/152976/Model_4FGL_J1153.4+4931_daily_bin813.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/152976/ft1_filtered_4FGL_J1153.4+4931_daily_bin813.fits
Spacecraft file(s): /scratch/kocevski/152976/ft2_4FGL_J1153.4+4931_daily_bin813.fits
Exposure map: /scratch/kocevski/152976/expmap_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.fits
Exposure cube: /scratch/kocevski/152976/ltcube_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/152976/Model_4FGL_J1153.4+4931_daily_bin813.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) = 6064.54655232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.907       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    31.646       1.0000         .10000E-03   10000.    
     4 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    33.657       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.0021       1.0000         .10000E-03   10000.    
    10 'Prefactor '    27.049       1.0000         .10000E-03   10000.    
    11 'norm      '    9.5427       1.0000         .10000E-03   10000.    
    12 'Prefactor '    64.017       1.0000         .10000E-03   10000.    
    13 'norm      '    3.5091       1.0000         .10000E-03   10000.    
    14 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.4259       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .17023E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.0130       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    11.907       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.3588       1.0000         .10000E-03   10000.    
    25 'norm      '    4.6004       1.0000         .10000E-03   10000.    
    26 'Prefactor '    33.906       1.0000         .10000E-03   10000.    
    27 'norm      '    2.3180       1.0000         .10000E-03   10000.    
    28 'Normalizat'    1.3353       1.0000         .10000E-01   10.000    
    29 'Prefactor '    .48603       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6064.545     FROM MIGRAD    STATUS=CONVERGED    708 CALLS     3659 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.892        59.877       -.29326E-04   -.15342E-04
   2  Prefactor     .10000E-03    38.441       -.11380E-04** at limit **
   3  Prefactor     31.626        92.922       -.28703E-04   -.13328E-04
   4  norm          .10000E-03    .79173        .18380E-07** at limit **
   5  Prefactor     .10000E-03    20.220       -.13659E-04** at limit **
   6  Prefactor     33.653        24.307       -.21370E-05    .99822E-05
   7  Prefactor     .10000E-03    28.628        .11792E-04** at limit **
   8  norm          .10000E-03    16.108        .42666E-05** at limit **
   9  Prefactor     5.0018        5.6338       -.93653E-07    .15815E-04
  10  Prefactor     27.043        22.594       -.39095E-05   -.16192E-04
  11  norm          9.5424        4.8744        .11178E-06   -.10051E-04
  12  Prefactor     64.013        47.115       -.35520E-05   -.23938E-04
  13  norm          3.5088        12.993        .15955E-06    .88385E-06
  14  norm          .10000E-03    .34604        .46585E-07** at limit **
  15  norm          4.4246        6.7737        .32047E-06   -.37555E-04
  16  Prefactor     .10000E-03    2.0907       -.26520E-06** at limit **
  17  Prefactor     .10000E-03    26.607        .76549E-05** at limit **
  18  norm          2.0126        4.0012       -.10646E-05   -.10532E-03
  19  Prefactor     .10000E-03    16.393       -.15240E-06** at limit **
  20  Prefactor     .10000E-03    2.5393        .75985E-08** at limit **
  21  norm          .10000E-03    1.1250       -.64765E-07** at limit **
  22  norm          11.908        7.6348       -.46853E-06    .36402E-04
  23  Prefactor     .10000E-03    7.7618       -.60467E-07** at limit **
  24  Prefactor     1.3625        1.6901        .76120E-06   -.30621E-02
  25  norm          4.5993        2.7993       -.27541E-06    .95510E-05
  26  Prefactor     33.903        21.115       -.16317E-05    .46311E-06
  27  norm          2.3178        1.6609       -.80443E-07    .13355E-04
  28  Normalizat    1.3354        .17463        .21643E-05    .11601E-04
  29  Prefactor     .48601        .20213        .92984E-06    .12898E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.8916
  Prefactor  = 0.0001
  Prefactor  = 31.626
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.6528
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 5.00181
  Prefactor  = 27.0425
  norm       = 9.54239
  Prefactor  = 64.0129
  norm       = 3.50883
  norm       = 0.0001
  norm       = 4.42464
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 2.01259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 11.9078
  Prefactor  = 0.0001
  Prefactor  = 1.36251
  norm       = 4.59932
  Prefactor  = 33.9034
  norm       = 2.31781
  Normalizat = 1.33543
  Prefactor  = 0.486007
 **********
 **   18 **HESSE 
 **********

 FCN=   6064.545     FROM HESSE     STATUS=OK           557 CALLS     4216 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.892        59.913        .97405E-04   -1.4886    
   2  Prefactor     .10000E-03    38.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     31.626        93.032        .71227E-04   -1.4583    
   4  norm          .10000E-03    .79826        .67574E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.217        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     33.653        24.312        .69072E-04   -1.4547    
   7  Prefactor     .10000E-03    28.642        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    16.109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     5.0018        5.6318        .17980E-03   -1.5261    
  10  Prefactor     27.043        22.575        .77027E-04   -1.4667    
  11  norm          9.5424        4.8707        .11407E-03   -1.5090    
  12  Prefactor     64.013        46.961        .50156E-04   -1.4106    
  13  norm          3.5088        12.932        .21582E-03   -1.5333    
  14  norm          .10000E-03    .35065        .88947E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.4246        6.7668        .19142E-03   -1.5287    
  16  Prefactor     .10000E-03    4.4023        .21620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    26.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.0126        3.9682        .20544E-03   -1.5424    
  19  Prefactor     .10000E-03    16.471        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.5446        .12113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.1780        .16108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          11.908        7.6344        .11609E-03   -1.5018    
  23  Prefactor     .10000E-03    7.7680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.3625        4.9577        .14864E-02   -1.5475    
  25  norm          4.5993        2.9844        .98028E-04   -1.5279    
  26  Prefactor     33.903        21.142        .68819E-04   -1.4543    
  27  norm          2.3178        1.6618        .82480E-04   -1.5403    
  28  Normalizat    1.3354        .19216        .19691E-03   -.82515    
  29  Prefactor     .48601        .22077        .37123E-03   -1.1262    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7081e-08
Minuit parameter uncertainties:
  1  60.1273
  2  0.000106027
  3  93.4632
  4  3.33713e-06
  5  7.74345e-05
  6  24.3191
  7  0.000108496
  8  2.32778e-05
  9  5.63236
  10  22.5817
  11  4.8709
  12  46.9877
  13  12.9424
  14  2.44286e-06
  15  6.76794
  16  9.71064e-05
  17  3.91659e-05
  18  3.96876
  19  4.24864e-05
  20  3.62749e-06
  21  9.18109e-06
  22  7.63499
  23  3.30164e-06
  24  4.95917
  25  2.98449
  26  21.1465
  27  1.66185
  28  0.192264
  29  0.221164
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.000e-04  9.711e-05  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:  4.860e-01  2.212e-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.335e+00  1.923e-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: 6.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.08e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152976/likelihoodResults_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.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) = 6064.54647037
delta logL = -0.00108138566611

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6064.54538924
delta logL = -2.53207872447e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4063       1.0000          .0000       10.000    
     3 'Normalizat'    1.3355       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .48599       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=   6064.545     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      227 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .20842        .36109E-01** at limit **
   2  Index         2.4008        5.8024        .50000        .10911E-04
   3  Normalizat    1.3354        .12557E-02    .32198E-01    .93758E-04
   4  Prefactor     .48600        .15021E-02    .83795E-01    .63531E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.40077
  Normalizat = 1.33544
  Prefactor  = 0.486004
 **********
 **   18 **HESSE 
 **********

 FCN=   6064.545     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      260 TOTAL
                     EDM=   .10E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    55.190        .21686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4008        5.6743        .50000       -.54667    
   3  Normalizat    1.3354        .14057E-01    .19691E-03   -.82515    
   4  Prefactor     .48600        .16767E-01    .37123E-03   -1.1262    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00854e-06
Minuit parameter uncertainties:
  1  0.000376816
  2  409.757
  3  0.0140573
  4  0.0167672
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152976': 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) = 6064.54538896
delta logL = 2.80024323729e-08

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.000e-04  3.768e-04  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.401e+00  4.098e+02  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:  4.860e-01  1.677e-02  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.335e+00  1.406e-02  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/152976/cmap_HighResolution_450057601_450316801_4FGL_J1153.4+4931_daily_bin813.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.08e-03', job_status='DONE', photon_flux_upper_limit='6.57e-08', time_completed='2021-09-04 15:26:44.034821', job_id='152976', GAL2='0.49', fit_tolerance='1e-08', EG2='1.34', EG='1.34', time_epoch_completed='1630794404.03', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.49', dlogl='2.80e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='813' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:26:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 152976: <4FGL_J1153.4+4931_daily_bin813> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin813> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 15:11:37 2021
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 15:11:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 15:11:38 2021
Terminated at Sat Sep  4 15:26:44 2021
Results reported at Sat Sep  4 15:26:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin813 178.35 49.5169 450057601 450316801 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 :                                   896.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             356.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   906 sec.
    Turnaround time :                            907 sec.

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

