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


Performing analysis on: 4FGL_J1147.8-0724_daily_bin666
RA = 176.961, Dec = -7.4144
tmin = 411955201, tmax = 412214401
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='66143', job_status='RUN', time_executed='2021-09-04 11:02:55.303047', time_epoch_executed='1630778575.3' WHERE source_name='4FGL J1147.8-0724' and cadence='daily' and bin_id='666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/66143

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/66143/ft1_4FGL_J1147.8-0724_daily_bin666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/66143/ft1_4FGL_J1147.8-0724_daily_bin666.fits outfile=/scratch/kocevski/66143/ft1_filteredMKT_4FGL_J1147.8-0724_daily_bin666.fits ra=176.961 dec=-7.4144 rad=12.0 tmin=411955201.0 tmax=412214401.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 5.66
user 5.40
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.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/66143/ft1_filteredMKT_4FGL_J1147.8-0724_daily_bin666.fits evtable="EVENTS" outfile="/scratch/kocevski/66143/ft1_filtered_4FGL_J1147.8-0724_daily_bin666.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.52
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/66143/ft1_filtered_4FGL_J1147.8-0724_daily_bin666.fits" evtable="EVENTS" scfile=/scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits sctable="SC_DATA" outfile=/scratch/kocevski/66143/ltcube_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.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/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits
.....................!
real 11.99
user 11.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/66143/ft1_filtered_4FGL_J1147.8-0724_daily_bin666.fits evtable="EVENTS" scfile=/scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits sctable="SC_DATA" expcube=/scratch/kocevski/66143/ltcube_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.fits outfile=/scratch/kocevski/66143/expmap_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.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/66143/ltcube_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.fits
.....................!
real 190.38
user 184.94
sys 5.07

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

Setting source of interest to:
4FGL J1147.8-0724 @ 176.961 -7.4144

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/66143/ft1_filtered_4FGL_J1147.8-0724_daily_bin666.fits scfile=/scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits outfile=/scratch/kocevski/66143/cmap_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.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=176.961 yref=-7.4144 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/66143/ft1_filtered_4FGL_J1147.8-0724_daily_bin666.fits scfile=/scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits outfile=/scratch/kocevski/66143/cmap_HighResolution_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.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=176.961 yref=-7.4144 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/66143/ft1_filtered_4FGL_J1147.8-0724_daily_bin666.fits evtable="EVENTS" scfile=/scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/66143/Model_4FGL_J1147.8-0724_daily_bin666.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/66143/ft1_filtered_4FGL_J1147.8-0724_daily_bin666.fits.....................!
real 46.22
user 44.88
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/66143/ft1_filtered_4FGL_J1147.8-0724_daily_bin666.fits', '/scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits', expMap='/scratch/kocevski/66143/expmap_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.fits', expCube='/scratch/kocevski/66143/ltcube_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/66143/Model_4FGL_J1147.8-0724_daily_bin666.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.8-0724'

4FGL J1147.8-0724
   Spectrum: LogParabola
