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


Performing analysis on: 4FGL_J2147.1+0931_daily_bin1774
RA = 326.783, Dec = 9.5181
tmin = 699148801, tmax = 699408001
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='696658', job_status='RUN', time_executed='2023-03-02 01:35:41.556595', time_epoch_executed='1677749741.56' WHERE source_name='4FGL J2147.1+0931' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/696658

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/696658/ft1_4FGL_J2147.1+0931_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/696658/ft2_4FGL_J2147.1+0931_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/696658/ft1_4FGL_J2147.1+0931_daily_bin1774.fits outfile=/scratch/kocevski/696658/ft1_filteredMKT_4FGL_J2147.1+0931_daily_bin1774.fits ra=326.783 dec=9.5181 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.83
user 2.61
sys 0.19

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

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

Number of photons that the gtmktime cut: 639

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/696658/ft1_filtered_4FGL_J2147.1+0931_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/696658/ft2_4FGL_J2147.1+0931_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/696658/ltcube_699148801_699408001_4FGL_J2147.1+0931_daily_bin1774.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/696658/ft2_4FGL_J2147.1+0931_daily_bin1774.fits
.....................!
real 12.35
user 12.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/696658/ft1_filtered_4FGL_J2147.1+0931_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/696658/ft2_4FGL_J2147.1+0931_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/696658/ltcube_699148801_699408001_4FGL_J2147.1+0931_daily_bin1774.fits outfile=/scratch/kocevski/696658/expmap_699148801_699408001_4FGL_J2147.1+0931_daily_bin1774.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/696658/ltcube_699148801_699408001_4FGL_J2147.1+0931_daily_bin1774.fits
.....................!
real 190.10
user 185.66
sys 4.12

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/696658/ft1_filtered_4FGL_J2147.1+0931_daily_bin1774.fits scfile=/scratch/kocevski/696658/ft2_4FGL_J2147.1+0931_daily_bin1774.fits outfile=/scratch/kocevski/696658/cmap_699148801_699408001_4FGL_J2147.1+0931_daily_bin1774.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.54
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/696658/ft1_filtered_4FGL_J2147.1+0931_daily_bin1774.fits scfile=/scratch/kocevski/696658/ft2_4FGL_J2147.1+0931_daily_bin1774.fits outfile=/scratch/kocevski/696658/cmap_HighResolution_699148801_699408001_4FGL_J2147.1+0931_daily_bin1774.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.54
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.959       1.0000          .0000       .10000E+07
     2 'Prefactor '    7.8401       1.0000          .0000       .10000E+07
     3 'Prefactor '    .35143E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .63889       1.0000          .0000       .10000E+07
     5 'norm      '    .24458E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.8894       1.0000          .0000       .10000E+07
     7 'Prefactor '    .51591E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    .45304E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .42902       1.0000          .0000       .10000E+07
    10 'Prefactor '    .33600E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .15612E-05   1.0000          .0000       .10000E+07
    12 'Prefactor '    .33636E-02   1.0000          .0000       .10000E+07
    13 'norm      '    .54861E-01   1.0000          .0000       .10000E+07
    14 'norm      '    .45010E-02   1.0000          .0000       .10000E+07
    15 'Prefactor '    .11248E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    13.684       1.0000          .0000       .10000E+07
    17 'Prefactor '    .63737E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .39270       1.0000          .0000       .10000E+07
    19 'Prefactor '    .10740E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    42.087       1.0000          .0000       .10000E+07
    21 'norm      '    .66005E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .48484E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    .71870       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10689E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1695       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0912       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=   7333.408     FROM MIGRAD    STATUS=CONVERGED    212 CALLS     2460 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.018        17.999       -.73436E-08    .22523    
   2  Prefactor     7.9609        13.355       -.25705E-08    .36631E-01
   3  Prefactor     .31641E-08    19.016       -.17312E-08** at limit **
   4  Prefactor     .63838E-08    279.06        .56689E-08** at limit **
   5  norm          .49960E-09    2.2227       -.34014E-09** at limit **
   6  Prefactor     1.8601        14.076       -.12521E-07    .18085E-01
   7  Prefactor     .22204E-09    3.3703       -.43803E-09** at limit **
   8  Prefactor     .26178E-04    23.189        .27968E-08** at limit **
   9  Prefactor     .19557E-04    64.637       -.16430E-07** at limit **
  10  Prefactor     .12768E-08    45.469        .94536E-09** at limit **
  11  norm          .27756E-09    1.4254       -.63527E-11** at limit **
  12  Prefactor     .47196E-06    25.060        .40698E-08** at limit **
  13  norm          .66924E-01    17.137       -.61038E-09** at limit **
  14  norm          .72720E-07    13.933       -.76836E-09** at limit **
  15  Prefactor     .44409E-09    4.5877       -.18124E-09** at limit **
  16  Prefactor     13.665        8.8986       -.34904E-09   -.86515E-02
  17  Prefactor     .38303E-08    9.3300        .34758E-09** at limit **
  18  norm          .39499        .93183       -.47048E-09    .18541E-01
  19  Prefactor     .17708E-07    19.222       -.76167E-09** at limit **
  20  Prefactor     42.672        11.812       -.23120E-08    .76528E-01
  21  norm          .29782E-06    19.711        .35023E-08** at limit **
  22  Prefactor     .34469E-04    510.20        .62921E-08** at limit **
  23  Prefactor     .71921        .29094       -.20241E-08    .70253E-03
  24  Prefactor     .10000E-03    5.1163        .59742E-08** at limit **
  25  Normalizat    1.1692        .33651        .48807E-08    .54913E-03
  26  Prefactor     1.0911        .15088        .71039E-08    .93004E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.0184
  Prefactor  = 7.96087
  Prefactor  = 3.16414e-09
  Prefactor  = 6.38378e-09
  norm       = 4.996e-10
  Prefactor  = 1.8601
  Prefactor  = 2.22045e-10
  Prefactor  = 2.61782e-05
  Prefactor  = 1.95574e-05
  Prefactor  = 1.27676e-09
  norm       = 2.77556e-10
  Prefactor  = 4.71956e-07
  norm       = 0.0669244
  norm       = 7.27196e-08
  Prefactor  = 4.44089e-10
  Prefactor  = 13.6647
  Prefactor  = 3.83027e-09
  norm       = 0.394986
  Prefactor  = 1.77081e-08
  Prefactor  = 42.6715
  norm       = 2.97817e-07
  Prefactor  = 3.44694e-05
  Prefactor  = 0.719207
  Prefactor  = 0.000100004
  Normalizat = 1.16924
  Prefactor  = 1.09108
 **********
 **   18 **HESSE 
 **********

 FCN=   7333.408     FROM HESSE     STATUS=OK           522 CALLS     2982 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.018        19.143        .18586E-03   -1.5600    
   2  Prefactor     7.9609        26.598        .35787E-03   -1.5652    
   3  Prefactor     .31641E-08    36.049        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .63838E-08    286.85        .65814E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .49960E-09    2.2397        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.8601        131.04        .75675E-03   -1.5681    
   7  Prefactor     .22204E-09    3.3953        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .26178E-04    3.9551        .65153E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19557E-04    159.19        .86199E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .12768E-08    45.582        .16266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .27756E-09    1.4326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .47196E-06    34.781        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .66924E-01    1.2438        .57291E-02   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .72720E-07    14.033        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .44409E-09    4.6275        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     13.665        28.659        .27051E-03   -1.5634    
  17  Prefactor     .38303E-08    9.4297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .39499        .94851        .90337E-03   -1.5695    
  19  Prefactor     .17708E-07    19.396        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     42.672        59.262        .15416E-03   -1.5577    
  21  norm          .29782E-06    19.451        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .34469E-04    20.139        .76528E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .71921        .31080        .64634E-02   -1.5538    
  24  Prefactor     .10000E-03    5.0949        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1692        .29076        .89160E-01   -.87559    
  26  Prefactor     1.0911        .12640        .37932E-01   -.89752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.67034e-06
