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


Performing analysis on: 4FGL_J2148.6+0652_daily_bin1696
RA = 327.163, Dec = 6.8791
tmin = 678931201, tmax = 679190401
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='792937', job_status='RUN', time_executed='2022-07-11 00:31:20.166316', time_epoch_executed='1657524680.17' WHERE source_name='4FGL J2148.6+0652' and cadence='daily' and bin_id='1696'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/792937

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/792937/ft1_4FGL_J2148.6+0652_daily_bin1696.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/792937/ft2_4FGL_J2148.6+0652_daily_bin1696.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/792937/ft1_4FGL_J2148.6+0652_daily_bin1696.fits outfile=/scratch/kocevski/792937/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1696.fits ra=327.163 dec=6.8791 rad=12.0 tmin=678931201.0 tmax=679190401.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.54
user 3.35
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/792937/ft1_filtered_4FGL_J2148.6+0652_daily_bin1696.fits" evtable="EVENTS" scfile=/scratch/kocevski/792937/ft2_4FGL_J2148.6+0652_daily_bin1696.fits sctable="SC_DATA" outfile=/scratch/kocevski/792937/ltcube_678931201_679190401_4FGL_J2148.6+0652_daily_bin1696.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/792937/ft2_4FGL_J2148.6+0652_daily_bin1696.fits
.....................!
real 11.95
user 11.57
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/792937/ft1_filtered_4FGL_J2148.6+0652_daily_bin1696.fits evtable="EVENTS" scfile=/scratch/kocevski/792937/ft2_4FGL_J2148.6+0652_daily_bin1696.fits sctable="SC_DATA" expcube=/scratch/kocevski/792937/ltcube_678931201_679190401_4FGL_J2148.6+0652_daily_bin1696.fits outfile=/scratch/kocevski/792937/expmap_678931201_679190401_4FGL_J2148.6+0652_daily_bin1696.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/792937/ltcube_678931201_679190401_4FGL_J2148.6+0652_daily_bin1696.fits
.....................!
real 190.28
user 185.14
sys 4.82

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/792937/ft1_filtered_4FGL_J2148.6+0652_daily_bin1696.fits scfile=/scratch/kocevski/792937/ft2_4FGL_J2148.6+0652_daily_bin1696.fits outfile=/scratch/kocevski/792937/cmap_678931201_679190401_4FGL_J2148.6+0652_daily_bin1696.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/792937/ft1_filtered_4FGL_J2148.6+0652_daily_bin1696.fits scfile=/scratch/kocevski/792937/ft2_4FGL_J2148.6+0652_daily_bin1696.fits outfile=/scratch/kocevski/792937/cmap_HighResolution_678931201_679190401_4FGL_J2148.6+0652_daily_bin1696.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.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.005       1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.016       1.0000         .10000E-03   10000.    
     3 'Prefactor '    33.689       1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.044       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.1381       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .14593E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11696E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    5.8768       1.0000         .10000E-03   10000.    
    15 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10043E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    9.8549       1.0000         .10000E-03   10000.    
    19 'norm      '    .89127E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.0092       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .35857E-01   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11146E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    1.4585       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Normalizat'    .60879       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0833       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=   7139.754     FROM MIGRAD    STATUS=CONVERGED    729 CALLS     3658 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     24.975        44.480        .16196E-05    .37710E-04
   2  Prefactor     16.082        49.512       -.33989E-05   -.25082E-04
   3  Prefactor     33.693        35.270       -.50952E-06    .24183E-04
   4  Prefactor     26.225        68.101       -.34752E-05    .11452E-05
   5  Prefactor     .10000E-03    14.203        .29469E-08** at limit **
   6  Prefactor     .10000E-03    22.627        .10995E-05** at limit **
   7  Prefactor     6.1407        5.4875        .37349E-06    .44487E-03
   8  Prefactor     .10000E-03    3.5942       -.39261E-06** at limit **
   9  Prefactor     .10000E-03    1.1230        .20318E-06** at limit **
  10  Prefactor     .10000E-03    69.626        .20618E-05** at limit **
  11  Prefactor     .10000E-03    23.295       -.21559E-06** at limit **
  12  norm          .10000E-03    1.3235       -.89517E-06** at limit **
  13  Prefactor     .10000E-03    19.922       -.17165E-06** at limit **
  14  Prefactor     5.8833        65.970       -.18666E-05    .15925E-05
  15  norm          .10000E-03    .59027       -.30293E-06** at limit **
  16  norm          .10000E-03    8.6811       -.43662E-06** at limit **
  17  Prefactor     .10000E-03    3.6981       -.88776E-07** at limit **
  18  Prefactor     9.8500        10.036        .38274E-06    .44589E-04
  19  norm          .89267E-01    .69632        .32956E-06   -.62560E-03
  20  Prefactor     6.0129        18.526        .57184E-06    .28018E-04
  21  Prefactor     .10000E-03    24.820       -.93475E-06** at limit **
  22  Prefactor     .10407E-03    16.050        .23206E-05** at limit **
  23  Prefactor     .10000E-03    10.419       -.47372E-06** at limit **
  24  Prefactor     .10000E-03    27.416       -.22225E-05** at limit **
  25  Prefactor     1.4587        .34215       -.27503E-07    .47820E-03
  26  Prefactor     .10000E-03    2.4283       -.39417E-07** at limit **
  27  Normalizat    .60854        .23445        .28990E-05    .27923E-03
  28  Prefactor     1.0834        .11443        .32194E-06    .74769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 24.9753
  Prefactor  = 16.0822
  Prefactor  = 33.6926
  Prefactor  = 26.2248
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.14071
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.8833
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.85004
  norm       = 0.0892674
  Prefactor  = 6.01294
  Prefactor  = 0.000100001
  Prefactor  = 0.000104066
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.45868
  Prefactor  = 0.0001
  Normalizat = 0.608542
  Prefactor  = 1.08338
 **********
 **   18 **HESSE 
 **********

 FCN=   7139.754     FROM HESSE     STATUS=OK           531 CALLS     4189 TOTAL
                     EDM=   .40E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     24.975        43.741        .80109E-04   -1.4708    
   2  Prefactor     16.082        48.856        .10008E-03   -1.4906    
   3  Prefactor     33.693        35.319        .69039E-04   -1.4546    
   4  Prefactor     26.225        67.963        .78498E-04   -1.4683    
   5  Prefactor     .10000E-03    14.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    22.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     6.1407        5.4172        .16204E-03   -1.5212    
   8  Prefactor     .10000E-03    9.4819        .30804E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.9802        .17207E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    70.029        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    2.7462        .17885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    19.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     5.8833        65.870        .16566E-03   -1.5223    
  15  norm          .10000E-03    .60094        .63567E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.7229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.7168        .15853E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     9.8500        10.025        .12765E-03   -1.5080    
  19  norm          .89267E-01    1.6886        .13077E-02   -1.5648    
  20  Prefactor     6.0129        18.456        .16380E-03   -1.5217    
  21  Prefactor     .10000E-03    25.009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10407E-03    19.993        .89633E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.445        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    28.077        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     1.4587        .34142        .22958E-04   -1.5466    
  26  Prefactor     .10000E-03    2.4299        .12859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    .60854        .26583        .40609E-03   -1.0762    
  28  Prefactor     1.0834        .13103        .16148E-03   -.90000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.9706e-08
