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


Performing analysis on: 4FGL_J2148.6+0652_daily_bin1707
RA = 327.163, Dec = 6.8791
tmin = 681782401, tmax = 682041601
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='550232', job_status='RUN', time_executed='2022-08-13 00:32:32.057747', time_epoch_executed='1660375952.06' WHERE source_name='4FGL J2148.6+0652' and cadence='daily' and bin_id='1707'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/550232

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/550232/ft1_4FGL_J2148.6+0652_daily_bin1707.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/550232/ft1_4FGL_J2148.6+0652_daily_bin1707.fits outfile=/scratch/kocevski/550232/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1707.fits ra=327.163 dec=6.8791 rad=12.0 tmin=681782401.0 tmax=682041601.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 5.41
user 5.16
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.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/550232/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1707.fits evtable="EVENTS" outfile="/scratch/kocevski/550232/ft1_filtered_4FGL_J2148.6+0652_daily_bin1707.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.33
sys 0.15

Number of photons that the gtmktime cut: 518

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/550232/ft1_filtered_4FGL_J2148.6+0652_daily_bin1707.fits" evtable="EVENTS" scfile=/scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits sctable="SC_DATA" outfile=/scratch/kocevski/550232/ltcube_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.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/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits
.....................!
real 11.89
user 11.50
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/550232/ft1_filtered_4FGL_J2148.6+0652_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits sctable="SC_DATA" expcube=/scratch/kocevski/550232/ltcube_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.fits outfile=/scratch/kocevski/550232/expmap_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.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/550232/ltcube_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.fits
.....................!
real 190.51
user 185.61
sys 4.40

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 167 point sources and 0 extended sources

