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


Performing analysis on: 4FGL_J2348.1-4934_daily_bin1765
RA = 357.037, Dec = -49.57
tmin = 696816001, tmax = 697075201
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='651264', job_status='RUN', time_executed='2023-02-03 01:59:45.545107', time_epoch_executed='1675418385.55' WHERE source_name='4FGL J2348.1-4934' and cadence='daily' and bin_id='1765'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/651264

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/651264/ft1_4FGL_J2348.1-4934_daily_bin1765.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/651264/ft1_4FGL_J2348.1-4934_daily_bin1765.fits outfile=/scratch/kocevski/651264/ft1_filteredMKT_4FGL_J2348.1-4934_daily_bin1765.fits ra=357.037 dec=-49.57 rad=12.0 tmin=696816001.0 tmax=697075201.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.10
user 2.87
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.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/651264/ft1_filteredMKT_4FGL_J2348.1-4934_daily_bin1765.fits evtable="EVENTS" outfile="/scratch/kocevski/651264/ft1_filtered_4FGL_J2348.1-4934_daily_bin1765.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.47
user 0.31
sys 0.15

Number of photons that the gtmktime cut: 429

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/651264/ft1_filtered_4FGL_J2348.1-4934_daily_bin1765.fits" evtable="EVENTS" scfile=/scratch/kocevski/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.fits sctable="SC_DATA" outfile=/scratch/kocevski/651264/ltcube_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.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/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.fits
.....................!
real 14.93
user 14.53
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/651264/ft1_filtered_4FGL_J2348.1-4934_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.fits sctable="SC_DATA" expcube=/scratch/kocevski/651264/ltcube_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.fits outfile=/scratch/kocevski/651264/expmap_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.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/651264/ltcube_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.fits
.....................!
real 160.81
user 155.46
sys 4.71

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/651264/ft1_filtered_4FGL_J2348.1-4934_daily_bin1765.fits scfile=/scratch/kocevski/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.fits outfile=/scratch/kocevski/651264/cmap_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.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.52
user 0.33
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/651264/ft1_filtered_4FGL_J2348.1-4934_daily_bin1765.fits scfile=/scratch/kocevski/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.fits outfile=/scratch/kocevski/651264/cmap_HighResolution_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.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.51
user 0.34
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/651264/ft1_filtered_4FGL_J2348.1-4934_daily_bin1765.fits evtable="EVENTS" scfile=/scratch/kocevski/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/651264/Model_4FGL_J2348.1-4934_daily_bin1765.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/651264/ft1_filtered_4FGL_J2348.1-4934_daily_bin1765.fits.....................!
real 30.86
user 29.72
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/651264/ft1_filtered_4FGL_J2348.1-4934_daily_bin1765.fits', '/scratch/kocevski/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.fits', expMap='/scratch/kocevski/651264/expmap_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.fits', expCube='/scratch/kocevski/651264/ltcube_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/651264/Model_4FGL_J2348.1-4934_daily_bin1765.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  0.000e+00  1.000e+06 ( 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/651264/ft1_filtered_4FGL_J2348.1-4934_daily_bin1765.fits
Spacecraft file(s): /scratch/kocevski/651264/ft2_4FGL_J2348.1-4934_daily_bin1765.fits
Exposure map: /scratch/kocevski/651264/expmap_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.fits
Exposure cube: /scratch/kocevski/651264/ltcube_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/651264/Model_4FGL_J2348.1-4934_daily_bin1765.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) = 4663.08326678

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17176E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    24.813       1.0000          .0000       .10000E+07
     3 'Prefactor '    .57437E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    .16235E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    11.819       1.0000          .0000       .10000E+07
     6 'Prefactor '    .14147E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.240       1.0000          .0000       .10000E+07
     8 'norm      '    .87263       1.0000          .0000       .10000E+07
     9 'Prefactor '    19.719       1.0000          .0000       .10000E+07
    10 'Prefactor '    .17347E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    .16876E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .30714E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    96.957       1.0000          .0000       .10000E+07
    14 'Prefactor '    6.7146       1.0000          .0000       .10000E+07
    15 'norm      '    .30813E-03   1.0000          .0000       .10000E+07
    16 'norm      '    .11246E-03   1.0000          .0000       .10000E+07
    17 'norm      '    5.8298       1.0000          .0000       .10000E+07
    18 'Prefactor '    .52521E-05   1.0000          .0000       .10000E+07
    19 'Prefactor '    10.081       1.0000          .0000       .10000E+07
    20 'norm      '    .60676E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .39713E-03   1.0000          .0000       .10000E+07
    22 'norm      '    .69290       1.0000          .0000       .10000E+07
    23 'norm      '    .14572E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    .12038E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    .56011E-07   1.0000          .0000       .10000E+07
    26 'Prefactor '    22.528       1.0000          .0000       .10000E+07
    27 'norm      '    .96474E-03   1.0000          .0000       .10000E+07
    28 'Prefactor '    2.5459       1.0000          .0000       .10000E+07
    29 'Prefactor '    .30370E-04   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.0354       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0177       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5800E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4663.081     FROM MIGRAD    STATUS=CONVERGED    242 CALLS     3019 TOTAL
                     EDM=   .35E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        19.137        .44676E-07** at limit **
   2  Prefactor     24.879        4.4014        .87004E-07    .19521E-01
   3  Prefactor     .62728E-08    24.432       -.24590E-06** at limit **
   4  Prefactor     .83267E-09    11.496        .25925E-06** at limit **
   5  Prefactor     11.810        5.6298       -.41109E-07    .67785E-01
   6  Prefactor      .0000        6.2932        .15213E-06** at limit **
   7  Prefactor     10.382        9.8632       -.28225E-06    .28556E-02
   8  norm          1.9960        239.11        .60889E-05   -.39418E-02
   9  Prefactor     18.850        35.471        .65827E-06    .25595E-01
  10  Prefactor     .19429E-08    22.032        .46942E-06** at limit **
  11  Prefactor     .61062E-09    13.344       -.29338E-06** at limit **
  12  Prefactor     .16371E-05    182.80        .29640E-06** at limit **
  13  Prefactor     96.742        13.008        .25456E-06    .22930E-01
  14  Prefactor     6.7329        9.7174        .13997E-06    .27328E-01
  15  norm           .0000        4.4652        .29107E-07** at limit **
  16  norm          .55511E-10    4.6723        .31457E-07** at limit **
  17  norm          5.8273        5.6962       -.13591E-08   -.37517E-03
  18  Prefactor      .0000        2.4290       -.81127E-07** at limit **
  19  Prefactor     10.367        24.645        .65998E-07    .26680E-01
  20  norm           .0000        2.2552       -.53397E-07** at limit **
  21  Prefactor     .16653E-09    5.2246        .56285E-07** at limit **
  22  norm          .69220        .90372        .24642E-08   -.19985E-03
  23  norm           .0000        2.3680        .79376E-07** at limit **
  24  Prefactor      .0000        8.2385       -.37962E-07** at limit **
  25  Prefactor      .0000        1.2665       -.45918E-08** at limit **
  26  Prefactor     22.535        1.9283        .79568E-08    .42534E-03
  27  norm          .22204E-09    10.527       -.29001E-06** at limit **
  28  Prefactor     2.5458        5.0785        .48078E-07   -.64025E-03
  29  Prefactor      .0000        2.0658        .16703E-07** at limit **
  30  Normalizat    1.0342        .24936       -.28340E-05    .16438E-04
  31  Prefactor     1.0181        .26325        .79609E-06    .11312E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 24.8793
  Prefactor  = 6.27276e-09
  Prefactor  = 8.32667e-10
  Prefactor  = 11.81
  Prefactor  = 0
  Prefactor  = 10.3818
  norm       = 1.996
  Prefactor  = 18.8499
  Prefactor  = 1.94289e-09
  Prefactor  = 6.10623e-10
  Prefactor  = 1.63713e-06
  Prefactor  = 96.7422
  Prefactor  = 6.73285
  norm       = 0
  norm       = 5.55112e-11
  norm       = 5.82734
  Prefactor  = 0
  Prefactor  = 10.3666
  norm       = 0
  Prefactor  = 1.66533e-10
  norm       = 0.692204
  norm       = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 22.535
  norm       = 2.22045e-10
  Prefactor  = 2.5458
  Prefactor  = 0
  Normalizat = 1.03419
  Prefactor  = 1.01806
 **********
 **   18 **HESSE 
 **********

 FCN=   4663.081     FROM HESSE     STATUS=OK           676 CALLS     3695 TOTAL
                     EDM=   .29E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        19.198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     24.879        25.087        .20079E-03   -1.5608    
   3  Prefactor     .62728E-08    24.840        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .83267E-09    11.488        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.810        10.802        .29114E-03   -1.5639    
   6  Prefactor      .0000        6.2940        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.382        10.429        .31287E-03   -1.5644    
   8  norm          1.9960        249.16        .47671E-03   -1.5680    
   9  Prefactor     18.850        43.007        .22527E-03   -1.5621    
  10  Prefactor     .19429E-08    22.478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .61062E-09    13.236        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .16371E-05    186.73        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     96.742        56.901        .10156E-03   -1.5511    
  14  Prefactor     6.7329        11.254        .38700E-03   -1.5656    
  15  norm           .0000        4.4668        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .55511E-10    4.6566        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          5.8273        5.8690        .41571E-03   -1.5660    
  18  Prefactor      .0000        2.4303        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.367        40.421        .31534E-03   -1.5644    
  20  norm           .0000        2.2542        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .16653E-09    5.2349        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .69220        .91899        .61287E-03   -1.5691    
  23  norm           .0000        2.3693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor      .0000        8.2410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor      .0000        1.2667        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     22.535        20.711        .21074E-03   -1.5613    
  27  norm          .22204E-09    10.508        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     2.5458        5.1117        .63972E-03   -1.5676    
  29  Prefactor      .0000        2.0651        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.0342        .21349        .41667E-01   -.91894    
  31  Prefactor     1.0181        .22244        .42380E-01   -.92130    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.8963e-07
