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


Performing analysis on: 4FGL_J2148.6+0652_daily_bin1703
RA = 327.163, Dec = 6.8791
tmin = 680745601, tmax = 681004801
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='324100', job_status='RUN', time_executed='2022-08-01 01:24:21.085880', time_epoch_executed='1659342261.09' WHERE source_name='4FGL J2148.6+0652' and cadence='daily' and bin_id='1703'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/324100

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/324100/ft1_4FGL_J2148.6+0652_daily_bin1703.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/324100/ft2_4FGL_J2148.6+0652_daily_bin1703.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/324100/ft1_4FGL_J2148.6+0652_daily_bin1703.fits outfile=/scratch/kocevski/324100/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1703.fits ra=327.163 dec=6.8791 rad=12.0 tmin=680745601.0 tmax=681004801.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.98
user 2.75
sys 0.20

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

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

Number of photons that the gtmktime cut: 216

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/324100/ft1_filtered_4FGL_J2148.6+0652_daily_bin1703.fits" evtable="EVENTS" scfile=/scratch/kocevski/324100/ft2_4FGL_J2148.6+0652_daily_bin1703.fits sctable="SC_DATA" outfile=/scratch/kocevski/324100/ltcube_680745601_681004801_4FGL_J2148.6+0652_daily_bin1703.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/324100/ft2_4FGL_J2148.6+0652_daily_bin1703.fits
.....................!
real 16.48
user 16.08
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/324100/ft1_filtered_4FGL_J2148.6+0652_daily_bin1703.fits evtable="EVENTS" scfile=/scratch/kocevski/324100/ft2_4FGL_J2148.6+0652_daily_bin1703.fits sctable="SC_DATA" expcube=/scratch/kocevski/324100/ltcube_680745601_681004801_4FGL_J2148.6+0652_daily_bin1703.fits outfile=/scratch/kocevski/324100/expmap_680745601_681004801_4FGL_J2148.6+0652_daily_bin1703.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/324100/ltcube_680745601_681004801_4FGL_J2148.6+0652_daily_bin1703.fits
.....................!
real 195.68
user 189.48
sys 5.64

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/324100/ft1_filtered_4FGL_J2148.6+0652_daily_bin1703.fits scfile=/scratch/kocevski/324100/ft2_4FGL_J2148.6+0652_daily_bin1703.fits outfile=/scratch/kocevski/324100/cmap_680745601_681004801_4FGL_J2148.6+0652_daily_bin1703.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/324100/ft1_filtered_4FGL_J2148.6+0652_daily_bin1703.fits scfile=/scratch/kocevski/324100/ft2_4FGL_J2148.6+0652_daily_bin1703.fits outfile=/scratch/kocevski/324100/cmap_HighResolution_680745601_681004801_4FGL_J2148.6+0652_daily_bin1703.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11330E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.1616       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10293       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.6489       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10314E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.7302       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    66.859       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .11261E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    156.76       1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.119       1.0000         .10000E-03   10000.    
    23 'Prefactor '    22.864       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .56861       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .61571       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .85222       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=   2623.245     FROM MIGRAD    STATUS=CONVERGED    695 CALLS     3572 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.026       -.10998E-07** at limit **
   2  Prefactor     .10000E-03    27.125       -.28995E-07** at limit **
   3  Prefactor     .10000E-03    59.783        .23922E-06** at limit **
   4  Prefactor     .10000E-03    270.31        .34438E-06** at limit **
   5  Prefactor     .10000E-03    49.004       -.32550E-06** at limit **
   6  Prefactor     .10000E-03    199.93       -.85723E-06** at limit **
   7  Prefactor     2.1452        17.255       -.30360E-05   -.86197E-04
   8  Prefactor     .16475        336.42        .21677E-04   -.36330E-05
   9  Prefactor     3.6493        12.075       -.12223E-05   -.72388E-04
  10  Prefactor     .10000E-03    99.492       -.67974E-06** at limit **
  11  Prefactor     .10000E-03    220.51       -.51520E-06** at limit **
  12  norm          4.7269        3.8848        .25420E-06    .19539E-05
  13  Prefactor     .10000E-03    43.930       -.19488E-06** at limit **
  14  Prefactor     66.900        122.09        .60198E-05    .61476E-04
  15  norm          .10000E-03    1.7796       -.47191E-06** at limit **
  16  norm          .10001E-03    69.605       -.94850E-05** at limit **
  17  Prefactor     .10000E-03    12.253       -.30718E-05** at limit **
  18  Prefactor     .10000E-03    18.893       -.56136E-06** at limit **
  19  norm          .10000E-03    .42812        .45426E-06** at limit **
  20  Prefactor     .10000E-03    38.252       -.55323E-05** at limit **
  21  Prefactor     156.70        138.02       -.32846E-05   -.10076E-04
  22  Prefactor     28.211        160.90        .74051E-05    .12873E-04
  23  Prefactor     22.874        74.357        .87663E-07    .10088E-04
  24  Prefactor     .10000E-03    14.658        .70183E-06** at limit **
  25  Prefactor     .56871        .36086       -.20900E-07   -.43434E-03
  26  Prefactor     .10000E-03    21.322        .44419E-08** at limit **
  27  Normalizat    .61509        .45886        .17285E-04    .25921E-04
  28  Prefactor     .85232        .19424       -.60078E-05    .42712E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 2.1452
  Prefactor  = 0.164749
  Prefactor  = 3.64929
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 4.72693
  Prefactor  = 0.0001
  Prefactor  = 66.8999
  norm       = 0.0001
  norm       = 0.000100007
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 156.702
  Prefactor  = 28.2114
  Prefactor  = 22.8737
  Prefactor  = 0.0001
  Prefactor  = 0.568713
  Prefactor  = 0.0001
  Normalizat = 0.615094
  Prefactor  = 0.852324
 **********
 **   18 **HESSE 
 **********

 FCN=   2623.245     FROM HESSE     STATUS=OK           515 CALLS     4087 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    50.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    59.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    270.34        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    49.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    199.63        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.1452        17.571        .28016E-03   -1.5415    
   8  Prefactor     .16475        37.954        .52786E-01   -1.5627    
   9  Prefactor     3.6493        12.098        .21147E-03   -1.5326    
  10  Prefactor     .10000E-03    99.502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    220.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.7269        3.9026        .82551E-04   -1.5273    
  13  Prefactor     .10000E-03    43.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     66.900        123.06        .49085E-04   -1.4070    
  15  norm          .10000E-03    1.8004        .66856E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10001E-03    71.501        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    12.413        .17618E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    18.900        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .43842        .65117E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    38.735        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     156.70        137.91        .32201E-04   -1.3198    
  22  Prefactor     28.211        160.49        .75551E-04   -1.4645    
  23  Prefactor     22.874        74.323        .83769E-04   -1.4751    
  24  Prefactor     .10000E-03    14.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .56871        .35663        .22928E-04   -1.5557    
  26  Prefactor     .10000E-03    21.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .61509        .47737        .41914E-03   -1.0735    
  28  Prefactor     .85232        .20642        .16335E-03   -.97827    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.6675e-09
