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


Performing analysis on: 4FGL_J2147.1+0931_daily_bin1761
RA = 326.783, Dec = 9.5181
tmin = 695779201, tmax = 696038401
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='933630', job_status='RUN', time_executed='2023-01-22 01:38:16.377899', time_epoch_executed='1674380296.38' WHERE source_name='4FGL J2147.1+0931' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/933630

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/933630/ft1_4FGL_J2147.1+0931_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/933630/ft2_4FGL_J2147.1+0931_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/933630/ft1_4FGL_J2147.1+0931_daily_bin1761.fits outfile=/scratch/kocevski/933630/ft1_filteredMKT_4FGL_J2147.1+0931_daily_bin1761.fits ra=326.783 dec=9.5181 rad=12.0 tmin=695779201.0 tmax=696038401.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.15
user 4.89
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/933630/ft2_4FGL_J2147.1+0931_daily_bin1761.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/933630/ft1_filteredMKT_4FGL_J2147.1+0931_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/933630/ft1_filtered_4FGL_J2147.1+0931_daily_bin1761.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.54
user 0.35
sys 0.18

Number of photons that the gtmktime cut: 724

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/933630/ft1_filtered_4FGL_J2147.1+0931_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/933630/ft2_4FGL_J2147.1+0931_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/933630/ltcube_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.fits outfile=/scratch/kocevski/933630/expmap_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.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/933630/ltcube_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.fits
.....................!
real 195.92
user 188.74
sys 6.23

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/933630/ft1_filtered_4FGL_J2147.1+0931_daily_bin1761.fits scfile=/scratch/kocevski/933630/ft2_4FGL_J2147.1+0931_daily_bin1761.fits outfile=/scratch/kocevski/933630/cmap_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/933630/ft1_filtered_4FGL_J2147.1+0931_daily_bin1761.fits scfile=/scratch/kocevski/933630/ft2_4FGL_J2147.1+0931_daily_bin1761.fits outfile=/scratch/kocevski/933630/cmap_HighResolution_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.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.40
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/933630/ft1_filtered_4FGL_J2147.1+0931_daily_bin1761.fits', '/scratch/kocevski/933630/ft2_4FGL_J2147.1+0931_daily_bin1761.fits', expMap='/scratch/kocevski/933630/expmap_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.fits', expCube='/scratch/kocevski/933630/ltcube_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/933630/Model_4FGL_J2147.1+0931_daily_bin1761.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/933630/ft1_filtered_4FGL_J2147.1+0931_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/933630/ft2_4FGL_J2147.1+0931_daily_bin1761.fits
Exposure map: /scratch/kocevski/933630/expmap_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.fits
Exposure cube: /scratch/kocevski/933630/ltcube_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/933630/Model_4FGL_J2147.1+0931_daily_bin1761.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) = 7698.88620631

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31706       1.0000          .0000       .10000E+07
     2 'Prefactor '    33.721       1.0000          .0000       .10000E+07
     3 'Prefactor '    .17942E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    117.65       1.0000          .0000       .10000E+07
     5 'norm      '    2.8047       1.0000          .0000       .10000E+07
     6 'Prefactor '    49.795       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.1025       1.0000          .0000       .10000E+07
     8 'Prefactor '    1.5452       1.0000          .0000       .10000E+07
     9 'Prefactor '    25.192       1.0000          .0000       .10000E+07
    10 'Prefactor '    .22593E-02   1.0000          .0000       .10000E+07
    11 'norm      '    2.7118       1.0000          .0000       .10000E+07
    12 'Prefactor '    .35616E-02   1.0000          .0000       .10000E+07
    13 'norm      '    4.3881       1.0000          .0000       .10000E+07
    14 'norm      '    .97506E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    5.4435       1.0000          .0000       .10000E+07
    16 'Prefactor '    9.1104       1.0000          .0000       .10000E+07
    17 'Prefactor '    18.615       1.0000          .0000       .10000E+07
    18 'norm      '    .23799       1.0000          .0000       .10000E+07
    19 'Prefactor '    .76060E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .35520E-05   1.0000          .0000       .10000E+07
    21 'norm      '    1.9284       1.0000          .0000       .10000E+07
    22 'Prefactor '    .23896E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    2.3640       1.0000         .10000E-03   10000.    
    24 'Prefactor '    14.368       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .68317       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0274       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=   7698.821     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     2247 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44408E-05    5.1735       -.24570E-06** at limit **
   2  Prefactor     34.399        19.242        .64918E-06    .25612E-01
   3  Prefactor     .75162E-07    87.050        .66926E-05** at limit **
   4  Prefactor     120.99        85.210        .29466E-07    .34084E-02
   5  norm          2.8076        3.2300       -.13310E-06   -.36562E-03
   6  Prefactor     50.424        10.374       -.33783E-06    .34321E-01
   7  Prefactor     6.1149        6.5393       -.90833E-06    .17849E-03
   8  Prefactor     1.5557        3.1834        .41596E-07   -.36012E-04
   9  Prefactor     24.307        8.6859        .14156E-06    .32633E-01
  10  Prefactor     .28044E-06    32.354       -.14872E-05** at limit **
  11  norm          2.6997        2.2564        .20446E-06   -.86423E-03
  12  Prefactor     .24536E-07    32.929        .42606E-05** at limit **
  13  norm          4.3926        2.5477       -.34225E-06    .20703E-03
  14  norm           .0000        15.806        .17442E-06** at limit **
  15  Prefactor     5.5124        5.8687        .37762E-06   -.10020E-04
  16  Prefactor     9.9644        22.062        .82390E-06    .13373E-01
  17  Prefactor     18.754        13.074        .11896E-07    .67728E-03
  18  norm          .23775        .55801       -.93576E-07** at limit **
  19  Prefactor     .16653E-09    12.638       -.32473E-05** at limit **
  20  Prefactor     .19595E-07    15.012       -.22207E-05** at limit **
  21  norm          1.9355        3.1327       -.69656E-08   -.19308E-03
  22  Prefactor      .0000        4.3089        .11772E-05** at limit **
  23  Prefactor     2.3644        .35959       -.49891E-06    .92111E-03
  24  Prefactor     14.475        9.2237       -.14884E-05    .84134E-04
  25  Normalizat    .68110        .28042       -.50688E-05    .26711E-04
  26  Prefactor     1.0274        .13284        .89603E-05    .65867E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.44084e-06
  Prefactor  = 34.3989
  Prefactor  = 7.51621e-08
  Prefactor  = 120.991
  norm       = 2.80761
  Prefactor  = 50.4242
  Prefactor  = 6.11489
  Prefactor  = 1.55572
  Prefactor  = 24.3073
  Prefactor  = 2.80442e-07
  norm       = 2.69966
  Prefactor  = 2.45359e-08
  norm       = 4.39262
  norm       = 0
  Prefactor  = 5.5124
  Prefactor  = 9.9644
  Prefactor  = 18.7542
  norm       = 0.23775
  Prefactor  = 1.66533e-10
  Prefactor  = 1.95954e-08
  norm       = 1.93553
  Prefactor  = 0
  Prefactor  = 2.36444
  Prefactor  = 14.475
  Normalizat = 0.681098
  Prefactor  = 1.02735
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.821     FROM HESSE     STATUS=OK           518 CALLS     2765 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44408E-05    8.6396        .99803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     34.399        28.002        .17223E-03   -1.5591    
   3  Prefactor     .75162E-07    88.767        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     120.99        85.242        .92201E-04   -1.5488    
   5  norm          2.8076        3.2382        .60717E-03   -1.5674    
   6  Prefactor     50.424        30.370        .14172E-03   -1.5566    
   7  Prefactor     6.1149        6.5672        .40618E-03   -1.5659    
   8  Prefactor     1.5557        3.3581        .85699E-03   -1.5683    
   9  Prefactor     24.307        43.284        .19928E-03   -1.5609    
  10  Prefactor     .28044E-06    41.255        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.6997        2.2904        .61825E-03   -1.5675    
  12  Prefactor     .24536E-07    37.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          4.3926        2.5568        .48055E-03   -1.5666    
  14  norm           .0000        15.790        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     5.5124        5.8796        .43045E-03   -1.5661    
  16  Prefactor     9.9644        27.297        .33181E-03   -1.5645    
  17  Prefactor     18.754        13.107        .23186E-03   -1.5621    
  18  norm          .23775        .55951        .11135E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16653E-09    12.638        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .19595E-07    15.420        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.9355        3.1602        .74772E-03   -1.5680    
  22  Prefactor      .0000        4.2944        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     2.3644        .35927        .44294E-02   -1.5400    
  24  Prefactor     14.475        9.2234        .26417E-02   -1.4947    
  25  Normalizat    .68110        .25678        .97730E-01   -1.0464    
  26  Prefactor     1.0274        .11714        .41471E-01   -.91823    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.70481e-07
