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


Performing analysis on: 4FGL_J2348.0-1630_daily_bin1410
RA = 357.016, Dec = -16.5161
tmin = 604800001, tmax = 605059201
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='129934', job_status='RUN', time_executed='2021-09-30 05:38:54.110311', time_epoch_executed='1633005534.11' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='1410'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/129934

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/129934/ft1_4FGL_J2348.0-1630_daily_bin1410.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/129934/ft1_4FGL_J2348.0-1630_daily_bin1410.fits outfile=/scratch/kocevski/129934/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1410.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=604800001.0 tmax=605059201.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 5.09
user 4.82
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.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/129934/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1410.fits evtable="EVENTS" outfile="/scratch/kocevski/129934/ft1_filtered_4FGL_J2348.0-1630_daily_bin1410.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/129934/ft1_filtered_4FGL_J2348.0-1630_daily_bin1410.fits" evtable="EVENTS" scfile=/scratch/kocevski/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.fits sctable="SC_DATA" outfile=/scratch/kocevski/129934/ltcube_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.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/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.fits
.....................!
real 11.88
user 11.49
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/129934/ft1_filtered_4FGL_J2348.0-1630_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.fits sctable="SC_DATA" expcube=/scratch/kocevski/129934/ltcube_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.fits outfile=/scratch/kocevski/129934/expmap_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.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/129934/ltcube_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.fits
.....................!
real 190.67
user 185.48
sys 4.77

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/129934/ft1_filtered_4FGL_J2348.0-1630_daily_bin1410.fits scfile=/scratch/kocevski/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.fits outfile=/scratch/kocevski/129934/cmap_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.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/129934/ft1_filtered_4FGL_J2348.0-1630_daily_bin1410.fits scfile=/scratch/kocevski/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.fits outfile=/scratch/kocevski/129934/cmap_HighResolution_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/129934/ft1_filtered_4FGL_J2348.0-1630_daily_bin1410.fits evtable="EVENTS" scfile=/scratch/kocevski/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/129934/Model_4FGL_J2348.0-1630_daily_bin1410.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/129934/ft1_filtered_4FGL_J2348.0-1630_daily_bin1410.fits.....................!
real 36.70
user 35.37
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/129934/ft1_filtered_4FGL_J2348.0-1630_daily_bin1410.fits', '/scratch/kocevski/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.fits', expMap='/scratch/kocevski/129934/expmap_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.fits', expCube='/scratch/kocevski/129934/ltcube_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/129934/Model_4FGL_J2348.0-1630_daily_bin1410.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/129934/ft1_filtered_4FGL_J2348.0-1630_daily_bin1410.fits
Spacecraft file(s): /scratch/kocevski/129934/ft2_4FGL_J2348.0-1630_daily_bin1410.fits
Exposure map: /scratch/kocevski/129934/expmap_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.fits
Exposure cube: /scratch/kocevski/129934/ltcube_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/129934/Model_4FGL_J2348.0-1630_daily_bin1410.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) = 3623.28937449

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .29745       1.0000         .10000E-03   10000.    
     4 'Prefactor '    51.188       1.0000         .10000E-03   10000.    
     5 'norm      '    .88401       1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.849       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.009       1.0000         .10000E-03   10000.    
    10 'norm      '    .74661E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    1.4782       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10196E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .15653E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10095E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.0053       1.0000         .10000E-03   10000.    
    18 'norm      '    .10233E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    6.2167       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.2297       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1176       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3623.286     FROM MIGRAD    STATUS=CONVERGED    134 CALLS     2186 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.9591        .71483E-06** at limit **
   2  norm          .10000E-03    14.896        .57836E-05** at limit **
   3  Prefactor     .60956        1470.9       -.18117E-04   -.60743E-03
   4  Prefactor     51.196        3.6319       -.16264E-06    .29847E-02
   5  norm          .91168        46.552       -.79893E-05    .31837E-02
   6  Prefactor     15.845        2.6463        .65384E-07    .22472E-02
   7  Prefactor     .10000E-03    22.468        .21387E-05** at limit **
   8  Prefactor     .10000E-03    12.472        .32277E-05** at limit **
   9  Prefactor     15.050        12.357        .40790E-05    .45045E-02
  10  norm          .22123E-02    2294.6        .23849E-04** at limit **
  11  norm          1.4777        3.5867       -.54753E-08    .49668E-04
  12  Prefactor     .10000E-03    34.120        .10621E-04** at limit **
  13  Prefactor     .10000E-03    31.753       -.50155E-05** at limit **
  14  Prefactor     .10000E-03    13.986       -.42519E-05** at limit **
  15  Prefactor     .16828E-03    507.56        .62819E-05** at limit **
  16  Prefactor     .10029E-03    97.700        .18010E-04** at limit **
  17  norm          2.0056        1.0558       -.74505E-06   -.23399E-03
  18  norm          .10000E-03    10.467       -.32619E-05** at limit **
  19  Prefactor     6.2123        1.3894       -.41905E-06   -.10285E-02
  20  Normalizat    1.2298        .31024       -.18851E-05    .83676E-04
  21  Prefactor     1.1176        .30100        .74091E-05    .11336E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.609564
  Prefactor  = 51.1962
  norm       = 0.911682
  Prefactor  = 15.8455
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0503
  norm       = 0.00221229
  norm       = 1.47774
  Prefactor  = 0.000100001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.000168278
  Prefactor  = 0.000100285
  norm       = 2.00559
  norm       = 0.0001
  Prefactor  = 6.21226
  Normalizat = 1.22984
  Prefactor  = 1.11761
 **********
 **   18 **HESSE 
 **********

 FCN=   3623.286     FROM HESSE     STATUS=OK           367 CALLS     2553 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.9331        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    14.918        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .60956        95.404        .16004       -1.5552    
   4  Prefactor     51.196        44.767        .14014E-02   -1.4276    
   5  norm          .91168        22.044        .12749       -1.5517    
   6  Prefactor     15.845        21.791        .25152E-02   -1.4912    
   7  Prefactor     .10000E-03    22.549        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    12.476        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.050        13.221        .25846E-02   -1.4932    
  10  norm          .22123E-02    10.968        .93897E-01   -1.5717    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.4777        3.6240        .88282E-02   -1.5465    
  12  Prefactor     .10000E-03    34.292        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.739        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.003        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .16828E-03    603.34        .10218E-01   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10029E-03    98.563        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.0056        1.0608        .73102E-03   -1.5425    
  18  norm          .10000E-03    10.332        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.2123        13.106        .40251E-02   -1.5209    
  20  Normalizat    1.2298        .26144        .60637E-01   -.85686    
  21  Prefactor     1.1176        .24929        .59862E-01   -.88906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68151e-07
