/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 209 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 = 7389
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2348.0-1630_daily_bin1280
RA = 357.016, Dec = -16.5161
tmin = 571104001, tmax = 571363201
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='129741', job_status='RUN', time_executed='2021-09-30 05:39:00.633368', time_epoch_executed='1633005540.63' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='1280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/129741

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/129741/ft1_4FGL_J2348.0-1630_daily_bin1280.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/129741/ft1_4FGL_J2348.0-1630_daily_bin1280.fits outfile=/scratch/kocevski/129741/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1280.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=571104001.0 tmax=571363201.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.79
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.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/129741/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1280.fits evtable="EVENTS" outfile="/scratch/kocevski/129741/ft1_filtered_4FGL_J2348.0-1630_daily_bin1280.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.86
user 0.29
sys 0.54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/129741/ft1_filtered_4FGL_J2348.0-1630_daily_bin1280.fits" evtable="EVENTS" scfile=/scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits sctable="SC_DATA" outfile=/scratch/kocevski/129741/ltcube_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.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/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits
.....................!
real 12.33
user 11.93
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/129741/ft1_filtered_4FGL_J2348.0-1630_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits sctable="SC_DATA" expcube=/scratch/kocevski/129741/ltcube_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.fits outfile=/scratch/kocevski/129741/expmap_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.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/129741/ltcube_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.fits
.....................!
real 189.81
user 185.27
sys 4.15

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

Setting source of interest to:
4FGL J2348.0-1630 @ 357.016 -16.5161

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/129741/ft1_filtered_4FGL_J2348.0-1630_daily_bin1280.fits scfile=/scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits outfile=/scratch/kocevski/129741/cmap_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.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.016 yref=-16.5161 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/129741/ft1_filtered_4FGL_J2348.0-1630_daily_bin1280.fits scfile=/scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits outfile=/scratch/kocevski/129741/cmap_HighResolution_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.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.016 yref=-16.5161 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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/129741/ft1_filtered_4FGL_J2348.0-1630_daily_bin1280.fits evtable="EVENTS" scfile=/scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/129741/Model_4FGL_J2348.0-1630_daily_bin1280.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/129741/ft1_filtered_4FGL_J2348.0-1630_daily_bin1280.fits.....................!
real 41.45
user 40.17
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/129741/ft1_filtered_4FGL_J2348.0-1630_daily_bin1280.fits', '/scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits', expMap='/scratch/kocevski/129741/expmap_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.fits', expCube='/scratch/kocevski/129741/ltcube_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/129741/Model_4FGL_J2348.0-1630_daily_bin1280.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2348.0-1630'

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  6.070e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  2.290e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
491         beta:  5.720e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
492           Eb:  8.260e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/129741/ft1_filtered_4FGL_J2348.0-1630_daily_bin1280.fits
Spacecraft file(s): /scratch/kocevski/129741/ft2_4FGL_J2348.0-1630_daily_bin1280.fits
Exposure map: /scratch/kocevski/129741/expmap_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.fits
Exposure cube: /scratch/kocevski/129741/ltcube_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/129741/Model_4FGL_J2348.0-1630_daily_bin1280.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) = 4463.24811918

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19589E-01   1.0000         .10000E-03   10000.    
     2 'norm      '    .10165E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    52.854       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.9677       1.0000         .10000E-03   10000.    
     7 'Prefactor '    39.834       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15551E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.1163       1.0000         .10000E-03   10000.    
    11 'norm      '    1.7753       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.762       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    159.75       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    34.895       1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.6785       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.5190       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .57930       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4463.238     FROM MIGRAD    STATUS=CONVERGED    464 CALLS     2274 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10013E-03    7.3577       -.12928E-06** at limit **
   2  norm          .10000E-03    56.623        .85156E-06** at limit **
   3  Prefactor     52.846        52.947       -.13019E-06    .70405E-05
   4  Prefactor     .10000E-03    7.0781        .71793E-07** at limit **
   5  norm          .10000E-03    4.3618        .47383E-07** at limit **
   6  Prefactor     4.9670        22.489        .69082E-05    .22655E-04
   7  Prefactor     39.734        74.311       -.45884E-06   -.38719E-04
   8  Prefactor     .10000E-03    64.953       -.21144E-06** at limit **
   9  Prefactor     .10000E-03    7.2206       -.28834E-05** at limit **
  10  norm          5.1159        6.1500       -.98216E-07    .24420E-04
  11  norm          1.7754        3.9077        .54760E-06    .30516E-04
  12  Prefactor     .10000E-03    77.577       -.14109E-06** at limit **
  13  Prefactor     16.757        23.701       -.66269E-06   -.14154E-04
  14  Prefactor     .10000E-03    25.987        .11190E-06** at limit **
  15  Prefactor     159.72        104.42       -.11350E-06   -.24822E-04
  16  Prefactor     .10000E-03    100.15        .75427E-06** at limit **
  17  norm          .10000E-03    .34658        .15669E-06** at limit **
  18  norm          34.892        8.9967       -.11800E-06   -.20312E-03
  19  Prefactor     6.6721        9.8085        .22955E-07    .31143E-04
  20  Normalizat    1.5198        .24122        .19947E-05   -.11570E-03
  21  Prefactor     .57865        .21611       -.35717E-05    .27358E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100134
  norm       = 0.0001
  Prefactor  = 52.8455
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 4.96703
  Prefactor  = 39.7338
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.11592
  norm       = 1.77545
  Prefactor  = 0.0001
  Prefactor  = 16.7566
  Prefactor  = 0.0001
  Prefactor  = 159.719
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 34.892
  Prefactor  = 6.67207
  Normalizat = 1.51976
  Prefactor  = 0.578655
 **********
 **   18 **HESSE 
 **********

 FCN=   4463.238     FROM HESSE     STATUS=OK           321 CALLS     2595 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10013E-03    13.828        .57236E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    56.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     52.846        52.998        .55168E-04   -1.4253    
   4  Prefactor     .10000E-03    7.0809        .17360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    4.3660        .13627E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.9670        22.781        .90219E-03   -1.5262    
   7  Prefactor     39.734        74.292        .63509E-04   -1.4446    
   8  Prefactor     .10000E-03    65.253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.2453        .17526E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.1159        6.1449        .17564E-03   -1.5256    
  11  norm          1.7754        3.9016        .18822E-03   -1.5441    
  12  Prefactor     .10000E-03    77.643        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.757        23.699        .97825E-04   -1.4889    
  14  Prefactor     .10000E-03    26.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     159.72        104.44        .15952E-03   -1.3174    
  16  Prefactor     .10000E-03    100.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .39395        .74227E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          34.892        8.7689        .67840E-04   -1.4526    
  19  Prefactor     6.6721        9.8206        .15527E-03   -1.5191    
  20  Normalizat    1.5198        .27613        .23006E-03   -.77225    
  21  Prefactor     .57865        .24248        .32597E-03   -1.0849    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08772e-10
