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


Performing analysis on: 4FGL_J1153.4+4931_daily_bin922
RA = 178.35, Dec = 49.5169
tmin = 478310401, tmax = 478569601
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='154246', job_status='RUN', time_executed='2021-09-04 15:16:33.894607', time_epoch_executed='1630793793.89' WHERE source_name='4FGL J1153.4+4931' and cadence='daily' and bin_id='922'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/154246

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/154246/ft1_4FGL_J1153.4+4931_daily_bin922.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/154246/ft2_4FGL_J1153.4+4931_daily_bin922.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/154246/ft1_4FGL_J1153.4+4931_daily_bin922.fits outfile=/scratch/kocevski/154246/ft1_filteredMKT_4FGL_J1153.4+4931_daily_bin922.fits ra=178.35 dec=49.5169 rad=12.0 tmin=478310401.0 tmax=478569601.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.50
user 3.30
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/154246/ft1_filtered_4FGL_J1153.4+4931_daily_bin922.fits" evtable="EVENTS" scfile=/scratch/kocevski/154246/ft2_4FGL_J1153.4+4931_daily_bin922.fits sctable="SC_DATA" outfile=/scratch/kocevski/154246/ltcube_478310401_478569601_4FGL_J1153.4+4931_daily_bin922.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/154246/ft2_4FGL_J1153.4+4931_daily_bin922.fits
.....................!
real 11.74
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/154246/ft1_filtered_4FGL_J1153.4+4931_daily_bin922.fits evtable="EVENTS" scfile=/scratch/kocevski/154246/ft2_4FGL_J1153.4+4931_daily_bin922.fits sctable="SC_DATA" expcube=/scratch/kocevski/154246/ltcube_478310401_478569601_4FGL_J1153.4+4931_daily_bin922.fits outfile=/scratch/kocevski/154246/expmap_478310401_478569601_4FGL_J1153.4+4931_daily_bin922.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/154246/ltcube_478310401_478569601_4FGL_J1153.4+4931_daily_bin922.fits
.....................!
real 190.73
user 184.92
sys 5.45

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/154246/ft1_filtered_4FGL_J1153.4+4931_daily_bin922.fits scfile=/scratch/kocevski/154246/ft2_4FGL_J1153.4+4931_daily_bin922.fits outfile=/scratch/kocevski/154246/cmap_478310401_478569601_4FGL_J1153.4+4931_daily_bin922.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/154246/ft1_filtered_4FGL_J1153.4+4931_daily_bin922.fits scfile=/scratch/kocevski/154246/ft2_4FGL_J1153.4+4931_daily_bin922.fits outfile=/scratch/kocevski/154246/cmap_HighResolution_478310401_478569601_4FGL_J1153.4+4931_daily_bin922.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    63.977       1.0000         .10000E-03   10000.    
     2 'Prefactor '    69.577       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.752       1.0000         .10000E-03   10000.    
     4 'norm      '    1.7434       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.054       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 '    1.3326       1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5277       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8735       1.0000         .10000E-03   10000.    
    12 'Prefactor '    31.955       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .56438       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    28.174       1.0000         .10000E-03   10000.    
    18 'norm      '    .99161       1.0000         .10000E-03   10000.    
    19 'Prefactor '    58.759       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.8618       1.0000         .10000E-03   10000.    
    21 'norm      '    .14726E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    7.1300       1.0000         .10000E-03   10000.    
    23 'Prefactor '    76.772       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .25059E-02   1.0000         .10000E-03   10000.    
    25 'norm      '    4.8032       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    5.3051       1.0000         .10000E-03   10000.    
    28 'Normalizat'    .67297       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.1089       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=   6583.216     FROM MIGRAD    STATUS=CONVERGED    719 CALLS     3726 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.018        76.313       -.15997E-05   -.55568E-04
   2  Prefactor     69.666        91.584       -.34276E-05   -.10022E-03
   3  Prefactor     20.763        48.732       -.68495E-06   -.16102E-04
   4  norm          1.7433        1.5444        .65709E-07    .11136E-03
   5  Prefactor     .10000E-03    14.352        .27158E-06** at limit **
   6  Prefactor     37.054        21.860       -.38698E-07    .23355E-04
   7  Prefactor     .10000E-03    13.835        .36588E-06** at limit **
   8  norm          .10000E-03    17.113       -.70800E-06** at limit **
   9  Prefactor     1.3323        5.1840        .56142E-06    .30421E-03
  10  Prefactor     3.5288        14.806        .73135E-07    .36484E-04
  11  norm          1.8732        2.4672        .11143E-06    .25500E-03
  12  Prefactor     31.965        31.347        .10441E-05    .89468E-04
  13  norm          .10000E-03    4.9686       -.58904E-07** at limit **
  14  norm          .56391        .73977       -.54683E-06   -.21409E-02
  15  norm          .10000E-03    8.5278        .19173E-06** at limit **
  16  Prefactor     .10000E-03    1.0822        .67468E-08** at limit **
  17  Prefactor     28.188        43.033        .13059E-05    .36854E-04
  18  norm          .99070        4.4452        .44620E-06    .32801E-03
  19  Prefactor     58.762        24.218       -.11683E-06    .92450E-04
  20  Prefactor     4.8630        5.0512       -.24827E-08    .10798E-03
  21  norm          .10001E-03    1.0766       -.83988E-06** at limit **
  22  norm          7.1300        7.5893        .96730E-06    .10439E-02
  23  Prefactor     76.774        29.436       -.56223E-06    .11505E-03
  24  Prefactor     .10054E-03    6.0147       -.26093E-05** at limit **
  25  norm          4.8027        3.0115       -.12172E-07    .10794E-02
  26  Prefactor     .10000E-03    8.3913       -.21494E-06** at limit **
  27  norm          5.3051        2.3647       -.39760E-08    .39842E-03
  28  Normalizat    .67291        .15271        .24542E-06    .61311E-03
  29  Prefactor     1.1090        .18261        .25189E-06    .47860E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.0175
  Prefactor  = 69.6656
  Prefactor  = 20.7626
  norm       = 1.74332
  Prefactor  = 0.0001
  Prefactor  = 37.0543
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.33227
  Prefactor  = 3.52882
  norm       = 1.87319
  Prefactor  = 31.9648
  norm       = 0.0001
  norm       = 0.563906
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 28.1877
  norm       = 0.990697
  Prefactor  = 58.7622
  Prefactor  = 4.86296
  norm       = 0.00010001
  norm       = 7.12999
  Prefactor  = 76.7735
  Prefactor  = 0.000100542
  norm       = 4.80274
  Prefactor  = 0.0001
  norm       = 5.30506
  Normalizat = 0.672906
  Prefactor  = 1.10902
 **********
 **   18 **HESSE 
 **********

 FCN=   6583.216     FROM HESSE     STATUS=OK           553 CALLS     4279 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.018        76.019        .50171E-04   -1.4106    
   2  Prefactor     69.666        90.315        .24062E-03   -1.4037    
   3  Prefactor     20.763        48.686        .87925E-04   -1.4796    
   4  norm          1.7433        1.5508        .89896E-04   -1.5444    
   5  Prefactor     .10000E-03    14.361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     37.054        21.779        .65840E-04   -1.4490    
   7  Prefactor     .10000E-03    13.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    17.084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.3323        5.1499        .33522E-03   -1.5477    
  10  Prefactor     3.5288        14.677        .21523E-03   -1.5332    
  11  norm          1.8732        2.4437        .14056E-03   -1.5434    
  12  Prefactor     31.965        31.316        .70882E-04   -1.4577    
  13  norm          .10000E-03    4.9692        .17663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .56391        .74829        .80627E-03   -1.5558    
  15  norm          .10000E-03    8.7646        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    1.0883        .82241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     28.188        42.936        .75477E-04   -1.4646    
  18  norm          .99070        4.3584        .30107E-03   -1.5509    
  19  Prefactor     58.762        24.168        .52338E-04   -1.4173    
  20  Prefactor     4.8630        4.9580        .16950E-03   -1.5267    
  21  norm          .10001E-03    5.1401        .13953E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          7.1300        7.7015        .75114E-03   -1.5174    
  23  Prefactor     76.774        29.550        .45829E-04   -1.3953    
  24  Prefactor     .10054E-03    37.312        .27593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          4.8027        2.8823        .10347E-03   -1.5270    
  26  Prefactor     .10000E-03    8.4100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          5.3051        2.3625        .80453E-04   -1.5247    
  28  Normalizat    .67291        .17373        .24957E-03   -1.0497    
  29  Prefactor     1.1090        .21297        .25613E-03   -.89179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79589e-08
