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


Performing analysis on: 4FGL_J2148.6+0652_daily_bin1735
RA = 327.163, Dec = 6.8791
tmin = 689040001, tmax = 689299201
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='866568', job_status='RUN', time_executed='2022-11-05 00:36:16.419430', time_epoch_executed='1667633776.42' WHERE source_name='4FGL J2148.6+0652' and cadence='daily' and bin_id='1735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/866568

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/866568/ft1_4FGL_J2148.6+0652_daily_bin1735.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/866568/ft2_4FGL_J2148.6+0652_daily_bin1735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/866568/ft1_4FGL_J2148.6+0652_daily_bin1735.fits outfile=/scratch/kocevski/866568/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1735.fits ra=327.163 dec=6.8791 rad=12.0 tmin=689040001.0 tmax=689299201.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.67
user 3.44
sys 0.21

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

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

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

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

Number of photons that the gtmktime cut: 780

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/866568/ft1_filtered_4FGL_J2148.6+0652_daily_bin1735.fits evtable="EVENTS" scfile=/scratch/kocevski/866568/ft2_4FGL_J2148.6+0652_daily_bin1735.fits sctable="SC_DATA" expcube=/scratch/kocevski/866568/ltcube_689040001_689299201_4FGL_J2148.6+0652_daily_bin1735.fits outfile=/scratch/kocevski/866568/expmap_689040001_689299201_4FGL_J2148.6+0652_daily_bin1735.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/866568/ltcube_689040001_689299201_4FGL_J2148.6+0652_daily_bin1735.fits
.....................!
real 190.62
user 185.35
sys 4.96

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/866568/ft1_filtered_4FGL_J2148.6+0652_daily_bin1735.fits scfile=/scratch/kocevski/866568/ft2_4FGL_J2148.6+0652_daily_bin1735.fits outfile=/scratch/kocevski/866568/cmap_689040001_689299201_4FGL_J2148.6+0652_daily_bin1735.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/866568/ft1_filtered_4FGL_J2148.6+0652_daily_bin1735.fits scfile=/scratch/kocevski/866568/ft2_4FGL_J2148.6+0652_daily_bin1735.fits outfile=/scratch/kocevski/866568/cmap_HighResolution_689040001_689299201_4FGL_J2148.6+0652_daily_bin1735.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37832       1.0000          .0000       .10000E+07
     2 'Prefactor '    8.8127       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11703E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .19051E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .25428E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    .48624E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.9874       1.0000          .0000       .10000E+07
     8 'Prefactor '    43.707       1.0000          .0000       .10000E+07
     9 'norm      '    4.8352       1.0000          .0000       .10000E+07
    10 'Prefactor '    .13828E-01   1.0000          .0000       .10000E+07
    11 'norm      '    2.0093       1.0000          .0000       .10000E+07
    12 'norm      '    .25400E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    .17281E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    .23165E-04   1.0000          .0000       .10000E+07
    15 'norm      '    2.5375       1.0000          .0000       .10000E+07
    16 'Prefactor '    18.855       1.0000          .0000       .10000E+07
    17 'Prefactor '    16.869       1.0000          .0000       .10000E+07
    18 'Prefactor '    .78757E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    2.4481       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.2935       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .74682       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0943       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=   8581.682     FROM MIGRAD    STATUS=CONVERGED    152 CALLS     1834 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .30304E-06    106.08        .42038E-05** at limit **
   2  Prefactor     9.2184        11.935        .37062E-06    .22515E-01
   3  Prefactor     .41217E-06    11.797       -.22884E-06** at limit **
   4  Prefactor     .18607E-06    6.7307       -.52456E-06** at limit **
   5  Prefactor     .14100E-07    75.615       -.14880E-06** at limit **
   6  Prefactor     .19623E-06    263.38        .83248E-05** at limit **
   7  Prefactor     1.9896        1.8175        .12229E-06    .34666E-04
   8  Prefactor     43.555        4.2100       -.17715E-06    .52182E-01
   9  norm          4.8370        3.2022       -.99460E-10   -.37304E-03
  10  Prefactor      .0000        29.182       -.56005E-06** at limit **
  11  norm          2.0091        2.2972       -.24372E-07    .10009E-02
  12  norm          .51070E-08    13.191       -.51552E-07** at limit **
  13  Prefactor      .0000        1.9185       -.43642E-07** at limit **
  14  Prefactor     .11102E-09    5.9679        .20697E-06** at limit **
  15  norm          2.5372        1.2628       -.28471E-07    .39312E-02
  16  Prefactor     18.857        13.148        .15993E-06    .11592E-01
  17  Prefactor     16.860        10.339        .29178E-06   -.67044E-02
  18  Prefactor     .55511E-10    8.7436        .43086E-08** at limit **
  19  Prefactor     2.4476        .44198        .44557E-07    .93813E-03
  20  Prefactor     2.2956        5.3512        .17388E-05    .19835E-04
  21  Normalizat    .74705        .27138       -.10575E-04   -.38413E-04
  22  Prefactor     1.0943        .13066       -.14178E-05   -.17267E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.03035e-07
  Prefactor  = 9.21841
  Prefactor  = 4.1217e-07
  Prefactor  = 1.86073e-07
  Prefactor  = 1.40998e-08
  Prefactor  = 1.96232e-07
  Prefactor  = 1.98958
  Prefactor  = 43.5548
  norm       = 4.83702
  Prefactor  = 0
  norm       = 2.00909
  norm       = 5.10703e-09
  Prefactor  = 0
  Prefactor  = 1.11022e-10
  norm       = 2.53717
  Prefactor  = 18.8572
  Prefactor  = 16.8601
  Prefactor  = 5.55112e-11
  Prefactor  = 2.44762
  Prefactor  = 2.29559
  Normalizat = 0.747051
  Prefactor  = 1.0943
 **********
 **   18 **HESSE 
 **********

 FCN=   8581.682     FROM HESSE     STATUS=OK           396 CALLS     2230 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .30304E-06    115.26        .92043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.2184        20.429        .33740E-03   -1.5647    
   3  Prefactor     .41217E-06    18.692        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .18607E-06    18.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .14100E-07    76.018        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .19623E-06    7.7447        .56144E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.9896        1.8490        .73474E-03   -1.5680    
   8  Prefactor     43.555        33.666        .15127E-03   -1.5576    
   9  norm          4.8370        3.2071        .45725E-03   -1.5664    
  10  Prefactor      .0000        29.344        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.0091        2.3216        .73011E-03   -1.5680    
  12  norm          .51070E-08    17.487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        1.9226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .11102E-09    5.9947        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.5372        1.2706        .64086E-03   -1.5676    
  16  Prefactor     18.857        25.622        .23038E-03   -1.5621    
  17  Prefactor     16.860        30.116        .24359E-03   -1.5626    
  18  Prefactor     .55511E-10    8.7398        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     2.4476        .44146        .56369E-02   -1.5395    
  20  Prefactor     2.2956        5.3844        .67757E-02   -1.5405    
  21  Normalizat    .74705        .24763        .95272E-01   -1.0206    
  22  Prefactor     1.0943        .11417        .37806E-01   -.89649    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.45955e-07