Minuit parameter uncertainties:
  1  19.1428
  2  26.5981
  3  0.000677275
  4  0.0027097
  5  6.86564e-05
  6  31.2253
  7  5.42837e-05
  8  0.0203508
  9  0.111596
  10  0.000484341
  11  4.02357e-05
  12  0.00810325
  13  0.577031
  14  0.00202023
  15  9.20176e-05
  16  28.6594
  17  0.000380059
  18  0.948508
  19  0.0011728
  20  59.2626
  21  0.00481378
  22  0.0526943
  23  0.310804
  24  0.000294275
  25  0.291162
  26  0.126437
Done.

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

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  6.692e-02  5.770e-01  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.091e+00  1.264e-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:  1.169e+00  2.912e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/696658/likelihoodResults_699148801_699408001_4FGL_J2147.1+0931_daily_bin1774.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) = 7333.40809839
delta logL = 7.29868588678e-07

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7333.40763636
delta logL = 0.000462762309326

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .87120E-01   1.0000          .0000       .10000E+07
     2 'alpha     '    2.6965       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1685       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0912       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7333.408     FROM MIGRAD    STATUS=FAILED        87 CALLS      403 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86973E-01    2465.8        .17555E-03** at limit **
   2  alpha         2.6982        3.3499        .16525       -.12872E-04
   3  Normalizat    1.1684        .42142        .39500E-03   -.48439E-04
   4  Prefactor     1.0913        .12520        .18447E-03   -.18035E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7333.408     FROM SIMPLEX   STATUS=UNCHANGED    110 CALLS      513 TOTAL
                     EDM=   .17E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86973E-01    2465.8        .46883E-04** at limit **
   2  alpha         2.6982        3.3499        .91620E-03   -.12872E-04
   3  Normalizat    1.1684        .42142        .13290E-03   -.48439E-04
   4  Prefactor     1.0913        .12520        .40232E-04   -.18035E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7333.408     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      548 TOTAL
                     EDM=   .45E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .87168E-01    11.812        .70221E-05** at limit **
   2  alpha         2.6985        2.5765        .66101E-02    .70859E-07
   3  Normalizat    1.1684        .33377        .15800E-04    .35689E-04
   4  Prefactor     1.0913        .15131        .36895E-04    .41969E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0871678
  alpha      = 2.69852
  Normalizat = 1.16838
  Prefactor  = 1.09127
 **********
 **   18 **HESSE 
 **********

 FCN=   7333.408     FROM HESSE     STATUS=OK            25 CALLS      573 TOTAL
                     EDM=   .44E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .87168E-01    11.726        .28088E-06   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.6985        2.5886        .13220E-02    .79493E-01
   3  Normalizat    1.1684        .33359        .31600E-05   -.87586    
   4  Prefactor     1.0913        .15125        .73789E-05   -.89746    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37837e-12
Minuit parameter uncertainties:
  1  2.02199
  2  8.04847
  3  0.334198
  4  0.151312
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/696658': 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) = 7333.40763622
delta logL = 0.000462897163743

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  8.717e-02  2.022e+00  0.000e+00  1.000e+06 ( 1.000e-11)
298        alpha:  2.699e+00  8.048e+00  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.091e+00  1.513e-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:  1.168e+00  3.342e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 326.783 9.518

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/696658/cmap_HighResolution_699148801_699408001_4FGL_J2147.1+0931_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-05', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2023-03-02 01:47:35.217617', job_id='696658', GAL2='1.09', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1677750455.22', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='4.63e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1774' AND source_name='4FGL J2147.1+0931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 01:47:35 PST 2023


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

Job <4FGL_J2147.1+0931_daily_bin1774> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Mar  2 01:35:20 2023
Job was executed on host(s) <bullet0028>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 01:35:21 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 01:35:21 2023
Terminated at Thu Mar  2 01:47:35 2023
Results reported at Thu Mar  2 01:47:35 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2147.1+0931_daily_bin1774 326.783 9.5181 699148801 699408001 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 :                                   716.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   734 sec.
    Turnaround time :                            735 sec.

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

