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 60 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1671
RA = 342.246, Dec = 21.1159
tmin = 672451201, tmax = 672710401
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='43784', job_status='RUN', time_executed='2022-04-27 01:06:46.711494', time_epoch_executed='1651046806.71' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1671'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/43784

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/43784/ft1_4FGL_J2248.9+2106_daily_bin1671.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/43784/ft1_4FGL_J2248.9+2106_daily_bin1671.fits outfile=/scratch/kocevski/43784/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1671.fits ra=342.246 dec=21.1159 rad=12.0 tmin=672451201.0 tmax=672710401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 3.08
user 2.76
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.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/43784/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1671.fits evtable="EVENTS" outfile="/scratch/kocevski/43784/ft1_filtered_4FGL_J2248.9+2106_daily_bin1671.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 1053

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/43784/ft1_filtered_4FGL_J2248.9+2106_daily_bin1671.fits" evtable="EVENTS" scfile=/scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits sctable="SC_DATA" outfile=/scratch/kocevski/43784/ltcube_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.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/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits
.....................!
real 13.09
user 12.66
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/43784/ft1_filtered_4FGL_J2248.9+2106_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits sctable="SC_DATA" expcube=/scratch/kocevski/43784/ltcube_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.fits outfile=/scratch/kocevski/43784/expmap_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.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/43784/ltcube_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.fits
.....................!
real 191.98
user 186.09
sys 5.43

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

