aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 231 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7481
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1731
RA = 342.246, Dec = 21.1159
tmin = 688003201, tmax = 688262401
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='551216', job_status='RUN', time_executed='2022-10-24 00:44:26.701241', time_epoch_executed='1666597466.7' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1731'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/551216

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/551216/ft1_4FGL_J2248.9+2106_daily_bin1731.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/551216/ft2_4FGL_J2248.9+2106_daily_bin1731.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/551216/ft1_4FGL_J2248.9+2106_daily_bin1731.fits outfile=/scratch/kocevski/551216/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1731.fits ra=342.246 dec=21.1159 rad=12.0 tmin=688003201.0 tmax=688262401.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.52
user 3.31
sys 0.19

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

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

Number of photons that the gtmktime cut: 981

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/551216/ft1_filtered_4FGL_J2248.9+2106_daily_bin1731.fits" evtable="EVENTS" scfile=/scratch/kocevski/551216/ft2_4FGL_J2248.9+2106_daily_bin1731.fits sctable="SC_DATA" outfile=/scratch/kocevski/551216/ltcube_688003201_688262401_4FGL_J2248.9+2106_daily_bin1731.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/551216/ft2_4FGL_J2248.9+2106_daily_bin1731.fits
.....................!
real 11.97
user 11.61
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/551216/ft1_filtered_4FGL_J2248.9+2106_daily_bin1731.fits evtable="EVENTS" scfile=/scratch/kocevski/551216/ft2_4FGL_J2248.9+2106_daily_bin1731.fits sctable="SC_DATA" expcube=/scratch/kocevski/551216/ltcube_688003201_688262401_4FGL_J2248.9+2106_daily_bin1731.fits outfile=/scratch/kocevski/551216/expmap_688003201_688262401_4FGL_J2248.9+2106_daily_bin1731.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/551216/ltcube_688003201_688262401_4FGL_J2248.9+2106_daily_bin1731.fits
.....................!
real 192.71
user 187.09
sys 5.28

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/551216/ft1_filtered_4FGL_J2248.9+2106_daily_bin1731.fits scfile=/scratch/kocevski/551216/ft2_4FGL_J2248.9+2106_daily_bin1731.fits outfile=/scratch/kocevski/551216/cmap_688003201_688262401_4FGL_J2248.9+2106_daily_bin1731.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.61
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/551216/ft1_filtered_4FGL_J2248.9+2106_daily_bin1731.fits scfile=/scratch/kocevski/551216/ft2_4FGL_J2248.9+2106_daily_bin1731.fits outfile=/scratch/kocevski/551216/cmap_HighResolution_688003201_688262401_4FGL_J2248.9+2106_daily_bin1731.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.58
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.2621       1.0000          .0000       .10000E+07
     2 'norm      '     .0000       1.0000          .0000       .10000E+07
     3 'Prefactor '    30.403       1.0000          .0000       .10000E+07
     4 'norm      '    1.0627       1.0000          .0000       .10000E+07
     5 'Prefactor '    12.082       1.0000          .0000       .10000E+07
     6 'Prefactor '    3.2074       1.0000          .0000       .10000E+07
     7 'Prefactor '    .92005       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4024       1.0000         .10000E-03   10000.    
     9 'norm      '    1.7805       1.0000          .0000       .10000E+07
    10 'norm      '    .29976E-08   1.0000          .0000       .10000E+07
    11 'Prefactor '    9.9288       1.0000          .0000       .10000E+07
    12 'Prefactor '    14.617       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.7684       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .11714E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    1.6990       1.0000          .0000       .10000E+07
    16 'Prefactor '    75.679       1.0000          .0000       .10000E+07
    17 'Prefactor '    .48499E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.8480       1.0000          .0000       .10000E+07
    19 'Normalizat'    .90806       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0224       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=   9881.723     FROM MIGRAD    STATUS=CONVERGED    108 CALLS     1559 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.8837        18.359        .12144E-06    .24286E-03
   2  norm           .0000        .20499       -.18800E-07** at limit **
   3  Prefactor     30.653        19.554        .62602E-07    .18917E-01
   4  norm          1.0691        4.2547       -.23761E-06   -.24472E-04
   5  Prefactor     12.066        3.0392       -.19248E-07   -.54064E-01
   6  Prefactor     3.1938        9.9780        .19386E-06   -.40741E-02
   7  Prefactor     .92036        .24390        .13327E-06   -.70785E-04
   8  Prefactor     1.4033        1.1263       -.27257E-08   -.66938E-03
   9  norm          1.7810        .87880        .29218E-07   -.26115E-03
  10  norm           .0000        .78957       -.35454E-07** at limit **
  11  Prefactor     9.9751        2.3902       -.14991E-07   -.32205E-02
  12  Prefactor     14.673        11.317       -.70347E-07   -.88737E-02
  13  Prefactor     3.7687        .31723       -.96822E-08   -.28466E-04
  14  Prefactor      .0000        3.0235       -.20963E-07** at limit **
  15  Prefactor     1.6256        5.3489       -.15393E-06   -.13706E-01
  16  Prefactor     76.324        31.351       -.75927E-07   -.60763E-02
  17  Prefactor      .0000        2.5407        .87761E-07** at limit **
  18  Prefactor     4.9640        13.613        .45581E-06   -.11464E-01
  19  Normalizat    .90699        .26493       -.70414E-06    .38118E-05
  20  Prefactor     1.0225        .14047       -.24981E-06    .78059E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.88375
  norm       = 0
  Prefactor  = 30.6528
  norm       = 1.06913
  Prefactor  = 12.0659
  Prefactor  = 3.19384
  Prefactor  = 0.920361
  Prefactor  = 1.40329
  norm       = 1.78105
  norm       = 0
  Prefactor  = 9.97513
  Prefactor  = 14.6733
  Prefactor  = 3.7687
  Prefactor  = 0
  Prefactor  = 1.62557
  Prefactor  = 76.3237
  Prefactor  = 0
  Prefactor  = 4.96395
  Normalizat = 0.906991
  Prefactor  = 1.02246
 **********
 **   18 **HESSE 
 **********

 FCN=   9881.723     FROM HESSE     STATUS=OK           341 CALLS     1900 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.8837        38.364        .32907E-03   -1.5648    
   2  norm           .0000        .20459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     30.653        19.957        .18139E-03   -1.5597    
   4  norm          1.0691        4.2609        .11857E-02   -1.5687    
   5  Prefactor     12.066        13.182        .28795E-03   -1.5638    
   6  Prefactor     3.1938        10.101        .56546E-03   -1.5672    
   7  Prefactor     .92036        .25174        .55061E-02   -1.5516    
   8  Prefactor     1.4033        13.654        .91572E-02   -1.5471    
   9  norm          1.7810        .88293        .78403E-03   -1.5681    
  10  norm           .0000        .78653        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.9751        35.220        .31777E-03   -1.5645    
  12  Prefactor     14.673        11.409        .26171E-03   -1.5631    
  13  Prefactor     3.7687        .32383        .34743E-02   -1.5320    
  14  Prefactor      .0000        3.0192        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.6256        32.353        .80680E-03   -1.5682    
  16  Prefactor     76.324        36.942        .11496E-03   -1.5533    
  17  Prefactor      .0000        2.5346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.9640        14.319        .45664E-03   -1.5663    
  19  Normalizat    .90699        .23287        .92367E-01   -.96215    
  20  Prefactor     1.0225        .12183        .41907E-01   -.91985    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36581e-07
