/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 72 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 = 7451
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1147.2-2627_daily_bin758
RA = 176.811, Dec = -26.4649
tmin = 435801601, tmax = 436060801
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='56345', job_status='RUN', time_executed='2021-09-04 10:38:28.020351', time_epoch_executed='1630777108.02' WHERE source_name='4FGL J1147.2-2627' and cadence='daily' and bin_id='758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/56345

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/56345/ft1_4FGL_J1147.2-2627_daily_bin758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/56345/ft1_4FGL_J1147.2-2627_daily_bin758.fits outfile=/scratch/kocevski/56345/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin758.fits ra=176.811 dec=-26.4649 rad=12.0 tmin=435801601.0 tmax=436060801.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 8.93
user 5.37
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.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/56345/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin758.fits evtable="EVENTS" outfile="/scratch/kocevski/56345/ft1_filtered_4FGL_J1147.2-2627_daily_bin758.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.53
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/56345/ft1_filtered_4FGL_J1147.2-2627_daily_bin758.fits" evtable="EVENTS" scfile=/scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits sctable="SC_DATA" outfile=/scratch/kocevski/56345/ltcube_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.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/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits
.....................!
real 12.07
user 11.72
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/56345/ft1_filtered_4FGL_J1147.2-2627_daily_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits sctable="SC_DATA" expcube=/scratch/kocevski/56345/ltcube_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.fits outfile=/scratch/kocevski/56345/expmap_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.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/56345/ltcube_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.fits
.....................!
real 192.79
user 187.95
sys 4.25

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

Setting source of interest to:
4FGL J1147.2-2627 @ 176.811 -26.4649

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/56345/ft1_filtered_4FGL_J1147.2-2627_daily_bin758.fits scfile=/scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits outfile=/scratch/kocevski/56345/cmap_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.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.811 yref=-26.4649 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/56345/ft1_filtered_4FGL_J1147.2-2627_daily_bin758.fits scfile=/scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits outfile=/scratch/kocevski/56345/cmap_HighResolution_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.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.811 yref=-26.4649 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/56345/ft1_filtered_4FGL_J1147.2-2627_daily_bin758.fits evtable="EVENTS" scfile=/scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/56345/Model_4FGL_J1147.2-2627_daily_bin758.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/56345/ft1_filtered_4FGL_J1147.2-2627_daily_bin758.fits.....................!
real 69.79
user 68.11
sys 1.10

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/56345/ft1_filtered_4FGL_J1147.2-2627_daily_bin758.fits', '/scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits', expMap='/scratch/kocevski/56345/expmap_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.fits', expCube='/scratch/kocevski/56345/ltcube_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/56345/Model_4FGL_J1147.2-2627_daily_bin758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1147.2-2627'

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.341e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/56345/ft1_filtered_4FGL_J1147.2-2627_daily_bin758.fits
Spacecraft file(s): /scratch/kocevski/56345/ft2_4FGL_J1147.2-2627_daily_bin758.fits
Exposure map: /scratch/kocevski/56345/expmap_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.fits
Exposure cube: /scratch/kocevski/56345/ltcube_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/56345/Model_4FGL_J1147.2-2627_daily_bin758.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) = 8088.55234733

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .24561E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14027E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    14.297       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.0581       1.0000         .10000E-03   10000.    
     8 'norm      '    3.9842       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.556       1.0000         .10000E-03   10000.    
    10 'norm      '    6.7784       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .85127       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.119       1.0000         .10000E-03   10000.    
    13 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.929       1.0000         .10000E-03   10000.    
    15 'norm      '    4.4672       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.3039       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.159       1.0000         .10000E-03   10000.    
    19 'Prefactor '    11.959       1.0000         .10000E-03   10000.    
    20 'Prefactor '    46.230       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10445E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .82059       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8088.537     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     3039 TOTAL
                     EDM=   .74E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0612       -.10411E-06** at limit **
   2  Prefactor     .10000E-03    9.3183       -.31292E-07** at limit **
   3  Prefactor     .10000E-03    34.348        .14344E-05** at limit **
   4  Prefactor     .10000E-03    172.89       -.10023E-05** at limit **
   5  Prefactor     14.298        11.281        .18834E-06    .51479E-04
   6  Prefactor     .10000E-03    10.559       -.40557E-07** at limit **
   7  Prefactor     6.0615        59.281       -.48811E-06   -.17023E-05
   8  norm          3.9842        1.2225        .12768E-07    .28844E-04
   9  Prefactor     13.556        11.182       -.68873E-07    .65090E-05
  10  norm          6.7785        7.0839        .10665E-05   -.37759E-04
  11  Prefactor     .85153        2.6925        .30518E-06   -.72522E-04
  12  Prefactor     14.121        15.782        .64783E-07    .44071E-05
  13  norm          .10000E-03    5.0816       -.19813E-07** at limit **
  14  Prefactor     12.936        18.759       -.63494E-05    .36151E-05
  15  norm          4.4646        7.3783        .59348E-05   -.17689E-03
  16  Prefactor     1.3020        2.9488        .31361E-06    .34613E-05
  17  Prefactor     .10000E-03    21.555        .43849E-06** at limit **
  18  Prefactor     32.159        22.250        .26848E-06    .16610E-04
  19  Prefactor     11.968        25.252        .91407E-05    .50897E-04
  20  Prefactor     46.317        60.639       -.11617E-04   -.58126E-04
  21  Prefactor     .10000E-03    27.052       -.13163E-05** at limit **
  22  Normalizat    .82050        .18871       -.47827E-06    .19985E-04
  23  Prefactor     .89189        .95276E-01   -.33177E-07    .15682E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.2984
  Prefactor  = 0.0001
  Prefactor  = 6.06145
  norm       = 3.98423
  Prefactor  = 13.5559
  norm       = 6.77851
  Prefactor  = 0.851532
  Prefactor  = 14.1212
  norm       = 0.0001
  Prefactor  = 12.9365
  norm       = 4.46456
  Prefactor  = 1.30199
  Prefactor  = 0.0001
  Prefactor  = 32.1585
  Prefactor  = 11.9681
  Prefactor  = 46.3171
  Prefactor  = 0.0001
  Normalizat = 0.820501
  Prefactor  = 0.891887
 **********
 **   18 **HESSE 
 **********

 FCN=   8088.537     FROM HESSE     STATUS=OK           374 CALLS     3413 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.9334        .25097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.3243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    34.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    176.60        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     14.298        11.306        .10593E-03   -1.4952    
   6  Prefactor     .10000E-03    10.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.0615        59.343        .16313E-03   -1.5216    
   8  norm          3.9842        1.2232        .52733E-04   -1.5309    
   9  Prefactor     13.556        11.169        .10879E-03   -1.4971    
  10  norm          6.7785        7.0787        .77056E-03   -1.5187    
  11  Prefactor     .85153        2.6248        .25010E-03   -1.5523    
  12  Prefactor     14.121        15.740        .10660E-03   -1.4956    
  13  norm          .10000E-03    5.0844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     12.936        18.877        .11140E-03   -1.4988    
  15  norm          4.4646        7.4218        .95255E-03   -1.5285    
  16  Prefactor     1.3020        2.8853        .21760E-03   -1.5480    
  17  Prefactor     .10000E-03    21.565        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     32.159        22.122        .70658E-04   -1.4573    
  19  Prefactor     11.968        25.280        .11584E-03   -1.5016    
  20  Prefactor     46.317        60.751        .58970E-04   -1.4346    
  21  Prefactor     .10000E-03    27.524        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .82050        .22264        .32865E-03   -.99313    
  23  Prefactor     .89189        .11380        .16614E-03   -.96425    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39766e-10
