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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1776
RA = 342.246, Dec = 21.1159
tmin = 699667201, tmax = 699926401
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='845142', job_status='RUN', time_executed='2023-03-08 01:24:27.940901', time_epoch_executed='1678267467.94' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1776'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/845142

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/845142/ft1_4FGL_J2248.9+2106_daily_bin1776.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/845142/ft2_4FGL_J2248.9+2106_daily_bin1776.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/845142/ft1_4FGL_J2248.9+2106_daily_bin1776.fits outfile=/scratch/kocevski/845142/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1776.fits ra=342.246 dec=21.1159 rad=12.0 tmin=699667201.0 tmax=699926401.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.93
user 3.71
sys 0.21

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

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

Number of photons that the gtmktime cut: 873

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/845142/ft1_filtered_4FGL_J2248.9+2106_daily_bin1776.fits" evtable="EVENTS" scfile=/scratch/kocevski/845142/ft2_4FGL_J2248.9+2106_daily_bin1776.fits sctable="SC_DATA" outfile=/scratch/kocevski/845142/ltcube_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.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/845142/ft2_4FGL_J2248.9+2106_daily_bin1776.fits
.....................!
real 11.86
user 11.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/845142/ft1_filtered_4FGL_J2248.9+2106_daily_bin1776.fits evtable="EVENTS" scfile=/scratch/kocevski/845142/ft2_4FGL_J2248.9+2106_daily_bin1776.fits sctable="SC_DATA" expcube=/scratch/kocevski/845142/ltcube_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.fits outfile=/scratch/kocevski/845142/expmap_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.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/845142/ltcube_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.fits
.....................!
real 190.69
user 185.00
sys 5.37

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/845142/ft1_filtered_4FGL_J2248.9+2106_daily_bin1776.fits scfile=/scratch/kocevski/845142/ft2_4FGL_J2248.9+2106_daily_bin1776.fits outfile=/scratch/kocevski/845142/cmap_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/845142/ft1_filtered_4FGL_J2248.9+2106_daily_bin1776.fits scfile=/scratch/kocevski/845142/ft2_4FGL_J2248.9+2106_daily_bin1776.fits outfile=/scratch/kocevski/845142/cmap_HighResolution_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.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.56
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/845142/ft1_filtered_4FGL_J2248.9+2106_daily_bin1776.fits', '/scratch/kocevski/845142/ft2_4FGL_J2248.9+2106_daily_bin1776.fits', expMap='/scratch/kocevski/845142/expmap_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.fits', expCube='/scratch/kocevski/845142/ltcube_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/845142/Model_4FGL_J2248.9+2106_daily_bin1776.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/845142/ft1_filtered_4FGL_J2248.9+2106_daily_bin1776.fits
Spacecraft file(s): /scratch/kocevski/845142/ft2_4FGL_J2248.9+2106_daily_bin1776.fits
Exposure map: /scratch/kocevski/845142/expmap_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.fits
Exposure cube: /scratch/kocevski/845142/ltcube_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/845142/Model_4FGL_J2248.9+2106_daily_bin1776.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) = 9501.78577531

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    62.761       1.0000          .0000       .10000E+07
     2 'norm      '    2.2023       1.0000          .0000       .10000E+07
     3 'Prefactor '    35.202       1.0000          .0000       .10000E+07
     4 'norm      '    1.5777       1.0000          .0000       .10000E+07
     5 'Prefactor '    4.0798       1.0000          .0000       .10000E+07
     6 'Prefactor '    10.006       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.1474       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0456       1.0000         .10000E-03   10000.    
     9 'norm      '    .94001       1.0000          .0000       .10000E+07
    10 'norm      '    .11102E-09   1.0000          .0000       .10000E+07
    11 'Prefactor '    16.321       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31076E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .42484       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.4121       1.0000          .0000       .10000E+07
    15 'Prefactor '    .35242       1.0000          .0000       .10000E+07
    16 'Prefactor '    .22383E-04   1.0000          .0000       .10000E+07
    17 'Prefactor '    .11105E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    .17854E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.0169       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.1778       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=   9501.731     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1550 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     63.853        59.720        .37751E-05   -.16567E-01
   2  norm          2.2019        1.2623        .31238E-06    .95216E-03
   3  Prefactor     35.681        12.921        .23448E-05   -.20533    
   4  norm          1.5931        5.2483       -.92407E-06    .59680E-03
   5  Prefactor     3.9676        14.397        .10125E-04    .46425E-01
   6  Prefactor     9.9055        12.860       -.36164E-05   -.13244E-01
   7  Prefactor     2.1485        .34568       -.10697E-05    .64464E-04
   8  Prefactor     7.0581        8.2924       -.64647E-05    .86630E-05
   9  norm          .94240        1.1992       -.86563E-06    .13570E-02
  10  norm           .0000        .52052       -.13480E-06** at limit **
  11  Prefactor     17.052        17.986        .56958E-06    .79932E-01
  12  Prefactor     .11102E-09    2.9626       -.45204E-06** at limit **
  13  Prefactor     .42437        .16536       -.19215E-05   -.34905E-02
  14  Prefactor     2.4319        8.0717        .22214E-05   -.28141E-02
  15  Prefactor     .79305        6.4584       -.32866E-05   -.30343E-02
  16  Prefactor     .61451E-07    33.533        .56464E-05** at limit **
  17  Prefactor     .55511E-10    2.2521        .79621E-06** at limit **
  18  Prefactor     .11102E-09    9.7036        .20277E-05** at limit **
  19  Normalizat    1.0163        .27743        .26167E-04   -.50975E-04
  20  Prefactor     1.1771        .14692       -.13862E-04    .14111E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 63.8535
  norm       = 2.20188
  Prefactor  = 35.6815
  norm       = 1.59309
  Prefactor  = 3.96759
  Prefactor  = 9.90546
  Prefactor  = 2.14847
  Prefactor  = 7.05814
  norm       = 0.942402
  norm       = 0
  Prefactor  = 17.052
  Prefactor  = 1.11022e-10
  Prefactor  = 0.42437
  Prefactor  = 2.4319
  Prefactor  = 0.793051
  Prefactor  = 6.14508e-08
  Prefactor  = 5.55112e-11
  Prefactor  = 1.11022e-10
  Normalizat = 1.01634
  Prefactor  = 1.17707
 **********
 **   18 **HESSE 
 **********

 FCN=   9501.731     FROM HESSE     STATUS=OK           345 CALLS     1895 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     63.853        59.993        .12624E-03   -1.5548    
   2  norm          2.2019        1.2698        .69301E-03   -1.5678    
   3  Prefactor     35.681        21.463        .16857E-03   -1.5588    
   4  norm          1.5931        5.2953        .84545E-03   -1.5683    
   5  Prefactor     3.9676        15.578        .49891E-03   -1.5668    
   6  Prefactor     9.9055        12.878        .31653E-03   -1.5645    
   7  Prefactor     2.1485        .34852        .48462E-02   -1.5415    
   8  Prefactor     7.0581        8.2924        .37783E-02   -1.5177    
   9  norm          .94240        1.2070        .43032E-03   -1.5689    
  10  norm           .0000        .51967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.052        20.029        .24765E-03   -1.5625    
  12  Prefactor     .11102E-09    2.9627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .42437        .16856        .52383E-02   -1.5578    
  14  Prefactor     2.4319        8.1521        .65887E-03   -1.5677    
  15  Prefactor     .79305        14.763        .12367E-01   -1.5690    
  16  Prefactor     .61451E-07    34.853        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    2.2530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11102E-09    9.7294        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.0163        .24659        .91524E-01   -.92485    
  20  Prefactor     1.1771        .12794        .35179E-01   -.87040    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33932e-06
