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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1773
RA = 342.246, Dec = 21.1159
tmin = 698889601, tmax = 699148801
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='805860', job_status='RUN', time_executed='2023-02-27 10:37:16.018462', time_epoch_executed='1677523036.02' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/805860

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/805860/ft1_4FGL_J2248.9+2106_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/805860/ft2_4FGL_J2248.9+2106_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/805860/ft1_4FGL_J2248.9+2106_daily_bin1773.fits outfile=/scratch/kocevski/805860/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1773.fits ra=342.246 dec=21.1159 rad=12.0 tmin=698889601.0 tmax=699148801.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.14
user 2.76
sys 0.21

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

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

Number of photons that the gtmktime cut: 1024

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/805860/ft1_filtered_4FGL_J2248.9+2106_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/805860/ft2_4FGL_J2248.9+2106_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/805860/ltcube_698889601_699148801_4FGL_J2248.9+2106_daily_bin1773.fits outfile=/scratch/kocevski/805860/expmap_698889601_699148801_4FGL_J2248.9+2106_daily_bin1773.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/805860/ltcube_698889601_699148801_4FGL_J2248.9+2106_daily_bin1773.fits
.....................!
real 191.79
user 186.96
sys 4.46

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/805860/ft1_filtered_4FGL_J2248.9+2106_daily_bin1773.fits scfile=/scratch/kocevski/805860/ft2_4FGL_J2248.9+2106_daily_bin1773.fits outfile=/scratch/kocevski/805860/cmap_698889601_699148801_4FGL_J2248.9+2106_daily_bin1773.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.55
user 0.37
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/805860/ft1_filtered_4FGL_J2248.9+2106_daily_bin1773.fits scfile=/scratch/kocevski/805860/ft2_4FGL_J2248.9+2106_daily_bin1773.fits outfile=/scratch/kocevski/805860/cmap_HighResolution_698889601_699148801_4FGL_J2248.9+2106_daily_bin1773.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25930E-01   1.0000          .0000       .10000E+07
     2 'norm      '    1.4709       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.6073       1.0000          .0000       .10000E+07
     4 'norm      '    4.8232       1.0000          .0000       .10000E+07
     5 'Prefactor '    11.430       1.0000          .0000       .10000E+07
     6 'Prefactor '    17.075       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.5751       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .12992E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .87780       1.0000          .0000       .10000E+07
    10 'norm      '    .73894       1.0000          .0000       .10000E+07
    11 'Prefactor '    .19752       1.0000          .0000       .10000E+07
    12 'Prefactor '    20.135       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5241       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .75667E-05   1.0000          .0000       .10000E+07
    15 'Prefactor '    24.648       1.0000          .0000       .10000E+07
    16 'Prefactor '    6.7853       1.0000          .0000       .10000E+07
    17 'Prefactor '    .47660E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    15.860       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2767       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .95204       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=   11361.52     FROM MIGRAD    STATUS=CONVERGED    106 CALLS     1198 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .18319E-08    38.804       -.57317E-06** at limit **
   2  norm          1.4686        1.1156        .87007E-07    .34953E-02
   3  Prefactor     3.5796        3.7499        .14839E-05    .16469E-01
   4  norm          4.8790        6.3672       -.41177E-06   -.43935E-02
   5  Prefactor     10.682        26.333       -.47672E-05    .20983E-01
   6  Prefactor     17.104        9.9781        .21831E-05    .11323    
   7  Prefactor     1.5790        .40266        .54547E-06   -.13859E-03
   8  Prefactor     .10000E-03    5.2331       -.15754E-05** at limit **
   9  norm          .87616        .85245        .63631E-07   -.29510E-02
  10  norm          .73921        .74221        .10286E-06    .14875E-02
  11  Prefactor     .99787E-06    57.651       -.22156E-05** at limit **
  12  Prefactor     20.096        1.6953       -.91423E-07   -.82710E-02
  13  Prefactor     1.5242        .24217       -.17663E-06    .31602E-03
  14  Prefactor     .55511E-10    3.5153       -.90853E-06** at limit **
  15  Prefactor     24.241        16.972        .12954E-05   -.91194E-01
  16  Prefactor     6.8352        3.5727       -.11245E-05    .80636E-02
  17  Prefactor      .0000        2.7980       -.12072E-05** at limit **
  18  Prefactor     15.954        12.318        .59180E-06   -.11149    
  19  Normalizat    1.2773        .25006       -.32518E-04   -.42140E-04
  20  Prefactor     .95208        .12556        .17014E-04   -.71022E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.83187e-09
  norm       = 1.46861
  Prefactor  = 3.57959
  norm       = 4.87898
  Prefactor  = 10.6819
  Prefactor  = 17.1043
  Prefactor  = 1.579
  Prefactor  = 0.0001
  norm       = 0.87616
  norm       = 0.73921
  Prefactor  = 9.97868e-07
  Prefactor  = 20.0961
  Prefactor  = 1.52422
  Prefactor  = 5.55112e-11
  Prefactor  = 24.2415
  Prefactor  = 6.8352
  Prefactor  = 0
  Prefactor  = 15.954
  Normalizat = 1.2773
  Prefactor  = 0.952078
 **********
 **   18 **HESSE 
 **********

 FCN=   11361.52     FROM HESSE     STATUS=OK           339 CALLS     1537 TOTAL
                     EDM=   .51E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .18319E-08    38.107        .16674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          1.4686        1.1310        .88569E-03   -1.5684    
   3  Prefactor     3.5796        13.313        .53175E-03   -1.5670    
   4  norm          4.8790        6.4515        .45783E-03   -1.5664    
   5  Prefactor     10.682        26.891        .29608E-03   -1.5643    
   6  Prefactor     17.104        12.033        .24211E-03   -1.5625    
   7  Prefactor     1.5790        .40340        .70037E-02   -1.5457    
   8  Prefactor     .10000E-03    5.2333        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .87616        .86007        .47307E-03   -1.5689    
  10  norm          .73921        .73768        .57602E-03   -1.5691    
  11  Prefactor     .99787E-06    60.309        .11820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.096        13.466        .22293E-03   -1.5618    
  13  Prefactor     1.5242        .24264        .44746E-02   -1.5461    
  14  Prefactor     .55511E-10    3.5092        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     24.241        20.457        .20147E-03   -1.5609    
  16  Prefactor     6.8352        16.130        .38495E-03   -1.5656    
  17  Prefactor      .0000        2.7968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     15.954        15.836        .25123E-03   -1.5628    
  19  Normalizat    1.2773        .21470        .82683E-01   -.84247    
  20  Prefactor     .95208        .10677        .45665E-01   -.94344    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.0866e-07
