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


Performing analysis on: 4FGL_J2248.9+2106_daily_bin1748
RA = 342.246, Dec = 21.1159
tmin = 692409601, tmax = 692668801
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='898212', job_status='RUN', time_executed='2022-12-14 01:21:44.133230', time_epoch_executed='1671009704.13' WHERE source_name='4FGL J2248.9+2106' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/898212

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/898212/ft1_4FGL_J2248.9+2106_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/898212/ft2_4FGL_J2248.9+2106_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/898212/ft1_4FGL_J2248.9+2106_daily_bin1748.fits outfile=/scratch/kocevski/898212/ft1_filteredMKT_4FGL_J2248.9+2106_daily_bin1748.fits ra=342.246 dec=21.1159 rad=12.0 tmin=692409601.0 tmax=692668801.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.55
user 3.35
sys 0.19

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

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

Number of photons that the gtmktime cut: 938

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/898212/ft1_filtered_4FGL_J2248.9+2106_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/898212/ft2_4FGL_J2248.9+2106_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/898212/ltcube_692409601_692668801_4FGL_J2248.9+2106_daily_bin1748.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/898212/ft2_4FGL_J2248.9+2106_daily_bin1748.fits
.....................!
real 11.96
user 11.58
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/898212/ft1_filtered_4FGL_J2248.9+2106_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/898212/ft2_4FGL_J2248.9+2106_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/898212/ltcube_692409601_692668801_4FGL_J2248.9+2106_daily_bin1748.fits outfile=/scratch/kocevski/898212/expmap_692409601_692668801_4FGL_J2248.9+2106_daily_bin1748.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/898212/ltcube_692409601_692668801_4FGL_J2248.9+2106_daily_bin1748.fits
.....................!
real 190.06
user 185.46
sys 4.27

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/898212/ft1_filtered_4FGL_J2248.9+2106_daily_bin1748.fits scfile=/scratch/kocevski/898212/ft2_4FGL_J2248.9+2106_daily_bin1748.fits outfile=/scratch/kocevski/898212/cmap_692409601_692668801_4FGL_J2248.9+2106_daily_bin1748.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.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/898212/ft1_filtered_4FGL_J2248.9+2106_daily_bin1748.fits scfile=/scratch/kocevski/898212/ft2_4FGL_J2248.9+2106_daily_bin1748.fits outfile=/scratch/kocevski/898212/cmap_HighResolution_692409601_692668801_4FGL_J2248.9+2106_daily_bin1748.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.54
user 0.36
sys 0.18

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .53293E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .33015       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34268E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .40513E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .72307       1.0000          .0000       .10000E+07
     6 'Prefactor '    .92788       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.2247       1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.597       1.0000         .10000E-03   10000.    
     9 'norm      '    1.1650       1.0000          .0000       .10000E+07
    10 'norm      '    2.9284       1.0000          .0000       .10000E+07
    11 'Prefactor '    23.959       1.0000          .0000       .10000E+07
    12 'Prefactor '    .96437E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    1.7626       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .72228       1.0000          .0000       .10000E+07
    15 'Prefactor '    .57906E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    70.937       1.0000          .0000       .10000E+07
    17 'Prefactor '    .28856E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    21.701       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.4028       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .88737       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=   9573.141     FROM MIGRAD    STATUS=CONVERGED    115 CALLS     1254 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38858E-08    54.433       -.49033E-06** at limit **
   2  norm          .32799        .77502       -.10387E-06    .13719E-02
   3  Prefactor     .13101E-07    4.7147       -.18846E-05** at limit **
   4  norm          .32608E-05    11.362        .25956E-05** at limit **
   5  Prefactor     .64422        1.4423       -.30982E-06   -.91157E-02
   6  Prefactor     .82202        2.2952       -.13634E-05   -.14054E-01
   7  Prefactor     1.2242        .26142        .12149E-05   -.25743E-02
   8  Prefactor     12.593        11.855       -.23093E-04   -.17715E-02
   9  norm          1.1619        .92900        .76734E-07   -.10053E-01
  10  norm          2.9264        1.5355       -.25188E-06   -.14004E-01
  11  Prefactor     24.013        1.2006       -.97224E-07   -.42526E-02
  12  Prefactor     .79936E-08    3.4935        .58336E-07** at limit **
  13  Prefactor     1.7616        .23558       -.70047E-06   -.28602E-02
  14  Prefactor     .69537        6.5737        .63751E-05    .46323E-01
  15  Prefactor     .68440E-06    20.715       -.30710E-05** at limit **
  16  Prefactor     69.278        34.241       -.23976E-05    .24052E-01
  17  Prefactor     .46491E-06    16.833       -.57484E-05** at limit **
  18  Prefactor     20.953        15.013        .41697E-05   -.38772E-01
  19  Normalizat    1.4068        .26191       -.25493E-04   -.12339E-03
  20  Prefactor     .88687        .13699        .19413E-04    .47985E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.88578e-09
  norm       = 0.32799
  Prefactor  = 1.31006e-08
  norm       = 3.26078e-06
  Prefactor  = 0.644225
  Prefactor  = 0.82202
  Prefactor  = 1.2242
  Prefactor  = 12.5934
  norm       = 1.16188
  norm       = 2.9264
  Prefactor  = 24.0126
  Prefactor  = 7.99361e-09
  Prefactor  = 1.76161
  Prefactor  = 0.695375
  Prefactor  = 6.84397e-07
  Prefactor  = 69.2785
  Prefactor  = 4.64906e-07
  Prefactor  = 20.9533
  Normalizat = 1.4068
  Prefactor  = 0.886869
 **********
 **   18 **HESSE 
 **********

 FCN=   9573.141     FROM HESSE     STATUS=OK           343 CALLS     1597 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38858E-08    53.250        .15412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .32799        .79056        .98071E-03   -1.5697    
   3  Prefactor     .13101E-07    4.7979        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .32608E-05    1.5844        .65102E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .64422        57.350        .58855E-03   -1.5692    
   6  Prefactor     .82202        35.035        .43851E-03   -1.5690    
   7  Prefactor     1.2242        .26641        .49893E-02   -1.5487    
   8  Prefactor     12.593        11.881        .28215E-02   -1.4998    
   9  norm          1.1619        .94510        .10652E-02   -1.5686    
  10  norm          2.9264        1.5330        .59336E-03   -1.5674    
  11  Prefactor     24.013        23.784        .20434E-03   -1.5610    
  12  Prefactor     .79936E-08    3.5564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.7616        .23942        .37181E-02   -1.5443    
  14  Prefactor     .69537        20.894        .58917E-03   -1.5691    
  15  Prefactor     .68440E-06    24.137        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     69.278        34.837        .11874E-03   -1.5541    
  17  Prefactor     .46491E-06    18.463        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     20.953        18.562        .21473E-03   -1.5616    
  19  Normalizat    1.4068        .22559        .75371E-01   -.80432    
  20  Prefactor     .88687        .11585        .44844E-01   -.96601    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35112e-07
