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


Performing analysis on: 4FGL_J2147.1+0931_daily_bin1725
RA = 326.783, Dec = 9.5181
tmin = 686448001, tmax = 686707201
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='892827', job_status='RUN', time_executed='2022-10-06 01:07:18.561593', time_epoch_executed='1665043638.56' WHERE source_name='4FGL J2147.1+0931' and cadence='daily' and bin_id='1725'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/892827

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/892827/ft1_4FGL_J2147.1+0931_daily_bin1725.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/892827/ft2_4FGL_J2147.1+0931_daily_bin1725.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/892827/ft1_4FGL_J2147.1+0931_daily_bin1725.fits outfile=/scratch/kocevski/892827/ft1_filteredMKT_4FGL_J2147.1+0931_daily_bin1725.fits ra=326.783 dec=9.5181 rad=12.0 tmin=686448001.0 tmax=686707201.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 4.66
user 4.39
sys 0.22

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

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

Number of photons that the gtmktime cut: 563

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/892827/ft1_filtered_4FGL_J2147.1+0931_daily_bin1725.fits" evtable="EVENTS" scfile=/scratch/kocevski/892827/ft2_4FGL_J2147.1+0931_daily_bin1725.fits sctable="SC_DATA" outfile=/scratch/kocevski/892827/ltcube_686448001_686707201_4FGL_J2147.1+0931_daily_bin1725.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/892827/ft2_4FGL_J2147.1+0931_daily_bin1725.fits
.....................!
real 15.20
user 14.71
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/892827/ft1_filtered_4FGL_J2147.1+0931_daily_bin1725.fits evtable="EVENTS" scfile=/scratch/kocevski/892827/ft2_4FGL_J2147.1+0931_daily_bin1725.fits sctable="SC_DATA" expcube=/scratch/kocevski/892827/ltcube_686448001_686707201_4FGL_J2147.1+0931_daily_bin1725.fits outfile=/scratch/kocevski/892827/expmap_686448001_686707201_4FGL_J2147.1+0931_daily_bin1725.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/892827/ltcube_686448001_686707201_4FGL_J2147.1+0931_daily_bin1725.fits
.....................!
real 191.91
user 186.31
sys 4.82

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/892827/ft1_filtered_4FGL_J2147.1+0931_daily_bin1725.fits scfile=/scratch/kocevski/892827/ft2_4FGL_J2147.1+0931_daily_bin1725.fits outfile=/scratch/kocevski/892827/cmap_686448001_686707201_4FGL_J2147.1+0931_daily_bin1725.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/892827/ft1_filtered_4FGL_J2147.1+0931_daily_bin1725.fits scfile=/scratch/kocevski/892827/ft2_4FGL_J2147.1+0931_daily_bin1725.fits outfile=/scratch/kocevski/892827/cmap_HighResolution_686448001_686707201_4FGL_J2147.1+0931_daily_bin1725.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.815       1.0000          .0000       .10000E+07
     2 'Prefactor '    .11870E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.8420       1.0000          .0000       .10000E+07
     4 'Prefactor '    165.68       1.0000          .0000       .10000E+07
     5 'norm      '    9.7975       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.2702       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9021       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.5545       1.0000          .0000       .10000E+07
     9 'Prefactor '    .28746       1.0000          .0000       .10000E+07
    10 'Prefactor '    .38795       1.0000          .0000       .10000E+07
    11 'norm      '    .42716E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    .67384E-03   1.0000          .0000       .10000E+07
    13 'norm      '    5.3719       1.0000          .0000       .10000E+07
    14 'norm      '    15.159       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10238E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .80220E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .45123E-02   1.0000          .0000       .10000E+07
    18 'norm      '    1.3663       1.0000          .0000       .10000E+07
    19 'Prefactor '    12.885       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.0105       1.0000          .0000       .10000E+07
    21 'norm      '    .22325E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    37.219       1.0000          .0000       .10000E+07
    23 'Prefactor '    .98142       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.0834       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .70667       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .83292       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=   6265.147     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     2286 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.797        14.526       -.34200E-06   -.12438E-01
   2  Prefactor     .38858E-09    16.899        .40364E-06** at limit **
   3  Prefactor     3.9706        13.375        .83813E-06   -.99875E-03
   4  Prefactor     172.39        93.806       -.36258E-06    .39303E-02
   5  norm          9.8562        5.6029        .85749E-07   -.21710E-02
   6  Prefactor     9.1418        2.7952        .76094E-07    .14343E-01
   7  Prefactor     1.9133        5.3127       -.97165E-06    .23413E-02
   8  Prefactor     6.5375        3.7393       -.19266E-06    .23828E-02
   9  Prefactor     .34275        5.9333        .92072E-07    .12195E-01
  10  Prefactor     .61062E-08    8.0982        .10907E-06** at limit **
  11  norm          .55511E-10    1.3697        .36405E-06** at limit **
  12  Prefactor     .72387E-07    63.438       -.12635E-05** at limit **
  13  norm          5.3803        2.7755        .20508E-08   -.18413E-02
  14  norm          15.109        14.146        .51534E-06   -.36665E-02
  15  Prefactor     .43354E-07    35.138        .89922E-06** at limit **
  16  Prefactor     .16653E-09    24.655        .12170E-05** at limit **
  17  Prefactor     .38858E-09    7.0986       -.87538E-06** at limit **
  18  norm          1.3717        1.1800       -.12477E-06    .29246E-02
  19  Prefactor     13.003        6.7051       -.26949E-06   -.26943E-02
  20  Prefactor     3.0536        15.125       -.11888E-05    .23086E-02
  21  norm          .27756E-09    5.7649        .89749E-06** at limit **
  22  Prefactor     37.301        3.1300        .50219E-07    .13314E-01
  23  Prefactor     .98216        .32624        .21888E-06   -.17310E-02
  24  Prefactor     9.0400        8.5478        .34923E-05   -.19945E-03
  25  Normalizat    .70358        .28399        .69244E-05   -.14388E-03
  26  Prefactor     .83331        .12771        .35391E-05   -.36717E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.7971
  Prefactor  = 3.88578e-10
  Prefactor  = 3.97063
  Prefactor  = 172.389
  norm       = 9.85615
  Prefactor  = 9.14177
  Prefactor  = 1.91329
  Prefactor  = 6.53752
  Prefactor  = 0.342755
  Prefactor  = 6.10623e-09
  norm       = 5.55112e-11
  Prefactor  = 7.23865e-08
  norm       = 5.38027
  norm       = 15.1092
  Prefactor  = 4.33542e-08
  Prefactor  = 1.66533e-10
  Prefactor  = 3.88578e-10
  norm       = 1.37173
  Prefactor  = 13.0032
  Prefactor  = 3.05361
  norm       = 2.77556e-10
  Prefactor  = 37.301
  Prefactor  = 0.982162
  Prefactor  = 9.04003
  Normalizat = 0.703583
  Prefactor  = 0.833309
 **********
 **   18 **HESSE 
 **********

 FCN=   6265.147     FROM HESSE     STATUS=OK           522 CALLS     2808 TOTAL
                     EDM=   .56E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.797        20.592        .17731E-03   -1.5595    
   2  Prefactor     .38858E-09    18.733        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.9706        13.420        .51463E-03   -1.5668    
   4  Prefactor     172.39        93.887        .77697E-04   -1.5445    
   5  norm          9.8562        5.6139        .31990E-03   -1.5645    
   6  Prefactor     9.1418        20.887        .32892E-03   -1.5647    
   7  Prefactor     1.9133        5.3530        .75378E-03   -1.5680    
   8  Prefactor     6.5375        3.8183        .39175E-03   -1.5657    
   9  Prefactor     .34275        25.001        .13213E-01   -1.5696    
  10  Prefactor     .61062E-08    88.214        .90896E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    1.3732        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .72387E-07    63.597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          5.3803        2.8024        .43336E-03   -1.5662    
  14  norm          15.109        20.829        .25698E-03   -1.5630    
  15  Prefactor     .43354E-07    34.798        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .16653E-09    25.149        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .38858E-09    7.0998        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.3717        1.1989        .93306E-03   -1.5685    
  19  Prefactor     13.003        22.849        .27879E-03   -1.5636    
  20  Prefactor     3.0536        24.906        .58470E-03   -1.5673    
  21  norm          .27756E-09    5.7450        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     37.301        21.612        .16393E-03   -1.5586    
  23  Prefactor     .98216        .34520        .56267E-02   -1.5510    
  24  Prefactor     9.0400        8.5409        .33246E-02   -1.5107    
  25  Normalizat    .70358        .25581        .86534E-01   -1.0375    
  26  Prefactor     .83331        .10867        .44144E-01   -.98512    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.60864e-08
