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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1750
RA = 342.246, Dec = 21.1159
tmin = 692928001, tmax = 693187201
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='28431', job_status='RUN', time_executed='2022-12-20 01:57:38.369500', time_epoch_executed='1671530258.37' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/28431

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/28431/ft1_4FGL_J2248.9+2106_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/28431/ft2_4FGL_J2248.9+2106_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/28431/ft1_4FGL_J2248.9+2106_daily_bin1750.fits outfile=/scratch/kocevski/28431/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1750.fits ra=342.246 dec=21.1159 rad=12.0 tmin=692928001.0 tmax=693187201.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.53
user 3.29
sys 0.23

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

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

Number of photons that the gtmktime cut: 988

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/28431/ft1_filtered_4FGL_J2248.9+2106_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/28431/ft2_4FGL_J2248.9+2106_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/28431/ltcube_692928001_693187201_4FGL_J2248.9+2106_daily_bin1750.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/28431/ft2_4FGL_J2248.9+2106_daily_bin1750.fits
.....................!
real 15.84
user 15.39
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/28431/ft1_filtered_4FGL_J2248.9+2106_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/28431/ft2_4FGL_J2248.9+2106_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/28431/ltcube_692928001_693187201_4FGL_J2248.9+2106_daily_bin1750.fits outfile=/scratch/kocevski/28431/expmap_692928001_693187201_4FGL_J2248.9+2106_daily_bin1750.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/28431/ltcube_692928001_693187201_4FGL_J2248.9+2106_daily_bin1750.fits
.....................!
real 190.92
user 185.40
sys 5.17

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/28431/ft1_filtered_4FGL_J2248.9+2106_daily_bin1750.fits scfile=/scratch/kocevski/28431/ft2_4FGL_J2248.9+2106_daily_bin1750.fits outfile=/scratch/kocevski/28431/cmap_692928001_693187201_4FGL_J2248.9+2106_daily_bin1750.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/28431/ft1_filtered_4FGL_J2248.9+2106_daily_bin1750.fits scfile=/scratch/kocevski/28431/ft2_4FGL_J2248.9+2106_daily_bin1750.fits outfile=/scratch/kocevski/28431/cmap_HighResolution_692928001_693187201_4FGL_J2248.9+2106_daily_bin1750.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    37.789       1.0000          .0000       .10000E+07
     2 'norm      '    .24213E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    .12341E-03   1.0000          .0000       .10000E+07
     4 'norm      '    1.8029       1.0000          .0000       .10000E+07
     5 'Prefactor '    .26975E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    5.0484       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.9774       1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.6145       1.0000         .10000E-03   10000.    
     9 'norm      '    .73141       1.0000          .0000       .10000E+07
    10 'norm      '    2.5487       1.0000          .0000       .10000E+07
    11 'Prefactor '    36.874       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11784E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    2.7579       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .25591E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    15.502       1.0000          .0000       .10000E+07
    16 'Prefactor '    75.512       1.0000          .0000       .10000E+07
    17 'Prefactor '    9.4606       1.0000          .0000       .10000E+07
    18 'Prefactor '    .55700E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    1.3555       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .90920       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=   10112.42     FROM MIGRAD    STATUS=CONVERGED    129 CALLS     1626 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     37.760        2.9238       -.51113E-06    .30017E-01
   2  norm          .27756E-09    7.5837       -.36290E-05** at limit **
   3  Prefactor     .55511E-09    7.2849       -.14641E-05** at limit **
   4  norm          1.8033        2.2922        .56986E-06    .74925E-02
   5  Prefactor     .42188E-08    10.891       -.19398E-05** at limit **
   6  Prefactor     5.0356        9.1830       -.23044E-05   -.93502E-02
   7  Prefactor     2.9772        .38044       -.41778E-06   -.28510E-03
   8  Prefactor     8.6132        1.6847       -.97348E-06    .27001E-02
   9  norm          .73120        .77535       -.21665E-06    .24528E-01
  10  norm          2.5483        1.6090        .22102E-06    .64567E-02
  11  Prefactor     36.857        3.5231       -.62682E-06    .12723E-01
  12  Prefactor     .31294E-05    9.5373       -.38842E-05** at limit **
  13  Prefactor     2.7579        .29095        .59197E-06    .48536E-02
  14  Prefactor     .55511E-10    2.8093       -.29300E-06** at limit **
  15  Prefactor     15.446        18.827       -.53215E-05   -.16318E-01
  16  Prefactor     75.451        17.842       -.23113E-05    .16958    
  17  Prefactor     9.4493        7.9021        .16348E-06    .16746E-02
  18  Prefactor     .27535E-05    9.4592        .17351E-05** at limit **
  19  Normalizat    1.3555        .28229       -.10869E-04   -.10813E-03
  20  Prefactor     .90915        .14643        .65847E-05   -.39049E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 37.7602
  norm       = 2.77556e-10
  Prefactor  = 5.55112e-10
  norm       = 1.80334
  Prefactor  = 4.21885e-09
  Prefactor  = 5.03563
  Prefactor  = 2.97718
  Prefactor  = 8.61325
  norm       = 0.731202
  norm       = 2.54833
  Prefactor  = 36.8575
  Prefactor  = 3.12939e-06
  Prefactor  = 2.75786
  Prefactor  = 5.55112e-11
  Prefactor  = 15.4459
  Prefactor  = 75.4511
  Prefactor  = 9.44928
  Prefactor  = 2.75346e-06
  Normalizat = 1.35554
  Prefactor  = 0.909154
 **********
 **   18 **HESSE 
 **********

 FCN=   10112.42     FROM HESSE     STATUS=OK           339 CALLS     1965 TOTAL
                     EDM=   .11E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     37.760        35.232        .16269E-03   -1.5585    
   2  norm          .27756E-09    .62430        .27340E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .55511E-09    7.2840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          1.8033        2.3018        .77814E-03   -1.5681    
   5  Prefactor     .42188E-08    10.908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.0356        9.2572        .44729E-03   -1.5663    
   7  Prefactor     2.9772        .38232        .48408E-02   -1.5363    
   8  Prefactor     8.6132        9.6442        .34144E-02   -1.5121    
   9  norm          .73120        .78475        .58194E-03   -1.5691    
  10  norm          2.5483        1.6188        .63933E-03   -1.5676    
  11  Prefactor     36.857        29.320        .16470E-03   -1.5587    
  12  Prefactor     .31294E-05    16.140        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7579        .29394        .37982E-02   -1.5376    
  14  Prefactor     .55511E-10    2.8055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.446        29.876        .25412E-03   -1.5629    
  16  Prefactor     75.451        41.300        .11508E-03   -1.5534    
  17  Prefactor     9.4493        7.8940        .32558E-03   -1.5646    
  18  Prefactor     .27535E-05    15.023        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    1.3555        .23817        .84377E-01   -.81923    
  20  Prefactor     .90915        .12335        .45122E-01   -.95822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14203e-06