Minuit parameter uncertainties:
  1  0.0123883
  2  28.0019
  3  0.00516697
  4  85.2425
  5  3.23818
  6  30.3705
  7  6.56717
  8  3.35806
  9  43.2844
  10  0.00680285
  11  2.29041
  12  0.0019235
  13  2.55681
  14  2.87917e-05
  15  5.87964
  16  27.297
  17  13.1072
  18  0.559514
  19  9.70544e-05
  20  0.00109936
  21  3.16024
  22  1.97702e-05
  23  0.359274
  24  9.22435
  25  0.257238
  26  0.117167
Done.

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

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  4.393e+00  2.557e+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:  1.027e+00  1.172e-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:  6.811e-01  2.572e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.09
Ra Dec: 326.783 9.518
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 8.44e-08 +/- 4.91e-08
Energy Flux (Fixed Index): 2.37e-05 +/- 1.38e-05

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) = 7698.70328007
delta logL = 0.117258161659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7698.69572495
delta logL = 0.12481328475

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.1760       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7232       1.0000          .0000       5.0000    
     3 'Normalizat'    .65801       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0350       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7698.696     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      264 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.1759        2.5285        .94146E-05    .16099E-01
   2  alpha         2.7232        .60428        .16889E-01    .93493E-04
   3  Normalizat    .65822        .27401        .44007E-03    .11204E-03
   4  Prefactor     1.0349        .13297        .17498E-03    .29801E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.17586
  alpha      = 2.72323
  Normalizat = 0.65822
  Prefactor  = 1.03492
 **********
 **   18 **HESSE 
 **********

 FCN=   7698.696     FROM HESSE     STATUS=OK            23 CALLS      287 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.1759        2.4901        .37658E-06   -1.5667    
   2  alpha         2.7232        .59490        .67557E-03    .89411E-01
   3  Normalizat    .65822        .27417        .17603E-04   -1.0557    
   4  Prefactor     1.0349        .13301        .34996E-04   -.91574    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.3192e-10
