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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1762
RA = 342.246, Dec = 21.1159
tmin = 696038401, tmax = 696297601
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='121985', job_status='RUN', time_executed='2023-01-25 01:43:11.061338', time_epoch_executed='1674639791.06' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/121985

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/121985/ft1_4FGL_J2248.9+2106_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/121985/ft2_4FGL_J2248.9+2106_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/121985/ft1_4FGL_J2248.9+2106_daily_bin1762.fits outfile=/scratch/kocevski/121985/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1762.fits ra=342.246 dec=21.1159 rad=12.0 tmin=696038401.0 tmax=696297601.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.66
user 3.41
sys 0.23

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

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

Number of photons that the gtmktime cut: 852

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/121985/ft1_filtered_4FGL_J2248.9+2106_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/121985/ft2_4FGL_J2248.9+2106_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/121985/ltcube_696038401_696297601_4FGL_J2248.9+2106_daily_bin1762.fits outfile=/scratch/kocevski/121985/expmap_696038401_696297601_4FGL_J2248.9+2106_daily_bin1762.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/121985/ltcube_696038401_696297601_4FGL_J2248.9+2106_daily_bin1762.fits
.....................!
real 192.16
user 186.31
sys 5.50

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/121985/ft1_filtered_4FGL_J2248.9+2106_daily_bin1762.fits scfile=/scratch/kocevski/121985/ft2_4FGL_J2248.9+2106_daily_bin1762.fits outfile=/scratch/kocevski/121985/cmap_696038401_696297601_4FGL_J2248.9+2106_daily_bin1762.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/121985/ft1_filtered_4FGL_J2248.9+2106_daily_bin1762.fits scfile=/scratch/kocevski/121985/ft2_4FGL_J2248.9+2106_daily_bin1762.fits outfile=/scratch/kocevski/121985/cmap_HighResolution_696038401_696297601_4FGL_J2248.9+2106_daily_bin1762.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59765E-02   1.0000          .0000       .10000E+07
     2 'norm      '    .13226       1.0000          .0000       .10000E+07
     3 'Prefactor '    12.127       1.0000          .0000       .10000E+07
     4 'norm      '    .85911       1.0000          .0000       .10000E+07
     5 'Prefactor '    .29296E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .21078E-06   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.6930       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    2.4038       1.0000          .0000       .10000E+07
    10 'norm      '    1.6149       1.0000          .0000       .10000E+07
    11 'Prefactor '    .35995E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .15523E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.5481       1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.2308       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.9909       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.8307       1.0000          .0000       .10000E+07
    17 'Prefactor '    10.349       1.0000          .0000       .10000E+07
    18 'Prefactor '    1.6517       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.2430       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .74390       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=   8689.542     FROM MIGRAD    STATUS=CONVERGED    104 CALLS     1222 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .33307E-09    19.133        .51126E-07** at limit **
   2  norm          .13267        1.1726        .44116E-07** at limit **
   3  Prefactor     12.079        1.0322        .90604E-09    .40942E-02
   4  norm          .84879        3.3626        .34769E-07   -.11429E-02
   5  Prefactor      .0000        7.1624        .81024E-07** at limit **
   6  Prefactor      .0000        6.2406        .70477E-07** at limit **
   7  Prefactor     2.6930        .35198        .43102E-07    .12289E-02
   8  Prefactor     .10000E-03    4.2704        .56353E-06** at limit **
   9  norm          2.4037        1.0051       -.74742E-08   -.25410E-02
  10  norm          1.6152        1.4049        .54247E-07    .54315E-02
  11  Prefactor      .0000        11.173       -.49977E-07** at limit **
  12  Prefactor      .0000        2.5992        .13149E-07** at limit **
  13  Prefactor     1.5482        .22657        .19623E-07    .74384E-03
  14  Prefactor     4.2219        4.2046       -.35434E-07    .29713E-01
  15  Prefactor     2.9641        1.1722        .13304E-08   -.62477E-03
  16  Prefactor     2.9572        1.2438        .34519E-08   -.18815E-01
  17  Prefactor     10.319        5.1459       -.18381E-07   -.36196E-01
  18  Prefactor     1.6371        1.3041       -.60786E-08   -.53459E-02
  19  Normalizat    1.2433        .24304        .51983E-07    .11288E-04
  20  Prefactor     .74387        .12867       -.23630E-06    .10949E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.33067e-10
  norm       = 0.132675
  Prefactor  = 12.0788
  norm       = 0.848792
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.69295
  Prefactor  = 0.0001
  norm       = 2.40369
  norm       = 1.61517
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 1.54817
  Prefactor  = 4.2219
  Prefactor  = 2.96407
  Prefactor  = 2.95724
  Prefactor  = 10.3186
  Prefactor  = 1.63708
  Normalizat = 1.24328
  Prefactor  = 0.743874
 **********
 **   18 **HESSE 
 **********

 FCN=   8689.542     FROM HESSE     STATUS=OK           341 CALLS     1563 TOTAL
                     EDM=   .45E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .33307E-09    19.204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .13267        .57205        .24851E-02   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     12.079        15.102        .28740E-03   -1.5638    
   4  norm          .84879        3.3812        .48629E-03   -1.5690    
   5  Prefactor      .0000        7.1784        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        6.2241        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6930        .35226        .43419E-02   -1.5380    
   8  Prefactor     .10000E-03    4.2842        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          2.4037        1.0039        .66013E-03   -1.5677    
  10  norm          1.6152        1.4194        .83292E-03   -1.5683    
  11  Prefactor      .0000        11.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        2.6026        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.5482        .22723        .36208E-02   -1.5459    
  14  Prefactor     4.2219        6.7716        .48966E-03   -1.5667    
  15  Prefactor     2.9641        30.844        .58673E-03   -1.5674    
  16  Prefactor     2.9572        60.288        .60419E-03   -1.5674    
  17  Prefactor     10.319        7.0929        .31121E-03   -1.5644    
  18  Prefactor     1.6371        49.922        .82112E-03   -1.5682    
  19  Normalizat    1.2433        .21392        .72596E-01   -.85276    
  20  Prefactor     .74387        .10939        .42983E-01   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51161e-07