Minuit parameter uncertainties:
  1  0.0118203
  2  20.4287
  3  0.00555133
  4  0.00366802
  5  0.00207065
  6  0.00246562
  7  1.84897
  8  33.6659
  9  3.20714
  10  5.70139e-05
  11  2.32163
  12  0.000598033
  13  1.83657e-06
  14  5.23122e-05
  15  1.27059
  16  25.6217
  17  30.1159
  18  3.18544e-05
  19  0.44146
  20  5.38557
  21  0.248005
  22  0.114199
Done.

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

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  5.107e-09  5.980e-04  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.094e+00  1.142e-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:  7.471e-01  2.480e-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: 8.88e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.16e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/866568/likelihoodResults_689040001_689299201_4FGL_J2148.6+0652_daily_bin1735.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) = 8581.70981315
delta logL = -0.0283073237679

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8581.68150584
delta logL = -7.66704033595e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .35805E-07   1.0000          .0000       .10000E+07
     2 'alpha     '    4.9964       1.0000          .0000       5.0000    
     3 'Normalizat'    .74703       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0943       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8581.682     FROM MIGRAD    STATUS=CONVERGED     47 CALLS      223 TOTAL
                     EDM=   .42E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.1545        .42118E-02** at limit **
   2  alpha         4.6975        .53297       -.79021E-04     .0000    
   3  Normalizat    .74705        1.0866       -.59492E-05   -.49867E-05
   4  Prefactor     1.0943        1.1523        .28214E-05   -.94626E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  alpha      = 4.69755
  Normalizat = 0.74705
  Prefactor  = 1.0943
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8581.682     FROM HESSE     STATUS=FAILED         9 CALLS      232 TOTAL
                     EDM=   .42E-13  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.1545        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         3.8360        .62962       -.79021E-04    1.0738    
   3  Normalizat    .74705        1.0866       -.59492E-05   -1.0206    
   4  Prefactor     1.0943        1.1523        .28214E-05   -.89649    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 4.23742e-14
Minuit parameter uncertainties:
  1  1.00929e-06
  2  0.552548
  3  1.12072
  4  1.18025
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/866568': 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): 101
logL (Free Index) = 8581.68150583
delta logL = 1.54614099301e-10

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  0.000e+00  1.009e-06  0.000e+00  1.000e+06 ( 1.000e-12)
296        alpha:  4.698e+00  5.525e-01  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.094e+00  1.180e+00  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:  7.471e-01  1.121e+00  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/866568/cmap_HighResolution_689040001_689299201_4FGL_J2148.6+0652_daily_bin1735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.16e-05', job_status='DONE', photon_flux_upper_limit='8.88e-08', time_completed='2022-11-05 00:47:33.109273', job_id='866568', GAL2='1.09', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1667634453.11', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.55e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1735' AND source_name='4FGL J2148.6+0652' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov  5 00:47:33 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 866568: <4FGL_J2148.6+0652_daily_bin1735> in cluster <slac> Done

Job <4FGL_J2148.6+0652_daily_bin1735> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Nov  5 00:35:17 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov  5 00:35:18 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov  5 00:35:18 2022
Terminated at Sat Nov  5 00:47:33 2022
Results reported at Sat Nov  5 00:47:33 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2148.6+0652_daily_bin1735 327.163 6.8791 689040001 689299201 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 :                                   679.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             313.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            736 sec.

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