Minuit parameter uncertainties:
  1  43.7971
  2  48.9779
  3  35.3404
  4  68.1649
  5  1.74156e-05
  6  9.47838e-05
  7  5.41764
  8  0.000130102
  9  0.000284891
  10  9.97572e-05
  11  3.58858e-05
  12  5.65563e-05
  13  3.40776e-05
  14  39.4265
  15  7.14872e-06
  16  4.24948e-05
  17  1.04491e-05
  18  10.0268
  19  0.776098
  20  18.4734
  21  0.000246074
  22  0.0180389
  23  5.16279e-05
  24  0.000335119
  25  0.341423
  26  1.86847e-06
  27  0.26639
  28  0.131071
Done.

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

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  1.000e-04  4.249e-05  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.083e+00  1.311e-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.085e-01  2.664e-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: 7.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/792937/likelihoodResults_678931201_679190401_4FGL_J2148.6+0652_daily_bin1696.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) = 7139.75502261
delta logL = -0.000546335484614

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7139.75447624
delta logL = 3.05672074319e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6695       1.0000          .0000       5.0000    
     3 'Normalizat'    .60855       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0834       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=   7139.754     FROM MIGRAD    STATUS=CONVERGED    106 CALLS      253 TOTAL
                     EDM=   .25E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.4111        .79432E-01** at limit **
   2  alpha         3.8836        4.0181        .16509        .18594E-08
   3  Normalizat    .60854        .36082E-02    .40611E-03    .13781E-03
   4  Prefactor     1.0834        .18864E-02    .16148E-03    .28258E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 3.88365
  Normalizat = 0.608542
  Prefactor  = 1.08338
 **********
 **   18 **HESSE 
 **********

 FCN=   7139.754     FROM HESSE     STATUS=OK            25 CALLS      278 TOTAL
                     EDM=   .78E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    13.321        .28257E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.8836        3.7406        .66035E-02    .58651    
   3  Normalizat    .60854        .24667        .16244E-04   -1.0762    
   4  Prefactor     1.0834        .12914        .32297E-04   -.90000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76568e-11
Minuit parameter uncertainties:
  1  0.000148769
  2  530.128
  3  0.247118
  4  0.129174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/792937': 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) = 7139.75447446
delta logL = 1.81711311598e-06

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  1.000e-04  1.488e-04  1.000e-04  1.000e+04 ( 1.000e-12)
296        alpha:  3.884e+00  5.301e+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:  1.083e+00  1.292e-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.085e-01  2.471e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/792937/cmap_HighResolution_678931201_679190401_4FGL_J2148.6+0652_daily_bin1696.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-05', job_status='DONE', photon_flux_upper_limit='7.15e-08', time_completed='2022-07-11 00:45:17.917195', job_id='792937', GAL2='1.08', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1657525517.92', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.08', dlogl='1.82e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1696' AND source_name='4FGL J2148.6+0652' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jul 11 00:45:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 792937: <4FGL_J2148.6+0652_daily_bin1696> in cluster <slac> Done

Job <4FGL_J2148.6+0652_daily_bin1696> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jul 11 00:30:33 2022
Job was executed on host(s) <bullet0279>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jul 11 00:30:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jul 11 00:30:34 2022
Terminated at Mon Jul 11 00:45:18 2022
Results reported at Mon Jul 11 00:45:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2148.6+0652_daily_bin1696 327.163 6.8791 678931201 679190401 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 :                                   839.50 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             353.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            885 sec.

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

