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 141 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1669
RA = 342.246, Dec = 21.1159
tmin = 671932801, tmax = 672192001
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='692239', job_status='RUN', time_executed='2022-04-21 00:38:10.772465', time_epoch_executed='1650526690.77' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1669'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/692239

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/692239/ft1_4FGL_J2248.9+2106_daily_bin1669.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/692239/ft2_4FGL_J2248.9+2106_daily_bin1669.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/692239/ft1_4FGL_J2248.9+2106_daily_bin1669.fits outfile=/scratch/kocevski/692239/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1669.fits ra=342.246 dec=21.1159 rad=12.0 tmin=671932801.0 tmax=672192001.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.77
user 3.54
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/692239/ft2_4FGL_J2248.9+2106_daily_bin1669.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/692239/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1669.fits evtable="EVENTS" outfile="/scratch/kocevski/692239/ft1_filtered_4FGL_J2248.9+2106_daily_bin1669.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.55
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 906

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/692239/ft1_filtered_4FGL_J2248.9+2106_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692239/ft2_4FGL_J2248.9+2106_daily_bin1669.fits sctable="SC_DATA" expcube=/scratch/kocevski/692239/ltcube_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.fits outfile=/scratch/kocevski/692239/expmap_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.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/692239/ltcube_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.fits
.....................!
real 191.36
user 185.28
sys 5.26

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/692239/ft1_filtered_4FGL_J2248.9+2106_daily_bin1669.fits scfile=/scratch/kocevski/692239/ft2_4FGL_J2248.9+2106_daily_bin1669.fits outfile=/scratch/kocevski/692239/cmap_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/692239/ft1_filtered_4FGL_J2248.9+2106_daily_bin1669.fits scfile=/scratch/kocevski/692239/ft2_4FGL_J2248.9+2106_daily_bin1669.fits outfile=/scratch/kocevski/692239/cmap_HighResolution_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.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/692239/ft1_filtered_4FGL_J2248.9+2106_daily_bin1669.fits evtable="EVENTS" scfile=/scratch/kocevski/692239/ft2_4FGL_J2248.9+2106_daily_bin1669.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/692239/Model_4FGL_J2248.9+2106_daily_bin1669.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/692239/ft1_filtered_4FGL_J2248.9+2106_daily_bin1669.fits.....................!
real 100.59
user 99.04
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/692239/ft1_filtered_4FGL_J2248.9+2106_daily_bin1669.fits', '/scratch/kocevski/692239/ft2_4FGL_J2248.9+2106_daily_bin1669.fits', expMap='/scratch/kocevski/692239/expmap_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.fits', expCube='/scratch/kocevski/692239/ltcube_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/692239/Model_4FGL_J2248.9+2106_daily_bin1669.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  1.000e-04  1.000e+04 ( 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/692239/ft1_filtered_4FGL_J2248.9+2106_daily_bin1669.fits
Spacecraft file(s): /scratch/kocevski/692239/ft2_4FGL_J2248.9+2106_daily_bin1669.fits
Exposure map: /scratch/kocevski/692239/expmap_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.fits
Exposure cube: /scratch/kocevski/692239/ltcube_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/692239/Model_4FGL_J2248.9+2106_daily_bin1669.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) = 10034.2344925

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .26311E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.452       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .13678E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.2257       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.8315       1.0000         .10000E-03   10000.    
    10 'norm      '    2.5061       1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.0052       1.0000         .10000E-03   10000.    
    12 'norm      '    1.9987       1.0000         .10000E-03   10000.    
    13 'Prefactor '    63.459       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.818       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .25016       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.1450       1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.684       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.3484       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.2916       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92642       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10034.22     FROM MIGRAD    STATUS=CONVERGED    579 CALLS     2948 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.225        .70312E-05** at limit **
   2  norm          .10000E-03    .24393       -.14261E-07** at limit **
   3  Prefactor     .10000E-03    16.724       -.10655E-04** at limit **
   4  norm          .10000E-03    2.2274       -.90701E-07** at limit **
   5  Prefactor     15.451        12.188        .10683E-06   -.14832E-04
   6  Prefactor     .10000E-03    61.776       -.89120E-06** at limit **
   7  Prefactor     .10004E-03    5.0471        .12192E-05** at limit **
   8  Prefactor     1.2257        .25736       -.32869E-08   -.22377E-03
   9  Prefactor     8.8314        8.2702       -.31660E-07   -.14295E-04
  10  norm          2.5058        1.2866       -.16622E-07   -.38235E-03
  11  Prefactor     8.0029        19.959       -.11346E-05   -.26781E-04
  12  norm          1.9987        1.3562        .17962E-07    .55413E-04
  13  Prefactor     63.455        37.316       -.26080E-05   -.89696E-05
  14  Prefactor     25.820        12.483       -.33900E-06   -.49827E-04
  15  Prefactor     .10000E-03    5.7398       -.12655E-07** at limit **
  16  Prefactor     .25018        .13427        .25771E-07   -.15445E-02
  17  Prefactor     .10000E-03    7.5089        .13981E-06** at limit **
  18  Prefactor     .10000E-03    1.5492       -.13305E-07** at limit **
  19  Prefactor     3.1450        9.1836       -.68677E-06   -.20045E-03
  20  Prefactor     19.692        22.632        .47088E-05    .25360E-04
  21  Prefactor     4.3393        39.604       -.18353E-04   -.34030E-04
  22  Prefactor     .10000E-03    2.4413       -.16821E-07** at limit **
  23  Prefactor     .10000E-03    9.9452       -.10932E-05** at limit **
  24  Normalizat    1.2914        .20592       -.23051E-07    .91740E-05
  25  Prefactor     .92649        .10704        .49381E-06   -.26499E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.4508
  Prefactor  = 0.0001
  Prefactor  = 0.000100045
  Prefactor  = 1.22569
  Prefactor  = 8.8314
  norm       = 2.50581
  Prefactor  = 8.00285
  norm       = 1.99871
  Prefactor  = 63.4554
  Prefactor  = 25.8203
  Prefactor  = 0.0001
  Prefactor  = 0.250178
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.14497
  Prefactor  = 19.6919
  Prefactor  = 4.33928
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.29141
  Prefactor  = 0.926489
 **********
 **   18 **HESSE 
 **********

 FCN=   10034.22     FROM HESSE     STATUS=OK           433 CALLS     3381 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    .32110        .96404E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    16.741        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    4.6748        .28928E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.451        12.213        .10189E-03   -1.4922    
   6  Prefactor     .10000E-03    61.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10004E-03    21.420        .42882E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.2257        .25793        .21821E-04   -1.5487    
   9  Prefactor     8.8314        8.2752        .13488E-03   -1.5114    
  10  norm          2.5058        1.2800        .74330E-04   -1.5391    
  11  Prefactor     8.0029        19.912        .14171E-03   -1.5142    
  12  norm          1.9987        1.3569        .92468E-04   -1.5425    
  13  Prefactor     63.455        37.155        .50374E-04   -1.4113    
  14  Prefactor     25.820        12.485        .78839E-04   -1.4691    
  15  Prefactor     .10000E-03    5.7444        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .25018        .12997        .24535E-04   -1.5608    
  17  Prefactor     .10000E-03    7.6091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    1.5534        .12175E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.1450        9.2024        .22858E-03   -1.5353    
  20  Prefactor     19.692        22.618        .90276E-04   -1.4820    
  21  Prefactor     4.3393        40.378        .19316E-03   -1.5291    
  22  Prefactor     .10000E-03    2.4533        .15280E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    9.9750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    1.2914        .24087        .33946E-03   -.83823    
  25  Prefactor     .92649        .12627        .20896E-03   -.95222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.21986e-09
