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


Performing analysis on: 4FGL_J1147.2-2627_daily_bin1432
RA = 176.811, Dec = -26.4649
tmin = 610502401, tmax = 610761601
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='62291', job_status='RUN', time_executed='2021-09-04 10:52:44.414989', time_epoch_executed='1630777964.42' WHERE source_name='4FGL J1147.2-2627' and cadence='daily' and bin_id='1432'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/62291

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/62291/ft1_4FGL_J1147.2-2627_daily_bin1432.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/62291/ft1_4FGL_J1147.2-2627_daily_bin1432.fits outfile=/scratch/kocevski/62291/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin1432.fits ra=176.811 dec=-26.4649 rad=12.0 tmin=610502401.0 tmax=610761601.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.72
user 3.35
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.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/62291/ft1_filteredMKT_4FGL_J1147.2-2627_daily_bin1432.fits evtable="EVENTS" outfile="/scratch/kocevski/62291/ft1_filtered_4FGL_J1147.2-2627_daily_bin1432.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.69
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/62291/ft1_filtered_4FGL_J1147.2-2627_daily_bin1432.fits" evtable="EVENTS" scfile=/scratch/kocevski/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.fits sctable="SC_DATA" outfile=/scratch/kocevski/62291/ltcube_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.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/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.fits
.....................!
real 12.64
user 11.82
sys 0.38

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/62291/ft1_filtered_4FGL_J1147.2-2627_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.fits sctable="SC_DATA" expcube=/scratch/kocevski/62291/ltcube_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.fits outfile=/scratch/kocevski/62291/expmap_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.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/62291/ltcube_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.fits
.....................!
real 196.51
user 187.40
sys 6.69

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/62291/ft1_filtered_4FGL_J1147.2-2627_daily_bin1432.fits scfile=/scratch/kocevski/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.fits outfile=/scratch/kocevski/62291/cmap_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.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.56
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/62291/ft1_filtered_4FGL_J1147.2-2627_daily_bin1432.fits scfile=/scratch/kocevski/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.fits outfile=/scratch/kocevski/62291/cmap_HighResolution_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/62291/ft1_filtered_4FGL_J1147.2-2627_daily_bin1432.fits evtable="EVENTS" scfile=/scratch/kocevski/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/62291/Model_4FGL_J1147.2-2627_daily_bin1432.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/62291/ft1_filtered_4FGL_J1147.2-2627_daily_bin1432.fits.....................!
real 70.45
user 68.60
sys 1.56

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/62291/ft1_filtered_4FGL_J1147.2-2627_daily_bin1432.fits', '/scratch/kocevski/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.fits', expMap='/scratch/kocevski/62291/expmap_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.fits', expCube='/scratch/kocevski/62291/ltcube_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/62291/Model_4FGL_J1147.2-2627_daily_bin1432.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/62291/ft1_filtered_4FGL_J1147.2-2627_daily_bin1432.fits
Spacecraft file(s): /scratch/kocevski/62291/ft2_4FGL_J1147.2-2627_daily_bin1432.fits
Exposure map: /scratch/kocevski/62291/expmap_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.fits
Exposure cube: /scratch/kocevski/62291/ltcube_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/62291/Model_4FGL_J1147.2-2627_daily_bin1432.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) = 8436.36836651

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.3300       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12318E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.057       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.1034       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10338E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.1313       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9755       1.0000         .10000E-03   10000.    
    10 'norm      '    14.942       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .67526E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    25.522       1.0000         .10000E-03   10000.    
    14 'Prefactor '    52.434       1.0000         .10000E-03   10000.    
    15 'norm      '    6.2504       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10507E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.864       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .21296E-01   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1916       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89431       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8436.253     FROM MIGRAD    STATUS=CONVERGED    933 CALLS     2614 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.3273        4.7249        .13433E-02   -.74762E-04
   2  Prefactor     .10000E-03    13.028        .18142E-02** at limit **
   3  Prefactor     16.808        53.598        .96977E-04   -.29073E-04
   4  Prefactor     .10000E-03    15.784        .18142E-02** at limit **
   5  Prefactor     9.1001        8.4295        .13284E-03   -.17562E-03
   6  Prefactor     .10000E-03    108.12        .18142E-02** at limit **
   7  Prefactor     .10000E-03    18.105        .18142E-02** at limit **
   8  norm          1.1303        .88104        .74312E-04    .30781E-03
   9  Prefactor     2.9714        11.087        .23537E-03    .34776E-05
  10  norm          14.940        7.9334        .10362E-03   -.44765E-04
  11  Prefactor     .10055E-03    33.549        .26206E-02** at limit **
  12  Prefactor     .10000E-03    6.7023        .18142E-02** at limit **
  13  norm          25.540        17.715        .79294E-04   -.61766E-04
  14  Prefactor     52.408        20.505        .55388E-04   -.49064E-03
  15  norm          6.2525        5.4238        .80282E-03   -.31097E-03
  16  Prefactor     .10000E-03    1.5172        .11017E-02** at limit **
  17  Prefactor     .10000E-03    32.282        .18142E-02** at limit **
  18  Prefactor     11.880        28.793        .11630E-03   -.23617E-03
  19  Prefactor     .10000E-03    5.1258        .18142E-02** at limit **
  20  Prefactor     .10000E-03    10.172        .18142E-02** at limit **
  21  Prefactor     .10640E-03    11.551        .95069E-01** at limit **
  22  Normalizat    1.1921        .23801        .31640E-03   -.70540E-03
  23  Prefactor     .89411        .11919        .18354E-03   -.16557E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.3273
  Prefactor  = 0.0001
  Prefactor  = 16.8084
  Prefactor  = 0.0001
  Prefactor  = 9.10013
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 1.13026
  Prefactor  = 2.97141
  norm       = 14.9403
  Prefactor  = 0.000100545
  Prefactor  = 0.0001
  norm       = 25.5398
  Prefactor  = 52.4082
  norm       = 6.25251
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.8797
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000106405
  Normalizat = 1.19205
  Prefactor  = 0.894111
 **********
 **   18 **HESSE 
 **********

 FCN=   8436.253     FROM HESSE     STATUS=OK           358 CALLS     2972 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.3273        4.7223        .53733E-04   -1.5403    
   2  Prefactor     .10000E-03    13.028        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.808        53.629        .38791E-05   -1.4888    
   4  Prefactor     .10000E-03    15.784        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.1001        8.4294        .53135E-05   -1.5105    
   6  Prefactor     .10000E-03    108.19        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    18.106        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.1303        .88103        .29725E-05   -1.5495    
   9  Prefactor     2.9714        11.086        .94149E-05   -1.5363    
  10  norm          14.940        7.9332        .41447E-05   -1.4935    
  11  Prefactor     .10055E-03    34.298        .52411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.7024        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          25.540        17.715        .15859E-04   -1.4697    
  14  Prefactor     52.408        20.497        .11078E-04   -1.4259    
  15  norm          6.2525        5.4212        .32113E-04   -1.5208    
  16  Prefactor     .10000E-03    1.5172        .22034E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    32.286        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.880        28.794        .46521E-05   -1.5018    
  19  Prefactor     .10000E-03    5.1259        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.172        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10640E-03    10.905        .10024       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1921        .23807        .63280E-04   -.86849    
  23  Prefactor     .89411        .11927        .36707E-04   -.96347    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76754e-08