Minuit parameter uncertainties:
  1  20.5917
  2  0.000174809
  3  13.4203
  4  93.8879
  5  5.61388
  6  20.8871
  7  5.35298
  8  3.81829
  9  5.8547
  10  0.00146617
  11  1.82367e-05
  12  0.004291
  13  2.8024
  14  20.8286
  15  0.00245733
  16  0.000133369
  17  0.00010796
  18  1.19889
  19  22.8488
  20  17.4418
  21  7.86022e-05
  22  21.6118
  23  0.345203
  24  8.54204
  25  0.256249
  26  0.108699
Done.

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

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  5.380e+00  2.802e+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:  8.333e-01  1.087e-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:  7.036e-01  2.562e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 9.43
Ra Dec: 326.783 9.518
Photon Index (Fixed Index): 2.43 +/- 0.00
Photon Flux (Fixed Index): 1.03e-07 +/- 5.38e-08
Energy Flux (Fixed Index): 2.91e-05 +/- 1.51e-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) = 6265.05110116
delta logL = 0.0962752416644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6265.04816524
delta logL = 0.0992111588566

Fit tolerance = 1e-08

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

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

 FCN=   6265.048     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      205 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3311        3.3984        .43504E-03    .41157E-01
   2  alpha         2.1900        .54690        .36544       -.29875E-04
   3  Normalizat    .72537        .22859        .85344E-01    .55741E-03
   4  Prefactor     .82624        .10765        .44058E-01    .13160E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 5.33114
  alpha      = 2.19002
  Normalizat = 0.725372
  Prefactor  = 0.826243
 **********
 **   18 **HESSE 
 **********

 FCN=   6265.048     FROM HESSE     STATUS=OK            29 CALLS      234 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3311        2.8624        .91953E-05   -1.5662    
   2  alpha         2.1900        .53365        .13971E-01   -.12431    
   3  Normalizat    .72537        .27013        .37797E-03   -1.0290    
   4  Prefactor     .82624        .12645        .16770E-03   -.98768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72056e-09