Setting source of interest to:
4FGL J2248.9+2106 @ 342.246 21.1159

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/43784/ft1_filtered_4FGL_J2248.9+2106_daily_bin1671.fits scfile=/scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits outfile=/scratch/kocevski/43784/cmap_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.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=342.246 yref=21.1159 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.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/43784/ft1_filtered_4FGL_J2248.9+2106_daily_bin1671.fits scfile=/scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits outfile=/scratch/kocevski/43784/cmap_HighResolution_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.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=342.246 yref=21.1159 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/43784/ft1_filtered_4FGL_J2248.9+2106_daily_bin1671.fits evtable="EVENTS" scfile=/scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/43784/Model_4FGL_J2248.9+2106_daily_bin1671.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/43784/ft1_filtered_4FGL_J2248.9+2106_daily_bin1671.fits.....................!
real 114.27
user 112.25
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/43784/ft1_filtered_4FGL_J2248.9+2106_daily_bin1671.fits', '/scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits', expMap='/scratch/kocevski/43784/expmap_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.fits', expCube='/scratch/kocevski/43784/ltcube_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/43784/Model_4FGL_J2248.9+2106_daily_bin1671.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2248.9+2106'

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.757e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  2.298e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
309        Scale:  1.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/43784/ft1_filtered_4FGL_J2248.9+2106_daily_bin1671.fits
Spacecraft file(s): /scratch/kocevski/43784/ft2_4FGL_J2248.9+2106_daily_bin1671.fits
Exposure map: /scratch/kocevski/43784/expmap_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.fits
Exposure cube: /scratch/kocevski/43784/ltcube_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/43784/Model_4FGL_J2248.9+2106_daily_bin1671.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) = 11289.9825247

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .43743       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    77.898       1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.6235       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.0848       1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.1920       1.0000         .10000E-03   10000.    
    10 'norm      '    1.3119       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .76603       1.0000         .10000E-03   10000.    
    13 'Prefactor '    34.126       1.0000         .10000E-03   10000.    
    14 'Prefactor '    84.344       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.5613       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .57363       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.8872       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .49088       1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.6751       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2774       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .53448E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    18.050       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.1411       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .85507       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11289.97     FROM MIGRAD    STATUS=CONVERGED    586 CALLS     2957 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    32.548       -.97628E-07** at limit **
   2  norm          .43775        .50793       -.36044E-06   -.16276E-02
   3  Prefactor     .10000E-03    9.1611       -.55129E-07** at limit **
   4  norm          .10000E-03    1.4468       -.20151E-07** at limit **
   5  Prefactor     .10000E-03    4.3277       -.57803E-07** at limit **
   6  Prefactor     77.894        63.642        .78260E-07    .24217E-04
   7  Prefactor     4.6272        10.155        .32223E-06    .81614E-04
   8  Prefactor     1.0848        .20539        .11473E-07    .11717E-03
   9  Prefactor     4.1921        4.7314       -.14330E-07    .95644E-04
  10  norm          1.3119        .67964       -.17113E-08    .76026E-04
  11  Prefactor     .10000E-03    4.0189       -.42868E-07** at limit **
  12  norm          .76623        1.5571       -.97522E-07   -.15869E-04
  13  Prefactor     34.130        27.758       -.25790E-07   -.89007E-04
  14  Prefactor     84.344        17.292        .12454E-06   -.76681E-04
  15  Prefactor     4.5605        10.000        .63297E-07   -.58980E-05
  16  Prefactor     .57353        .14859       -.41274E-09    .74603E-03
  17  Prefactor     1.8892        7.9278       -.21253E-06   -.10059E-04
  18  Prefactor     .55560        26.480        .25538E-05   -.31107E-04
  19  Prefactor     9.6661        13.327       -.43144E-07    .11176E-03
  20  Prefactor     .10000E-03    4.9288       -.69097E-07** at limit **
  21  Prefactor     7.2789        12.635       -.57998E-07    .33026E-05
  22  Prefactor     .10001E-03    4.2736        .35735E-06** at limit **
  23  Prefactor     18.023        19.269       -.18349E-06   -.13368E-03
  24  Normalizat    1.1410        .22038       -.24213E-05   -.96704E-04
  25  Prefactor     .85505        .11010        .14413E-05   -.51634E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.43775
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 77.8943
  Prefactor  = 4.62717
  Prefactor  = 1.08479
  Prefactor  = 4.19213
  norm       = 1.3119
  Prefactor  = 0.0001
  norm       = 0.766229
  Prefactor  = 34.1303
  Prefactor  = 84.3442
  Prefactor  = 4.56049
  Prefactor  = 0.57353
  Prefactor  = 1.88915
  Prefactor  = 0.555598
  Prefactor  = 9.6661
  Prefactor  = 0.0001
  Prefactor  = 7.27893
  Prefactor  = 0.000100008
  Prefactor  = 18.0227
  Normalizat = 1.14095
  Prefactor  = 0.855052
 **********
 **   18 **HESSE 
 **********

 FCN=   11289.97     FROM HESSE     STATUS=OK           443 CALLS     3400 TOTAL
                     EDM=   .77E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    32.712        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .43775        .51347        .97650E-03   -1.5576    
   3  Prefactor     .10000E-03    9.2488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.4632        .12477E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.3438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     77.894        63.688        .45499E-04   -1.3941    
   7  Prefactor     4.6272        10.171        .18718E-03   -1.5278    
   8  Prefactor     1.0848        .20528        .20000E-04   -1.5500    
   9  Prefactor     4.1921        4.7491        .98418E-03   -1.5298    
  10  norm          1.3119        .67399        .61046E-04   -1.5479    
  11  Prefactor     .10000E-03    4.0241        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .76623        1.5016        .17182E-03   -1.5533    
  13  Prefactor     34.130        27.852        .68597E-04   -1.4539    
  14  Prefactor     84.344        16.818        .43740E-04   -1.3869    
  15  Prefactor     4.5605        9.9879        .18849E-03   -1.5281    
  16  Prefactor     .57353        .14935        .19051E-04   -1.5557    
  17  Prefactor     1.8892        7.8995        .30294E-03   -1.5433    
  18  Prefactor     .55560        2.8530        .11923       -1.5559    
  19  Prefactor     9.6661        13.453        .12883E-03   -1.5086    
  20  Prefactor     .10000E-03    4.9380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     7.2789        12.633        .14868E-03   -1.5168    
  22  Prefactor     .10001E-03    37.351        .39360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     18.023        19.606        .94272E-04   -1.4859    
  24  Normalizat    1.1410        .22634        .33693E-03   -.88448    
  25  Prefactor     .85505        .11278        .20487E-03   -.97730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.69448e-10