Minuit parameter uncertainties:
  1  2.68052e-05
  2  25.0871
  3  0.000789302
  4  0.000197223
  5  10.8016
  6  1.2601e-05
  7  10.4286
  8  44.6037
  9  43.0078
  10  0.000416356
  11  0.000180414
  12  0.0349693
  13  56.9011
  14  11.2537
  15  9.91218e-06
  16  2.47528e-05
  17  5.86898
  18  9.84557e-07
  19  40.4222
  20  3.23827e-07
  21  6.33745e-05
  22  0.918991
  23  1.49559e-06
  24  2.3501e-05
  25  1.78417e-08
  26  20.7107
  27  9.05891e-05
  28  5.11173
  29  7.36106e-07
  30  0.21367
  31  0.222639
Done.

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

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.254e+01  2.071e+01  0.000e+00  1.000e+06 ( 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:  1.018e+00  2.226e-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.034e+00  2.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.00
Ra Dec: 357.037 -49.570
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 3.61e-08 +/- 3.32e-08
Energy Flux (Fixed Index): 9.85e-06 +/- 9.05e-06

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) = 4662.48259782
delta logL = 0.59802158854

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4662.47522137
delta logL = 0.605398042811

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    25.019       1.0000          .0000       .10000E+07
     2 'Index     '    1.6837       1.0000          .0000       10.000    
     3 'Normalizat'    1.0623       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99986       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=   4662.475     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      209 TOTAL
                     EDM=   .17E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 14.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     25.026        28.166        .48034E-06   -.13190E-02
   2  Index         1.6823        .71225        .28630E-04    .31311E-05
   3  Normalizat    1.0625        .20028       -.15590E-05   -.46056E-03
   4  Prefactor     .99963        .22102        .51900E-06   -.33113E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 25.0256
  Index      = 1.68233
  Normalizat = 1.06246
  Prefactor  = 0.999632
 **********
 **   18 **HESSE 
 **********

 FCN=   4662.475     FROM HESSE     STATUS=OK            27 CALLS      236 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     25.026        27.722        .79987E-05   -1.5608    
   2  Index         1.6823        .70169        .93097E-02   -.72553    
   3  Normalizat    1.0625        .23626        .23350E-03   -.90966    
   4  Prefactor     .99963        .26036        .26357E-03   -.92742    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.00578e-09
