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


Performing analysis on: 4FGL_J2148.6+0652_daily_bin1756
RA = 327.163, Dec = 6.8791
tmin = 694483201, tmax = 694742401
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='25693', job_status='RUN', time_executed='2023-01-07 01:37:49.396055', time_epoch_executed='1673084269.4' WHERE source_name='4FGL J2148.6+0652' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/25693

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/25693/ft1_4FGL_J2148.6+0652_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/25693/ft2_4FGL_J2148.6+0652_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/25693/ft1_4FGL_J2148.6+0652_daily_bin1756.fits outfile=/scratch/kocevski/25693/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1756.fits ra=327.163 dec=6.8791 rad=12.0 tmin=694483201.0 tmax=694742401.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 2.96
user 2.74
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/25693/ft2_4FGL_J2148.6+0652_daily_bin1756.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/25693/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/25693/ft1_filtered_4FGL_J2148.6+0652_daily_bin1756.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.16

Number of photons that the gtmktime cut: 857

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/25693/ft1_filtered_4FGL_J2148.6+0652_daily_bin1756.fits" evtable="EVENTS" scfile=/scratch/kocevski/25693/ft2_4FGL_J2148.6+0652_daily_bin1756.fits sctable="SC_DATA" outfile=/scratch/kocevski/25693/ltcube_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.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/25693/ft2_4FGL_J2148.6+0652_daily_bin1756.fits
.....................!
real 15.25
user 14.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/25693/ft1_filtered_4FGL_J2148.6+0652_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/25693/ft2_4FGL_J2148.6+0652_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/25693/ltcube_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.fits outfile=/scratch/kocevski/25693/expmap_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.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/25693/ltcube_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.fits
.....................!
real 193.90
user 187.21
sys 5.55

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/25693/ft1_filtered_4FGL_J2148.6+0652_daily_bin1756.fits scfile=/scratch/kocevski/25693/ft2_4FGL_J2148.6+0652_daily_bin1756.fits outfile=/scratch/kocevski/25693/cmap_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.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.57
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/25693/ft1_filtered_4FGL_J2148.6+0652_daily_bin1756.fits scfile=/scratch/kocevski/25693/ft2_4FGL_J2148.6+0652_daily_bin1756.fits outfile=/scratch/kocevski/25693/cmap_HighResolution_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.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.57
user 0.40
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/25693/ft1_filtered_4FGL_J2148.6+0652_daily_bin1756.fits', '/scratch/kocevski/25693/ft2_4FGL_J2148.6+0652_daily_bin1756.fits', expMap='/scratch/kocevski/25693/expmap_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.fits', expCube='/scratch/kocevski/25693/ltcube_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/25693/Model_4FGL_J2148.6+0652_daily_bin1756.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/25693/ft1_filtered_4FGL_J2148.6+0652_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/25693/ft2_4FGL_J2148.6+0652_daily_bin1756.fits
Exposure map: /scratch/kocevski/25693/expmap_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.fits
Exposure cube: /scratch/kocevski/25693/ltcube_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/25693/Model_4FGL_J2148.6+0652_daily_bin1756.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) = 9164.19036256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.924       1.0000          .0000       .10000E+07
     2 'Prefactor '    .79991E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .28136E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    38.773       1.0000          .0000       .10000E+07
     5 'Prefactor '    18.630       1.0000          .0000       .10000E+07
     6 'Prefactor '    .21688E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .47573E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.9183       1.0000          .0000       .10000E+07
     9 'norm      '    1.0220       1.0000          .0000       .10000E+07
    10 'Prefactor '    .47238       1.0000          .0000       .10000E+07
    11 'norm      '    1.5992       1.0000          .0000       .10000E+07
    12 'norm      '    9.2872       1.0000          .0000       .10000E+07
    13 'Prefactor '    .29820E-02   1.0000          .0000       .10000E+07
    14 'Prefactor '    .10681E-02   1.0000          .0000       .10000E+07
    15 'norm      '    1.0635       1.0000          .0000       .10000E+07
    16 'Prefactor '    .11435E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .75889E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .47810E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    4.8045       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .50493E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4374       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .67648       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=   9164.080     FROM MIGRAD    STATUS=CONVERGED    146 CALLS     1751 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.081        2.9169       -.29493E-07   -.95530E-02
   2  Prefactor     .11102E-09    30.323       -.96505E-06** at limit **
   3  Prefactor     .53817E-04    94.570        .23997E-05** at limit **
   4  Prefactor     38.829        1.3045        .16816E-07    .65794E-02
   5  Prefactor     16.897        39.241        .30881E-07    .87008E-01
   6  Prefactor     .55511E-10    7.0800        .15059E-06** at limit **
   7  Prefactor      .0000        .90326       -.45884E-07** at limit **
   8  Prefactor     6.7970        24.481       -.86196E-06   -.90358E-01
   9  norm          1.0226        1.0247        .31129E-07   -.48480E-03
  10  Prefactor     .36779E-05    103.91       -.17569E-06** at limit **
  11  norm          1.6032        2.4211       -.76331E-07    .77362E-03
  12  norm          9.1181        16.096        .20839E-07   -.28055E-01
  13  Prefactor     .61062E-09    2.8576        .16513E-06** at limit **
  14  Prefactor     .45242E-07    19.684       -.58006E-06** at limit **
  15  norm          1.0632        .80177       -.13357E-07    .62101E-03
  16  Prefactor     .11102E-09    10.105        .78973E-07** at limit **
  17  Prefactor     .33307E-09    5.0602        .16730E-06** at limit **
  18  Prefactor      .0000        5.0569        .14001E-06** at limit **
  19  Prefactor     4.8039        .49065        .22776E-06   -.54950E-03
  20  Prefactor     .10000E-03    10.681        .18977E-05** at limit **
  21  Normalizat    1.4377        .26116       -.91045E-05    .20596E-04
  22  Prefactor     .67655        .11732        .34757E-05   -.21297E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.0809
  Prefactor  = 1.11022e-10
  Prefactor  = 5.38172e-05
  Prefactor  = 38.8288
  Prefactor  = 16.8974
  Prefactor  = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 6.79703
  norm       = 1.02264
  Prefactor  = 3.67795e-06
  norm       = 1.60323
  norm       = 9.11808
  Prefactor  = 6.10623e-10
  Prefactor  = 4.52416e-08
  norm       = 1.06321
  Prefactor  = 1.11022e-10
  Prefactor  = 3.33067e-10
  Prefactor  = 0
  Prefactor  = 4.8039
  Prefactor  = 0.0001
  Normalizat = 1.43769
  Prefactor  = 0.676554
 **********
 **   18 **HESSE 
 **********

 FCN=   9164.080     FROM HESSE     STATUS=OK           384 CALLS     2135 TOTAL
                     EDM=   .40E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.081        26.851        .19644E-03   -1.5606    
   2  Prefactor     .11102E-09    30.185        .14501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .53817E-04    107.91        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     38.829        30.385        .16061E-03   -1.5583    
   5  Prefactor     16.897        53.524        .23177E-03   -1.5626    
   6  Prefactor     .55511E-10    7.2656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        .90753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.7970        49.564        .41254E-03   -1.5656    
   9  norm          1.0226        1.0432        .12736E-02   -1.5688    
  10  Prefactor     .36779E-05    103.18        .81538E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6032        2.4581        .83813E-03   -1.5683    
  12  norm          9.1181        16.244        .32862E-03   -1.5648    
  13  Prefactor     .61062E-09    7.5788        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .45242E-07    19.603        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0632        .82200        .11846E-02   -1.5687    
  16  Prefactor     .11102E-09    10.111        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .33307E-09    7.5232        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor      .0000        5.0785        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.8039        .49041        .45885E-02   -1.5270    
  20  Prefactor     .10000E-03    10.478        .10576E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.4377        .21739        .71119E-01   -.79545    
  22  Prefactor     .67655        .97602E-01    .42087E-01   -1.0445    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.02378e-06