Minuit parameter uncertainties:
  1  2.45437e-06
  2  8.12296e-07
  3  6.47137e-06
  4  2.14825e-05
  5  12.2151
  6  4.28329e-06
  7  0.00195983
  8  0.257926
  9  8.27628
  10  1.28005
  11  19.9286
  12  1.35692
  13  37.1689
  14  12.4862
  15  2.63651e-06
  16  0.129967
  17  1.38727e-05
  18  2.93451e-07
  19  9.20651
  20  22.6275
  21  26.4969
  22  2.60292e-06
  23  4.91977e-06
  24  0.241077
  25  0.126312
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  2.582e+01  1.249e+01  1.000e-04  1.000e+04 ( 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.265e-01  1.263e-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.291e+00  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 11.61
Ra Dec: 342.246 21.116
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 9.02e-08 +/- 4.36e-08
Energy Flux (Fixed Index): 3.43e-05 +/- 1.66e-05

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) = 10033.6521546
delta logL = 0.572681186281

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10033.5816729
delta logL = 0.643162872924

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.942       1.0000         .10000E-03   10000.    
     2 'Index     '    1.8629       1.0000          .0000       10.000    
     3 'Normalizat'    1.3304       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91523       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=   10033.58     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      256 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.950        436.25        .17196E-02    .43768E-05
   2  Index         1.8629        5.8441        .15531        .49870E-04
   3  Normalizat    1.3304        .30718        .75768E-01    .65324E-04
   4  Prefactor     .91521        .96432E-01    .45199E-01    .98519E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.9498
  Index      = 1.86286
  Normalizat = 1.33042
  Prefactor  = 0.91521
 **********
 **   18 **HESSE 
 **********

 FCN=   10033.58     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .45E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.950        17.446        .68782E-04   -1.4542    
   2  Index         1.8629        .37159        .77718E-02   -.67825    
   3  Normalizat    1.3304        .23611        .33532E-03   -.82663    
   4  Prefactor     .91521        .12543        .21012E-03   -.95612    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47804e-12