Minuit parameter uncertainties:
  1  76.1348
  2  90.4933
  3  48.7791
  4  1.55079
  5  5.16476e-05
  6  21.7837
  7  4.98085e-05
  8  0.000107112
  9  5.15164
  10  14.3993
  11  2.44381
  12  31.3322
  13  6.34314e-06
  14  0.748297
  15  3.15682e-05
  16  9.16901e-07
  17  42.9836
  18  4.15617
  19  24.1724
  20  4.95844
  21  0.000461459
  22  7.7026
  23  29.5556
  24  0.00899906
  25  2.88239
  26  2.69673e-05
  27  2.36258
  28  0.17387
  29  0.213133
Done.

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

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.000e-04  9.169e-07  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.109e+00  2.131e-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:  6.729e-01  1.739e-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: 4.84e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/154246/likelihoodResults_478310401_478569601_4FGL_J1153.4+4931_daily_bin922.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) = 6583.22029145
delta logL = -0.00433200611951

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6583.21595944
delta logL = 2.00543581741e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4130       1.0000          .0000       10.000    
     3 'Normalizat'    .67291       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1090       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=   6583.216     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      201 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    74.458        .90712E-02** at limit **
   2  Index         2.4142        5.0255        .50000       -.99718E-05
   3  Normalizat    .67290        .31779E-01    .41928E-01    .57086E-04
   4  Prefactor     1.1090        .41107E-01    .57923E-01    .56936E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.41418
  Normalizat = 0.672904
  Prefactor  = 1.10902
 **********
 **   18 **HESSE 
 **********

 FCN=   6583.216     FROM HESSE     STATUS=OK            33 CALLS      234 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6844        .82242E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4142        6.1485        .50000       -.54353    
   3  Normalizat    .67290        .16189        .24958E-03   -1.0497    
   4  Prefactor     1.1090        .20978        .25613E-03   -.89179    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.11979e-10
Minuit parameter uncertainties:
  1  9.40555e-06
  2  5.32479
  3  0.162005
  4  0.209935
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/154246': 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) = 6583.21595944
delta logL = 5.39785105502e-09

Extracting fit parameters...

4FGL J1153.4+4931
   Spectrum: PowerLaw
362    Prefactor:  1.000e-04  9.406e-06  1.000e-04  1.000e+04 ( 1.000e-12)
363        Index:  2.414e+00  5.325e+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.109e+00  2.099e-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:  6.729e-01  1.620e-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 -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/154246/cmap_HighResolution_478310401_478569601_4FGL_J1153.4+4931_daily_bin922.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-03', job_status='DONE', photon_flux_upper_limit='4.84e-08', time_completed='2021-09-04 15:32:30.593381', job_id='154246', GAL2='1.11', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1630794750.59', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='5.40e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.41' WHERE bin_id='922' AND source_name='4FGL J1153.4+4931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 15:32:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 154246: <4FGL_J1153.4+4931_daily_bin922> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1153.4+4931_daily_bin922 178.35 49.5169 478310401 478569601 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 :                                   955.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             299.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   968 sec.
    Turnaround time :                            971 sec.

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

