aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 62 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7534
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2147.1+0931_daily_bin1719
RA = 326.783, Dec = 9.5181
tmin = 684892801, tmax = 685152001
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='666700', job_status='RUN', time_executed='2022-09-18 01:18:17.026026', time_epoch_executed='1663489097.03' WHERE source_name='4FGL J2147.1+0931' and cadence='daily' and bin_id='1719'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/666700

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/666700/ft1_4FGL_J2147.1+0931_daily_bin1719.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/666700/ft1_4FGL_J2147.1+0931_daily_bin1719.fits outfile=/scratch/kocevski/666700/ft1_filteredMKT_4FGL_J2147.1+0931_daily_bin1719.fits ra=326.783 dec=9.5181 rad=12.0 tmin=684892801.0 tmax=685152001.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.17
user 2.90
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.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/666700/ft1_filteredMKT_4FGL_J2147.1+0931_daily_bin1719.fits evtable="EVENTS" outfile="/scratch/kocevski/666700/ft1_filtered_4FGL_J2147.1+0931_daily_bin1719.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.51
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 380

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/666700/ft1_filtered_4FGL_J2147.1+0931_daily_bin1719.fits" evtable="EVENTS" scfile=/scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits sctable="SC_DATA" outfile=/scratch/kocevski/666700/ltcube_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.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/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits
.....................!
real 16.19
user 15.72
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/666700/ft1_filtered_4FGL_J2147.1+0931_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits sctable="SC_DATA" expcube=/scratch/kocevski/666700/ltcube_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.fits outfile=/scratch/kocevski/666700/expmap_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.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/666700/ltcube_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.fits
.....................!
real 200.30
user 194.45
sys 4.86

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

