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


Performing analysis on: 4FGL_J2348.0-1630_daily_bin1648
RA = 357.016, Dec = -16.5161
tmin = 666489601, tmax = 666748801
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='45134', job_status='RUN', time_executed='2022-02-17 02:39:15.474430', time_epoch_executed='1645094355.47' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='1648'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/45134

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/45134/ft1_4FGL_J2348.0-1630_daily_bin1648.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/45134/ft2_4FGL_J2348.0-1630_daily_bin1648.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/45134/ft1_4FGL_J2348.0-1630_daily_bin1648.fits outfile=/scratch/kocevski/45134/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1648.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=666489601.0 tmax=666748801.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.16
user 2.97
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/45134/ft1_filtered_4FGL_J2348.0-1630_daily_bin1648.fits" evtable="EVENTS" scfile=/scratch/kocevski/45134/ft2_4FGL_J2348.0-1630_daily_bin1648.fits sctable="SC_DATA" outfile=/scratch/kocevski/45134/ltcube_666489601_666748801_4FGL_J2348.0-1630_daily_bin1648.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/45134/ft2_4FGL_J2348.0-1630_daily_bin1648.fits
.....................!
real 13.20
user 12.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/45134/ft1_filtered_4FGL_J2348.0-1630_daily_bin1648.fits evtable="EVENTS" scfile=/scratch/kocevski/45134/ft2_4FGL_J2348.0-1630_daily_bin1648.fits sctable="SC_DATA" expcube=/scratch/kocevski/45134/ltcube_666489601_666748801_4FGL_J2348.0-1630_daily_bin1648.fits outfile=/scratch/kocevski/45134/expmap_666489601_666748801_4FGL_J2348.0-1630_daily_bin1648.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/45134/ltcube_666489601_666748801_4FGL_J2348.0-1630_daily_bin1648.fits
.....................!
real 190.52
user 185.10
sys 4.95

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/45134/ft1_filtered_4FGL_J2348.0-1630_daily_bin1648.fits scfile=/scratch/kocevski/45134/ft2_4FGL_J2348.0-1630_daily_bin1648.fits outfile=/scratch/kocevski/45134/cmap_666489601_666748801_4FGL_J2348.0-1630_daily_bin1648.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/45134/ft1_filtered_4FGL_J2348.0-1630_daily_bin1648.fits scfile=/scratch/kocevski/45134/ft2_4FGL_J2348.0-1630_daily_bin1648.fits outfile=/scratch/kocevski/45134/cmap_HighResolution_666489601_666748801_4FGL_J2348.0-1630_daily_bin1648.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/45134/ft1_filtered_4FGL_J2348.0-1630_daily_bin1648.fits evtable="EVENTS" scfile=/scratch/kocevski/45134/ft2_4FGL_J2348.0-1630_daily_bin1648.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/45134/Model_4FGL_J2348.0-1630_daily_bin1648.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/45134/ft1_filtered_4FGL_J2348.0-1630_daily_bin1648.fits.......................!
real 22.26
user 21.07
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    125.64       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10081E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10311E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13600E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10026E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .15794E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    179.62       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .40667E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.6386       1.0000         .10000E-03   10000.    
    15 'Prefactor '    20.752       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10707E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    24.696       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10462E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .39079       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2968       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=   1396.458     FROM MIGRAD    STATUS=CONVERGED    452 CALLS     2200 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.7551        .14991E-06** at limit **
   2  norm          125.79        114.47        .55261E-06    .57171E-04
   3  Prefactor     .10000E-03    34.596        .73834E-07** at limit **
   4  Prefactor     .10000E-03    15.371        .98582E-07** at limit **
   5  norm          .10000E-03    20.899        .51692E-06** at limit **
   6  Prefactor     .10001E-03    351.90        .20693E-05** at limit **
   7  Prefactor     .10000E-03    75.003        .61210E-06** at limit **
   8  Prefactor     .10000E-03    110.68        .18321E-05** at limit **
   9  Prefactor     .10000E-03    18.137        .76658E-06** at limit **
  10  norm          .10000E-03    24.580        .17329E-05** at limit **
  11  norm          .10000E-03    39.357       -.23752E-04** at limit **
  12  Prefactor     180.12        310.88        .23360E-05    .51242E-04
  13  Prefactor     .10001E-03    103.47        .10898E-04** at limit **
  14  Prefactor     2.1494        6121.7       -.25523E-03    .11305E-04
  15  Prefactor     20.825        137.80        .20552E-06    .10673E-04
  16  Prefactor     .10001E-03    520.88       -.12747E-04** at limit **
  17  norm          .10000E-03    .89316        .93502E-06** at limit **
  18  norm          24.697        14.171       -.54815E-06   -.28967E-03
  19  Prefactor     .10000E-03    21.430        .90942E-06** at limit **
  20  Normalizat    .39122        .37072       -.39333E-05   -.14552E-04
  21  Prefactor     1.2964        .37152        .14101E-05   -.86803E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 125.788
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  Prefactor  = 180.121
  Prefactor  = 0.000100011
  Prefactor  = 2.14944
  Prefactor  = 20.825
  Prefactor  = 0.000100006
  norm       = 0.0001
  norm       = 24.6965
  Prefactor  = 0.0001
  Normalizat = 0.391216
  Prefactor  = 1.29645
 **********
 **   18 **HESSE 
 **********

 FCN=   1396.458     FROM HESSE     STATUS=OK           303 CALLS     2503 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.7663        .10164E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          125.79        114.87        .17956E-03   -1.3460    
   3  Prefactor     .10000E-03    34.605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.380        .14313E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    21.120        .16690E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    352.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    75.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    110.70        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.167        .15549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    24.766        .18101E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    39.332        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     180.12        312.08        .15059E-03   -1.3016    
  13  Prefactor     .10001E-03    104.18        .21256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     2.1494        6153.4        .25101E-02   -1.5415    
  15  Prefactor     20.825        138.15        .87923E-04   -1.4795    
  16  Prefactor     .10001E-03    522.42        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .91632        .68674E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          24.697        14.096        .80607E-04   -1.4714    
  19  Prefactor     .10000E-03    21.787        .16881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .39122        .40404        .34909E-03   -1.1776    
  21  Prefactor     1.2964        .41057        .19863E-03   -.83413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71627e-10
