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


Performing analysis on: 4FGL_J1153.4+4931_daily_bin430
RA = 178.35, Dec = 49.5169
tmin = 350784001, tmax = 351043201
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='150943', job_status='RUN', time_executed='2021-09-04 15:09:21.335423', time_epoch_executed='1630793361.34' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='430'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/150943

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/150943/ft1_4FGL_J1153.4+4931_daily_bin430.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/150943/ft2_4FGL_J1153.4+4931_daily_bin430.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/150943/ft1_4FGL_J1153.4+4931_daily_bin430.fits outfile=/scratch/kocevski/150943/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin430.fits ra=178.35 dec=49.5169 rad=12.0 tmin=350784001.0 tmax=351043201.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.16
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/150943/ft2_4FGL_J1153.4+4931_daily_bin430.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/150943/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin430.fits evtable="EVENTS" outfile="/scratch/kocevski/150943/ft1_filtered_4FGL_J1153.4+4931_daily_bin430.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.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/150943/ft1_filtered_4FGL_J1153.4+4931_daily_bin430.fits" evtable="EVENTS" scfile=/scratch/kocevski/150943/ft2_4FGL_J1153.4+4931_daily_bin430.fits sctable="SC_DATA" outfile=/scratch/kocevski/150943/ltcube_350784001_351043201_4FGL_J1153.4+4931_daily_bin430.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/150943/ft2_4FGL_J1153.4+4931_daily_bin430.fits
.....................!
real 12.07
user 11.70
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/150943/ft1_filtered_4FGL_J1153.4+4931_daily_bin430.fits evtable="EVENTS" scfile=/scratch/kocevski/150943/ft2_4FGL_J1153.4+4931_daily_bin430.fits sctable="SC_DATA" expcube=/scratch/kocevski/150943/ltcube_350784001_351043201_4FGL_J1153.4+4931_daily_bin430.fits outfile=/scratch/kocevski/150943/expmap_350784001_351043201_4FGL_J1153.4+4931_daily_bin430.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/150943/ltcube_350784001_351043201_4FGL_J1153.4+4931_daily_bin430.fits
.....................!
real 190.18
user 185.42
sys 4.43

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/150943/ft1_filtered_4FGL_J1153.4+4931_daily_bin430.fits scfile=/scratch/kocevski/150943/ft2_4FGL_J1153.4+4931_daily_bin430.fits outfile=/scratch/kocevski/150943/cmap_350784001_351043201_4FGL_J1153.4+4931_daily_bin430.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/150943/ft1_filtered_4FGL_J1153.4+4931_daily_bin430.fits scfile=/scratch/kocevski/150943/ft2_4FGL_J1153.4+4931_daily_bin430.fits outfile=/scratch/kocevski/150943/cmap_HighResolution_350784001_351043201_4FGL_J1153.4+4931_daily_bin430.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.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.448       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    94.356       1.0000         .10000E-03   10000.    
     4 'norm      '    4.4660       1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.093       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5819       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    23.817       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    4.4563       1.0000         .10000E-03   10000.    
    15 'norm      '    2.5814       1.0000         .10000E-03   10000.    
    16 'Prefactor '    8.2173       1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.588       1.0000         .10000E-03   10000.    
    18 'norm      '    4.4123       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    20.471       1.0000         .10000E-03   10000.    
    21 'norm      '    1.4089       1.0000         .10000E-03   10000.    
    22 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    38.595       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    3.5066       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    1.9682       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .82911       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1512       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=   5351.308     FROM MIGRAD    STATUS=CONVERGED     90 CALLS     3052 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.449        1.0063        .94082E-07   -.12040E-03
   2  Prefactor     .10004E-03    50.261       -.11886E-04** at limit **
   3  Prefactor     94.356        1.0030        .24668E-07   -.26363E-03
   4  norm          4.4662        2.7176       -.44888E-08   -.48987E-04
   5  Prefactor     47.094        1.0538        .14431E-06   -.79110E-03
   6  Prefactor     .10005E-03    9.9098        .10421E-04** at limit **
   7  Prefactor     .10011E-03    11.164        .12347E-04** at limit **
   8  norm          .10002E-03    7.2060       -.24071E-06** at limit **
   9  Prefactor     3.5819        3.0985       -.25642E-05   -.39596E-03
  10  Prefactor     .10010E-03    14.638       -.16599E-04** at limit **
  11  norm          .10000E-03    3.3132       -.25760E-06** at limit **
  12  Prefactor     23.817        1.0005        .12548E-07   -.22855E-04
  13  norm          .10003E-03    6.0723        .47669E-05** at limit **
  14  norm          4.4562        1.5205        .91827E-07   -.30117E-04
  15  norm          2.5812        1.0210        .55234E-07    .20691E-04
  16  Prefactor     8.2173        3.2346       -.21759E-05   -.25469E-02
  17  Prefactor     53.590        1.2081        .27663E-06   -.17566E-02
  18  norm          4.4125        1.0947        .29681E-06    .75698E-03
  19  Prefactor     .10001E-03    13.513        .20199E-05** at limit **
  20  Prefactor     20.471        1.0051        .50344E-07    .33198E-03
  21  norm          1.4090        1.8098        .14647E-06    .16900E-05
  22  norm          .10000E-03    3.3825        .52487E-07** at limit **
  23  Prefactor     38.598        1.2166        .31107E-06   -.12275E-02
  24  Prefactor     .10009E-03    4.7240       -.68558E-05** at limit **
  25  norm          3.5064        2.8220       -.24128E-06    .38942E-04
  26  Prefactor     .10002E-03    7.7017        .13262E-05** at limit **
  27  norm          1.9681        1.6776       -.46548E-06    .21734E-04
  28  Normalizat    .82893        .20568        .10106E-05   -.11049E-04
  29  Prefactor     1.1514        .25902        .81944E-06    .26808E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4487
  Prefactor  = 0.000100039
  Prefactor  = 94.3565
  norm       = 4.46624
  Prefactor  = 47.0941
  Prefactor  = 0.00010005
  Prefactor  = 0.000100108
  norm       = 0.000100025
  Prefactor  = 3.58191
  Prefactor  = 0.000100102
  norm       = 0.0001
  Prefactor  = 23.8166
  norm       = 0.000100032
  norm       = 4.45623
  norm       = 2.58116
  Prefactor  = 8.21733
  Prefactor  = 53.5896
  norm       = 4.41246
  Prefactor  = 0.000100013
  Prefactor  = 20.4712
  norm       = 1.40903
  norm       = 0.0001
  Prefactor  = 38.5977
  Prefactor  = 0.000100087
  norm       = 3.50635
  Prefactor  = 0.000100019
  norm       = 1.96815
  Normalizat = 0.828926
  Prefactor  = 1.1514
 **********
 **   18 **HESSE 
 **********

 FCN=   5351.308     FROM HESSE     STATUS=OK           619 CALLS     3671 TOTAL
                     EDM=   .80E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.449        164.02        .29600E-02   -1.5031    
   2  Prefactor     .10004E-03    51.644        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     94.356        99.283        .10344E-02   -1.3762    
   4  norm          4.4662        2.7289        .47634E-02   -1.5285    
   5  Prefactor     47.094        53.673        .14607E-02   -1.4334    
   6  Prefactor     .10005E-03    27.821        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10011E-03    28.770        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10002E-03    25.181        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.5819        4.5020        .53381E-02   -1.5329    
  10  Prefactor     .10010E-03    21.700        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    3.1808        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     23.817        41.296        .20520E-02   -1.4732    
  13  norm          .10003E-03    7.0950        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          4.4562        1.7573        .47687E-02   -1.5286    
  15  norm          2.5812        7.8873        .63502E-02   -1.5387    
  16  Prefactor     8.2173        4.3484        .34964E-02   -1.5135    
  17  Prefactor     53.590        78.118        .13698E-02   -1.4243    
  18  norm          4.4125        5.5939        .47931E-02   -1.5288    
  19  Prefactor     .10001E-03    13.897        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     20.471        12.044        .22131E-02   -1.4803    
  21  norm          1.4090        1.8369        .91270E-02   -1.5471    
  22  norm          .10000E-03    3.3592        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     38.598        25.930        .16129E-02   -1.4465    
  24  Prefactor     .10009E-03    7.1974        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          3.5064        2.8294        .53975E-02   -1.5333    
  26  Prefactor     .10002E-03    8.2986        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          1.9681        1.6738        .73897E-02   -1.5427    
  28  Normalizat    .82893        .18333        .43989E-01   -.99005    
  29  Prefactor     1.1514        .22161        .62486E-01   -.87840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.0119e-08