Minuit parameter uncertainties:
  1  17.4486
  2  0.372155
  3  0.236307
  4  0.125473
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/692239': 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): 0
logL (Free Index) = 10033.5816728
delta logL = 0.643162976388

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  3.395e+01  1.745e+01  1.000e-04  1.000e+04 ( 1.000e-13)
308        Index:  1.863e+00  3.722e-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:  9.152e-01  1.255e-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.330e+00  2.363e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 12.89
Ra Dec: 342.246 21.116
Photon Index (Free Index): 1.86 +/- 0.37
Photon Flux (Free Index): 5.59e-08 +/- 4.05e-08
Energy Flux (Free Index): 5.56e-05 +/- 4.17e-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/692239/cmap_HighResolution_671932801_672192001_4FGL_J2248.9+2106_daily_bin1669.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.02e-08', energy_flux2='5.56e-05', photon_flux_error='4.36e-08', dlogl='6.43e-01', energy_flux='3.43e-05', photon_flux2='5.59e-08', job_status='DONE', time_completed='2022-04-21 00:51:21.618529', photon_index_error2='0.37', photon_index2='1.86', ts='11.61', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='4.17e-05', EG='1.29', time_epoch_completed='1650527481.62', return_code='0', job_id='692239', GAL2='0.92', EG2='1.33', return_code2='0', energy_flux_error='1.66e-05', photon_flux_error2='4.05e-08', ts2='12.89', photon_index='2.30' WHERE bin_id='1669' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Apr 21 00:51:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 692239: <4FGL_J2248.9+2106_daily_bin1669> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1669> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Thu Apr 21 00:35:39 2022
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Apr 21 00:35:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Apr 21 00:35:40 2022
Terminated at Thu Apr 21 00:51:22 2022
Results reported at Thu Apr 21 00:51:22 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1669 342.246 21.1159 671932801 672192001 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 :                                   789.55 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             302.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            943 sec.

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