Minuit parameter uncertainties:
  1  9.06588e-05
  2  0.513475
  3  1.98282e-06
  4  2.01232e-06
  5  1.52344e-07
  6  63.7437
  7  10.1752
  8  0.205278
  9  4.74955
  10  0.673989
  11  6.12402e-07
  12  1.50172
  13  27.8623
  14  16.8186
  15  9.99158
  16  0.149345
  17  7.7277
  18  2.518
  19  13.4573
  20  2.44415e-06
  21  12.6373
  22  0.00108158
  23  19.6132
  24  0.226536
  25  0.112809
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  8.434e+01  1.682e+01  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  2.298e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
309        Scale:  1.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  8.551e-01  1.128e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.141e+00  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 79.88
Ra Dec: 342.246 21.116
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 2.95e-07 +/- 5.87e-08
Energy Flux (Fixed Index): 1.12e-04 +/- 2.23e-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) = 11289.8994816
delta logL = 0.0738225848509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11289.8919042
delta logL = 0.081400047944

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    91.824       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2247       1.0000          .0000       10.000    
     3 'Normalizat'    1.1580       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84937       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+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=   11289.89     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      279 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     91.827        26.144        .41936E-04   -.21351E-03
   2  Index         2.2247        .18556        .28421E-02   -.85972E-04
   3  Normalizat    1.1580        .21279        .33490E-03   -.12221E-03
   4  Prefactor     .84935        .11178        .20551E-03   -.19561E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 91.8267
  Index      = 2.22468
  Normalizat = 1.15803
  Prefactor  = 0.849355
 **********
 **   18 **HESSE 
 **********

 FCN=   11289.89     FROM HESSE     STATUS=OK            25 CALLS      304 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     91.827        25.375        .83873E-05   -1.3788    
   2  Index         2.2247        .17997        .11368E-03   -.58844    
   3  Normalizat    1.1580        .21277        .13396E-04   -.87910    
   4  Prefactor     .84935        .11182        .82205E-05   -.97934    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65601e-11
Minuit parameter uncertainties:
  1  25.3785
  2  0.18003
  3  0.212929
  4  0.111853
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/43784': 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) = 11289.8919041
delta logL = 0.0814001442523

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  9.183e+01  2.538e+01  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  2.225e+00  1.800e-01  0.000e+00  1.000e+01 (-1.000e+00)
309        Scale:  1.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  8.494e-01  1.119e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  1.158e+00  2.129e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 79.65
Ra Dec: 342.246 21.116
Photon Index (Free Index): 2.22 +/- 0.18
Photon Flux (Free Index): 2.80e-07 +/- 6.59e-08
Energy Flux (Free Index): 1.20e-04 +/- 3.22e-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/43784/cmap_HighResolution_672451201_672710401_4FGL_J2248.9+2106_daily_bin1671.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.95e-07', energy_flux2='1.20e-04', photon_flux_error='5.87e-08', dlogl='8.14e-02', energy_flux='1.12e-04', photon_flux2='2.80e-07', job_status='DONE', time_completed='2022-04-27 01:21:22.048842', photon_index_error2='0.18', photon_index2='2.22', ts='79.88', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', energy_flux_error2='3.22e-05', EG='1.14', time_epoch_completed='1651047682.05', return_code='0', job_id='43784', GAL2='0.85', EG2='1.16', return_code2='0', energy_flux_error='2.23e-05', photon_flux_error2='6.59e-08', ts2='79.65', photon_index='2.30' WHERE bin_id='1671' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Apr 27 01:21:22 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 43784: <4FGL_J2248.9+2106_daily_bin1671> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1671> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Apr 27 01:05:36 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Apr 27 01:05:37 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Apr 27 01:05:37 2022
Terminated at Wed Apr 27 01:21:22 2022
Results reported at Wed Apr 27 01:21:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1671 342.246 21.1159 672451201 672710401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2248.9+2106 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   876.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            946 sec.

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

