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


Performing analysis on: 4FGL_J2148.6+0652_daily_bin1720
RA = 327.163, Dec = 6.8791
tmin = 685152001, tmax = 685411201
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='848692', job_status='RUN', time_executed='2022-09-21 00:55:28.741651', time_epoch_executed='1663746928.74' WHERE source_name='4FGL J2148.6+0652' and cadence='daily' and bin_id='1720'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/848692

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/848692/ft1_4FGL_J2148.6+0652_daily_bin1720.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/848692/ft2_4FGL_J2148.6+0652_daily_bin1720.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/848692/ft1_4FGL_J2148.6+0652_daily_bin1720.fits outfile=/scratch/kocevski/848692/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1720.fits ra=327.163 dec=6.8791 rad=12.0 tmin=685152001.0 tmax=685411201.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.73
user 3.48
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/848692/ft2_4FGL_J2148.6+0652_daily_bin1720.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/848692/ft1_filteredMKT_4FGL_J2148.6+0652_daily_bin1720.fits evtable="EVENTS" outfile="/scratch/kocevski/848692/ft1_filtered_4FGL_J2148.6+0652_daily_bin1720.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.55
user 0.35
sys 0.17

Number of photons that the gtmktime cut: 369

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/848692/ft1_filtered_4FGL_J2148.6+0652_daily_bin1720.fits evtable="EVENTS" scfile=/scratch/kocevski/848692/ft2_4FGL_J2148.6+0652_daily_bin1720.fits sctable="SC_DATA" expcube=/scratch/kocevski/848692/ltcube_685152001_685411201_4FGL_J2148.6+0652_daily_bin1720.fits outfile=/scratch/kocevski/848692/expmap_685152001_685411201_4FGL_J2148.6+0652_daily_bin1720.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/848692/ltcube_685152001_685411201_4FGL_J2148.6+0652_daily_bin1720.fits
.....................!
real 193.27
user 188.00
sys 4.91

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/848692/ft1_filtered_4FGL_J2148.6+0652_daily_bin1720.fits scfile=/scratch/kocevski/848692/ft2_4FGL_J2148.6+0652_daily_bin1720.fits outfile=/scratch/kocevski/848692/cmap_685152001_685411201_4FGL_J2148.6+0652_daily_bin1720.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/848692/ft1_filtered_4FGL_J2148.6+0652_daily_bin1720.fits scfile=/scratch/kocevski/848692/ft2_4FGL_J2148.6+0652_daily_bin1720.fits outfile=/scratch/kocevski/848692/cmap_HighResolution_685152001_685411201_4FGL_J2148.6+0652_daily_bin1720.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .37683E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .95454E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    92.971       1.0000          .0000       .10000E+07
     4 'Prefactor '    .80537E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14926E-02   1.0000          .0000       .10000E+07
     6 'Prefactor '    16.278       1.0000          .0000       .10000E+07
     7 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     8 'Prefactor '    .28482E-04   1.0000          .0000       .10000E+07
     9 'norm      '    .45980E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    12.870       1.0000          .0000       .10000E+07
    11 'norm      '    .65385       1.0000          .0000       .10000E+07
    12 'norm      '    .10146E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    .51535E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    .25526E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .29976E-08   1.0000          .0000       .10000E+07
    16 'Prefactor '    29.474       1.0000          .0000       .10000E+07
    17 'Prefactor '    .86077E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    3.8249       1.0000          .0000       .10000E+07
    19 'Prefactor '    .49305       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .97393       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .69550       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=   4241.720     FROM MIGRAD    STATUS=CONVERGED    164 CALLS     1785 TOTAL
                     EDM=   .74E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .66613E-09    7.2755        .19857E-06** at limit **
   2  Prefactor     .26479E-07    7.7349       -.62542E-07** at limit **
   3  Prefactor     92.740        8.9727        .23838E-07    .17245    
   4  Prefactor     .37192E-08    13.509        .78053E-07** at limit **
   5  Prefactor     .86708E-07    7.7450        .15845E-06** at limit **
   6  Prefactor     16.404        9.0945       -.48572E-07    .13958E-02
   7  Prefactor      .0000        .64581       -.56958E-07** at limit **
   8  Prefactor     .18446E-06    4.4793        .72101E-07** at limit **
   9  norm          .23870E-08    9.8399       -.66530E-08** at limit **
  10  Prefactor     15.201        49.053       -.44840E-06    .26378E-03
  11  norm          .64615        2.5290        .62899E-07    .11440E-02
  12  norm          .18680E-06    22.256       -.27059E-06** at limit **
  13  Prefactor     .26557E-06    5.3244        .17359E-06** at limit **
  14  Prefactor     .16837E-06    6.5673       -.40702E-07** at limit **
  15  norm          .55511E-10    1.3464        .96494E-07** at limit **
  16  Prefactor     29.314        7.7555       -.64920E-07    .12605    
  17  Prefactor     .75717E-07    59.351        .25671E-06** at limit **
  18  Prefactor     3.8508        1.9712        .18448E-07   -.14249E-02
  19  Prefactor     .49333        .33262       -.60645E-08    .38387E-05
  20  Prefactor     .10000E-03    4.6364        .95670E-06** at limit **
  21  Normalizat    .97196        .30456       -.20506E-05    .14756E-04
  22  Prefactor     .69556        .14038        .18181E-05    .10697E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.66134e-10
  Prefactor  = 2.64788e-08
  Prefactor  = 92.74
  Prefactor  = 3.71925e-09
  Prefactor  = 8.67084e-08
  Prefactor  = 16.4035
  Prefactor  = 0
  Prefactor  = 1.84464e-07
  norm       = 2.38698e-09
  Prefactor  = 15.2007
  norm       = 0.646153
  norm       = 1.86795e-07
  Prefactor  = 2.65565e-07
  Prefactor  = 1.68365e-07
  norm       = 5.55112e-11
  Prefactor  = 29.3141
  Prefactor  = 7.57172e-08
  Prefactor  = 3.85083
  Prefactor  = 0.493327
  Prefactor  = 0.0001
  Normalizat = 0.971965
  Prefactor  = 0.695558
 **********
 **   18 **HESSE 
 **********

 FCN=   4241.720     FROM HESSE     STATUS=OK           382 CALLS     2167 TOTAL
                     EDM=   .24E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .66613E-09    9.9052        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .26479E-07    7.8794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     92.740        73.878        .10372E-03   -1.5515    
   4  Prefactor     .37192E-08    14.288        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .86708E-07    12.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.404        9.1274        .24798E-03   -1.5627    
   7  Prefactor      .0000        .64525        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .18446E-06    9.1652        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .23870E-08    9.5203        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.201        50.321        .27896E-03   -1.5630    
  11  norm          .64615        2.5478        .64537E-03   -1.5692    
  12  norm          .18680E-06    22.464        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .26557E-06    11.454        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .16837E-06    8.5406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .55511E-10    1.3202        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     29.314        29.738        .18423E-03   -1.5600    
  17  Prefactor     .75717E-07    59.118        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     3.8508        15.008        .51582E-03   -1.5669    
  19  Prefactor     .49333        .35131        .67354E-02   -1.5568    
  20  Prefactor     .10000E-03    4.6385        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .97196        .25793        .69322E-01   -.93976    
  22  Prefactor     .69556        .11700        .42341E-01   -1.0370    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42481e-06
