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


Performing analysis on: 4FGL_J1348.5-8700_daily_bin1693
RA = 207.128, Dec = -87.013
tmin = 678153601, tmax = 678412801
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 soDone.


Performing analysis on: 4FGL_J1348.5-8700_daily_bin1693
RA = 207.128, Dec = -87.013
tmin = 678153601, tmax = 678412801
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='541019', job_status='RUN', time_executed='2022-07-02 02:17:28.462591', time_epoch_executed='1656753448.46' WHERE source_name='4FGL J1348.5-8700' and cadence='daily' and bin_id='1693'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/541019

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/541019/ft1_4FGL_J1348.5-8700_daily_bin1693.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/541019/ft1_4FGL_J1348.5-8700_daily_bin1693.fits outfile=/scratch/kocevski/541019/ft1_filteredMKT_4FGL_J1348.5-8700_daily_bin1693.fits ra=207.128 dec=-87.013 rad=12.0 tmin=678153601.0 tmax=678412801.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 4.22
user 3.90
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.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/541019/ft1_filteredMKT_4FGL_J1348.5-8700_daily_bin1693.fits evtable="EVENTS" outfile="/scratch/kocevski/541019/ft1_filtered_4FGL_J1348.5-8700_daily_bin1693.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.33
sys 0.16

Number of photons that the gtmktime cut: 1106

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/541019/ft1_filtered_4FGL_J1348.5-8700_daily_bin1693.fits" evtable="EVENTS" scfile=/scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits sctable="SC_DATA" outfile=/scratch/kocevski/541019/ltcube_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.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/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits
.....................!
real 13.61
user 12.98
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/541019/ft1_filtered_4FGL_J1348.5-8700_daily_bin1693.fits evtable="EVENTS" scfile=/scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits sctable="SC_DATA" expcube=/scratch/kocevski/541019/ltcube_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.fits outfile=/scratch/kocevski/541019/expmap_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.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/541019/ltcube_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.fits
.....................!
real 194.57
user 186.57
sys 5.33

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
Extended source SMC-Galaxy in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/SMC-Galaxy.fits is the correct path to the extended template.
Added 176 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1348.5-8700 @ 207.128 -87.013

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/541019/ft1_filtered_4FGL_J1348.5-8700_daily_bin1693.fits scfile=/scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits outfile=/scratch/kocevski/541019/cmap_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.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=207.128 yref=-87.013 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/541019/ft1_filtered_4FGL_J1348.5-8700_daily_bin1693.fits scfile=/scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits outfile=/scratch/kocevski/541019/cmap_HighResolution_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.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=207.128 yref=-87.013 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.58
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/541019/ft1_filtered_4FGL_J1348.5-8700_daily_bin1693.fits evtable="EVENTS" scfile=/scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/541019/Model_4FGL_J1348.5-8700_daily_bin1693.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
adding source SMC-Galaxy
Working on...
/scratch/kocevski/541019/ft1_filtered_4FGL_J1348.5-8700_daily_bin1693.fits.....................!
real 3182.92
user 3167.72
sys 3.58

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/541019/ft1_filtered_4FGL_J1348.5-8700_daily_bin1693.fits', '/scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits', expMap='/scratch/kocevski/541019/expmap_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.fits', expCube='/scratch/kocevski/541019/ltcube_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/541019/Model_4FGL_J1348.5-8700_daily_bin1693.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1348.5-8700'

4FGL J1348.5-8700
   Spectrum: PowerLaw
