/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 185 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 = 7436
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2348.0-1630_daily_bin235
RA = 357.016, Dec = -16.5161
tmin = 300240001, tmax = 300499201
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='124286', job_status='RUN', time_executed='2021-09-30 05:19:00.373958', time_epoch_executed='1633004340.37' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='235'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/124286

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/124286/ft1_4FGL_J2348.0-1630_daily_bin235.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/124286/ft2_4FGL_J2348.0-1630_daily_bin235.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/124286/ft1_4FGL_J2348.0-1630_daily_bin235.fits outfile=/scratch/kocevski/124286/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin235.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=300240001.0 tmax=300499201.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.41
user 3.21
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/124286/ft2_4FGL_J2348.0-1630_daily_bin235.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/124286/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin235.fits evtable="EVENTS" outfile="/scratch/kocevski/124286/ft1_filtered_4FGL_J2348.0-1630_daily_bin235.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.35
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/124286/ft1_filtered_4FGL_J2348.0-1630_daily_bin235.fits" evtable="EVENTS" scfile=/scratch/kocevski/124286/ft2_4FGL_J2348.0-1630_daily_bin235.fits sctable="SC_DATA" outfile=/scratch/kocevski/124286/ltcube_300240001_300499201_4FGL_J2348.0-1630_daily_bin235.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/124286/ft2_4FGL_J2348.0-1630_daily_bin235.fits
.....................!
real 15.07
user 14.74
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/124286/ft1_filtered_4FGL_J2348.0-1630_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/124286/ft2_4FGL_J2348.0-1630_daily_bin235.fits sctable="SC_DATA" expcube=/scratch/kocevski/124286/ltcube_300240001_300499201_4FGL_J2348.0-1630_daily_bin235.fits outfile=/scratch/kocevski/124286/expmap_300240001_300499201_4FGL_J2348.0-1630_daily_bin235.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/124286/ltcube_300240001_300499201_4FGL_J2348.0-1630_daily_bin235.fits
.....................!
real 189.94
user 185.40
sys 4.20

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/124286/ft1_filtered_4FGL_J2348.0-1630_daily_bin235.fits scfile=/scratch/kocevski/124286/ft2_4FGL_J2348.0-1630_daily_bin235.fits outfile=/scratch/kocevski/124286/cmap_300240001_300499201_4FGL_J2348.0-1630_daily_bin235.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.36
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/124286/ft1_filtered_4FGL_J2348.0-1630_daily_bin235.fits scfile=/scratch/kocevski/124286/ft2_4FGL_J2348.0-1630_daily_bin235.fits outfile=/scratch/kocevski/124286/cmap_HighResolution_300240001_300499201_4FGL_J2348.0-1630_daily_bin235.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.59
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/124286/ft1_filtered_4FGL_J2348.0-1630_daily_bin235.fits evtable="EVENTS" scfile=/scratch/kocevski/124286/ft2_4FGL_J2348.0-1630_daily_bin235.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/124286/Model_4FGL_J2348.0-1630_daily_bin235.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/124286/ft1_filtered_4FGL_J2348.0-1630_daily_bin235.fits.....................!
real 51.79
user 50.55
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.850       1.0000         .10000E-03   10000.    
     2 'norm      '    8.5636       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .92204E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10260E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11751E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10800E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.9051       1.0000         .10000E-03   10000.    
    10 'norm      '    .10292E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2555       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10412E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10136E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.094       1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.593       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .48920       1.0000         .10000E-03   10000.    
    18 'norm      '    2.6395       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11278E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0493       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .70424       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6560.158     FROM MIGRAD    STATUS=CONVERGED    774 CALLS     2529 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.846        7.4788        .12163E-03    .68418E-04
   2  norm          8.5645        11.763        .13698E-03    .58096E-05
   3  Prefactor     .10000E-03    36.305        .14431    ** at limit **
   4  Prefactor     .10000E-03    31.187        .36285E-03** at limit **
   5  norm          .10000E-03    5.8658        .18142E-02** at limit **
   6  Prefactor     .10000E-03    6.0233        .36285E-03** at limit **
   7  Prefactor     .10000E-03    15.039        .18142E-02** at limit **
   8  Prefactor     .10000E-03    16.259        .18142E-02** at limit **
   9  Prefactor     4.8884        6.4316        .18161E-03    .17853E-03
  10  norm          .10000E-03    2.9473        .13540E-02** at limit **
  11  norm          1.2580        2.1620        .14718E-03    .65269E-04
  12  Prefactor     .10000E-03    22.715        .18142E-02** at limit **
  13  Prefactor     .10000E-03    3.0557        .13820E-02** at limit **
  14  Prefactor     15.081        17.457        .10309E-03    .97705E-04
  15  Prefactor     27.608        44.633        .76267E-04   -.37266E-04
  16  Prefactor     .10000E-03    37.357        .18142E-02** at limit **
  17  norm          .48910        .34229        .36507E-04    .53563E-04
  18  norm          2.6393        2.6505        .11989E-03    .67423E-04
  19  Prefactor     .10000E-03    3.6056        .29499E-03** at limit **
  20  Normalizat    1.0492        .16160        .20065E-03    .24858E-03
  21  Prefactor     .70422        .15967        .23871E-03    .17345E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.846
  norm       = 8.56453
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.88839
  norm       = 0.0001
  norm       = 1.25801
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.0809
  Prefactor  = 27.6083
  Prefactor  = 0.0001
  norm       = 0.4891
  norm       = 2.63929
  Prefactor  = 0.0001
  Normalizat = 1.04918
  Prefactor  = 0.704224
 **********
 **   18 **HESSE 
 **********

 FCN=   6560.158     FROM HESSE     STATUS=OK           305 CALLS     2834 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.846        7.4788        .48653E-05   -1.5049    
   2  norm          8.5645        11.763        .54793E-05   -1.5123    
   3  Prefactor     .10000E-03    35.905        .14557       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    31.188        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    5.8669        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.0236        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    15.040        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.266        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.8884        6.4311        .72644E-05   -1.5266    
  10  norm          .10000E-03    2.9475        .27081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2580        2.1617        .58874E-05   -1.5484    
  12  Prefactor     .10000E-03    22.720        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.0558        .27641E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     15.081        17.456        .41237E-05   -1.4931    
  15  Prefactor     27.608        44.647        .30507E-05   -1.4657    
  16  Prefactor     .10000E-03    37.359        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .48910        .34229        .14603E-05   -1.5568    
  18  norm          2.6393        2.6504        .47955E-05   -1.5383    
  19  Prefactor     .10000E-03    3.6058        .58998E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0492        .16174        .40131E-04   -.91401    
  21  Prefactor     .70422        .15981        .95484E-05   -1.0336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.28686e-10