Minuit parameter uncertainties:
  1  59.9939
  2  1.26983
  3  21.4629
  4  5.2953
  5  15.5781
  6  12.8776
  7  0.348519
  8  8.2938
  9  1.20696
  10  1.19709e-06
  11  20.0293
  12  3.39331e-05
  13  0.16856
  14  8.15217
  15  6.84332
  16  0.00292655
  17  1.91721e-05
  18  6.21919e-05
  19  0.246863
  20  0.127973
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.110e-10  3.393e-05  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.177e+00  1.280e-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.016e+00  2.469e-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: 5.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.95e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/845142/likelihoodResults_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.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) = 9501.73170085
delta logL = -0.000559376749152

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9501.73114162
delta logL = -1.48835169966e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10381E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.0958       1.0000          .0000       10.000    
     3 'Normalizat'    1.0162       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1771       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=   9501.731     FROM MIGRAD    STATUS=CONVERGED     42 CALLS      242 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.6237        .42118E-03** at limit **
   2  Index         2.3750        1.5686        .17437E-03     .0000    
   3  Normalizat    1.0163        1.2799       -.11788E-04   -.58668E-03
   4  Prefactor     1.1771        1.1110        .21081E-04   -.13185E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.37496
  Normalizat = 1.01634
  Prefactor  = 1.17706
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9501.731     FROM HESSE     STATUS=FAILED         9 CALLS      251 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.6237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .63158        1.9282        .17437E-03   -.55272    
   3  Normalizat    1.0163        1.2799       -.11788E-04   -.92485    
   4  Prefactor     1.1771        1.1110        .21081E-04   -.87040    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.9477e-10
Minuit parameter uncertainties:
  1  7.48974e-06
  2  1.60645
  3  1.32215
  4  1.13422
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/845142': 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) = 9501.73114148
delta logL = -3.34694050252e-10

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  0.000e+00  7.490e-06  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  2.375e+00  1.606e+00  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.177e+00  1.134e+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:  1.016e+00  1.322e+00  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/845142/cmap_HighResolution_699667201_699926401_4FGL_J2248.9+2106_daily_bin1776.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.95e-03', job_status='DONE', photon_flux_upper_limit='5.15e-08', time_completed='2023-03-08 01:35:35.112254', job_id='845142', GAL2='1.18', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1678268135.11', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-3.35e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1776' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar  8 01:35:35 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0014>
Subject: Job 845142: <4FGL_J2248.9+2106_daily_bin1776> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1776> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Wed Mar  8 01:20:29 2023
Job was executed on host(s) <bullet0014>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar  8 01:20:42 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar  8 01:20:42 2023
Terminated at Wed Mar  8 01:35:36 2023
Results reported at Wed Mar  8 01:35:36 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1776 342.246 21.1159 699667201 699926401 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 :                                   669.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   893 sec.
    Turnaround time :                            907 sec.

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

