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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1753
RA = 342.246, Dec = 21.1159
tmin = 693705601, tmax = 693964801
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='469031', job_status='RUN', time_executed='2022-12-29 01:46:59.224252', time_epoch_executed='1672307219.22' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1753'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/469031

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/469031/ft1_4FGL_J2248.9+2106_daily_bin1753.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/469031/ft2_4FGL_J2248.9+2106_daily_bin1753.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/469031/ft1_4FGL_J2248.9+2106_daily_bin1753.fits outfile=/scratch/kocevski/469031/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1753.fits ra=342.246 dec=21.1159 rad=12.0 tmin=693705601.0 tmax=693964801.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.86
user 3.58
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/469031/ft2_4FGL_J2248.9+2106_daily_bin1753.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/469031/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1753.fits evtable="EVENTS" outfile="/scratch/kocevski/469031/ft1_filtered_4FGL_J2248.9+2106_daily_bin1753.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.45
user 0.29
sys 0.14

Number of photons that the gtmktime cut: 750

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/469031/ft1_filtered_4FGL_J2248.9+2106_daily_bin1753.fits" evtable="EVENTS" scfile=/scratch/kocevski/469031/ft2_4FGL_J2248.9+2106_daily_bin1753.fits sctable="SC_DATA" outfile=/scratch/kocevski/469031/ltcube_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.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/469031/ft2_4FGL_J2248.9+2106_daily_bin1753.fits
.....................!
real 13.02
user 12.64
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/469031/ft1_filtered_4FGL_J2248.9+2106_daily_bin1753.fits evtable="EVENTS" scfile=/scratch/kocevski/469031/ft2_4FGL_J2248.9+2106_daily_bin1753.fits sctable="SC_DATA" expcube=/scratch/kocevski/469031/ltcube_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.fits outfile=/scratch/kocevski/469031/expmap_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.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/469031/ltcube_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.fits
.....................!
real 155.86
user 151.86
sys 3.60

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/469031/ft1_filtered_4FGL_J2248.9+2106_daily_bin1753.fits scfile=/scratch/kocevski/469031/ft2_4FGL_J2248.9+2106_daily_bin1753.fits outfile=/scratch/kocevski/469031/cmap_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.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.51
user 0.33
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/469031/ft1_filtered_4FGL_J2248.9+2106_daily_bin1753.fits scfile=/scratch/kocevski/469031/ft2_4FGL_J2248.9+2106_daily_bin1753.fits outfile=/scratch/kocevski/469031/cmap_HighResolution_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.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.49
user 0.33
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/469031/ft1_filtered_4FGL_J2248.9+2106_daily_bin1753.fits', '/scratch/kocevski/469031/ft2_4FGL_J2248.9+2106_daily_bin1753.fits', expMap='/scratch/kocevski/469031/expmap_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.fits', expCube='/scratch/kocevski/469031/ltcube_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/469031/Model_4FGL_J2248.9+2106_daily_bin1753.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  0.000e+00  1.000e+06 ( 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/469031/ft1_filtered_4FGL_J2248.9+2106_daily_bin1753.fits
Spacecraft file(s): /scratch/kocevski/469031/ft2_4FGL_J2248.9+2106_daily_bin1753.fits
Exposure map: /scratch/kocevski/469031/expmap_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.fits
Exposure cube: /scratch/kocevski/469031/ltcube_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/469031/Model_4FGL_J2248.9+2106_daily_bin1753.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) = 8316.03024221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.994       1.0000          .0000       .10000E+07
     2 'norm      '    1.2146       1.0000          .0000       .10000E+07
     3 'Prefactor '    18.232       1.0000          .0000       .10000E+07
     4 'norm      '    .94618E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .28852E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    9.8103       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6216       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .26115E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    1.8075       1.0000          .0000       .10000E+07
    10 'norm      '    .49175E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .18206E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .12778E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0746       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .82321E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    .16346       1.0000          .0000       .10000E+07
    16 'Prefactor '    20.607       1.0000          .0000       .10000E+07
    17 'Prefactor '    .41121       1.0000          .0000       .10000E+07
    18 'Prefactor '    .97719E-05   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.5146       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .85866       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8315.969     FROM MIGRAD    STATUS=CONVERGED    112 CALLS     1514 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.496        36.860       -.58275E-06   -.12231E-01
   2  norm          1.2141        1.0131       -.65078E-06   -.38548E-02
   3  Prefactor     18.106        2.7815        .44470E-06   -.77756E-01
   4  norm           .0000        2.3779        .29066E-06** at limit **
   5  Prefactor     .11247E-05    7.9536        .17491E-05** at limit **
   6  Prefactor     9.8071        1.3459       -.51318E-07    .36026E-01
   7  Prefactor     1.6216        .31433        .33206E-06    .63376E-03
   8  Prefactor     .10000E-03    10.706       -.15324E-04** at limit **
   9  norm          1.8089        1.2114       -.21198E-06    .56007E-02
  10  norm          .11102E-09    1.6773       -.10503E-05** at limit **
  11  Prefactor     .96767E-06    6.7280        .56097E-06** at limit **
  12  Prefactor     .57548E-06    8.0346        .11064E-05** at limit **
  13  Prefactor     1.0748        .23450       -.25283E-06   -.15528E-02
  14  Prefactor     .11888E-05    7.8283       -.36905E-05** at limit **
  15  Prefactor     .31157E-05    59.575       -.39742E-05** at limit **
  16  Prefactor     20.784        1.9945       -.53410E-07    .18216E-01
  17  Prefactor     .41057        16.065       -.84117E-05    .84056E-03
  18  Prefactor     .25204E-05    4.8748       -.17270E-05** at limit **
  19  Normalizat    1.5146        .28729       -.42372E-05    .10524E-03
  20  Prefactor     .85848        .14525        .94390E-05    .96851E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.4965
  norm       = 1.21406
  Prefactor  = 18.1056
  norm       = 0
  Prefactor  = 1.12466e-06
  Prefactor  = 9.80709
  Prefactor  = 1.6216
  Prefactor  = 0.0001
  norm       = 1.80892
  norm       = 1.11022e-10
  Prefactor  = 9.6767e-07
  Prefactor  = 5.75484e-07
  Prefactor  = 1.07479
  Prefactor  = 1.18877e-06
  Prefactor  = 3.11573e-06
  Prefactor  = 20.7837
  Prefactor  = 0.41057
  Prefactor  = 2.52043e-06
  Normalizat = 1.51456
  Prefactor  = 0.858478
 **********
 **   18 **HESSE 
 **********

 FCN=   8315.969     FROM HESSE     STATUS=OK           337 CALLS     1851 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.496        37.019        .17682E-03   -1.5592    
   2  norm          1.2141        1.0319        .10249E-02   -1.5686    
   3  Prefactor     18.106        19.482        .23429E-03   -1.5623    
   4  norm           .0000        2.3841        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11247E-05    14.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     9.8071        18.512        .31969E-03   -1.5645    
   7  Prefactor     1.6216        .31570        .48973E-02   -1.5453    
   8  Prefactor     .10000E-03    10.397        .10724E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.8089        1.2188        .77696E-03   -1.5681    
  10  norm          .11102E-09    1.6457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .96767E-06    14.087        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .57548E-06    8.9211        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.0748        .23485        .43722E-02   -1.5501    
  14  Prefactor     .11888E-05    11.803        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .31157E-05    62.258        .12466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.784        29.788        .22036E-03   -1.5617    
  17  Prefactor     .41057        3.1986        .88200E-02   -1.5695    
  18  Prefactor     .25204E-05    9.9284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.5146        .25072        .77451E-01   -.77370    
  20  Prefactor     .85848        .12322        .44476E-01   -.97607    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.25778e-07
