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


Performing analysis on: 4FGL_J2348.1-4934_daily_bin1702
RA = 357.037, Dec = -49.57
tmin = 680486401, tmax = 680745601
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='259110', job_status='RUN', time_executed='2022-07-29 01:39:20.640783', time_epoch_executed='1659083960.64' WHERE source_name='4FGL J2348.1-4934' and cadence='daily' and bin_id='1702'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/259110

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/259110/ft1_4FGL_J2348.1-4934_daily_bin1702.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/259110/ft1_4FGL_J2348.1-4934_daily_bin1702.fits outfile=/scratch/kocevski/259110/ft1_filteredMKT_4FGL_J2348.1-4934_daily_bin1702.fits ra=357.037 dec=-49.57 rad=12.0 tmin=680486401.0 tmax=680745601.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 2.97
user 2.74
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.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/259110/ft1_filteredMKT_4FGL_J2348.1-4934_daily_bin1702.fits evtable="EVENTS" outfile="/scratch/kocevski/259110/ft1_filtered_4FGL_J2348.1-4934_daily_bin1702.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.54
user 0.35
sys 0.16

Number of photons that the gtmktime cut: 299

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/259110/ft1_filtered_4FGL_J2348.1-4934_daily_bin1702.fits" evtable="EVENTS" scfile=/scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits sctable="SC_DATA" outfile=/scratch/kocevski/259110/ltcube_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.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/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits
.....................!
real 15.73
user 15.36
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/259110/ft1_filtered_4FGL_J2348.1-4934_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits sctable="SC_DATA" expcube=/scratch/kocevski/259110/ltcube_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.fits outfile=/scratch/kocevski/259110/expmap_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.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/259110/ltcube_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.fits
.....................!
real 193.62
user 187.59
sys 5.57

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 182 point sources and 0 extended sources