Minuit parameter uncertainties:
  1  3.05873e-05
  2  4.45285e-06
  3  4.12067e-06
  4  0.000259154
  5  11.3076
  6  3.30651e-06
  7  37.9805
  8  1.22325
  9  11.1706
  10  7.07953
  11  2.62513
  12  15.7451
  13  2.12393e-06
  14  18.8853
  15  7.42329
  16  2.88564
  17  7.84951e-06
  18  22.1279
  19  25.3026
  20  60.8326
  21  5.27969e-06
  22  0.222888
  23  0.113834
Done.

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

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  8.515e-01  2.625e+00  1.000e-04  1.000e+04 ( 1.000e-12)
297        Index:  2.563e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.919e-01  1.138e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  8.205e-01  2.229e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 176.811 -26.465
Photon Flux Upper Limit: 7.07e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/56345/likelihoodResults_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.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) = 8088.51938177
delta logL = 0.017741602921

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8088.51745655
delta logL = 0.0196668239914

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.0185       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1935       1.0000          .0000       10.000    
     3 'Normalizat'    .82342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89080       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8088.517     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      232 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.0191        29.345        .56897E-01    .10640E-02
   2  Index         2.1991        2.5370        .50000        .16232E-04
   3  Normalizat    .82333        .17983E-01    .74141E-01   -.15637E-03
   4  Prefactor     .89082        .94929E-02    .44888E-01   -.23831E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.0191
  Index      = 2.19909
  Normalizat = 0.823334
  Prefactor  = 0.890821
 **********
 **   18 **HESSE 
 **********

 FCN=   8088.517     FROM HESSE     STATUS=OK            31 CALLS      263 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.0191        2.8194        .24545E-03   -1.5506    
   2  Index         2.1991        1.6478        .14927E-01   -.59461    
   3  Normalizat    .82333        .21000        .32812E-03   -.99209    
   4  Prefactor     .89082        .11095        .16622E-03   -.96463    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.369e-10
Minuit parameter uncertainties:
  1  2.81974
  2  1.69464
  3  0.210209
  4  0.110981
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/56345': 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) = 8088.51745117
delta logL = 0.0196722071396

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.019e+00  2.820e+00  1.000e-04  1.000e+04 ( 1.000e-12)
297        Index:  2.199e+00  1.695e+00  0.000e+00  1.000e+01 (-1.000e+00)
298        Scale:  6.672e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
603    Prefactor:  8.908e-01  1.110e-01  0.000e+00  1.000e+01 ( 1.000e+00)
604        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
605        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
602   Normalization:  8.233e-01  2.102e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 176.811 -26.465

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/56345/cmap_HighResolution_435801601_436060801_4FGL_J1147.2-2627_daily_bin758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.52e-03', job_status='DONE', photon_flux_upper_limit='7.07e-08', time_completed='2021-09-04 10:53:03.447345', job_id='56345', GAL2='0.89', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1630777983.45', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='1.97e-02', ts2='0.17', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='758' AND source_name='4FGL J1147.2-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 10:53:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 56345: <4FGL_J1147.2-2627_daily_bin758> in cluster <slac> Done

Job <4FGL_J1147.2-2627_daily_bin758> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Sep  4 10:36:39 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 10:36:42 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 10:36:42 2021
Terminated at Sat Sep  4 10:53:04 2021
Results reported at Sat Sep  4 10:53:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1147.2-2627_daily_bin758 176.811 -26.4649 435801601 436060801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1147.2-2627 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   870.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            985 sec.

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