Minuit parameter uncertainties:
  1  36.9226
  2  5.18037e-08
  3  19.9573
  4  4.26094
  5  13.1817
  6  10.1013
  7  0.251738
  8  8.75672
  9  0.882927
  10  3.17694e-07
  11  35.2209
  12  11.4093
  13  0.323831
  14  4.17076e-06
  15  14.5042
  16  36.942
  17  1.54133e-07
  18  14.3188
  19  0.233127
  20  0.121867
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.467e+01  1.141e+01  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  2.298e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
309        Scale:  1.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.022e+00  1.219e-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:  9.070e-01  2.331e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.54
Ra Dec: 342.246 21.116
Photon Index (Fixed Index): 2.30 +/- 0.00
Photon Flux (Fixed Index): 5.13e-08 +/- 3.98e-08
Energy Flux (Fixed Index): 1.95e-05 +/- 1.51e-05

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

Saving results to:
/scratch/kocevski/551216/likelihoodResults_688003201_688262401_4FGL_J2248.9+2106_daily_bin1731.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) = 9881.67277523
delta logL = 0.0503460880354

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9881.66776888
delta logL = 0.0553524334882

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.542       1.0000          .0000       .10000E+07
     2 'Index     '    2.1000       1.0000          .0000       10.000    
     3 'Normalizat'    .91861       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0183       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9881.668     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      274 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.546        15.598        .95542E-05   -.80981E-02
   2  Index         2.0999        .59338        .77348E-02   -.32710E-03
   3  Normalizat    .91863        .25222        .40686E-03    .89400E-03
   4  Prefactor     1.0183        .13929        .21433E-03    .19551E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.5457
  Index      = 2.09987
  Normalizat = 0.918634
  Prefactor  = 1.01834
 **********
 **   18 **HESSE 
 **********

 FCN=   9881.668     FROM HESSE     STATUS=OK            23 CALLS      297 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.546        15.199        .19108E-05   -1.5624    
   2  Index         2.0999        .57793        .30939E-03   -.61876    
   3  Normalizat    .91863        .25218        .81372E-04   -.95808    
   4  Prefactor     1.0183        .13933        .42867E-04   -.92121    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47481e-09
