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


Performing analysis on: 4FGL_J1153.4+4931_daily_bin615
RA = 178.35, Dec = 49.5169
tmin = 398736001, tmax = 398995201
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='152648', job_status='RUN', time_executed='2021-09-04 15:13:29.433870', time_epoch_executed='1630793609.43' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='615'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152648

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152648/ft1_4FGL_J1153.4+4931_daily_bin615.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152648/ft2_4FGL_J1153.4+4931_daily_bin615.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152648/ft1_4FGL_J1153.4+4931_daily_bin615.fits outfile=/scratch/kocevski/152648/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin615.fits ra=178.35 dec=49.5169 rad=12.0 tmin=398736001.0 tmax=398995201.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 6.21
user 5.93
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152648/ft2_4FGL_J1153.4+4931_daily_bin615.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/152648/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin615.fits evtable="EVENTS" outfile="/scratch/kocevski/152648/ft1_filtered_4FGL_J1153.4+4931_daily_bin615.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152648/ft1_filtered_4FGL_J1153.4+4931_daily_bin615.fits" evtable="EVENTS" scfile=/scratch/kocevski/152648/ft2_4FGL_J1153.4+4931_daily_bin615.fits sctable="SC_DATA" outfile=/scratch/kocevski/152648/ltcube_398736001_398995201_4FGL_J1153.4+4931_daily_bin615.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/152648/ft2_4FGL_J1153.4+4931_daily_bin615.fits
.....................!
real 14.81
user 14.43
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152648/ft1_filtered_4FGL_J1153.4+4931_daily_bin615.fits evtable="EVENTS" scfile=/scratch/kocevski/152648/ft2_4FGL_J1153.4+4931_daily_bin615.fits sctable="SC_DATA" expcube=/scratch/kocevski/152648/ltcube_398736001_398995201_4FGL_J1153.4+4931_daily_bin615.fits outfile=/scratch/kocevski/152648/expmap_398736001_398995201_4FGL_J1153.4+4931_daily_bin615.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/152648/ltcube_398736001_398995201_4FGL_J1153.4+4931_daily_bin615.fits
.....................!
real 190.37
user 184.83
sys 5.13

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/152648/ft1_filtered_4FGL_J1153.4+4931_daily_bin615.fits scfile=/scratch/kocevski/152648/ft2_4FGL_J1153.4+4931_daily_bin615.fits outfile=/scratch/kocevski/152648/cmap_398736001_398995201_4FGL_J1153.4+4931_daily_bin615.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.53
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152648/ft1_filtered_4FGL_J1153.4+4931_daily_bin615.fits scfile=/scratch/kocevski/152648/ft2_4FGL_J1153.4+4931_daily_bin615.fits outfile=/scratch/kocevski/152648/cmap_HighResolution_398736001_398995201_4FGL_J1153.4+4931_daily_bin615.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25370E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    1.6835       1.0000         .10000E-03   10000.    
     5 'Prefactor '    96.301       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.696       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.6269       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    2.7425       1.0000         .10000E-03   10000.    
    15 'norm      '    .10971E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4188       1.0000         .10000E-03   10000.    
    17 'Prefactor '    138.79       1.0000         .10000E-03   10000.    
    18 'norm      '    5.3577       1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.318       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    1.6555       1.0000         .10000E-03   10000.    
    22 'norm      '    3.2220       1.0000         .10000E-03   10000.    
    23 'Prefactor '    14.604       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    7.1253       1.0000         .10000E-03   10000.    
    26 'Prefactor '    31.060       1.0000         .10000E-03   10000.    
    27 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Normalizat'    .92630       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1231       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=   4558.586     FROM MIGRAD    STATUS=CONVERGED    714 CALLS     3679 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    620.19        .14552E-04** at limit **
   2  Prefactor     .10000E-03    91.906        .35768E-07** at limit **
   3  Prefactor     .10000E-03    24.415       -.48765E-07** at limit **
   4  norm          1.6836        1.6875        .29421E-07    .17247E-04
   5  Prefactor     96.308        69.664       -.96782E-06   -.80698E-04
   6  Prefactor     17.696        17.182        .10514E-06   -.75523E-05
   7  Prefactor     .10000E-03    31.975       -.66785E-06** at limit **
   8  norm          .10000E-03    28.633        .59604E-06** at limit **
   9  Prefactor     .10000E-03    2.6795        .44154E-07** at limit **
  10  Prefactor     .10000E-03    17.766        .68599E-08** at limit **
  11  norm          3.6275        4.0794        .44504E-06    .14349E-03
  12  Prefactor     .10000E-03    24.116       -.37108E-06** at limit **
  13  norm          .10000E-03    6.9686        .27940E-08** at limit **
  14  norm          2.7424        1.3919       -.57442E-07   -.64923E-04
  15  norm          .10000E-03    24.559       -.10773E-05** at limit **
  16  Prefactor     2.4161        5.6040        .10346E-05    .10460E-03
  17  Prefactor     138.77        82.588        .19599E-05    .58912E-04
  18  norm          5.3576        4.6630       -.13322E-06   -.13351E-03
  19  Prefactor     46.327        36.494       -.13591E-05   -.97310E-04
  20  Prefactor     .10000E-03    9.2766        .46598E-06** at limit **
  21  norm          1.6559        2.5684        .10549E-06   -.28470E-04
  22  norm          3.2220        10.209        .46822E-05   -.19103E-03
  23  Prefactor     14.606        28.861       -.28943E-05   -.44646E-05
  24  Prefactor     .10000E-03    2.8447       -.12521E-08** at limit **
  25  norm          7.1254        4.1130        .53683E-07    .19278E-04
  26  Prefactor     31.056        28.093        .44775E-06    .12802E-04
  27  norm          .10000E-03    .96072        .39543E-08** at limit **
  28  Normalizat    .92627        .21089       -.88538E-06   -.19035E-03
  29  Prefactor     1.1231        .25462       -.34756E-06   -.14528E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.68362
  Prefactor  = 96.3085
  Prefactor  = 17.696
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.62749
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.74243
  norm       = 0.000100001
  Prefactor  = 2.41609
  Prefactor  = 138.775
  norm       = 5.3576
  Prefactor  = 46.3269
  Prefactor  = 0.0001
  norm       = 1.6559
  norm       = 3.22196
  Prefactor  = 14.6064
  Prefactor  = 0.0001
  norm       = 7.12543
  Prefactor  = 31.0556
  norm       = 0.0001
  Normalizat = 0.926268
  Prefactor  = 1.12312
 **********
 **   18 **HESSE 
 **********

 FCN=   4558.586     FROM HESSE     STATUS=OK           547 CALLS     4226 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    625.70        .42918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    91.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    24.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.6836        1.6987        .85183E-04   -1.5448    
   5  Prefactor     96.308        70.094        .40959E-04   -1.3742    
   6  Prefactor     17.696        17.201        .95210E-04   -1.4866    
   7  Prefactor     .10000E-03    31.979        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    28.649        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.6877        .10792E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.6275        4.0772        .13930E-03   -1.5327    
  12  Prefactor     .10000E-03    24.146        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.9687        .17408E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          2.7424        1.3922        .53013E-04   -1.5377    
  15  norm          .10000E-03    25.312        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     2.4161        5.5537        .19777E-03   -1.5397    
  17  Prefactor     138.77        82.870        .17096E-03   -1.3346    
  18  norm          5.3576        4.6465        .13139E-03   -1.5245    
  19  Prefactor     46.327        36.115        .58914E-04   -1.4346    
  20  Prefactor     .10000E-03    9.4420        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.6559        2.5461        .12725E-03   -1.5451    
  22  norm          3.2220        10.334        .11284E-02   -1.5349    
  23  Prefactor     14.606        29.032        .10481E-03   -1.4943    
  24  Prefactor     .10000E-03    2.8524        .11120E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          7.1254        4.1142        .10132E-03   -1.5174    
  26  Prefactor     31.056        28.141        .71894E-04   -1.4593    
  27  norm          .10000E-03    .96825        .64621E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Normalizat    .92627        .25401        .24957E-03   -.95543    
  29  Prefactor     1.1231        .30664        .28786E-03   -.88731    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.31449e-10