Setting source of interest to:
4FGL J2348.1-4934 @ 357.037 -49.57

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/259110/ft1_filtered_4FGL_J2348.1-4934_daily_bin1702.fits scfile=/scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits outfile=/scratch/kocevski/259110/cmap_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.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=357.037 yref=-49.57 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.59
user 0.40
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/259110/ft1_filtered_4FGL_J2348.1-4934_daily_bin1702.fits scfile=/scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits outfile=/scratch/kocevski/259110/cmap_HighResolution_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.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=357.037 yref=-49.57 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.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/259110/ft1_filtered_4FGL_J2348.1-4934_daily_bin1702.fits evtable="EVENTS" scfile=/scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/259110/Model_4FGL_J2348.1-4934_daily_bin1702.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/259110/ft1_filtered_4FGL_J2348.1-4934_daily_bin1702.fits......................!
real 30.63
user 29.28
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/259110/ft1_filtered_4FGL_J2348.1-4934_daily_bin1702.fits', '/scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits', expMap='/scratch/kocevski/259110/expmap_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.fits', expCube='/scratch/kocevski/259110/ltcube_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/259110/Model_4FGL_J2348.1-4934_daily_bin1702.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.1-4934'

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.252e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/259110/ft1_filtered_4FGL_J2348.1-4934_daily_bin1702.fits
Spacecraft file(s): /scratch/kocevski/259110/ft2_4FGL_J2348.1-4934_daily_bin1702.fits
Exposure map: /scratch/kocevski/259110/expmap_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.fits
Exposure cube: /scratch/kocevski/259110/ltcube_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/259110/Model_4FGL_J2348.1-4934_daily_bin1702.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) = 3331.78453055

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.851       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10663E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.1732       1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.4037       1.0000         .10000E-03   10000.    
     6 'Prefactor '    43.845       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.6059       1.0000         .10000E-03   10000.    
     9 'norm      '    55.179       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    20.408       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20654E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    71.725       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10555E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.6393       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.369       1.0000         .10000E-03   10000.    
    23 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.5262       1.0000         .10000E-03   10000.    
    26 'norm      '    9.7818       1.0000         .10000E-03   10000.    
    27 'Prefactor '    26.709       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    35.767       1.0000         .10000E-03   10000.    
    30 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    7.1559       1.0000         .10000E-03   10000.    
    32 'Prefactor '    .64991E-03   1.0000         .10000E-03   10000.    
    33 'Normalizat'    1.0175       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .67416       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3331.726     FROM MIGRAD    STATUS=CONVERGED    939 CALLS     4894 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.852        60.954        .83205E-06   -.11512E-04
   2  Prefactor     .10000E-03    18.572       -.88921E-06** at limit **
   3  Prefactor     .10000E-03    111.23       -.85884E-06** at limit **
   4  Prefactor     4.1728        8.7647        .65705E-05   -.16581E-03
   5  Prefactor     5.4039        6.8146       -.13217E-06   -.45423E-04
   6  Prefactor     43.841        43.161        .26936E-06   -.29644E-04
   7  Prefactor     .10000E-03    8.4829        .16768E-06** at limit **
   8  Prefactor     4.6068        7.6514        .35522E-06   -.11839E-03
   9  norm          55.185        45.169       -.16290E-05   -.52149E-04
  10  Prefactor     .10000E-03    22.713        .76463E-07** at limit **
  11  Prefactor     .10000E-03    17.472        .10503E-05** at limit **
  12  Prefactor     20.411        66.586       -.64859E-06    .13253E-04
  13  Prefactor     .10166E-03    1293.6       -.81150E-04** at limit **
  14  Prefactor     71.741        88.046       -.28566E-05    .87566E-04
  15  Prefactor     .10013E-03    626.43        .22539E-04** at limit **
  16  Prefactor     .10000E-03    63.078        .11713E-06** at limit **
  17  Prefactor     .10000E-03    11.915        .33314E-06** at limit **
  18  norm          2.6448        57.269        .18397E-05   -.36088E-05
  19  norm          .10000E-03    4.6455        .79587E-08** at limit **
  20  norm          .10000E-03    3.6361        .37640E-07** at limit **
  21  Prefactor     .10000E-03    5.6629        .36140E-07** at limit **
  22  Prefactor     29.387        78.420       -.94259E-06    .18139E-05
  23  norm          .10000E-03    7.0284        .18493E-06** at limit **
  24  Prefactor     .10000E-03    14.565       -.24486E-06** at limit **
  25  norm          1.5264        1.5086        .30722E-07   -.98106E-04
  26  norm          9.7816        8.9361        .12850E-05   -.13914E-03
  27  Prefactor     26.708        26.186       -.84590E-06   -.17010E-04
  28  Prefactor     .10000E-03    2.4666       -.84961E-07** at limit **
  29  Prefactor     35.761        31.393       -.28708E-06   -.14104E-04
  30  norm          .10000E-03    11.370       -.37099E-06** at limit **
  31  Prefactor     7.1560        8.6940        .33390E-05   -.20794E-03
  32  Prefactor     .10000E-03    3.8924        .74687E-06** at limit **
  33  Normalizat    1.0174        .23442       -.27971E-05   -.10912E-03
  34  Prefactor     .67415        .23755       -.62166E-06   -.14827E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.8522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.1728
  Prefactor  = 5.40392
  Prefactor  = 43.8414
  Prefactor  = 0.0001
  Prefactor  = 4.6068
  norm       = 55.1847
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.4111
  Prefactor  = 0.000101665
  Prefactor  = 71.7413
  Prefactor  = 0.000100128
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.64479
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.3871
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.5264
  norm       = 9.78162
  Prefactor  = 26.7076
  Prefactor  = 0.0001
  Prefactor  = 35.7611
  norm       = 0.0001
  Prefactor  = 7.15599
  Prefactor  = 0.000100005
  Normalizat = 1.01744
  Prefactor  = 0.674153
 **********
 **   18 **HESSE 
 **********

 FCN=   3331.726     FROM HESSE     STATUS=OK           726 CALLS     5620 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.852        61.021        .66020E-04   -1.4493    
   2  Prefactor     .10000E-03    18.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    112.18        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     4.1728        8.8604        .98645E-03   -1.5299    
   5  Prefactor     5.4039        6.8062        .16227E-03   -1.5243    
   6  Prefactor     43.841        43.068        .60546E-04   -1.4383    
   7  Prefactor     .10000E-03    8.6997        .32815E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.6068        7.6254        .15852E-03   -1.5279    
   9  norm          55.185        45.114        .54000E-04   -1.4221    
  10  Prefactor     .10000E-03    22.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    17.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     20.411        66.558        .88662E-04   -1.4804    
  13  Prefactor     .10166E-03    1409.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     71.741        87.842        .47402E-04   -1.4012    
  15  Prefactor     .10013E-03    635.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    63.079        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.6448        57.364        .25098E-03   -1.5383    
  19  norm          .10000E-03    4.6478        .12150E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    3.6367        .10748E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.6760        .13410E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     29.387        78.392        .73930E-04   -1.4623    
  23  norm          .10000E-03    7.0543        .14852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    14.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.5264        1.4937        .67658E-04   -1.5461    
  26  norm          9.7816        8.9476        .64062E-03   -1.5082    
  27  Prefactor     26.708        26.194        .77516E-04   -1.4674    
  28  Prefactor     .10000E-03    2.4743        .88279E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     35.761        31.238        .67010E-04   -1.4511    
  30  norm          .10000E-03    11.376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     7.1560        8.7664        .74976E-03   -1.5173    
  32  Prefactor     .10000E-03    23.406        .21332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Normalizat    1.0174        .27645        .22095E-03   -.92448    
  34  Prefactor     .67415        .28046        .28758E-03   -1.0455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84295e-09