Setting source of interest to:
4FGL J2148.6+0652 @ 327.163 6.8791

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/550232/ft1_filtered_4FGL_J2148.6+0652_daily_bin1707.fits scfile=/scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits outfile=/scratch/kocevski/550232/cmap_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.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=327.163 yref=6.8791 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/550232/ft1_filtered_4FGL_J2148.6+0652_daily_bin1707.fits scfile=/scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits outfile=/scratch/kocevski/550232/cmap_HighResolution_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.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=327.163 yref=6.8791 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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/550232/ft1_filtered_4FGL_J2148.6+0652_daily_bin1707.fits evtable="EVENTS" scfile=/scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/550232/Model_4FGL_J2148.6+0652_daily_bin1707.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/550232/ft1_filtered_4FGL_J2148.6+0652_daily_bin1707.fits.....................!
real 59.88
user 58.44
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/550232/ft1_filtered_4FGL_J2148.6+0652_daily_bin1707.fits', '/scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits', expMap='/scratch/kocevski/550232/expmap_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.fits', expCube='/scratch/kocevski/550232/ltcube_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/550232/Model_4FGL_J2148.6+0652_daily_bin1707.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2148.6+0652'

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  5.891e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.658e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  2.404e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  4.369e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/550232/ft1_filtered_4FGL_J2148.6+0652_daily_bin1707.fits
Spacecraft file(s): /scratch/kocevski/550232/ft2_4FGL_J2148.6+0652_daily_bin1707.fits
Exposure map: /scratch/kocevski/550232/expmap_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.fits
Exposure cube: /scratch/kocevski/550232/ltcube_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/550232/Model_4FGL_J2148.6+0652_daily_bin1707.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) = 5967.09036438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10449E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.3945       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    34.858       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.843       1.0000         .10000E-03   10000.    
     6 'Prefactor '    96.199       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11159E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.1444       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.559       1.0000         .10000E-03   10000.    
    12 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.713       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10379E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    8.9020       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    31.736       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .58308       1.0000         .10000E-03   10000.    
    26 'Prefactor '    3.1230       1.0000         .10000E-03   10000.    
    27 'Normalizat'    .64577       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0685       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5967.086     FROM MIGRAD    STATUS=CONVERGED    708 CALLS     3527 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.169        .15423E-05** at limit **
   2  Prefactor     5.3924        23.696        .87431E-06   -.71317E-05
   3  Prefactor     .10000E-03    36.540       -.84631E-06** at limit **
   4  Prefactor     34.834        77.810       -.48600E-05   -.85588E-04
   5  Prefactor     16.836        35.807        .18039E-05    .67785E-04
   6  Prefactor     96.301        68.986        .46646E-05    .43757E-03
   7  Prefactor     .10000E-03    8.4712       -.16724E-06** at limit **
   8  Prefactor     .10000E-03    20.593       -.17001E-05** at limit **
   9  Prefactor     2.1352        4.0139        .83384E-08   -.13601E-03
  10  Prefactor     .10000E-03    38.109       -.26665E-06** at limit **
  11  Prefactor     25.577        46.972       -.27794E-05   -.89086E-04
  12  norm          .10000E-03    1.4835        .15123E-06** at limit **
  13  Prefactor     12.544        53.105       -.10254E-05   -.13375E-04
  14  Prefactor     .10000E-03    22.313       -.70237E-06** at limit **
  15  norm          .10000E-03    1.2488        .42546E-06** at limit **
  16  norm          8.8937        25.589        .70402E-05    .34752E-03
  17  Prefactor     .10000E-03    3.0182        .12647E-06** at limit **
  18  Prefactor     .10000E-03    31.699       -.36474E-08** at limit **
  19  norm          .10000E-03    .43023       -.10514E-06** at limit **
  20  Prefactor     .10000E-03    6.7099        .67648E-07** at limit **
  21  Prefactor     .10000E-03    5.6210        .11585E-07** at limit **
  22  Prefactor     31.733        21.467        .61497E-06    .10932E-03
  23  Prefactor     .10000E-03    19.824        .10589E-05** at limit **
  24  Prefactor     .10000E-03    7.1083       -.86451E-07** at limit **
  25  Prefactor     .58309        .30840       -.21353E-06   -.37020E-03
  26  Prefactor     3.1224        12.245        .13221E-04   -.41643E-03
  27  Normalizat    .64598        .27194       -.47104E-05   -.13975E-04
  28  Prefactor     1.0685        .12660        .82474E-06   -.21632E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 5.39238
  Prefactor  = 0.0001
  Prefactor  = 34.8338
  Prefactor  = 16.836
  Prefactor  = 96.3008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.13517
  Prefactor  = 0.0001
  Prefactor  = 25.5769
  norm       = 0.000100004
  Prefactor  = 12.5442
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 8.89368
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 31.7333
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.583085
  Prefactor  = 3.12243
  Normalizat = 0.645983
  Prefactor  = 1.06847
 **********
 **   18 **HESSE 
 **********

 FCN=   5967.086     FROM HESSE     STATUS=OK           511 CALLS     4038 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.235        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.3924        23.606        .17302E-03   -1.5243    
   3  Prefactor     .10000E-03    36.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     34.834        78.077        .67876E-04   -1.4527    
   5  Prefactor     16.836        35.731        .97591E-04   -1.4887    
   6  Prefactor     96.301        70.548        .20490E-03   -1.3742    
   7  Prefactor     .10000E-03    8.6922        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    21.321        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.1352        3.9435        .17139E-03   -1.5416    
  10  Prefactor     .10000E-03    38.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     25.577        46.971        .79237E-04   -1.4696    
  12  norm          .10000E-03    10.857        .17803E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     12.544        53.120        .11235E-03   -1.4999    
  14  Prefactor     .10000E-03    22.364        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.2605        .83945E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          8.8937        26.201        .13434E-03   -1.5111    
  17  Prefactor     .10000E-03    3.0232        .13104E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    32.674        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .56243        .98129E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.7125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.6235        .17886E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     31.733        21.456        .71126E-04   -1.4581    
  23  Prefactor     .10000E-03    19.898        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.1250        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .58309        .30709        .28900E-04   -1.5555    
  26  Prefactor     3.1224        12.783        .11471E-02   -1.5355    
  27  Normalizat    .64598        .30272        .41704E-03   -1.0607    
  28  Prefactor     1.0685        .14575        .16398E-03   -.90481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.81676e-09