Minuit parameter uncertainties:
  1  35.2322
  2  2.69451e-05
  3  0.000130064
  4  2.30177
  5  0.000429811
  6  9.25722
  7  0.38232
  8  9.64593
  9  0.784749
  10  1.61882
  11  29.3199
  12  0.0142137
  13  0.293939
  14  2.15338e-05
  15  29.8766
  16  41.3002
  17  7.89401
  18  0.0128631
  19  0.23836
  20  0.123388
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  3.129e-06  1.421e-02  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.092e-01  1.234e-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.356e+00  2.384e-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: 9.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.91e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/28431/likelihoodResults_692928001_693187201_4FGL_J2248.9+2106_daily_bin1750.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) = 10112.453794
delta logL = -0.0322496201024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10112.4210286
delta logL = 0.000515797488333

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79938E-01   1.0000          .0000       .10000E+07
     2 'Index     '    3.2235       1.0000          .0000       10.000    
     3 'Normalizat'    1.3535       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90957       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=   10112.42     FROM MIGRAD    STATUS=CONVERGED     73 CALLS      254 TOTAL
                     EDM=   .29E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .81604E-01    .66282        .73234E-02** at limit **
   2  Index         3.2086        .45192        .50000       -.10988E-05
   3  Normalizat    1.3537        .53019E-02    .84423E-01   -.30706E-04
   4  Prefactor     .90959        .28479E-02    .45127E-01   -.63352E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0816042
  Index      = 3.20861
  Normalizat = 1.35369
  Prefactor  = 0.909588
 **********
 **   18 **HESSE 
 **********

 FCN=   10112.42     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      289 TOTAL
                     EDM=   .33E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .81604E-01    3850.7        .17499E-03   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2086        6.6026        .10421E-01   -.36642    
   3  Normalizat    1.3537        .38980        .37377E-03   -.81978    
   4  Prefactor     .90959        .11375        .23798E-03   -.95807    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.27277e-06
Minuit parameter uncertainties:
  1  35.4759
  2  93.785
  3  0.390652
  4  0.113778
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/28431': 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) = 10112.4210254
delta logL = 0.000518921595358

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  8.160e-02  3.548e+01  0.000e+00  1.000e+06 ( 1.000e-13)
308        Index:  3.209e+00  9.378e+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.096e-01  1.138e-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.354e+00  3.907e-01  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/28431/cmap_HighResolution_692928001_693187201_4FGL_J2248.9+2106_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.91e-03', job_status='DONE', photon_flux_upper_limit='9.01e-08', time_completed='2022-12-20 02:10:10.597303', job_id='28431', GAL2='0.91', fit_tolerance='1e-08', EG2='1.35', EG='1.36', time_epoch_completed='1671531010.6', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.19e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1750' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 02:10:10 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 28431: <4FGL_J2248.9+2106_daily_bin1750> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1750> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Dec 20 01:55:19 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:55:20 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:55:20 2022
Terminated at Tue Dec 20 02:10:11 2022
Results reported at Tue Dec 20 02:10:11 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1750 342.246 21.1159 692928001 693187201 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 :                                   754.51 sec.
    Max Memory :                                 1224 MB
    Average Memory :                             344.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   890 sec.
    Turnaround time :                            892 sec.

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