Minuit parameter uncertainties:
  1  0.0011499
  2  5.05598e-05
  3  4.22058e-06
  4  1.69877
  5  70.1545
  6  17.206
  7  6.28984e-05
  8  5.71892e-05
  9  4.53862e-06
  10  1.42868e-05
  11  4.0775
  12  6.24896e-05
  13  1.8249e-06
  14  1.39219
  15  0.000308845
  16  5.55492
  17  82.9393
  18  4.64684
  19  36.1317
  20  7.10072e-05
  21  2.54626
  22  10.3394
  23  29.0596
  24  3.14293e-07
  25  4.11434
  26  28.1533
  27  3.07626e-07
  28  0.254336
  29  0.307126
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  2.416e+00  5.555e+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.123e+00  3.071e-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:  9.263e-01  2.543e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.28
Ra Dec: 178.350 49.517
Photon Flux Upper Limit: 1.29e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152648/likelihoodResults_398736001_398995201_4FGL_J1153.4+4931_daily_bin615.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): 0
logL (Free Index) = 4557.64906201
delta logL = 0.937178678224

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4557.63186885
delta logL = 0.954371837443

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96195       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8415       1.0000          .0000       10.000    
     3 'Normalizat'    .84551       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1860       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=   4557.632     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      247 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .96143        11.825        .10705E-01    .67266E-03
   2  Index         3.8432        3.0689        .12874        .10400E-03
   3  Normalizat    .84572        .51641E-01    .44201E-01    .11249E-04
   4  Prefactor     1.1859        .65163E-01    .63498E-01    .21502E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.961435
  Index      = 3.84316
  Normalizat = 0.845723
  Prefactor  = 1.18587
 **********
 **   18 **HESSE 
 **********

 FCN=   4557.632     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .53E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .96143        3.6558        .48401E-04   -1.5512    
   2  Index         3.8432        2.1176        .48027E-02   -.23348    
   3  Normalizat    .84572        .24967        .25952E-03   -.98394    
   4  Prefactor     1.1859        .30858        .28086E-03   -.86767    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.29444e-11
