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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1734
RA = 342.246, Dec = 21.1159
tmin = 688780801, tmax = 689040001
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='776492', job_status='RUN', time_executed='2022-11-02 00:39:29.118688', time_epoch_executed='1667374769.12' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776492

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776492/ft1_4FGL_J2248.9+2106_daily_bin1734.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776492/ft2_4FGL_J2248.9+2106_daily_bin1734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776492/ft1_4FGL_J2248.9+2106_daily_bin1734.fits outfile=/scratch/kocevski/776492/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1734.fits ra=342.246 dec=21.1159 rad=12.0 tmin=688780801.0 tmax=689040001.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.80
user 2.55
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776492/ft2_4FGL_J2248.9+2106_daily_bin1734.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/776492/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1734.fits evtable="EVENTS" outfile="/scratch/kocevski/776492/ft1_filtered_4FGL_J2248.9+2106_daily_bin1734.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.42
user 0.25
sys 0.16

Number of photons that the gtmktime cut: 1098

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776492/ft1_filtered_4FGL_J2248.9+2106_daily_bin1734.fits" evtable="EVENTS" scfile=/scratch/kocevski/776492/ft2_4FGL_J2248.9+2106_daily_bin1734.fits sctable="SC_DATA" outfile=/scratch/kocevski/776492/ltcube_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.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/776492/ft2_4FGL_J2248.9+2106_daily_bin1734.fits
.....................!
real 9.33
user 9.03
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776492/ft1_filtered_4FGL_J2248.9+2106_daily_bin1734.fits evtable="EVENTS" scfile=/scratch/kocevski/776492/ft2_4FGL_J2248.9+2106_daily_bin1734.fits sctable="SC_DATA" expcube=/scratch/kocevski/776492/ltcube_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.fits outfile=/scratch/kocevski/776492/expmap_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.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/776492/ltcube_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.fits
.....................!
real 145.33
user 140.75
sys 4.34

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/776492/ft1_filtered_4FGL_J2248.9+2106_daily_bin1734.fits scfile=/scratch/kocevski/776492/ft2_4FGL_J2248.9+2106_daily_bin1734.fits outfile=/scratch/kocevski/776492/cmap_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.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.46
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/776492/ft1_filtered_4FGL_J2248.9+2106_daily_bin1734.fits scfile=/scratch/kocevski/776492/ft2_4FGL_J2248.9+2106_daily_bin1734.fits outfile=/scratch/kocevski/776492/cmap_HighResolution_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.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.46
user 0.31
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776492/ft1_filtered_4FGL_J2248.9+2106_daily_bin1734.fits', '/scratch/kocevski/776492/ft2_4FGL_J2248.9+2106_daily_bin1734.fits', expMap='/scratch/kocevski/776492/expmap_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.fits', expCube='/scratch/kocevski/776492/ltcube_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776492/Model_4FGL_J2248.9+2106_daily_bin1734.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/776492/ft1_filtered_4FGL_J2248.9+2106_daily_bin1734.fits
Spacecraft file(s): /scratch/kocevski/776492/ft2_4FGL_J2248.9+2106_daily_bin1734.fits
Exposure map: /scratch/kocevski/776492/expmap_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.fits
Exposure cube: /scratch/kocevski/776492/ltcube_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776492/Model_4FGL_J2248.9+2106_daily_bin1734.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 11560.670319

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.218       1.0000          .0000       .10000E+07
     2 'norm      '    1.1197       1.0000          .0000       .10000E+07
     3 'Prefactor '    25.744       1.0000          .0000       .10000E+07
     4 'norm      '    1.8531       1.0000          .0000       .10000E+07
     5 'Prefactor '    .67873E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    11.606       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.1095       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.6856       1.0000         .10000E-03   10000.    
     9 'norm      '    .51553E-06   1.0000          .0000       .10000E+07
    10 'norm      '    4.1414       1.0000          .0000       .10000E+07
    11 'Prefactor '    .90119E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    3.5316       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0537       1.0000         .10000E-03   10000.    
    14 'Prefactor '    11.660       1.0000          .0000       .10000E+07
    15 'Prefactor '    103.90       1.0000          .0000       .10000E+07
    16 'Prefactor '    233.03       1.0000          .0000       .10000E+07
    17 'Prefactor '    10.983       1.0000          .0000       .10000E+07
    18 'Prefactor '    .69234E-02   1.0000          .0000       .10000E+07
    19 'Normalizat'    .75320       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2948       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=   11558.72     FROM MIGRAD    STATUS=CONVERGED    159 CALLS     1012 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.056        16.450        .50147E-07   -.18789    
   2  norm          1.1249        .98221       -.17162E-08   -.59282E-03
   3  Prefactor     25.626        20.218       -.19442E-06    .67224E-02
   4  norm          1.8826        5.0560       -.52741E-07   -.17310E-02
   5  Prefactor      .0000        5.7223       -.55820E-07** at limit **
   6  Prefactor     11.765        14.583       -.61582E-07    .89974E-01
   7  Prefactor     1.1110        .26212        .14732E-07    .67817E-03
   8  Prefactor     5.7442        5.8934       -.12858E-07    .10040E-04
   9  norm          .55511E-10    3.0757       -.97933E-07** at limit **
  10  norm          4.1499        2.2611       -.22323E-07   -.25202E-02
  11  Prefactor     .67724E-08    10.098       -.82546E-07** at limit **
  12  Prefactor     3.5135        12.900        .37131E-06    .18462E-01
  13  Prefactor     4.0561        .34051       -.10253E-07    .30959E-03
  14  Prefactor     11.692        8.0134        .56463E-07    .47930E-02
  15  Prefactor     106.52        38.231       -.78536E-07   -.75011E-01
  16  Prefactor     239.23        58.590       -.46343E-07   -.51181E-01
  17  Prefactor     11.007        8.3659        .32228E-07    .67411E-02
  18  Prefactor     .55511E-10    7.4305       -.23834E-07** at limit **
  19  Normalizat    .74774        .30548       -.14480E-05    .45047E-05
  20  Prefactor     1.2941        .15577        .96806E-06    .10280E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.0561
  norm       = 1.1249
  Prefactor  = 25.6263
  norm       = 1.8826
  Prefactor  = 0
  Prefactor  = 11.7653
  Prefactor  = 1.11103
  Prefactor  = 5.74422
  norm       = 5.55112e-11
  norm       = 4.14991
  Prefactor  = 6.77236e-09
  Prefactor  = 3.51354
  Prefactor  = 4.05608
  Prefactor  = 11.6923
  Prefactor  = 106.518
  Prefactor  = 239.234
  Prefactor  = 11.007
  Prefactor  = 5.55112e-11
  Normalizat = 0.747736
  Prefactor  = 1.29412
 **********
 **   18 **HESSE 
 **********

 FCN=   11558.72     FROM HESSE     STATUS=OK           345 CALLS     1357 TOTAL
                     EDM=   .21E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.056        38.840        .14402E-03   -1.5571    
   2  norm          1.1249        1.0006        .11100E-02   -1.5687    
   3  Prefactor     25.626        20.254        .19713E-03   -1.5607    
   4  norm          1.8826        5.0988        .76547E-03   -1.5681    
   5  Prefactor      .0000        5.7297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.765        15.481        .29381E-03   -1.5639    
   7  Prefactor     1.1110        .26253        .57882E-02   -1.5497    
   8  Prefactor     5.7442        5.8944        .42115E-02   -1.5229    
   9  norm          .55511E-10    .64733        .31460E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.1499        2.2671        .49507E-03   -1.5667    
  11  Prefactor     .67724E-08    10.095        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     3.5135        13.033        .53766E-03   -1.5670    
  13  Prefactor     4.0561        .34080        .38638E-02   -1.5305    
  14  Prefactor     11.692        8.0157        .29312E-03   -1.5640    
  15  Prefactor     106.52        39.009        .98110E-04   -1.5502    
  16  Prefactor     239.23        58.860        .65515E-04   -1.5399    
  17  Prefactor     11.007        8.3895        .30207E-03   -1.5642    
  18  Prefactor     .55511E-10    7.4308        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .74774        .28417        .12435       -1.0204    
  20  Prefactor     1.2941        .13969        .52483E-01   -.83482    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.05847e-06