272    Prefactor:  6.256e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  3.004e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  3.106e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/541019/ft1_filtered_4FGL_J1348.5-8700_daily_bin1693.fits
Spacecraft file(s): /scratch/kocevski/541019/ft2_4FGL_J1348.5-8700_daily_bin1693.fits
Exposure map: /scratch/kocevski/541019/expmap_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.fits
Exposure cube: /scratch/kocevski/541019/ltcube_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/541019/Model_4FGL_J1348.5-8700_daily_bin1693.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) = 11333.0734452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.7486       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    52.414       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.768       1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.755       1.0000         .10000E-03   10000.    
    10 'norm      '    .10163E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.2867       1.0000         .10000E-03   10000.    
    13 'norm      '    .25220E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.471       1.0000         .10000E-03   10000.    
    15 'norm      '    13.415       1.0000         .10000E-03   10000.    
    16 'norm      '    5.6543       1.0000         .10000E-03   10000.    
    17 'norm      '    .10315E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    67.734       1.0000         .10000E-03   10000.    
    19 'Normalizat'    1.1862       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .93641       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11333.07     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2374 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.774       -.94414E-06** at limit **
   2  Prefactor     .10000E-03    17.029        .14190E-06** at limit **
   3  Prefactor     6.7491        5.9298        .26078E-06    .64592E-04
   4  Prefactor     .10000E-03    10.154        .34484E-06** at limit **
   5  Prefactor     52.429        40.533        .45881E-06    .10984E-03
   6  Prefactor     .10000E-03    23.476       -.72345E-06** at limit **
   7  norm          .10000E-03    1.1512       -.50612E-07** at limit **
   8  Prefactor     11.771        6.5466        .16910E-05    .15374E-02
   9  Prefactor     15.779        39.781       -.18937E-06    .76191E-04
  10  norm          .10000E-03    112.32       -.46637E-06** at limit **
  11  Prefactor     .10000E-03    2.4445        .26243E-06** at limit **
  12  Prefactor     5.2867        5.4721        .10241E-06    .21139E-03
  13  norm          .10000E-03    .34817        .38646E-07** at limit **
  14  Prefactor     19.463        24.875       -.22592E-07   -.19595E-04
  15  norm          13.415        6.8053        .53775E-07    .45430E-05
  16  norm          5.6552        6.6683        .43612E-06    .11862E-03
  17  norm          .10057E-03    4.9168        .21046E-05** at limit **
  18  Prefactor     67.723        57.544        .20571E-05   -.10196E-03
  19  Normalizat    1.1860        .25485       -.15827E-05   -.10595E-03
  20  Prefactor     .93643        .71052E-01    .24016E-06   -.22558E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 6.74906
  Prefactor  = 0.0001
  Prefactor  = 52.4291
  Prefactor  = 0.000100002
  norm       = 0.0001
  Prefactor  = 11.7707 **********
 **   18 **HESSE 
 **********

 FCN=   11333.07     FROM HESSE     STATUS=OK           293 CALLS     2667 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  N **********
 **   18 **HESSE 
 **********

 FCN=   11333.07     FROM HESSE     STATUS=OK           293 CALLS     2667 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    11.096        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    17.042        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.7491        5.9436        .15446E-03   -1.5188    
   4  Prefactor     .10000E-03    10.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     52.429        40.509        .55398E-04   -1.4259    
   6  Prefactor     .10000E-03    23.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    1.1572        .11155E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.771        6.6542        .58388E-03   -1.5022    
   9  Prefactor     15.779        39.887        .10090E-03   -1.4913    
  10  norm          .10000E-03    117.53        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.4744        .16211E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.2867        5.4599        .17481E-03   -1.5248    
  13  norm          .10000E-03    7.7769        .11591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     19.463        24.142        .90768E-04   -1.4825    
  15  norm          13.415        6.7843        .10936E-03   -1.4975    
  16  norm          5.6552        6.6656        .16893E-03   -1.5232    
  17  norm          .10057E-03    27.599        .31674E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     67.723        55.610        .48769E-04   -1.4060    
  19  Normalizat    1.1860        .28605        .44151E-03   -.87036    
  20  Prefactor     .93643        .81234E-01    .14634E-03   -.94880    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.11892e-08
Minuit parameter uncertainties:
  1  0.000152066
  2  8.98622eDone.

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

Extracting fit parameters...

4FGL J1348.5-8700
   Spectrum: PowerLaw
272    Prefactor:  1.578e+01  3.995e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  3.004e+00  0.000e+00  0.000e+00  1.000Done.

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

Extracting fit parameters...

4FGL J1348.5-8700
   Spectrum: PowerLaw
