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


Performing analysis on: 4FGL_J2147.1+0931_daily_bin1730
RA = 326.783, Dec = 9.5181
tmin = 687744001, tmax = 688003201
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='469053', job_status='RUN', time_executed='2022-10-21 00:36:04.602692', time_epoch_executed='1666337764.6' WHERE source_name='4FGL J2147.1+0931' and cadence='daily' and bin_id='1730'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469053

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469053/ft1_4FGL_J2147.1+0931_daily_bin1730.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469053/ft2_4FGL_J2147.1+0931_daily_bin1730.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469053/ft1_4FGL_J2147.1+0931_daily_bin1730.fits outfile=/scratch/kocevski/469053/ft1_filteredMKT_4FGL_J2147.1+0931_daily_bin1730.fits ra=326.783 dec=9.5181 rad=12.0 tmin=687744001.0 tmax=688003201.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.01
user 4.76
sys 0.21

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

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

Number of photons that the gtmktime cut: 700

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469053/ft1_filtered_4FGL_J2147.1+0931_daily_bin1730.fits evtable="EVENTS" scfile=/scratch/kocevski/469053/ft2_4FGL_J2147.1+0931_daily_bin1730.fits sctable="SC_DATA" expcube=/scratch/kocevski/469053/ltcube_687744001_688003201_4FGL_J2147.1+0931_daily_bin1730.fits outfile=/scratch/kocevski/469053/expmap_687744001_688003201_4FGL_J2147.1+0931_daily_bin1730.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/469053/ltcube_687744001_688003201_4FGL_J2147.1+0931_daily_bin1730.fits
.....................!
real 192.05
user 185.66
sys 5.95

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/469053/ft1_filtered_4FGL_J2147.1+0931_daily_bin1730.fits scfile=/scratch/kocevski/469053/ft2_4FGL_J2147.1+0931_daily_bin1730.fits outfile=/scratch/kocevski/469053/cmap_687744001_688003201_4FGL_J2147.1+0931_daily_bin1730.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.4789       1.0000          .0000       .10000E+07
     2 'Prefactor '    .10205E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .42000E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    43.873       1.0000          .0000       .10000E+07
     5 'norm      '    3.2862       1.0000          .0000       .10000E+07
     6 'Prefactor '    30.169       1.0000          .0000       .10000E+07
     7 'Prefactor '    3.5278       1.0000          .0000       .10000E+07
     8 'Prefactor '    5.1981       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32190E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .23449E-01   1.0000          .0000       .10000E+07
    11 'norm      '    .34773       1.0000          .0000       .10000E+07
    12 'Prefactor '    .15815       1.0000          .0000       .10000E+07
    13 'norm      '    .12862E-06   1.0000          .0000       .10000E+07
    14 'norm      '    32.240       1.0000          .0000       .10000E+07
    15 'Prefactor '    .44416E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    68.434       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.5660       1.0000          .0000       .10000E+07
    18 'norm      '    .21672E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    30.605       1.0000          .0000       .10000E+07
    20 'Prefactor '    3.7434       1.0000          .0000       .10000E+07
    21 'norm      '    8.5404       1.0000          .0000       .10000E+07
    22 'Prefactor '    .37383E-04   1.0000          .0000       .10000E+07
    23 'Prefactor '    .92327       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .95718       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94820       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=   7391.841     FROM MIGRAD    STATUS=CONVERGED    181 CALLS     2320 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5229        5.3665        .42823E-05    .11246E-01
   2  Prefactor     .31086E-08    22.569       -.31162E-06** at limit **
   3  Prefactor     .14599E-07    7.7547       -.43402E-06** at limit **
   4  Prefactor     45.951        83.443        .20534E-05   -.13337E-02
   5  norm          3.2868        2.8987       -.22713E-07   -.12568E-02
   6  Prefactor     30.159        8.9850        .60176E-06   -.78058E-01
   7  Prefactor     3.4925        5.8156        .28068E-06    .20047E-02
   8  Prefactor     5.1945        3.0475        .10896E-06    .91090E-02
   9  Prefactor      .0000        8.3357       -.94906E-07** at limit **
  10  Prefactor      .0000        37.522        .95054E-07** at limit **
  11  norm          .34896        2.5813        .57701E-08    .14818E-02
  12  Prefactor     .28457E-05    16.237        .81085E-05** at limit **
  13  norm          .22204E-09    2.5684        .11119E-06** at limit **
  14  norm          32.220        8.4572       -.97674E-06    .60139E-01
  15  Prefactor     .12212E-08    6.9114       -.20904E-06** at limit **
  16  Prefactor     68.523        1.6151        .32915E-07   -.10286E-01
  17  Prefactor     2.5696        8.3834       -.88324E-06   -.39716E-02
  18  norm           .0000        .92946        .97612E-07** at limit **
  19  Prefactor     30.545        25.326        .25301E-05   -.33127E-01
  20  Prefactor     3.9386        13.331        .37710E-05    .73289E-02
  21  norm          8.5574        6.2037        .15455E-07   -.35069E-03
  22  Prefactor     .55511E-10    3.3486        .10852E-06** at limit **
  23  Prefactor     .92331        .24947        .12751E-06   -.31004E-02
  24  Prefactor     .10000E-03    3.8071        .11733E-07** at limit **
  25  Normalizat    .95646        .27946       -.60416E-05    .57557E-04
  26  Prefactor     .94825        .13570       -.26775E-05   -.10495E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.52286
  Prefactor  = 3.10862e-09
  Prefactor  = 1.45994e-08
  Prefactor  = 45.9506
  norm       = 3.28685
  Prefactor  = 30.1586
  Prefactor  = 3.49254
  Prefactor  = 5.19453
  Prefactor  = 0
  Prefactor  = 0
  norm       = 0.348965
  Prefactor  = 2.84572e-06
  norm       = 2.22045e-10
  norm       = 32.2197
  Prefactor  = 1.22125e-09
  Prefactor  = 68.5234
  Prefactor  = 2.5696
  norm       = 0
  Prefactor  = 30.5452
  Prefactor  = 3.93863
  norm       = 8.5574
  Prefactor  = 5.55112e-11
  Prefactor  = 0.923306
  Prefactor  = 0.0001
  Normalizat = 0.956458
  Prefactor  = 0.948255
 **********
 **   18 **HESSE 
 **********

 FCN=   7391.841     FROM HESSE     STATUS=OK           524 CALLS     2844 TOTAL
                     EDM=   .38E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5229        31.884        .88242E-03   -1.5683    
   2  Prefactor     .31086E-08    22.543        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .14599E-07    7.8981        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.951        83.385        .15099E-03   -1.5572    
   5  norm          3.2868        2.8967        .55829E-03   -1.5672    
   6  Prefactor     30.159        23.187        .18209E-03   -1.5598    
   7  Prefactor     3.4925        5.8414        .53796E-03   -1.5671    
   8  Prefactor     5.1945        3.0473        .44067E-03   -1.5662    
   9  Prefactor      .0000        8.3556        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        37.514        .16820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .34896        1.5486        .32701E-02   -1.5696    
  12  Prefactor     .28457E-05    63.486        .12574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .22204E-09    2.4673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          32.220        21.113        .17614E-03   -1.5594    
  15  Prefactor     .12212E-08    6.9924        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     68.523        32.727        .12089E-03   -1.5542    
  17  Prefactor     2.5696        8.4645        .63699E-03   -1.5676    
  18  norm           .0000        .39828        .19279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     30.545        27.327        .18079E-03   -1.5597    
  20  Prefactor     3.9386        21.368        .52162E-03   -1.5668    
  21  norm          8.5574        6.2221        .34278E-03   -1.5649    
  22  Prefactor     .55511E-10    3.3504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .92331        .24997        .48710E-02   -1.5516    
  24  Prefactor     .10000E-03    3.8008        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .95646        .24031        .80509E-01   -.94504    
  26  Prefactor     .94825        .11185        .45616E-01   -.94475    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83395e-07