Minuit parameter uncertainties:
  1  0.000303484
  2  22.5797
  3  0.000142906
  4  78.3078
  5  35.7762
  6  70.6091
  7  4.0008e-05
  8  2.33745e-05
  9  3.94394
  10  6.75712e-05
  11  47.039
  12  0.000390834
  13  51.7058
  14  0.00025878
  15  1.34049e-05
  16  26.2351
  17  5.11903e-06
  18  9.30421e-05
  19  1.09366e-05
  20  4.11497e-06
  21  1.25565e-06
  22  21.461
  23  0.000197101
  24  4.55698e-06
  25  0.307091
  26  12.6401
  27  0.303504
  28  0.145808
Done.

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

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  8.894e+00  2.624e+01  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.658e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
297         beta:  2.404e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  4.369e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.068e+00  1.458e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  6.460e-01  3.035e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.13
Ra Dec: 327.163 6.879
Photon Flux Upper Limit: 1.53e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/550232/likelihoodResults_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.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) = 5966.78329767
delta logL = 0.302327236716

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5966.72760414
delta logL = 0.358020764791

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9971       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.6895       1.0000          .0000       5.0000    
     3 'Normalizat'    .56649       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0956       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+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=   5966.728     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      268 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9944        1082.4        .16605E-03   -.36288E-05
   2  alpha         4.6908        3.5741        .72666E-01   -.48386E-05
   3  Normalizat    .56651        .33914        .44403E-03    .22377E-04
   4  Prefactor     1.0955        .14804        .16216E-03    .65900E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.99442
  alpha      = 4.69079
  Normalizat = 0.566506
  Prefactor  = 1.09555
 **********
 **   18 **HESSE 
 **********

 FCN=   5966.728     FROM HESSE     STATUS=OK            25 CALLS      293 TOTAL
                     EDM=   .78E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9944        12.799        .66418E-05   -1.5308    
   2  alpha         4.6908        4.7290        .29066E-02    1.0682    
   3  Normalizat    .56651        .30586        .17761E-04   -1.0943    
   4  Prefactor     1.0955        .14746        .64865E-05   -.89609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.75349e-12
Minuit parameter uncertainties:
  1  12.8081
  2  2.65436
  3  0.306777
  4  0.147515
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/550232': 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) = 5966.72760367
delta logL = 0.358021233737

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  3.994e+00  1.281e+01  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  4.691e+00  2.654e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  2.404e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
298           Eb:  4.369e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
540    Prefactor:  1.096e+00  1.475e-01  0.000e+00  1.000e+01 ( 1.000e+00)
541        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
542        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
539   Normalization:  5.665e-01  3.068e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.13
Ra Dec: 327.163 6.879

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/550232/cmap_HighResolution_681782401_682041601_4FGL_J2148.6+0652_daily_bin1707.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.73e-05', job_status='DONE', photon_flux_upper_limit='1.53e-07', time_completed='2022-08-13 00:44:50.588171', job_id='550232', GAL2='1.10', fit_tolerance='1e-08', EG2='0.57', EG='0.65', time_epoch_completed='1660376690.59', return_code2='0', ts='0.13', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.58e-01', ts2='0.95', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1707' AND source_name='4FGL J2148.6+0652' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Aug 13 00:44:50 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 550232: <4FGL_J2148.6+0652_daily_bin1707> in cluster <slac> Done

Job <4FGL_J2148.6+0652_daily_bin1707> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sat Aug 13 00:30:34 2022
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Aug 13 00:30:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Aug 13 00:30:36 2022
Terminated at Sat Aug 13 00:44:51 2022
Results reported at Sat Aug 13 00:44:51 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2148.6+0652_daily_bin1707 327.163 6.8791 681782401 682041601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2148.6+0652 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   740.17 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   854 sec.
    Turnaround time :                            857 sec.

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