Minuit parameter uncertainties:
  1  0.000912458
  2  0.790557
  3  0.000501852
  4  0.00454598
  5  12.1568
  6  10.7331
  7  0.266406
  8  11.8834
  9  0.945102
  10  1.53304
  11  23.7841
  12  0.000336996
  13  0.239423
  14  7.6235
  15  0.00812898
  16  34.8375
  17  0.00585947
  18  18.5616
  19  0.225746
  20  0.115886
Done.

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

Extracting fit parameters...

4FGL J2248.9+2106
   Spectrum: PowerLaw
307    Prefactor:  7.994e-09  3.370e-04  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:  8.869e-01  1.159e-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.407e+00  2.257e-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: 5.80e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.45e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/898212/likelihoodResults_692409601_692668801_4FGL_J2248.9+2106_daily_bin1748.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) = 9573.14135546
delta logL = -0.000206746821277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9573.14114987
delta logL = -1.15551847557e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .38969E-07   1.0000          .0000       .10000E+07
     2 'Index     '    1.6519       1.0000          .0000       10.000    
     3 'Normalizat'    1.4064       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88706       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9573.141     FROM MIGRAD    STATUS=CONVERGED     38 CALLS      275 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        2.7214        .42118E-03** at limit **
   2  Index         2.5904        1.2224       -.70276E-05     .0000    
   3  Normalizat    1.4068        1.0611        .49025E-04    .14009E-03
   4  Prefactor     .88687        1.2325       -.36545E-04   -.24343E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.59037
  Normalizat = 1.40681
  Prefactor  = 0.886865
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   9573.141     FROM HESSE     STATUS=FAILED         9 CALLS      284 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        2.7214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .75827        1.9278       -.70276E-05   -.50285    
   3  Normalizat    1.4068        1.0611        .49025E-04   -.80432    
   4  Prefactor     .88687        1.2325       -.36545E-04   -.96602    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.90275e-10
Minuit parameter uncertainties:
  1  7.84225e-06
  2  1.23889
  3  1.07847
  4  1.27476
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/898212': 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): 101
logL (Free Index) = 9573.14114872
delta logL = 9.60426405072e-10

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  8.869e-01  1.275e+00  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.407e+00  1.078e+00  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/898212/cmap_HighResolution_692409601_692668801_4FGL_J2248.9+2106_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.45e-03', job_status='DONE', photon_flux_upper_limit='5.80e-08', time_completed='2022-12-14 01:33:00.133322', job_id='898212', GAL2='0.89', fit_tolerance='1e-08', EG2='1.41', EG='1.41', time_epoch_completed='1671010380.13', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='9.60e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.30' WHERE bin_id='1748' AND source_name='4FGL J2248.9+2106' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 01:33:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0087>
Subject: Job 898212: <4FGL_J2248.9+2106_daily_bin1748> in cluster <slac> Done

Job <4FGL_J2248.9+2106_daily_bin1748> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Dec 14 01:20:29 2022
Job was executed on host(s) <bullet0087>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 01:20:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 01:20:30 2022
Terminated at Wed Dec 14 01:33:00 2022
Results reported at Wed Dec 14 01:33:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2248.9+2106_daily_bin1748 342.246 21.1159 692409601 692668801 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 :                                   678.47 sec.
    Max Memory :                                 627 MB
    Average Memory :                             307.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            751 sec.

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