Minuit parameter uncertainties:
  1  7.47944
  2  11.7658
  3  0.00032899
  4  0.000106986
  5  1.68594e-05
  6  6.47593e-06
  7  1.0815e-06
  8  3.19608e-05
  9  6.432
  10  3.20872e-05
  11  2.16179
  12  5.14572e-05
  13  1.28768e-06
  14  17.4621
  15  44.7014
  16  3.02502e-06
  17  0.342288
  18  2.65051
  19  2.84466e-06
  20  0.161813
  21  0.159917
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  2.639e+00  2.651e+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:  7.042e-01  1.599e-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.049e+00  1.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.52
Ra Dec: 357.016 -16.516
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 2.26e-08 +/- 2.26e-08
Energy Flux (Fixed Index): 8.41e-06 +/- 8.45e-06

TS (Fixed Index): 2.52
Ra Dec: 357.016 -16.516
Photon Flux Upper Limit: 7.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.80e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/124286/likelihoodResults_300240001_300499201_4FGL_J2348.0-1630_daily_bin235.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) = 6560.102831
delta logL = 0.0555281773568

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6560.09247552
delta logL = 0.0658836649964

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3066       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6838       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0338       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71331       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=   6560.092     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      204 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3049        36.672        .67543E-02    .37072E-03
   2  alpha         2.6842        3.7785        .41293        .38702E-04
   3  Normalizat    1.0338        .45321E-01    .41803E-01   -.93117E-04
   4  Prefactor     .71332        .38643E-01    .42578E-01   -.63289E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.30491
  alpha      = 2.68416
  Normalizat = 1.03384
  Prefactor  = 0.713324
 **********
 **   18 **HESSE 
 **********

 FCN=   6560.092     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .59E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3049        2.7703        .99171E-04   -1.5404    
   2  alpha         2.6842        1.1472        .16035E-01    .73731E-01
   3  Normalizat    1.0338        .16807        .20191E-03   -.91905    
   4  Prefactor     .71332        .16221        .23730E-03   -1.0301    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.87648e-09
Minuit parameter uncertainties:
  1  2.77047
  2  1.1921
  3  0.168152
  4  0.162322
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/124286': 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) = 6560.09247517
delta logL = 0.0658840123351

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  2.305e+00  2.770e+00  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  2.684e+00  1.192e+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:  7.133e-01  1.623e-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.034e+00  1.682e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.67
Ra Dec: 357.016 -16.516
Photon Index (Free Index): 2.68 +/- 1.19
Photon Flux (Free Index): 3.41e-08 +/- 4.23e-08
Energy Flux (Free Index): 8.58e-06 +/- 7.25e-06

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/124286/cmap_HighResolution_300240001_300499201_4FGL_J2348.0-1630_daily_bin235.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.80e-05', comment='SUCCESS', photon_flux='2.26e-08', energy_flux2='8.58e-06', photon_flux_error='2.26e-08', dlogl='6.59e-02', energy_flux='8.41e-06', photon_flux2='3.41e-08', job_status='DONE', time_completed='2021-09-30 05:29:34.540620', photon_index_error2='1.19', photon_index2='2.68', ts='2.52', fit_tolerance='1e-08', GAL='0.70', photon_index_error='0.00', photon_flux_upper_limit='7.50e-08', energy_flux_error2='7.25e-06', EG='1.05', time_epoch_completed='1633004974.54', return_code='0', job_id='124286', GAL2='0.71', EG2='1.03', return_code2='0', energy_flux_error='8.45e-06', photon_flux_error2='4.23e-08', ts2='2.67', photon_index='2.29' WHERE bin_id='235' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 05:29:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0009>
Subject: Job 124286: <4FGL_J2348.0-1630_daily_bin235> in cluster <slac> Done

Job <4FGL_J2348.0-1630_daily_bin235> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 05:15:45 2021
Job was executed on host(s) <bullet0009>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 05:15:47 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:15:47 2021
Terminated at Thu Sep 30 05:29:35 2021
Results reported at Thu Sep 30 05:29:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin235 357.016 -16.5161 300240001 300499201 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 :                                   631.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             275.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            830 sec.

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