Minuit parameter uncertainties:
  1  37.0192
  2  1.03193
  3  19.4824
  4  1.13449e-05
  5  0.00814673
  6  18.5118
  7  0.315701
  8  1.55191e-05
  9  1.21882
  10  2.96267e-05
  11  0.00738421
  12  0.0045316
  13  0.23485
  14  0.00749168
  15  0.0278557
  16  29.7886
  17  2.29195
  18  0.0100048
  19  0.25093
  20  0.123256
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  5.755e-07  4.532e-03  0.000e+00  1.000e+06 ( 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.585e-01  1.233e-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.515e+00  2.509e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 342.246 21.116
Photon Flux Upper Limit: 9.96e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.64e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/469031/likelihoodResults_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.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) = 8316.02325517
delta logL = -0.0545743536823

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8315.86695574
delta logL = 0.101725074896

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41240       1.0000          .0000       .10000E+07
     2 'Index     '    3.8541       1.0000          .0000       10.000    
     3 'Normalizat'    1.4704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87089       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.

 FCN=   8315.867     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      235 TOTAL
                     EDM=   .92E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40576        16.837        .88064E-03    .18550E-01
   2  Index         3.8605        2.8875        .15482        .89095E-04
   3  Normalizat    1.4709        .39588E-01    .78378E-01    .62610E-05
   4  Prefactor     .87067        .20489E-01    .44633E-01   -.10616E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.405756
  Index      = 3.86052
  Normalizat = 1.47087
  Prefactor  = 0.870666
 **********
 **   18 **HESSE 
 **********

 FCN=   8315.867     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      268 TOTAL
                     EDM=   .52E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40576        91.255        .11854E-04   -1.5695    
   2  Index         3.8605        5.4538        .91717E-02   -.22992    
   3  Normalizat    1.4709        .22808        .34689E-03   -.78600    
   4  Prefactor     .87067        .11588        .22461E-03   -.97174    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.16421e-09
Minuit parameter uncertainties:
  1  12.1702
  2  12.1216
  3  0.228239
  4  0.115911
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/469031': 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): 102
logL (Free Index) = 8315.86694978
delta logL = 0.101731035

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  4.058e-01  1.217e+01  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  3.861e+00  1.212e+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.707e-01  1.159e-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.471e+00  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 342.246 21.116

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/469031/cmap_HighResolution_693705601_693964801_4FGL_J2248.9+2106_daily_bin1753.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.64e-03', job_status='DONE', photon_flux_upper_limit='9.96e-08', time_completed='2022-12-29 01:55:39.971108', job_id='469031', GAL2='0.87', fit_tolerance='1e-08', EG2='1.47', EG='1.51', time_epoch_completed='1672307739.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.86', dlogl='1.02e-01', ts2='0.22', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1753' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 29 01:55:39 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 469031: <4FGL_J2248.9+2106_daily_bin1753> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1753> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec 29 01:45:16 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 29 01:45:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 29 01:45:33 2022
Terminated at Thu Dec 29 01:55:40 2022
Results reported at Thu Dec 29 01:55:40 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1753 342.246 21.1159 693705601 693964801 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 :                                   521.38 sec.
    Max Memory :                                 1015 MB
    Average Memory :                             319.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   608 sec.
    Turnaround time :                            624 sec.

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