Minuit parameter uncertainties:
  1  2.86242
  2  0.537858
  3  0.270629
  4  0.126495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/892827': 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) = 6265.04816521
delta logL = 0.0992111900359

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  5.331e+00  2.862e+00  0.000e+00  1.000e+06 ( 1.000e-11)
298        alpha:  2.190e+00  5.379e-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:  8.262e-01  1.265e-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:  7.254e-01  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.56
Ra Dec: 326.783 9.518
Photon Index (Free Index): 2.19 +/- 0.54
Photon Flux (Free Index): 8.77e-08 +/- 5.88e-08
Energy Flux (Free Index): 3.12e-05 +/- 1.74e-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/892827/cmap_HighResolution_686448001_686707201_4FGL_J2147.1+0931_daily_bin1725.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.03e-07', energy_flux2='3.12e-05', photon_flux_error='5.38e-08', dlogl='9.92e-02', energy_flux='2.91e-05', photon_flux2='8.77e-08', job_status='DONE', time_completed='2022-10-06 01:17:27.377348', photon_index_error2='0.54', photon_index2='2.19', ts='9.43', fit_tolerance='1e-08', GAL='0.83', photon_index_error='0.00', energy_flux_error2='1.74e-05', EG='0.70', time_epoch_completed='1665044247.38', return_code='0', job_id='892827', GAL2='0.83', EG2='0.73', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='5.88e-08', ts2='9.56', photon_index='2.43' WHERE bin_id='1725' AND source_name='4FGL J2147.1+0931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Oct  6 01:17:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0208>
Subject: Job 892827: <4FGL_J2147.1+0931_daily_bin1725> in cluster <slac> Done

Job <4FGL_J2147.1+0931_daily_bin1725> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Oct  6 01:05:38 2022
Job was executed on host(s) <bullet0208>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Oct  6 01:06:24 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Oct  6 01:06:24 2022
Terminated at Thu Oct  6 01:17:28 2022
Results reported at Thu Oct  6 01:17:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2147.1+0931_daily_bin1725 326.783 9.5181 686448001 686707201 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 :                                   610.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             331.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   663 sec.
    Turnaround time :                            710 sec.

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

