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


Performing analysis on: 4FGL_J2148.6+0652_daily_bin1715
RA = 327.163, Dec = 6.8791
tmin = 683856001, tmax = 684115201
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='237271', job_status='RUN', time_executed='2022-09-16 23:31:35.131948', time_epoch_executed='1663396295.13' WHERE source_name='4FGL J2148.6+0652' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/237271

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/237271/ft1_4FGL_J2148.6+0652_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/237271/ft2_4FGL_J2148.6+0652_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/237271/ft1_4FGL_J2148.6+0652_daily_bin1715.fits outfile=/scratch/kocevski/237271/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1715.fits ra=327.163 dec=6.8791 rad=12.0 tmin=683856001.0 tmax=684115201.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.48
user 3.24
sys 0.21

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

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

Number of photons that the gtmktime cut: 600

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/237271/ft1_filtered_4FGL_J2148.6+0652_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/237271/ft2_4FGL_J2148.6+0652_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/237271/ltcube_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.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/237271/ft2_4FGL_J2148.6+0652_daily_bin1715.fits
.....................!
real 13.71
user 13.33
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/237271/ft1_filtered_4FGL_J2148.6+0652_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/237271/ft2_4FGL_J2148.6+0652_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/237271/ltcube_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.fits outfile=/scratch/kocevski/237271/expmap_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.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/237271/ltcube_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.fits
.....................!
real 193.59
user 187.83
sys 5.12

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/237271/ft1_filtered_4FGL_J2148.6+0652_daily_bin1715.fits scfile=/scratch/kocevski/237271/ft2_4FGL_J2148.6+0652_daily_bin1715.fits outfile=/scratch/kocevski/237271/cmap_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/237271/ft1_filtered_4FGL_J2148.6+0652_daily_bin1715.fits scfile=/scratch/kocevski/237271/ft2_4FGL_J2148.6+0652_daily_bin1715.fits outfile=/scratch/kocevski/237271/cmap_HighResolution_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.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.66
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/237271/ft1_filtered_4FGL_J2148.6+0652_daily_bin1715.fits', '/scratch/kocevski/237271/ft2_4FGL_J2148.6+0652_daily_bin1715.fits', expMap='/scratch/kocevski/237271/expmap_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.fits', expCube='/scratch/kocevski/237271/ltcube_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/237271/Model_4FGL_J2148.6+0652_daily_bin1715.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  0.000e+00  1.000e+06 ( 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 -5.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/237271/ft1_filtered_4FGL_J2148.6+0652_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/237271/ft2_4FGL_J2148.6+0652_daily_bin1715.fits
Exposure map: /scratch/kocevski/237271/expmap_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.fits
Exposure cube: /scratch/kocevski/237271/ltcube_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/237271/Model_4FGL_J2148.6+0652_daily_bin1715.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) = 6623.38038387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27163E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    .73347E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    18.639       1.0000          .0000       .10000E+07
     4 'Prefactor '    31.849       1.0000          .0000       .10000E+07
     5 'Prefactor '    .83536E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .15735E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32295E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.2994       1.0000          .0000       .10000E+07
     9 'norm      '    1.6291       1.0000          .0000       .10000E+07
    10 'Prefactor '    .11684E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .18589E-03   1.0000          .0000       .10000E+07
    12 'norm      '    32.012       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18225E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    15.779       1.0000          .0000       .10000E+07
    15 'norm      '    .43332E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    17.063       1.0000          .0000       .10000E+07
    17 'Prefactor '    .30505E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .87471E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .43152       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.6021       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .85627       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0297       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5430E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6623.364     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     1766 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .38580E-07    2.6609       -.38992E-06** at limit **
   2  Prefactor     .10658E-07    4.2770       -.25072E-06** at limit **
   3  Prefactor     20.167        50.919        .13460E-05   -.87281E-02
   4  Prefactor     31.831        1.2471        .10199E-07    .62478E-02
   5  Prefactor     .50759E-06    24.638        .25054E-05** at limit **
   6  Prefactor     .16653E-09    3.3294       -.51635E-06** at limit **
   7  Prefactor      .0000        .94404        .13735E-06** at limit **
   8  Prefactor     4.3790        1.2519       -.10409E-06    .58460E-02
   9  norm          1.6301        2.8369        .11506E-06    .52968E-03
  10  Prefactor     .12212E-08    14.663        .31424E-05** at limit **
  11  norm          .10436E-07    6.0529       -.11731E-05** at limit **
  12  norm          32.415        9.6050       -.28687E-06    .12577    
  13  Prefactor     .55511E-10    2.8456        .10901E-05** at limit **
  14  Prefactor     15.798        6.0458       -.22705E-06    .10025    
  15  norm           .0000        4.4595        .68901E-06** at limit **
  16  Prefactor     17.073        1.5258       -.63283E-07   -.19636E-01
  17  Prefactor     .33307E-09    12.394        .48323E-06** at limit **
  18  Prefactor     .13189E-06    19.773        .13760E-05** at limit **
  19  Prefactor     .43179        .26530        .55828E-06   -.12892E-03
  20  Prefactor     7.6440        8.5999       -.78864E-05   -.62274E-02
  21  Normalizat    .85555        .27818        .20065E-04    .32495E-05
  22  Prefactor     1.0294        .13985       -.90269E-05   -.88370E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.85803e-08
  Prefactor  = 1.06581e-08
  Prefactor  = 20.1667
  Prefactor  = 31.8314
  Prefactor  = 5.07594e-07
  Prefactor  = 1.66533e-10
  Prefactor  = 0
  Prefactor  = 4.37901
  norm       = 1.63009
  Prefactor  = 1.22125e-09
  norm       = 1.04361e-08
  norm       = 32.4148
  Prefactor  = 5.55112e-11
  Prefactor  = 15.7982
  norm       = 0
  Prefactor  = 17.0734
  Prefactor  = 3.33067e-10
  Prefactor  = 1.31894e-07
  Prefactor  = 0.431794
  Prefactor  = 7.64397
  Normalizat = 0.85555
  Prefactor  = 1.02939
 **********
 **   18 **HESSE 
 **********

 FCN=   6623.364     FROM HESSE     STATUS=OK           390 CALLS     2156 TOTAL
                     EDM=   .57E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .38580E-07    6.1688        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10658E-07    6.3448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     20.167        50.916        .23171E-03   -1.5618    
   4  Prefactor     31.831        22.470        .17722E-03   -1.5595    
   5  Prefactor     .50759E-06    26.228        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .16653E-09    3.3257        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .94162        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3790        32.485        .48562E-03   -1.5666    
   9  norm          1.6301        2.8645        .82828E-03   -1.5682    
  10  Prefactor     .12212E-08    14.831        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10436E-07    6.4236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          32.415        27.665        .17677E-03   -1.5594    
  13  Prefactor     .55511E-10    2.8464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.798        12.010        .25188E-03   -1.5628    
  15  norm           .0000        .86075        .23493E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     17.073        14.802        .24220E-03   -1.5625    
  17  Prefactor     .33307E-09    12.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .13189E-06    20.571        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .43179        .27082        .71281E-02   -1.5577    
  20  Prefactor     7.6440        9.9224        .36362E-02   -1.5155    
  21  Normalizat    .85555        .24650        .83473E-01   -.98040    
  22  Prefactor     1.0294        .11813        .41284E-01   -.91756    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71702e-07