Minuit parameter uncertainties:
  1  0.000153327
  2  0.550988
  3  15.1016
  4  3.38125
  5  3.98188e-06
  6  1.79966e-05
  7  0.352261
  8  1.24533e-05
  9  1.00392
  10  1.41936
  11  2.61544e-05
  12  4.87321e-06
  13  0.227231
  14  6.77156
  15  19.1234
  16  26.705
  17  7.09293
  18  18.0807
  19  0.214067
  20  0.109424
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  0.000e+00  4.873e-06  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:  7.439e-01  1.094e-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.243e+00  2.141e-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: 4.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.66e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/121985/likelihoodResults_696038401_696297601_4FGL_J2248.9+2106_daily_bin1762.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) = 8689.54192536
delta logL = -0.000376290505301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8689.5415492
delta logL = -1.3037424651e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .25235E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .94755       1.0000          .0000       10.000    
     3 'Normalizat'    1.2433       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74383       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=   8689.542     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      270 TOTAL
                     EDM=   .87E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .45468E-02    .42118E-03** at limit **
   2  Index         2.6108        6.6589        .45608        .99707E-10
   3  Normalizat    1.2433        .26241E-03    .72596E-01   -.54919E-03
   4  Prefactor     .74387        .14161E-03    .42982E-01   -.81722E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 2.61083
  Normalizat = 1.24328
  Prefactor  = 0.743873
 **********
 **   18 **HESSE 
 **********

 FCN=   8689.542     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .35E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .20440E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6108        5.6451        .50000       -.49819    
   3  Normalizat    1.2433        .55526E-03    .32124E-03   -.85276    
   4  Prefactor     .74387        .29990E-03    .21710E-03   -1.0183    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.53773e-13
Minuit parameter uncertainties:
  1  1.64864e-06
  2  5548.51
  3  0.000555263
  4  0.000299901
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/121985': 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) = 8689.54154907
delta logL = -2.2555468604e-10

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  5.551e-11  1.649e-06  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  2.611e+00  5.549e+03  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:  7.439e-01  2.999e-04  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.243e+00  5.553e-04  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/121985/cmap_HighResolution_696038401_696297601_4FGL_J2248.9+2106_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-03', job_status='DONE', photon_flux_upper_limit='4.77e-08', time_completed='2023-01-25 01:53:40.268546', job_id='121985', GAL2='0.74', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1674640420.27', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='-2.26e-10', ts2='-0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1762' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:53:40 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0255>
Subject: Job 121985: <4FGL_J2248.9+2106_daily_bin1762> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1762> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan 25 01:40:21 2023
Job was executed on host(s) <bullet0255>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:42:54 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:42:54 2023
Terminated at Wed Jan 25 01:53:41 2023
Results reported at Wed Jan 25 01:53:41 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1762 342.246 21.1159 696038401 696297601 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 :                                   631.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             348.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   647 sec.
    Turnaround time :                            800 sec.

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