Minuit parameter uncertainties:
  1  38.8406
  2  1.00063
  3  20.2542
  4  5.09884
  5  1.17469e-05
  6  15.481
  7  0.26253
  8  5.89498
  9  1.33375e-05
  10  2.26706
  11  0.000523276
  12  13.0331
  13  0.340802
  14  8.01567
  15  39.0093
  16  58.8599
  17  8.38951
  18  3.13147e-05
  19  0.284734
  20  0.139735
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  3.514e+00  1.303e+01  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:  1.294e+00  1.397e-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:  7.477e-01  2.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 342.246 21.116
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/776492/likelihoodResults_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.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) = 11557.9411763
delta logL = 0.781590590937

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11557.7890132
delta logL = 0.933753663159

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47702E-03   1.0000          .0000       .10000E+07
     2 'Index     '    6.9809       1.0000          .0000       10.000    
     3 'Normalizat'    .64098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3362       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11558.76     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      438 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7239        .42118E-03** at limit **
   2  Index         1.0130        .66034        .21888E-05     .0000    
   3  Normalizat    .75570        1.0585        .89176E-05    .78167E-05
   4  Prefactor     1.2944        1.0562       -.52286E-05    .70252E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.01303
  Normalizat = 0.755697
  Prefactor  = 1.2944
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   11558.76     FROM HESSE     STATUS=FAILED         9 CALLS      447 TOTAL
                     EDM=   .10E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7239        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9934        1.8837        .21888E-05   -2.2186    
   3  Normalizat    .75570        1.0585        .89176E-05   -1.0173    
   4  Prefactor     1.2944        1.0562       -.52286E-05   -.83474    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.00822e-11
Minuit parameter uncertainties:
  1  1.40041e-05
  2  0.665729
  3  1.08952
  4  1.07444
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776492': 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): 101
logL (Free Index) = 11558.7647898
delta logL = -0.0420229890078

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  0.000e+00  1.400e-05  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  1.013e+00  6.657e-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:  1.294e+00  1.074e+00  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:  7.557e-01  1.090e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
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/776492/cmap_HighResolution_688780801_689040001_4FGL_J2248.9+2106_daily_bin1734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.13e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2022-11-02 00:48:27.341875', job_id='776492', GAL2='1.29', fit_tolerance='1e-08', EG2='0.76', EG='0.75', time_epoch_completed='1667375307.34', return_code2='101', ts='0.09', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='-4.20e-02', ts2='0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1734' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Nov  2 00:48:27 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0026>
Subject: Job 776492: <4FGL_J2248.9+2106_daily_bin1734> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1734> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Nov  2 00:35:29 2022
Job was executed on host(s) <bullet0026>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Nov  2 00:35:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Nov  2 00:35:30 2022
Terminated at Wed Nov  2 00:48:28 2022
Results reported at Wed Nov  2 00:48:28 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1734 342.246 21.1159 688780801 689040001 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 :                                   539.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   777 sec.
    Turnaround time :                            779 sec.

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