Minuit parameter uncertainties:
  1  2.4901
  2  0.600707
  3  0.274736
  4  0.133051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/933630': 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) = 7698.69572459
delta logL = 0.124813644431

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  4.176e+00  2.490e+00  0.000e+00  1.000e+06 ( 1.000e-11)
298        alpha:  2.723e+00  6.007e-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:  1.035e+00  1.331e-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:  6.582e-01  2.747e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.33
Ra Dec: 326.783 9.518
Photon Index (Free Index): 2.72 +/- 0.60
Photon Flux (Free Index): 9.98e-08 +/- 6.15e-08
Energy Flux (Free Index): 2.30e-05 +/- 1.29e-05

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/933630/cmap_HighResolution_695779201_696038401_4FGL_J2147.1+0931_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='8.44e-08', energy_flux2='2.30e-05', photon_flux_error='4.91e-08', dlogl='1.25e-01', energy_flux='2.37e-05', photon_flux2='9.98e-08', job_status='DONE', time_completed='2023-01-22 01:49:47.508770', photon_index_error2='0.60', photon_index2='2.72', ts='5.09', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', energy_flux_error2='1.29e-05', EG='0.68', time_epoch_completed='1674380987.51', return_code='0', job_id='933630', GAL2='1.03', EG2='0.66', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='6.15e-08', ts2='5.33', photon_index='2.43' WHERE bin_id='1761' AND source_name='4FGL J2147.1+0931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:49:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0028>
Subject: Job 933630: <4FGL_J2147.1+0931_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2147.1+0931_daily_bin1761> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan 22 01:35:30 2023
Job was executed on host(s) <bullet0028>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:36:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:36:42 2023
Terminated at Sun Jan 22 01:49:48 2023
Results reported at Sun Jan 22 01:49:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2147.1+0931_daily_bin1761 326.783 9.5181 695779201 696038401 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 :                                   693.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             282.39 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   785 sec.
    Turnaround time :                            858 sec.

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