Minuit parameter uncertainties:
  1  4.72303
  2  7.53542e-05
  3  53.7833
  4  2.32509e-05
  5  8.43047
  6  0.000599711
  7  3.12738e-05
  8  0.881037
  9  11.0932
  10  7.93381
  11  0.00865288
  12  7.37215e-07
  13  17.719
  14  20.5001
  15  5.42159
  16  5.37292e-06
  17  5.00521e-05
  18  28.8279
  19  5.54895e-06
  20  1.16975e-05
  21  0.0167172
  22  0.238282
  23  0.119309
Done.

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

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.005e-04  8.653e-03  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.941e-01  1.193e-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:  1.192e+00  2.383e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/62291/likelihoodResults_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.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) = 8436.25311999
delta logL = -0.000140584234032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8436.25289935
delta logL = 8.00565303507e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29161E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7331       1.0000          .0000       10.000    
     3 'Normalizat'    1.1921       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89408       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=   8435.898     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      271 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10684        1.3519        .81388E-02    .29247E-02
   2  Index         5.1482        2.3968        .22793        .57053E-04
   3  Normalizat    1.1333        .29853E-01    .73069E-01    .22840E-03
   4  Prefactor     .91191        .15317E-01    .44930E-01    .45981E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.106843
  Index      = 5.14825
  Normalizat = 1.13332
  Prefactor  = 0.911905
 **********
 **   18 **HESSE 
 **********

 FCN=   8435.898     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .79E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10684        8.3268        .36824E-04   -1.5643    
   2  Index         5.1482        7.2812        .79204E-02    .29654E-01
   3  Normalizat    1.1333        .19092        .32337E-03   -.88689    
   4  Prefactor     .91191        .96257E-01    .18190E-03   -.95726    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.85925e-10
Minuit parameter uncertainties:
  1  1.88583
  2  10.4422
  3  0.19104
  4  0.0962745
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/62291': 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): 102
logL (Free Index) = 8435.89771625
delta logL = 0.355263158621

Extracting fit parameters...

4FGL J1147.2-2627
   Spectrum: PowerLaw
296    Prefactor:  1.068e-01  1.886e+00  1.000e-04  1.000e+04 ( 1.000e-12)
297        Index:  5.148e+00  1.044e+01  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:  9.119e-01  9.627e-02  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:  1.133e+00  1.910e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/62291/cmap_HighResolution_610502401_610761601_4FGL_J1147.2-2627_daily_bin1432.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', job_status='DONE', photon_flux_upper_limit='9.64e-08', time_completed='2021-09-04 11:06:52.707456', job_id='62291', GAL2='0.91', fit_tolerance='1e-08', EG2='1.13', EG='1.19', time_epoch_completed='1630778812.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='3.55e-01', ts2='0.76', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1432' AND source_name='4FGL J1147.2-2627' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 11:06:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 62291: <4FGL_J1147.2-2627_daily_bin1432> in cluster <slac> Done

Job <4FGL_J1147.2-2627_daily_bin1432> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Sep  4 10:52:01 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 10:52:02 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:52:02 2021
Terminated at Sat Sep  4 11:06:53 2021
Results reported at Sat Sep  4 11:06:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1147.2-2627_daily_bin1432 176.811 -26.4649 610502401 610761601 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 :                                   837.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            892 sec.

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