Minuit parameter uncertainties:
  1  5.5986e-06
  2  0.00015974
  3  15.2755
  4  44.7967
  5  8.96922
  6  21.8018
  7  0.000146055
  8  2.91369e-05
  9  13.2231
  10  0.304477
  11  3.62456
  12  0.000312594
  13  0.000738765
  14  0.000114813
  15  0.410127
  16  0.0106215
  17  1.06086
  18  1.01979e-05
  19  13.1122
  20  0.26172
  21  0.249548
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.000e-04  1.020e-05  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:  1.118e+00  2.495e-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.230e+00  2.617e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.016 -16.516
Photon Flux Upper Limit: 1.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 5.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/129934/likelihoodResults_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.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) = 3623.28688552
delta logL = -0.000455484189843

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3623.28642929
delta logL = 7.48047568777e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10311E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3582       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2299       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1176       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=   3623.286     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      216 TOTAL
                     EDM=   .33E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    805.66        .49743E-01** at limit **
   2  alpha         2.4417        3.7583        .41236       -.34424E-04
   3  Normalizat    1.2298        .13394        .60637E-01    .70690E-04
   4  Prefactor     1.1176        .10645        .59862E-01    .39640E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100039
  alpha      = 2.44167
  Normalizat = 1.22984
  Prefactor  = 1.11761
 **********
 **   18 **HESSE 
 **********

 FCN=   3623.286     FROM HESSE     STATUS=OK            33 CALLS      249 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    19.298        .31288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.4417        3.5640        .16494       -.23333E-01
   3  Normalizat    1.2298        .30508        .26818E-03   -.85686    
   4  Prefactor     1.1176        .29007        .26474E-03   -.88906    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56414e-09
Minuit parameter uncertainties:
  1  0.00173051
  2  2.60216
  3  0.30552
  4  0.290486
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/129934': 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) = 3623.28642803
delta logL = 2.00366548597e-06

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.000e-04  1.731e-03  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  2.442e+00  2.602e+00  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:  1.118e+00  2.905e-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.230e+00  3.055e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.016 -16.516

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/129934/cmap_HighResolution_604800001_605059201_4FGL_J2348.0-1630_daily_bin1410.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.88e-05', job_status='DONE', photon_flux_upper_limit='1.58e-07', time_completed='2021-09-30 05:51:26.227679', job_id='129934', GAL2='1.12', fit_tolerance='1e-08', EG2='1.23', EG='1.23', time_epoch_completed='1633006286.23', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='2.00e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1410' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 05:51:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0037>
Subject: Job 129934: <4FGL_J2348.0-1630_daily_bin1410> in cluster <slac> Done

Job <4FGL_J2348.0-1630_daily_bin1410> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 05:35:36 2021
Job was executed on host(s) <bullet0037>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 05:35:37 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:37 2021
Terminated at Thu Sep 30 05:51:26 2021
Results reported at Thu Sep 30 05:51:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin1410 357.016 -16.5161 604800001 605059201 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.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             193.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            950 sec.

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