288         norm:  2.739e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
289        alpha:  2.336e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
290         beta:  1.710e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
291           Eb:  7.338e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/66143/ft1_filtered_4FGL_J1147.8-0724_daily_bin666.fits
Spacecraft file(s): /scratch/kocevski/66143/ft2_4FGL_J1147.8-0724_daily_bin666.fits
Exposure map: /scratch/kocevski/66143/expmap_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.fits
Exposure cube: /scratch/kocevski/66143/ltcube_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/66143/Model_4FGL_J1147.8-0724_daily_bin666.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) = 4508.6908217

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2803       1.0000         .10000E-03   10000.    
     2 'Prefactor '    14.073       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6349       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.2000       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .20060E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .67106E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10130E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.2776       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .31562       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    34.380       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .27619E-02   1.0000         .10000E-03   10000.    
    22 'norm      '    3.9692       1.0000         .10000E-03   10000.    
    23 'Prefactor '    13.738       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.5359       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .73724       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4508.646     FROM MIGRAD    STATUS=CONVERGED    601 CALLS     2952 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.2907        21.615       -.45445E-05   -.11408E-03
   2  Prefactor     14.065        17.933        .23274E-05   -.14549E-03
   3  Prefactor     2.6360        5.2668       -.18477E-05   -.83251E-03
   4  Prefactor     .10000E-03    22.258       -.11597E-04** at limit **
   5  norm          2.2010        7.7250        .43713E-05   -.51935E-03
   6  Prefactor     .10000E-03    3.5286        .23147E-05** at limit **
   7  Prefactor     .10002E-03    9.5494        .32392E-06** at limit **
   8  norm          .10000E-03    11.242        .10380E-06** at limit **
   9  Prefactor     .10000E-03    .97871        .51580E-07** at limit **
  10  Prefactor     7.3082        36.789       -.19321E-04   -.23821E-03
  11  Prefactor     .10000E-03    13.341       -.22084E-06** at limit **
  12  norm          .10000E-03    1.8154        .66167E-07** at limit **
  13  Prefactor     .10000E-03    .99919        .62990E-07** at limit **
  14  Prefactor     .10000E-03    6.1940       -.22465E-06** at limit **
  15  Prefactor     .20535        24.494       -.26169E-05    .12192E-03
  16  Prefactor     .10000E-03    24.948        .12942E-04** at limit **
  17  Prefactor     .10000E-03    5.9664       -.93030E-07** at limit **
  18  Prefactor     .10000E-03    30.063       -.43868E-05** at limit **
  19  Prefactor     34.356        42.649       -.68751E-05   -.44092E-04
  20  Prefactor     .10000E-03    29.946       -.34236E-06** at limit **
  21  Prefactor     .10003E-03    17.883        .32411E-06** at limit **
  22  norm          3.9697        3.7055       -.18820E-06   -.12891E-03
  23  Prefactor     13.737        9.1146       -.19835E-06   -.35291E-04
  24  Normalizat    1.5351        .25880        .29196E-05   -.34308E-03
  25  Prefactor     .73796        .16493       -.70108E-06   -.13585E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.29069
  Prefactor  = 14.0654
  Prefactor  = 2.63603
  Prefactor  = 0.0001
  norm       = 2.20101
  Prefactor  = 0.000100001
  Prefactor  = 0.000100019
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.30819
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.205346
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.3555
  Prefactor  = 0.0001
  Prefactor  = 0.000100028
  norm       = 3.96969
  Prefactor  = 13.7371
  Normalizat = 1.53507
  Prefactor  = 0.737955
 **********
 **   18 **HESSE 
 **********

 FCN=   4508.646     FROM HESSE     STATUS=OK           433 CALLS     3385 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.2907        21.531        .13156E-03   -1.5098    
   2  Prefactor     14.065        17.800        .10677E-03   -1.4958    
   3  Prefactor     2.6360        5.2451        .20173E-03   -1.5383    
   4  Prefactor     .10000E-03    22.006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.2010        7.4406        .27740E-03   -1.5411    
   6  Prefactor     .10000E-03    18.970        .22423E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    32.964        .39493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    11.247        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .98455        .64851E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     7.3082        35.399        .14868E-03   -1.5167    
  11  Prefactor     .10000E-03    13.346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    1.8187        .88355E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.0014        .65542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    6.2009        .16321E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .20535        24.026        .10627       -1.5617    
  16  Prefactor     .10000E-03    24.868        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    6.0542        .16017E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    30.351        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     34.356        42.638        .68344E-04   -1.4535    
  20  Prefactor     .10000E-03    30.043        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10003E-03    113.28        .49114E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          3.9697        3.3621        .10915E-03   -1.5309    
  23  Prefactor     13.737        9.1088        .10806E-03   -1.4967    
  24  Normalizat    1.5351        .29945        .25997E-03   -.76798    
  25  Prefactor     .73796        .19267        .24019E-03   -1.0206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.16606e-09