Minuit parameter uncertainties:
  1  7.58111e-05
  2  1.24724e-05
  3  0.000105762
  4  0.000425408
  5  0.000131922
  6  0.00122379
  7  12.2835
  8  5.00285
  9  12.106
  10  1.44876e-05
  11  0.000897661
  12  3.9028
  13  5.0742e-05
  14  123.533
  15  1.50205e-05
  16  0.00145541
  17  0.000211679
  18  5.12638e-05
  19  3.15538e-07
  20  0.000527239
  21  138.197
  22  135.129
  23  74.6263
  24  1.7775e-05
  25  0.356627
  26  2.97145e-05
  27  0.480624
  28  0.206608
Done.

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

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  1.000e-04  1.455e-03  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:  8.523e-01  2.066e-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.151e-01  4.806e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/324100/likelihoodResults_680745601_681004801_4FGL_J2148.6+0652_daily_bin1703.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) = 2623.24515473
delta logL = -6.65349252813e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2623.24508828
delta logL = -8.34961610963e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    3.4225       1.0000          .0000       5.0000    
     3 'Normalizat'    .61510       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85232       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=   2623.245     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      268 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10002E-03    1401.2        .18142E-01** at limit **
   2  alpha         2.9871        3.5308        .18166        .15708E-07
   3  Normalizat    .61510        .39433E-01    .41918E-03   -.43977E-04
   4  Prefactor     .85232        .18049E-01    .16335E-03   -.12198E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100024
  alpha      = 2.98713
  Normalizat = 0.615104
  Prefactor  = 0.852318
 **********
 **   18 **HESSE 
 **********

 FCN=   2623.245     FROM HESSE     STATUS=OK            23 CALLS      291 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10002E-03    80.673        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9871        3.4808        .72663E-02    .19611    
   3  Normalizat    .61510        .43940        .16767E-04   -1.0735    
   4  Prefactor     .85232        .20219        .32670E-04   -.97828    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.30467e-10
Minuit parameter uncertainties:
  1  0.00277977
  2  812.696
  3  0.441931
  4  0.20237
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/324100': 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) = 2623.24508812
delta logL = 7.79596120992e-08

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  1.000e-04  2.780e-03  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  2.987e+00  8.127e+02  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:  8.523e-01  2.024e-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.151e-01  4.419e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/324100/cmap_HighResolution_680745601_681004801_4FGL_J2148.6+0652_daily_bin1703.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.47e-05', job_status='DONE', photon_flux_upper_limit='2.66e-07', time_completed='2022-08-01 01:32:54.692944', job_id='324100', GAL2='0.85', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1659342774.69', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='7.80e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1703' AND source_name='4FGL J2148.6+0652' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Aug  1 01:32:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 324100: <4FGL_J2148.6+0652_daily_bin1703> in cluster <slac> Done

Job <4FGL_J2148.6+0652_daily_bin1703> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Aug  1 01:20:17 2022
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Aug  1 01:21:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Aug  1 01:21:18 2022
Terminated at Mon Aug  1 01:32:55 2022
Results reported at Mon Aug  1 01:32:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2148.6+0652_daily_bin1703 327.163 6.8791 680745601 681004801 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 :                                   516.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             246.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   696 sec.
    Turnaround time :                            758 sec.

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