Minuit parameter uncertainties:
  1  13.9363
  2  0.000531174
  3  0.00067918
  4  83.3872
  5  2.89666
  6  23.1874
  7  5.84136
  8  3.04735
  9  2.78543e-05
  10  1.13513e-05
  11  1.47026
  12  0.0268826
  13  4.77841e-05
  14  21.1127
  15  0.000184646
  16  32.7266
  17  8.46457
  18  4.77063e-07
  19  27.3269
  20  18.3481
  21  6.22211
  22  2.32129e-05
  23  0.249972
  24  1.93647e-05
  25  0.240578
  26  0.111882
Done.

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

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  2.220e-10  4.778e-05  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.483e-01  1.119e-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:  9.565e-01  2.406e-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: 7.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.17e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469053/likelihoodResults_687744001_688003201_4FGL_J2147.1+0931_daily_bin1730.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) = 7391.8378318
delta logL = 0.00353083411301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7391.83309287
delta logL = 0.00826976638109

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10436       1.0000          .0000       .10000E+07
     2 'alpha     '    3.7401       1.0000          .0000       5.0000    
     3 'Normalizat'    .94759       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95065       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=   7391.833     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      275 TOTAL
                     EDM=   .53E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10427        14.773        .21870E-02** at limit **
   2  alpha         3.7387        3.2686        .50000        .22372E-04
   3  Normalizat    .94729        .29624E-01    .80865E-01    .13848E-04
   4  Prefactor     .95082        .14541E-01    .45647E-01   -.26490E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.10427
  alpha      = 3.73874
  Normalizat = 0.947288
  Prefactor  = 0.950821
 **********
 **   18 **HESSE 
 **********

 FCN=   7391.833     FROM HESSE     STATUS=OK            33 CALLS      308 TOTAL
                     EDM=   .89E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10427        3.6792        .12618E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.7387        3.9199        .16128E-01    .51841    
   3  Normalizat    .94729        .28323        .35795E-03   -.94818    
   4  Prefactor     .95082        .13645        .17574E-03   -.94387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.9355e-08