272    Prefactor:  1.578e+01  3.995e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  3.004e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
274        Scale:  3.106e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  9.364e-01  8.124e-02  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.186e+00  2.864e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.18
Ra Dec: 207.128 -87.013
Photon Flux Upper Limit: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.19e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/541019/likelihoodResults_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.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) = 11333.0426132
delta logL = 0.0226767694348

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11333.0412781
delta logL = 0.0240119013233

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.276       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3914       1.0000          .0000       10.000    
     3 'Normalizat'    1.1781       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93820       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5860E+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=   11333.04     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      273 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.262        40.166        .10601E-03    .68207E-04
   2  Index         3.3918        2.0684        .18915E-01    .39350E-04
   3  Normalizat    1.1794        .27563        .44262E-03   -.19707E-02
   4  Prefactor     .93781        .80886E-01    .14624E-03   -.43345E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.2621
  Index      = 3.39181
  Normalizat = 1.17936
  Prefactor  = 0.937808
 **********
 **   18 **HESSE 
 **********

 FCN=   11333.04     FROM HESSE     STATUS=OK            25 CALLS      298 TOTAL
                     EDM=   .88E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.262        36.920        .42403E-05   -1.4952    
   2  Index         3.3918        1.9105        .75660E-03   -.32746    
   3  Normalizat    1.1794        .27598        .88524E-04   -.87243    
   4  Prefactor     .93781        .80959E-01    .29248E-04   -.94832    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.82312e-09
Minuit parameter uncertainties:
  1  36.9787
  2  1.96656
  3  0.276318
  4  0.0809697
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/541019': 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) = 11333.0412658
delta logL = 0.0240241288848

Extracting fit parameters...

4FGL J1348.5-8700
   Spectrum: PowerLaw
272    Prefactor:  1.426e+01  3.698e+01  1.000e-04  1.000e+04 ( 1.000e-12)
273        Index:  3.392e+00  1.967e+00  0.000e+00  1.000e+01 (-1.000e+00)
274        Scale:  3.106e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
578    Prefactor:  9.378e-01  8.097e-02  0.000e+00  1.000e+01 ( 1.000e+00)
579        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
580        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
577   Normalization:  1.179e+00  2.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.18
Ra Dec: 207.128 -87.013

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/541019/cmap_HighResolution_678153601_678412801_4FGL_J1348.5-8700_daily_bin1693.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.19e-02', job_status='DONE', photon_flux_upper_limit='1.49e-07', time_completed='2022-07-02 03:24:49.697606', job_id='541019', GAL2='0.94', fit_tolerance='1e-08', EG2='1.18', EG='1.19', time_epoch_completed='1656757489.7', return_code2='0', ts='0.18', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='2.40e-02', ts2='0.23', photon_index_error='0.00', photon_index='3.00' WHERE bin_id='1693' AND source_name='4FGL J1348.5-8700' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jul  2 03:24:49 PDT 2022

r <slac> at Sat Jul  2 00:06:29 2022
Job was executed on host(s) <bullet0079>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  2 02:15:56 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  2 02:15:56 2022
Terminated at Sat Jul  2 03:24:18 2022
Results reported at Sat Jul  2 03:24:18 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1348.5-8700_daily_bin1693 207.128 -87.013 678153601 678412801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1348.5-8700 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   3987.00 sec.
    Max Memory :                                 622 MB
    Average Memory :                             535.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4101 sec.
    Turnaround time :                            11869 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 541019: <4FGL_J1348.5-8700_daily_bin1693> in cluster <slac> Done

Job <4FGL_J1348.5-8700_daily_bin1693> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Jul  2 00:06:29 2022
Job was executed on host(s) <bullet0057>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jul  2 02:15:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jul  2 02:15:57 2022
Terminated at Sat Jul  2 03:24:50 2022
Results reported at Sat Jul  2 03:24:50 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1348.5-8700_daily_bin1693 207.128 -87.013 678153601 678412801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1348.5-8700 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   4029.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             538.09 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   4133 sec.
    Turnaround time :                            11901 sec.

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