Minuit parameter uncertainties:
  1  86.9553
  2  0.00282753
  3  99.4585
  4  2.72896
  5  53.7281
  6  0.0023487
  7  0.00353327
  8  0.00157857
  9  4.5024
  10  0.00296954
  11  6.15553e-06
  12  41.3452
  13  0.00094605
  14  1.75734
  15  7.89048
  16  4.34858
  17  78.2675
  18  5.59452
  19  0.000864073
  20  12.0456
  21  1.83696
  22  1.2436e-06
  23  25.938
  24  0.00158492
  25  2.82949
  26  0.000798593
  27  1.67385
  28  0.18347
  29  0.22179
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  8.217e+00  4.349e+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

GAL_V02
   Spectrum: PowerLaw
702    Prefactor:  1.151e+00  2.218e-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:  8.289e-01  1.835e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.10
Ra Dec: 178.350 49.517
Photon Index (Fixed Index): 2.41 +/- 0.00
Photon Flux (Fixed Index): 8.05e-08 +/- 4.26e-08
Energy Flux (Fixed Index): 2.60e-05 +/- 1.37e-05

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5351.14040913
delta logL = 0.167353744755

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5351.13132782
delta logL = 0.176435053017

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2029       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7278       1.0000          .0000       10.000    
     3 'Normalizat'    .80805       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1708       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=   5351.131     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      259 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2041        58.382        .40296E-02    .86533E-03
   2  Index         2.7280        3.3931        .12500        .25355E-03
   3  Normalizat    .80805        .85313E-01    .43715E-01    .51680E-04
   4  Prefactor     1.1707        .97479E-01    .62049E-01   -.10834E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.20414
  Index      = 2.72797
  Normalizat = 0.808054
  Prefactor  = 1.17068
 **********
 **   18 **HESSE 
 **********

 FCN=   5351.131     FROM HESSE     STATUS=OK            33 CALLS      292 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2041        5.4157        .87554E-04   -1.5210    
   2  Index         2.7280        .61654        .49385E-02   -.47170    
   3  Normalizat    .80805        .20710        .25427E-03   -.99771    
   4  Prefactor     1.1707        .26158        .27443E-03   -.87238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99963e-10