Minuit parameter uncertainties:
  1  3.65668
  2  2.19095
  3  0.250009
  4  0.309054
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152648': 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) = 4557.63186211
delta logL = 0.95437858447

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  9.614e-01  3.657e+00  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  3.843e+00  2.191e+00  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.186e+00  3.091e-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.457e-01  2.500e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.31
Ra Dec: 178.350 49.517
Photon Index (Free Index): 3.84 +/- 2.19
Photon Flux (Free Index): 8.73e-08 +/- 6.74e-08
Energy Flux (Free Index): 1.34e-05 +/- 1.19e-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/152648/cmap_HighResolution_398736001_398995201_4FGL_J1153.4+4931_daily_bin615.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.96e-03', comment='SUCCESS', energy_flux2='1.34e-05', dlogl='9.54e-01', photon_flux2='8.73e-08', job_status='DONE', time_completed='2021-09-04 15:26:19.168035', photon_index_error2='2.19', photon_index2='3.84', ts='0.28', fit_tolerance='1e-08', GAL='1.12', photon_index_error='0.00', photon_flux_upper_limit='1.29e-07', energy_flux_error2='1.19e-05', EG='0.93', time_epoch_completed='1630794379.17', return_code='0', job_id='152648', GAL2='1.19', EG2='0.85', return_code2='0', photon_flux_error2='6.74e-08', ts2='2.31', photon_index='2.41' WHERE bin_id='615' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:26:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 152648: <4FGL_J1153.4+4931_daily_bin615> in cluster <slac> Done

Job <4FGL_J1153.4+4931_daily_bin615> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 15:11:12 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 15:11:13 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:13 2021
Terminated at Sat Sep  4 15:26:21 2021
Results reported at Sat Sep  4 15:26:21 2021

Your job looked like:

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

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