Minuit parameter uncertainties:
  1  26.8509
  2  0.000115371
  3  0.152415
  4  30.3852
  5  53.5251
  6  3.13231e-05
  7  1.68716e-06
  8  36.7095
  9  1.0432
  10  0.0389611
  11  2.45812
  12  16.2441
  13  0.00013743
  14  0.00188292
  15  0.822002
  16  6.54227e-05
  17  9.86648e-05
  18  2.30478e-06
  19  0.490409
  20  1.08028e-05
  21  0.217533
  22  0.0976262
Done.

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

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  9.118e+00  1.624e+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:  6.766e-01  9.763e-02  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:  1.438e+00  2.175e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/25693/likelihoodResults_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.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) = 9164.07862571
delta logL = 0.00165750480119

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9164.07848744
delta logL = 0.00179577785639

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.0610       1.0000          .0000       .10000E+07
     2 'alpha     '    2.7957       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4341       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67770       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=   9164.078     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      266 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.0620        16.472        .13309E-04   -.84568E-03
   2  alpha         2.7957        3.6188        .68819E-01   -.25100E-05
   3  Normalizat    1.4340        .25596        .31501E-03   -.16933E-03
   4  Prefactor     .67776        .11858        .20802E-03   -.23916E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.06195
  alpha      = 2.79572
  Normalizat = 1.43395
  Prefactor  = 0.677762
 **********
 **   18 **HESSE 
 **********

 FCN=   9164.078     FROM HESSE     STATUS=OK            25 CALLS      291 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.0620        15.781        .53235E-06   -1.5648    
   2  alpha         2.7957        2.0400        .27527E-02    .11857    
   3  Normalizat    1.4340        .25548        .12600E-04   -.79652    
   4  Prefactor     .67776        .11834        .83208E-05   -1.0441    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53276e-11
Minuit parameter uncertainties:
  1  15.7811
  2  2.39429
  3  0.255708
  4  0.118385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/25693': 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) = 9164.07848729
delta logL = 0.00179592698805

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  9.062e+00  1.578e+01  0.000e+00  1.000e+06 ( 1.000e-12)
296        alpha:  2.796e+00  2.394e+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:  6.778e-01  1.184e-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:  1.434e+00  2.557e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/25693/cmap_HighResolution_694483201_694742401_4FGL_J2148.6+0652_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.71e-05', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2023-01-07 01:49:39.099777', job_id='25693', GAL2='0.68', fit_tolerance='1e-08', EG2='1.43', EG='1.44', time_epoch_completed='1673084979.1', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='0.68', dlogl='1.80e-03', ts2='0.43', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1756' AND source_name='4FGL J2148.6+0652' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:49:39 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 25693: <4FGL_J2148.6+0652_daily_bin1756> in cluster <slac> Done

Job <4FGL_J2148.6+0652_daily_bin1756> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Jan  7 01:35:22 2023
Job was executed on host(s) <bullet0080>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 01:36:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 01:36:18 2023
Terminated at Sat Jan  7 01:49:39 2023
Results reported at Sat Jan  7 01:49:39 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2148.6+0652_daily_bin1756 327.163 6.8791 694483201 694742401 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 :                                   710.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             349.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            857 sec.

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