Minuit parameter uncertainties:
  1  0.000529797
  2  1.13103
  3  13.3126
  4  6.45151
  5  26.8916
  6  12.0329
  7  0.403402
  8  1.91478e-05
  9  0.860071
  10  0.737681
  11  0.0155155
  12  13.4656
  13  0.242638
  14  2.56795e-05
  15  20.4569
  16  16.1304
  17  6.26869e-06
  18  15.8364
  19  0.214851
  20  0.106798
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  2.010e+01  1.347e+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:  9.521e-01  1.068e-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.277e+00  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.96
Ra Dec: 342.246 21.116
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 7.02e-08 +/- 4.70e-08
Energy Flux (Fixed Index): 2.67e-05 +/- 1.79e-05

TS (Fixed Index): 2.96
Ra Dec: 342.246 21.116
Photon Flux Upper Limit: 1.60e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/805860/likelihoodResults_698889601_699148801_4FGL_J2248.9+2106_daily_bin1773.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): 0
logL (Free Index) = 11360.160901
delta logL = 1.35924037841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11360.1497788
delta logL = 1.37036256879

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.5918       1.0000          .0000       .10000E+07
     2 'Index     '    3.3659       1.0000          .0000       10.000    
     3 'Normalizat'    1.1787       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98696       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=   11360.15     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      359 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.5946        29.119        .46949E-03    .63538E-02
   2  Index         3.3662        1.9147        .10930        .29630E-03
   3  Normalizat    1.1787        .73940E-01    .85435E-01    .27633E-04
   4  Prefactor     .98705        .35679E-01    .46104E-01    .75848E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.59464
  Index      = 3.36622
  Normalizat = 1.17874
  Prefactor  = 0.987049
 **********
 **   18 **HESSE 
 **********

 FCN=   11360.15     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      392 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.5946        50.161        .10376E-04   -1.5665    
   2  Index         3.3662        2.9402        .40009E-02   -.33287    
   3  Normalizat    1.1787        .28061        .37830E-03   -.87262    
   4  Prefactor     .98705        .14279        .21272E-03   -.93162    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.36776e-07
Minuit parameter uncertainties:
  1  30.3629
  2  3.17334
  3  0.280968
  4  0.142844
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/805860': 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) = 11360.1497727
delta logL = 1.37036865071

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  4.595e+00  3.036e+01  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  3.366e+00  3.173e+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:  9.870e-01  1.428e-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.179e+00  2.810e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.96
Ra Dec: 342.246 21.116
Photon Index (Free Index): 3.37 +/- 3.17
Photon Flux (Free Index): 1.52e-07 +/- 1.07e-07
Energy Flux (Free Index): 2.62e-05 +/- 1.77e-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/805860/cmap_HighResolution_698889601_699148801_4FGL_J2248.9+2106_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', photon_flux='7.02e-08', energy_flux2='2.62e-05', photon_flux_error='4.70e-08', dlogl='1.37e+00', energy_flux='2.67e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2023-02-27 10:49:31.212551', photon_index_error2='3.17', photon_index2='3.37', ts='2.96', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.60e-07', energy_flux_error2='1.77e-05', EG='1.28', time_epoch_completed='1677523771.21', return_code='0', job_id='805860', GAL2='0.99', EG2='1.18', return_code2='102', energy_flux_error='1.79e-05', photon_flux_error2='1.07e-07', ts2='5.96', photon_index='2.30' WHERE bin_id='1773' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:49:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 805860: <4FGL_J2248.9+2106_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1773> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Feb 27 10:35:22 2023
Job was executed on host(s) <bullet0110>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:35:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:35:23 2023
Terminated at Mon Feb 27 10:49:32 2023
Results reported at Mon Feb 27 10:49:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1773 342.246 21.1159 698889601 699148801 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 :                                   737.33 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             292.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            850 sec.

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