Setting source of interest to:
4FGL J2147.1+0931 @ 326.783 9.5181

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/666700/ft1_filtered_4FGL_J2147.1+0931_daily_bin1719.fits scfile=/scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits outfile=/scratch/kocevski/666700/cmap_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.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=326.783 yref=9.5181 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.59
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/666700/ft1_filtered_4FGL_J2147.1+0931_daily_bin1719.fits scfile=/scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits outfile=/scratch/kocevski/666700/cmap_HighResolution_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.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=326.783 yref=9.5181 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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/666700/ft1_filtered_4FGL_J2147.1+0931_daily_bin1719.fits evtable="EVENTS" scfile=/scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/666700/Model_4FGL_J2147.1+0931_daily_bin1719.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/666700/ft1_filtered_4FGL_J2147.1+0931_daily_bin1719.fits....................!
real 49.82
user 48.46
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/666700/ft1_filtered_4FGL_J2147.1+0931_daily_bin1719.fits', '/scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits', expMap='/scratch/kocevski/666700/expmap_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.fits', expCube='/scratch/kocevski/666700/ltcube_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/666700/Model_4FGL_J2147.1+0931_daily_bin1719.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2147.1+0931'

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  2.902e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
298        alpha:  2.432e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  9.991e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  4.060e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/666700/ft1_filtered_4FGL_J2147.1+0931_daily_bin1719.fits
Spacecraft file(s): /scratch/kocevski/666700/ft2_4FGL_J2147.1+0931_daily_bin1719.fits
Exposure map: /scratch/kocevski/666700/expmap_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.fits
Exposure cube: /scratch/kocevski/666700/ltcube_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/666700/Model_4FGL_J2147.1+0931_daily_bin1719.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) = 4500.35037602

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11201E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12108E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .93614E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .59578E-04   1.0000          .0000       .10000E+07
     5 'norm      '    16.059       1.0000          .0000       .10000E+07
     6 'Prefactor '    .51095E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    4.0372       1.0000          .0000       .10000E+07
     8 'Prefactor '    .47144E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .80981E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    94.259       1.0000          .0000       .10000E+07
    11 'norm      '    .74801       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.8731       1.0000          .0000       .10000E+07
    13 'norm      '    7.9463       1.0000          .0000       .10000E+07
    14 'norm      '    4.2835       1.0000          .0000       .10000E+07
    15 'Prefactor '    .46543E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    38.059       1.0000          .0000       .10000E+07
    17 'Prefactor '    .80243E-01   1.0000          .0000       .10000E+07
    18 'norm      '    .40662E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .97709E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .45889E-02   1.0000          .0000       .10000E+07
    21 'norm      '    .63505E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    .11805E-01   1.0000          .0000       .10000E+07
    23 'Prefactor '    .70266       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.1805       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .50332       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .99759       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4500.324     FROM MIGRAD    STATUS=CONVERGED    235 CALLS     2309 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33584E-07    25.661       -.15952E-06** at limit **
   2  Prefactor     .62284E-06    21.286       -.79024E-06** at limit **
   3  Prefactor     .14899E-06    33.832       -.33320E-07** at limit **
   4  Prefactor     .37192E-08    28.929       -.10701E-05** at limit **
   5  norm          15.966        7.3864        .33755E-06    .79702E-03
   6  Prefactor     .68279E-08    23.661        .54931E-06** at limit **
   7  Prefactor     4.0170        7.8393        .40240E-06    .27491E-03
   8  Prefactor      .0000        5.1424       -.15655E-06** at limit **
   9  Prefactor      .0000        61.584        .14915E-06** at limit **
  10  Prefactor     96.691        123.67        .17600E-06    .11310    
  11  norm          .74054        3.8071        .81262E-06    .14894E-02
  12  Prefactor     4.7829        421.46       -.97649E-06    .50037E-01
  13  norm          7.9137        5.3685       -.35032E-06   -.11442E-02
  14  norm          4.8233        121.09        .35946E-07    .23288E-01
  15  Prefactor      .0000        7.9090       -.13646E-06** at limit **
  16  Prefactor     36.868        42.412       -.32763E-06   -.58053E-01
  17  Prefactor      .0000        63.504       -.20366E-06** at limit **
  18  norm           .0000        .42491       -.75669E-07** at limit **
  19  Prefactor     .31086E-08    137.45       -.95174E-06** at limit **
  20  Prefactor     .62544E-06    38.725        .18427E-05** at limit **
  21  norm           .0000        2.5850       -.14862E-06** at limit **
  22  Prefactor      .0000        13.859        .75565E-06** at limit **
  23  Prefactor     .70189        .41204       -.41363E-06    .16428E-03
  24  Prefactor     3.1772        38.893        .31332E-04    .97962E-03
  25  Normalizat    .50712        .39579       -.38560E-04    .13670E-04
  26  Prefactor     .99701        .16854       -.14228E-05    .50816E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.35842e-08
  Prefactor  = 6.22835e-07
  Prefactor  = 1.48992e-07
  Prefactor  = 3.71925e-09
  norm       = 15.9659
  Prefactor  = 6.82787e-09
  Prefactor  = 4.01697
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 96.6914
  norm       = 0.740536
  Prefactor  = 4.78294
  norm       = 7.91374
  norm       = 4.82328
  Prefactor  = 0
  Prefactor  = 36.8676
  Prefactor  = 0
  norm       = 0
  Prefactor  = 3.10862e-09
  Prefactor  = 6.25444e-07
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0.701894
  Prefactor  = 3.17719
  Normalizat = 0.507119
  Prefactor  = 0.997006
 **********
 **   18 **HESSE 
 **********

 FCN=   4500.324     FROM HESSE     STATUS=OK           502 CALLS     2811 TOTAL
                     EDM=   .19E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33584E-07    25.578        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .62284E-06    50.079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .14899E-06    33.914        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .37192E-08    49.901        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          15.966        7.4308        .24967E-03   -1.5628    
   6  Prefactor     .68279E-08    23.655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.0170        7.8889        .50161E-03   -1.5668    
   8  Prefactor      .0000        5.1345        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        61.459        .14471E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     96.691        153.10        .10301E-03   -1.5511    
  11  norm          .74054        4.3363        .56894E-03   -1.5691    
  12  Prefactor     4.7829        2389.4        .38246E-03   -1.5664    
  13  norm          7.9137        6.5850        .35545E-03   -1.5652    
  14  norm          4.8233        624.58        .48655E-03   -1.5664    
  15  Prefactor      .0000        7.9262        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     36.868        45.269        .16211E-03   -1.5587    
  17  Prefactor      .0000        62.428        .14494E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .42303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .31086E-08    137.52        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .62544E-06    39.304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        2.5806        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor      .0000        13.840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .70189        .41502        .67161E-02   -1.5540    
  24  Prefactor     3.1772        38.294        .56807E-02   -1.5351    
  25  Normalizat    .50712        .37331        .11152       -1.1209    
  26  Prefactor     .99701        .14915        .46237E-01   -.92829    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.92182e-05
Minuit parameter uncertainties:
  1  0.00185303
  2  0.0111701
  3  0.00449557
  4  0.000864252
  5  7.43081
  6  0.000803733
  7  7.88896
  8  6.42817e-06
  9  1.39058e-05
  10  153.106
  11  3.58397
  12  213.895
  13  6.58504
  14  109.785
  15  9.41498e-06
  16  45.2692
  17  3.82058e-05
  18  2.42767e-07
  19  0.00130742
  20  0.00991634
  21  1.25512e-06
  22  1.81376e-06
  23  0.41502
  24  22.0778
  25  0.375167
  26  0.149213