Minuit parameter uncertainties:
  1  61.1241
  2  0.000120802
  3  0.000416936
  4  8.86315
  5  6.80713
  6  43.0982
  7  3.37561e-05
  8  7.62696
  9  45.1421
  10  3.97226e-05
  11  0.000144147
  12  66.8013
  13  0.0992942
  14  88.0016
  15  0.0182197
  16  3.46151e-05
  17  3.95492e-05
  18  24.6611
  19  1.25292e-06
  20  9.47407e-07
  21  4.3944e-06
  22  78.6691
  23  2.06676e-05
  24  2.85028e-05
  25  1.49374
  26  8.94879
  27  26.2056
  28  1.60545e-05
  29  31.2518
  30  5.00318e-05
  31  8.76799
  32  0.000672247
  33  0.276836
  34  0.281049
Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  3.576e+01  3.125e+01  1.000e-04  1.000e+04 ( 1.000e-13)
521        Index:  2.559e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  6.742e-01  2.810e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.017e+00  2.768e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.25
Ra Dec: 357.037 -49.570
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 5.73e-08 +/- 5.00e-08
Energy Flux (Fixed Index): 1.56e-05 +/- 1.37e-05

TS (Fixed Index): 2.25
Ra Dec: 357.037 -49.570
Photon Flux Upper Limit: 1.70e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.33e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/259110/likelihoodResults_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.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) = 3331.72454197
delta logL = 0.00142541250943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3331.72358159
delta logL = 0.00238579510005

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    34.148       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6135       1.0000          .0000       10.000    
     3 'Normalizat'    1.0148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67614       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+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=   3331.724     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      264 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     34.180        39.205        .68575E-04    .59119E-04
   2  Index         2.6128        .81533        .60719E-02    .16808E-03
   3  Normalizat    1.0149        .25956        .22120E-03    .12309E-04
   4  Prefactor     .67607        .27728        .28721E-03   -.10945E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 34.1797
  Index      = 2.61279
  Normalizat = 1.01485
  Prefactor  = 0.676068
 **********
 **   18 **HESSE 
 **********

 FCN=   3331.724     FROM HESSE     STATUS=OK            25 CALLS      289 TOTAL
                     EDM=   .35E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     34.180        37.873        .13715E-04   -1.4538    
   2  Index         2.6128        .78733        .12144E-02   -.49774    
   3  Normalizat    1.0149        .25967        .88480E-05   -.92535    
   4  Prefactor     .67607        .27743        .11488E-04   -1.0447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45699e-11
Minuit parameter uncertainties:
  1  37.8993
  2  0.791608
  3  0.259996
  4  0.277993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/259110': 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) = 3331.72358101
delta logL = 0.00238636865652

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  3.418e+01  3.790e+01  1.000e-04  1.000e+04 ( 1.000e-13)
521        Index:  2.613e+00  7.916e-01  0.000e+00  1.000e+01 (-1.000e+00)
522        Scale:  8.646e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
577    Prefactor:  6.761e-01  2.780e-01  0.000e+00  1.000e+01 ( 1.000e+00)
578        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
579        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
576   Normalization:  1.015e+00  2.600e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.25
Ra Dec: 357.037 -49.570
Photon Index (Free Index): 2.61 +/- 0.79
Photon Flux (Free Index): 5.95e-08 +/- 5.92e-08
Energy Flux (Free Index): 1.54e-05 +/- 1.36e-05

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/259110/cmap_HighResolution_680486401_680745601_4FGL_J2348.1-4934_daily_bin1702.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-02', comment='SUCCESS', photon_flux='5.73e-08', energy_flux2='1.54e-05', photon_flux_error='5.00e-08', dlogl='2.39e-03', energy_flux='1.56e-05', photon_flux2='5.95e-08', job_status='DONE', time_completed='2022-07-29 01:50:43.541701', photon_index_error2='0.79', photon_index2='2.61', ts='2.25', fit_tolerance='1e-08', GAL='0.67', photon_index_error='0.00', photon_flux_upper_limit='1.70e-07', energy_flux_error2='1.36e-05', EG='1.02', time_epoch_completed='1659084643.54', return_code='0', job_id='259110', GAL2='0.68', EG2='1.01', return_code2='0', energy_flux_error='1.37e-05', photon_flux_error2='5.92e-08', ts2='2.25', photon_index='2.56' WHERE bin_id='1702' AND source_name='4FGL J2348.1-4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jul 29 01:50:43 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 259110: <4FGL_J2348.1-4934_daily_bin1702> in cluster <slac> Done

Job <4FGL_J2348.1-4934_daily_bin1702> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jul 29 01:35:30 2022
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 29 01:37:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 29 01:37:33 2022
Terminated at Fri Jul 29 01:50:44 2022
Results reported at Fri Jul 29 01:50:44 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.1-4934_daily_bin1702 357.037 -49.57 680486401 680745601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2348.1-4934 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   685.00 sec.
    Max Memory :                                 1232 MB
    Average Memory :                             300.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            914 sec.

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