Minuit parameter uncertainties:
  1  1.05366e-05
  2  115.077
  3  1.4627e-05
  4  1.21109e-05
  5  8.05404e-05
  6  0.00340153
  7  0.000189149
  8  0.00014037
  9  5.68428e-05
  10  0.000171875
  11  0.000380537
  12  315.016
  13  0.00218971
  14  151.252
  15  107.635
  16  0.00368338
  17  2.10377e-05
  18  14.0979
  19  6.93198e-05
  20  0.407106
  21  0.411602
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  2.470e+01  1.410e+01  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.296e+00  4.116e-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:  3.912e-01  4.071e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.73
Ra Dec: 357.016 -16.516
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 2.11e-07 +/- 1.20e-07
Energy Flux (Fixed Index): 7.87e-05 +/- 4.49e-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) = 1396.27663618
delta logL = 0.181536805788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1396.27190836
delta logL = 0.186264625477

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.803       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6260       1.0000          .0000       5.0000    
     3 'Normalizat'    .34864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3240       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=   1396.272     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      226 TOTAL
                     EDM=   .71E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.803        250.17        .22501E-02    .62812E-03
   2  alpha         2.6260        3.6057        .13033        .54046E-04
   3  Normalizat    .34859        .34020        .83114E-01    .17999E-04
   4  Prefactor     1.3240        .30705        .32205E-01   -.10148E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.8028
  alpha      = 2.62601
  Normalizat = 0.348587
  Prefactor  = 1.32401
 **********
 **   18 **HESSE 
 **********

 FCN=   1396.272     FROM HESSE     STATUS=OK            29 CALLS      255 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.803        14.143        .82216E-04   -1.4818    
   2  alpha         2.6260        .55851        .56469E-03    .50424E-01
   3  Normalizat    .34859        .40641        .36821E-03   -1.2005    
   4  Prefactor     1.3240        .40426        .19652E-03   -.82596    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28327e-10
Minuit parameter uncertainties:
  1  14.1458
  2  0.563272
  3  0.409916
  4  0.405223
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/45134': 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) = 1396.27190835
delta logL = 0.186264636896

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.980e+01  1.415e+01  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  2.626e+00  5.633e-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:  1.324e+00  4.052e-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:  3.486e-01  4.099e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.20
Ra Dec: 357.016 -16.516
Photon Index (Free Index): 2.63 +/- 0.56
Photon Flux (Free Index): 2.69e-07 +/- 1.66e-07
Energy Flux (Free Index): 7.08e-05 +/- 3.79e-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/45134/cmap_HighResolution_666489601_666748801_4FGL_J2348.0-1630_daily_bin1648.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.11e-07', energy_flux2='7.08e-05', photon_flux_error='1.20e-07', dlogl='1.86e-01', energy_flux='7.87e-05', photon_flux2='2.69e-07', job_status='DONE', time_completed='2022-02-17 02:45:16.277125', photon_index_error2='0.56', photon_index2='2.63', ts='10.73', fit_tolerance='1e-08', GAL='1.30', photon_index_error='0.00', energy_flux_error2='3.79e-05', EG='0.39', time_epoch_completed='1645094716.28', return_code='0', job_id='45134', GAL2='1.32', EG2='0.35', return_code2='0', energy_flux_error='4.49e-05', photon_flux_error2='1.66e-07', ts2='11.20', photon_index='2.29' WHERE bin_id='1648' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Feb 17 02:45:16 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 45134: <4FGL_J2348.0-1630_daily_bin1648> in cluster <slac> Done

Job <4FGL_J2348.0-1630_daily_bin1648> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Feb 17 02:30:35 2022
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Feb 17 02:37:49 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Feb 17 02:37:49 2022
Terminated at Thu Feb 17 02:45:17 2022
Results reported at Thu Feb 17 02:45:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin1648 357.016 -16.5161 666489601 666748801 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 :                                   363.18 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             346.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   447 sec.
    Turnaround time :                            882 sec.

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