Minuit parameter uncertainties:
  1  0.0027261
  2  0.000223606
  3  53.0451
  4  1.16216e-06
  5  9.81412e-07
  6  21.2878
  7  74.4661
  8  0.000215985
  9  2.02699e-05
  10  6.14563
  11  3.90216
  12  0.00019777
  13  23.7124
  14  1.33296e-05
  15  104.566
  16  0.000474512
  17  1.21566e-06
  18  8.76922
  19  9.82299
  20  0.276408
  21  0.242922
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  3.489e+01  8.769e+00  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  2.290e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
491         beta:  5.720e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
492           Eb:  8.260e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  5.787e-01  2.429e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.520e+00  2.764e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 54.99
Ra Dec: 357.016 -16.516
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 2.98e-07 +/- 7.49e-08
Energy Flux (Fixed Index): 1.11e-04 +/- 2.79e-05

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) = 4463.15894609
delta logL = 0.0792286843061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4463.13213266
delta logL = 0.106042112257

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    36.811       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1781       1.0000          .0000       5.0000    
     3 'Normalizat'    1.5454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56424       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4463.132     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      215 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          36.814        14.058        .16514E-02   -.16082E-04
   2  alpha         2.1786        .32951        .12771        .51658E-04
   3  Normalizat    1.5455        .23227        .51723E-01   -.21454E-03
   4  Prefactor     .56398        .20978        .74525E-01   -.12904E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 36.8139
  alpha      = 2.17858
  Normalizat = 1.54552
  Prefactor  = 0.563979
 **********
 **   18 **HESSE 
 **********

 FCN=   4463.132     FROM HESSE     STATUS=OK            31 CALLS      246 TOTAL
                     EDM=   .80E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          36.814        10.073        .66056E-04   -1.4494    
   2  alpha         2.1786        .24183        .55158E-02   -.12893    
   3  Normalizat    1.5455        .27041        .22867E-03   -.76507    
   4  Prefactor     .56398        .24319        .32997E-03   -1.0912    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.97343e-11
Minuit parameter uncertainties:
  1  10.074
  2  0.24221
  3  0.270663
  4  0.243642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/129741': 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) = 4463.13212903
delta logL = 0.10604574638

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  3.681e+01  1.007e+01  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  2.179e+00  2.422e-01  0.000e+00  5.000e+00 ( 1.000e+00)
491         beta:  5.720e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
492           Eb:  8.260e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  5.640e-01  2.436e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.546e+00  2.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 55.00
Ra Dec: 357.016 -16.516
Photon Index (Free Index): 2.18 +/- 0.24
Photon Flux (Free Index): 2.73e-07 +/- 8.79e-08
Energy Flux (Free Index): 1.19e-04 +/- 3.69e-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/129741/cmap_HighResolution_571104001_571363201_4FGL_J2348.0-1630_daily_bin1280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.98e-07', energy_flux2='1.19e-04', photon_flux_error='7.49e-08', dlogl='1.06e-01', energy_flux='1.11e-04', photon_flux2='2.73e-07', job_status='DONE', time_completed='2021-09-30 05:51:27.128446', photon_index_error2='0.24', photon_index2='2.18', ts='54.99', fit_tolerance='1e-08', GAL='0.58', photon_index_error='0.00', energy_flux_error2='3.69e-05', EG='1.52', time_epoch_completed='1633006287.13', return_code='0', job_id='129741', GAL2='0.56', EG2='1.55', return_code2='0', energy_flux_error='2.79e-05', photon_flux_error2='8.79e-08', ts2='55.00', photon_index='2.29' WHERE bin_id='1280' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 05:51:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 129741: <4FGL_J2348.0-1630_daily_bin1280> in cluster <slac> Done

Job <4FGL_J2348.0-1630_daily_bin1280> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 05:35:20 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 05:35:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 05:35:21 2021
Terminated at Thu Sep 30 05:51:27 2021
Results reported at Thu Sep 30 05:51:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin1280 357.016 -16.5161 571104001 571363201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2348.0-1630 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   482.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             204.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   966 sec.
    Turnaround time :                            967 sec.

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