Minuit parameter uncertainties:
  1  1.23876
  2  6.43852
  3  0.283683
  4  0.136501
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469053': 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) = 7391.83309192
delta logL = 0.0082707131869

Extracting fit parameters...

4FGL J2147.1+0931
   Spectrum: LogParabola
297         norm:  1.043e-01  1.239e+00  0.000e+00  1.000e+06 ( 1.000e-11)
298        alpha:  3.739e+00  6.439e+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:  9.508e-01  1.365e-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:  9.473e-01  2.837e-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/469053/cmap_HighResolution_687744001_688003201_4FGL_J2147.1+0931_daily_bin1730.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.17e-05', job_status='DONE', photon_flux_upper_limit='7.72e-08', time_completed='2022-10-21 00:48:14.339229', job_id='469053', GAL2='0.95', fit_tolerance='1e-08', EG2='0.95', EG='0.96', time_epoch_completed='1666338494.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='8.27e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.43' WHERE bin_id='1730' AND source_name='4FGL J2147.1+0931' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Oct 21 00:48:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 469053: <4FGL_J2147.1+0931_daily_bin1730> in cluster <slac> Done

Job <4FGL_J2147.1+0931_daily_bin1730> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Oct 21 00:35:18 2022
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Oct 21 00:35:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Oct 21 00:35:19 2022
Terminated at Fri Oct 21 00:48:15 2022
Results reported at Fri Oct 21 00:48:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2147.1+0931_daily_bin1730 326.783 9.5181 687744001 688003201 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 :                                   730.10 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   775 sec.
    Turnaround time :                            777 sec.

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