Minuit parameter uncertainties:
  1  21.5492
  2  17.8072
  3  5.246
  4  3.57457e-06
  5  7.44375
  6  0.000298129
  7  0.00158107
  8  3.10497e-05
  9  8.13158e-07
  10  32.199
  11  6.38921e-06
  12  3.82524e-06
  13  1.16279e-06
  14  2.06687e-06
  15  4.44311
  16  0.000141984
  17  3.15902e-06
  18  0.000146661
  19  42.6761
  20  1.34289e-05
  21  0.0035901
  22  3.36222
  23  9.10972
  24  0.299795
  25  0.192845
Done.

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

Extracting fit parameters...

4FGL J1147.8-0724
   Spectrum: LogParabola
288         norm:  1.000e-04  3.825e-06  1.000e-04  1.000e+04 ( 1.000e-12)
289        alpha:  2.336e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
290         beta:  1.710e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
291           Eb:  7.338e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  7.380e-01  1.928e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.535e+00  2.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 176.961 -7.414
Photon Flux Upper Limit: 5.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.93e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/66143/likelihoodResults_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.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) = 4508.64821295
delta logL = -0.00237437373562

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4508.64583879
delta logL = -2.09101926885e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3284       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73787       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6100E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4508.646     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      232 TOTAL
                     EDM=   .97E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    142.71        .88586E-02** at limit **
   2  alpha         1.9054        3.1724        .16510       -.70926E-08
   3  Normalizat    1.5351        .59558E-01    .25997E-03    .51970E-04
   4  Prefactor     .73795        .40036E-01    .24019E-03    .61485E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.90541
  Normalizat = 1.53507
  Prefactor  = 0.737953
 **********
 **   18 **HESSE 
 **********

 FCN=   4508.646     FROM HESSE     STATUS=OK            23 CALLS      255 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.9613        .91773E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9054        3.1868        .66040E-02   -.24014    
   3  Normalizat    1.5351        .28246        .51994E-04   -.76798    
   4  Prefactor     .73795        .18992        .96076E-05   -1.0206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.74518e-12
Minuit parameter uncertainties:
  1  2.09488e-06
  2  212.249
  3  0.282755
  4  0.190084
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/66143': 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) = 4508.64583659
delta logL = 1.98469933821e-06

Extracting fit parameters...

4FGL J1147.8-0724
   Spectrum: LogParabola
288         norm:  1.000e-04  2.095e-06  1.000e-04  1.000e+04 ( 1.000e-12)
289        alpha:  1.905e+00  2.122e+02  0.000e+00  5.000e+00 ( 1.000e+00)
290         beta:  1.710e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
291           Eb:  7.338e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
607    Prefactor:  7.380e-01  1.901e-01  0.000e+00  1.000e+01 ( 1.000e+00)
608        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
609        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
606   Normalization:  1.535e+00  2.828e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 176.961 -7.414

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/66143/cmap_HighResolution_411955201_412214401_4FGL_J1147.8-0724_daily_bin666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.93e-05', job_status='DONE', photon_flux_upper_limit='5.52e-08', time_completed='2021-09-04 11:13:34.640645', job_id='66143', GAL2='0.74', fit_tolerance='1e-08', EG2='1.54', EG='1.54', time_epoch_completed='1630779214.64', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.98e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='666' AND source_name='4FGL J1147.8-0724' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 11:13:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0289>
Subject: Job 66143: <4FGL_J1147.8-0724_daily_bin666> in cluster <slac> Done

Job <4FGL_J1147.8-0724_daily_bin666> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep  4 11:02:38 2021
Job was executed on host(s) <bullet0289>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 11:02:40 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 11:02:40 2021
Terminated at Sat Sep  4 11:13:34 2021
Results reported at Sat Sep  4 11:13:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1147.8-0724_daily_bin666 176.961 -7.4144 411955201 412214401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1147.8-0724 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   635.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             326.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   654 sec.
    Turnaround time :                            656 sec.

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