Minuit parameter uncertainties:
  1  15.1993
  2  0.579888
  3  0.252507
  4  0.139381
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/551216': 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) = 9881.66776883
delta logL = 0.0553524809293

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  1.755e+01  1.520e+01  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  2.100e+00  5.799e-01  0.000e+00  1.000e+01 (-1.000e+00)
309        Scale:  1.432e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.018e+00  1.394e-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:  9.186e-01  2.525e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.63
Ra Dec: 342.246 21.116
Photon Index (Free Index): 2.10 +/- 0.58
Photon Flux (Free Index): 4.27e-08 +/- 4.31e-08
Energy Flux (Free Index): 2.34e-05 +/- 2.32e-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/551216/cmap_HighResolution_688003201_688262401_4FGL_J2248.9+2106_daily_bin1731.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', photon_flux='5.13e-08', energy_flux2='2.34e-05', photon_flux_error='3.98e-08', dlogl='5.54e-02', energy_flux='1.95e-05', photon_flux2='4.27e-08', job_status='DONE', time_completed='2022-10-24 00:56:48.137704', photon_index_error2='0.58', photon_index2='2.10', ts='2.54', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.36e-07', energy_flux_error2='2.32e-05', EG='0.91', time_epoch_completed='1666598208.14', return_code='0', job_id='551216', GAL2='1.02', EG2='0.92', return_code2='0', energy_flux_error='1.51e-05', photon_flux_error2='4.31e-08', ts2='2.63', photon_index='2.30' WHERE bin_id='1731' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Oct 24 00:56:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 551216: <4FGL_J2248.9+2106_daily_bin1731> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1731> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Oct 24 00:40:26 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Oct 24 00:40:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Oct 24 00:40:27 2022
Terminated at Mon Oct 24 00:56:49 2022
Results reported at Mon Oct 24 00:56:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1731 342.246 21.1159 688003201 688262401 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 :                                   743.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