Minuit parameter uncertainties:
  1  5.41615
  2  0.618526
  3  0.207298
  4  0.261866
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/150943': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5351.13132694
delta logL = 0.176435931357

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  6.204e+00  5.416e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.728e+00  6.185e-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:  1.171e+00  2.619e-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:  8.081e-01  2.073e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.40
Ra Dec: 178.350 49.517
Photon Index (Free Index): 2.73 +/- 0.62
Photon Flux (Free Index): 9.47e-08 +/- 5.15e-08
Energy Flux (Free Index): 2.23e-05 +/- 1.28e-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/150943/cmap_HighResolution_350784001_351043201_4FGL_J1153.4+4931_daily_bin430.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.05e-08', energy_flux2='2.23e-05', photon_flux_error='4.26e-08', dlogl='1.76e-01', energy_flux='2.60e-05', photon_flux2='9.47e-08', job_status='DONE', time_completed='2021-09-04 15:20:56.950785', photon_index_error2='0.62', photon_index2='2.73', ts='6.10', fit_tolerance='1e-08', GAL='1.15', photon_index_error='0.00', energy_flux_error2='1.28e-05', EG='0.83', time_epoch_completed='1630794056.95', return_code='0', job_id='150943', GAL2='1.17', EG2='0.81', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='5.15e-08', ts2='6.40', photon_index='2.41' WHERE bin_id='430' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:20:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 150943: <4FGL_J1153.4+4931_daily_bin430> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin430> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 15:06:22 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 15:06:23 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:06:23 2021
Terminated at Sat Sep  4 15:20:59 2021
Results reported at Sat Sep  4 15:20:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin430 178.35 49.5169 350784001 351043201 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 :                                   693.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             248.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            877 sec.

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