Minuit parameter uncertainties:
  1  27.7225
  2  0.705875
  3  0.236497
  4  0.260688
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/651264': 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) = 4662.47521819
delta logL = 0.605401217986

Extracting fit parameters...

4FGL J2348.1-4934
   Spectrum: PowerLaw
520    Prefactor:  2.503e+01  2.772e+01  0.000e+00  1.000e+06 ( 1.000e-13)
521        Index:  1.682e+00  7.059e-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:  9.996e-01  2.607e-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.062e+00  2.365e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.23
Ra Dec: 357.037 -49.570
Photon Index (Free Index): 1.68 +/- 0.71
Photon Flux (Free Index): 1.37e-08 +/- 1.95e-08
Energy Flux (Free Index): 2.37e-05 +/- 3.80e-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/651264/cmap_HighResolution_696816001_697075201_4FGL_J2348.1-4934_daily_bin1765.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.61e-08', energy_flux2='2.37e-05', photon_flux_error='3.32e-08', dlogl='6.05e-01', energy_flux='9.85e-06', photon_flux2='1.37e-08', job_status='DONE', time_completed='2023-02-03 02:08:16.852303', photon_index_error2='0.71', photon_index2='1.68', ts='4.00', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='3.80e-05', EG='1.03', time_epoch_completed='1675418896.85', return_code='0', job_id='651264', GAL2='1.00', EG2='1.06', return_code2='0', energy_flux_error='9.05e-06', photon_flux_error2='1.95e-08', ts2='5.23', photon_index='2.56' WHERE bin_id='1765' AND source_name='4FGL J2348.1-4934' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb  3 02:08:16 PST 2023


------------------------------------------------------------
Sender: LSF System <scs@bullet0175>
Subject: Job 651264: <4FGL_J2348.1-4934_daily_bin1765> in cluster <slac> Done

Job <4FGL_J2348.1-4934_daily_bin1765> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Feb  3 01:55:14 2023
Job was executed on host(s) <bullet0175>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb  3 01:55:52 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb  3 01:55:52 2023
Terminated at Fri Feb  3 02:08:17 2023
Results reported at Fri Feb  3 02:08:17 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.1-4934_daily_bin1765 357.037 -49.57 696816001 697075201 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 :                                   512.44 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            783 sec.

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