Minuit parameter uncertainties:
  1  0.000975549
  2  0.000519579
  3  50.9174
  4  22.4697
  5  0.00729748
  6  4.99447e-05
  7  1.72043e-07
  8  23.854
  9  2.8645
  10  0.000270871
  11  0.000518223
  12  27.6647
  13  2.66011e-05
  14  12.0095
  15  3.89115e-06
  16  14.8017
  17  0.000123442
  18  0.00329469
  19  0.270817
  20  9.92453
  21  0.246822
  22  0.118161
Done.

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

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  3.241e+01  2.766e+01  0.000e+00  1.000e+06 ( 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 -5.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.029e+00  1.182e-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:  8.556e-01  2.468e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.77
Ra Dec: 327.163 6.879
Photon Index (Fixed Index): 2.66 +/- 0.00
Photon Flux (Fixed Index): 7.64e-08 +/- 6.52e-08
Energy Flux (Fixed Index): 1.86e-05 +/- 1.59e-05

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

Saving results to:
/scratch/kocevski/237271/likelihoodResults_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.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) = 6623.34591645
delta logL = 0.0177288638315

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6623.3382174
delta logL = 0.0254279121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    28.962       1.0000          .0000       .10000E+07
     2 'alpha     '    2.9367       1.0000          .0000       5.0000    
     3 'Normalizat'    .83544       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0374       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=   6623.338     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      247 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          28.940        36.745        .74339E-05    .13947E-02
   2  alpha         2.9373        1.4131        .24475E-01    .15211E-03
   3  Normalizat    .83553        .29724        .37362E-03    .13696E-03
   4  Prefactor     1.0374        .14566        .16990E-03    .37512E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 28.9403
  alpha      = 2.93727
  Normalizat = 0.83553
  Prefactor  = 1.03739
 **********
 **   18 **HESSE 
 **********

 FCN=   6623.338     FROM HESSE     STATUS=OK            25 CALLS      272 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          28.940        33.291        .29735E-06   -1.5600    
   2  alpha         2.9373        1.2922        .48950E-02    .17581    
   3  Normalizat    .83553        .29595        .14945E-04   -.98764    
   4  Prefactor     1.0374        .14484        .33980E-04   -.91493    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.75233e-10