Done.

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

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  7.914e+00  6.585e+00  0.000e+00  1.000e+06 ( 1.000e-11)
298        alpha:  2.432e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
299         beta:  9.991e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  4.060e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  9.970e-01  1.492e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  5.071e-01  3.752e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.58
Ra Dec: 326.783 9.518
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.52e-07 +/- 1.26e-07
Energy Flux (Fixed Index): 4.28e-05 +/- 3.56e-05

TS (Fixed Index): 3.58
Ra Dec: 326.783 9.518
Photon Flux Upper Limit: 3.43e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/666700/likelihoodResults_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.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) = 4500.29423946
delta logL = 0.0299929786352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4500.29220974
delta logL = 0.0320226954973

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    8.0107       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2547       1.0000          .0000       5.0000    
     3 'Normalizat'    .52807       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98920       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5570E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4500.292     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      201 TOTAL
                     EDM=   .70E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 24.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          8.0111        4.7270        .13533E-06   -.16916E-01
   2  alpha         2.2547        .51285       -.12534E-04   -.17162E-03
   3  Normalizat    .52829        .33142       -.44606E-06    .21570E-04
   4  Prefactor     .98922        .14723       -.24365E-06    .13575E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 8.01109
  alpha      = 2.25469
  Normalizat = 0.528288
  Prefactor  = 0.989217
 **********
 **   18 **HESSE 
 **********

 FCN=   4500.292     FROM HESSE     STATUS=OK            31 CALLS      232 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          8.0111        5.2255        .11512E-04   -1.5651    
   2  alpha         2.2547        .67023        .13880E-01   -.98280E-01
   3  Normalizat    .52829        .38173        .48479E-03   -1.1112    
   4  Prefactor     .98922        .16834        .16074E-03   -.93090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.40377e-09
Minuit parameter uncertainties:
  1  5.22548
  2  0.67861
  3  0.383646
  4  0.168428
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/666700': 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) = 4500.29220851
delta logL = 0.0320239250805

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  8.011e+00  5.225e+00  0.000e+00  1.000e+06 ( 1.000e-11)
298        alpha:  2.255e+00  6.786e-01  0.000e+00  5.000e+00 ( 1.000e+00)
299         beta:  9.991e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
300           Eb:  4.060e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
554    Prefactor:  9.892e-01  1.684e-01  0.000e+00  1.000e+01 ( 1.000e+00)
555        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
556        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
553   Normalization:  5.283e-01  3.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.58
Ra Dec: 326.783 9.518
Photon Index (Free Index): 2.25 +/- 0.68
Photon Flux (Free Index): 1.37e-07 +/- 1.09e-07
Energy Flux (Free Index): 4.54e-05 +/- 3.15e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/666700/cmap_HighResolution_684892801_685152001_4FGL_J2147.1+0931_daily_bin1719.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.66e-05', comment='SUCCESS', photon_flux='1.52e-07', energy_flux2='4.54e-05', photon_flux_error='1.26e-07', dlogl='3.20e-02', energy_flux='4.28e-05', photon_flux2='1.37e-07', job_status='DONE', time_completed='2022-09-18 01:27:30.860132', photon_index_error2='0.68', photon_index2='2.25', ts='3.58', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', photon_flux_upper_limit='3.43e-07', energy_flux_error2='3.15e-05', EG='0.51', time_epoch_completed='1663489650.86', return_code='0', job_id='666700', GAL2='0.99', EG2='0.53', return_code2='0', energy_flux_error='3.56e-05', photon_flux_error2='1.09e-07', ts2='3.58', photon_index='2.43' WHERE bin_id='1719' AND source_name='4FGL J2147.1+0931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Sep 18 01:27:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0024>
Subject: Job 666700: <4FGL_J2147.1+0931_daily_bin1719> in cluster <slac> Done

Job <4FGL_J2147.1+0931_daily_bin1719> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Sep 18 01:15:43 2022
Job was executed on host(s) <bullet0024>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Sep 18 01:17:04 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Sep 18 01:17:04 2022
Terminated at Sun Sep 18 01:27:31 2022
Results reported at Sun Sep 18 01:27:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2147.1+0931_daily_bin1719 326.783 9.5181 684892801 685152001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2147.1+0931 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   555.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             307.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   627 sec.
    Turnaround time :                            708 sec.

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