Minuit parameter uncertainties:
  1  0.000159479
  2  0.000913417
  3  73.8785
  4  0.000462382
  5  0.00208771
  6  9.12737
  7  6.83668e-06
  8  0.00260055
  9  0.00030224
  10  50.3222
  11  2.54781
  12  0.00409709
  13  0.00348796
  14  0.00239837
  15  1.7006e-05
  16  29.7384
  17  0.00423072
  18  15.0077
  19  0.351311
  20  3.2113e-05
  21  0.258257
  22  0.117045
Done.

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

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  1.868e-07  4.097e-03  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.956e-01  1.170e-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:  9.720e-01  2.583e-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: 1.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.95e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/848692/likelihoodResults_685152001_685411201_4FGL_J2148.6+0652_daily_bin1720.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) = 4241.74236051
delta logL = -0.0218759243235

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4241.7204847
delta logL = -1.19304786494e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .17372E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    4.2840       1.0000          .0000       5.0000    
     3 'Normalizat'    .97194       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69559       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.

 FCN=   4241.720     FROM MIGRAD    STATUS=CONVERGED     69 CALLS      231 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11158E-07    20.988        .42118E-03** at limit **
   2  alpha         2.3404        2.7077        .50000       -.68212E-09
   3  Normalizat    .97196        .69915E-02    .69322E-01    .82691E-03
   4  Prefactor     .69556        .32985E-02    .42343E-01    .17882E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11577e-08
  alpha      = 2.34041
  Normalizat = 0.971965
  Prefactor  = 0.695562
 **********
 **   18 **HESSE 
 **********

 FCN=   4241.720     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      260 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11158E-07    102.78        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3404        3.2026        .50000       -.63878E-01
   3  Normalizat    .97196        .15512E-01    .30668E-03   -.93976    
   4  Prefactor     .69556        .73261E-02    .16761E-03   -1.0370    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.7805e-10
Minuit parameter uncertainties:
  1  0.00214284
  2  120272
  3  0.0155117
  4  0.00732614
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/848692': 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): 102
logL (Free Index) = 4241.72048458
delta logL = 2.73030309472e-09

Extracting fit parameters...

4FGL J2148.6+0652
   Spectrum: LogParabola
295         norm:  1.116e-08  2.143e-03  0.000e+00  1.000e+06 ( 1.000e-12)
296        alpha:  2.340e+00  1.203e+05  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.956e-01  7.326e-03  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:  9.720e-01  1.551e-02  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/848692/cmap_HighResolution_685152001_685411201_4FGL_J2148.6+0652_daily_bin1720.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.95e-05', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2022-09-21 01:03:49.915542', job_id='848692', GAL2='0.70', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1663747429.92', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.70', dlogl='2.73e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.66' WHERE bin_id='1720' AND source_name='4FGL J2148.6+0652' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 21 01:03:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 848692: <4FGL_J2148.6+0652_daily_bin1720> in cluster <slac> Done

Job <4FGL_J2148.6+0652_daily_bin1720> was submitted from host <rhel6-64n> by user <kocevski> in cluster <slac> at Wed Sep 21 00:50:53 2022
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 21 00:54:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 21 00:54:36 2022
Terminated at Wed Sep 21 01:03:52 2022
Results reported at Wed Sep 21 01:03:52 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2148.6+0652_daily_bin1720 327.163 6.8791 685152001 685411201 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 :                                   499.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             310.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   556 sec.
    Turnaround time :                            779 sec.

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