Minuit parameter uncertainties:
  1  33.2917
  2  1.36046
  3  0.296522
  4  0.144891
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/237271': 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) = 6623.33821709
delta logL = 0.0254282198812

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  2.894e+01  3.329e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        alpha:  2.937e+00  1.360e+00  0.000e+00  5.000e+00 ( 1.000e+00)
297         beta:  2.404e-01  0.000e+00 -5.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.037e+00  1.449e-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:  8.355e-01  2.965e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.85
Ra Dec: 327.163 6.879
Photon Index (Free Index): 2.94 +/- 1.36
Photon Flux (Free Index): 8.67e-08 +/- 8.11e-08
Energy Flux (Free Index): 1.85e-05 +/- 1.56e-05

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/237271/cmap_HighResolution_683856001_684115201_4FGL_J2148.6+0652_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.91e-05', comment='SUCCESS', photon_flux='7.64e-08', energy_flux2='1.85e-05', photon_flux_error='6.52e-08', dlogl='2.54e-02', energy_flux='1.86e-05', photon_flux2='8.67e-08', job_status='DONE', time_completed='2022-09-16 23:41:34.695596', photon_index_error2='1.36', photon_index2='2.94', ts='1.77', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='2.02e-07', energy_flux_error2='1.56e-05', EG='0.86', time_epoch_completed='1663396894.7', return_code='0', job_id='237271', GAL2='1.04', EG2='0.84', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='8.11e-08', ts2='1.85', photon_index='2.66' WHERE bin_id='1715' AND source_name='4FGL J2148.6+0652' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 23:41:34 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 237271: <4FGL_J2148.6+0652_daily_bin1715> in cluster <slac> Done

Job <4FGL_J2148.6+0652_daily_bin1715> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 23:30:20 2022
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 23:31:09 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 23:31:09 2022
Terminated at Fri Sep 16 23:41:35 2022
Results reported at Fri Sep 16 23:41:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2148.6+0652_daily_bin1715 327.163 6.8791 683856001 684115201 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 :                                   600.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             325.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   626 sec.
    Turnaround time :                            675 sec.

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

