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


Performing analysis on: 4FGL_J2348.0-1630_daily_bin1424
RA = 357.016, Dec = -16.5161
tmin = 608428801, tmax = 608688001
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='129954', job_status='RUN', time_executed='2021-09-30 05:36:01.079442', time_epoch_executed='1633005361.08' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='1424'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/129954

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/129954/ft1_4FGL_J2348.0-1630_daily_bin1424.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/129954/ft2_4FGL_J2348.0-1630_daily_bin1424.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/129954/ft1_4FGL_J2348.0-1630_daily_bin1424.fits outfile=/scratch/kocevski/129954/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1424.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=608428801.0 tmax=608688001.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 4.95
user 4.71
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/129954/ft1_filtered_4FGL_J2348.0-1630_daily_bin1424.fits" evtable="EVENTS" scfile=/scratch/kocevski/129954/ft2_4FGL_J2348.0-1630_daily_bin1424.fits sctable="SC_DATA" outfile=/scratch/kocevski/129954/ltcube_608428801_608688001_4FGL_J2348.0-1630_daily_bin1424.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/129954/ft2_4FGL_J2348.0-1630_daily_bin1424.fits
.....................!
real 11.54
user 11.20
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/129954/ft1_filtered_4FGL_J2348.0-1630_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/129954/ft2_4FGL_J2348.0-1630_daily_bin1424.fits sctable="SC_DATA" expcube=/scratch/kocevski/129954/ltcube_608428801_608688001_4FGL_J2348.0-1630_daily_bin1424.fits outfile=/scratch/kocevski/129954/expmap_608428801_608688001_4FGL_J2348.0-1630_daily_bin1424.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/129954/ltcube_608428801_608688001_4FGL_J2348.0-1630_daily_bin1424.fits
.....................!
real 191.76
user 186.62
sys 4.82

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/129954/ft1_filtered_4FGL_J2348.0-1630_daily_bin1424.fits scfile=/scratch/kocevski/129954/ft2_4FGL_J2348.0-1630_daily_bin1424.fits outfile=/scratch/kocevski/129954/cmap_608428801_608688001_4FGL_J2348.0-1630_daily_bin1424.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/129954/ft1_filtered_4FGL_J2348.0-1630_daily_bin1424.fits scfile=/scratch/kocevski/129954/ft2_4FGL_J2348.0-1630_daily_bin1424.fits outfile=/scratch/kocevski/129954/cmap_HighResolution_608428801_608688001_4FGL_J2348.0-1630_daily_bin1424.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.53
user 0.38
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/129954/ft1_filtered_4FGL_J2348.0-1630_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/129954/ft2_4FGL_J2348.0-1630_daily_bin1424.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/129954/Model_4FGL_J2348.0-1630_daily_bin1424.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/129954/ft1_filtered_4FGL_J2348.0-1630_daily_bin1424.fits.....................!
real 41.62
user 40.33
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11111E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    47.159       1.0000         .10000E-03   10000.    
     3 'Prefactor '    30.498       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    22.621       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.3173       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .38637E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13647E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10403E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.3148       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .12473E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.360       1.0000         .10000E-03   10000.    
    14 'Prefactor '    19.625       1.0000         .10000E-03   10000.    
    15 'Prefactor '    25.709       1.0000         .10000E-03   10000.    
    16 'Prefactor '    148.05       1.0000         .10000E-03   10000.    
    17 'norm      '    .10047E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.561       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9333       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0069       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81580       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=   4608.736     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2241 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.745        .10772E-05** at limit **
   2  norm          47.155        39.569        .34659E-06   -.34525E-05
   3  Prefactor     30.518        57.372        .64411E-06   -.22275E-06
   4  Prefactor     .10000E-03    19.326        .13968E-06** at limit **
   5  norm          22.623        17.900        .15268E-06   -.45423E-05
   6  Prefactor     2.3176        13.903        .15553E-05    .10576E-04
   7  Prefactor     .10000E-03    337.29       -.16942E-04** at limit **
   8  Prefactor     .10000E-03    51.758        .81500E-07** at limit **
   9  Prefactor     .10000E-03    5.5605       -.92264E-06** at limit **
  10  norm          .10000E-03    5.1094       -.67185E-06** at limit **
  11  norm          5.3153        3.4439        .15479E-06   -.61738E-05
  12  Prefactor     .10000E-03    124.23        .50279E-07** at limit **
  13  Prefactor     25.364        20.633        .12713E-05    .23871E-04
  14  Prefactor     19.621        25.827        .33500E-06   -.42075E-05
  15  Prefactor     25.664        52.034       -.16229E-05   -.90702E-05
  16  Prefactor     148.03        118.91        .88899E-06   -.71357E-05
  17  norm          .10000E-03    .21803       -.64713E-07** at limit **
  18  norm          11.563        5.0554        .13578E-06    .65382E-04
  19  Prefactor     5.9359        7.4401        .30640E-06    .11414E-04
  20  Normalizat    1.0069        .20304       -.19108E-05    .37911E-04
  21  Prefactor     .81560        .18720       -.26129E-06   -.38913E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 47.1553
  Prefactor  = 30.5181
  Prefactor  = 0.0001
  norm       = 22.6227
  Prefactor  = 2.31765
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 5.31532
  Prefactor  = 0.0001
  Prefactor  = 25.3644
  Prefactor  = 19.6209
  Prefactor  = 25.6636
  Prefactor  = 148.028
  norm       = 0.0001
  norm       = 11.5627
  Prefactor  = 5.93589
  Normalizat = 1.00689
  Prefactor  = 0.815596
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.736     FROM HESSE     STATUS=OK           323 CALLS     2564 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          47.155        39.571        .58389E-04   -1.4333    
   3  Prefactor     30.518        57.325        .72552E-04   -1.4603    
   4  Prefactor     .10000E-03    19.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          22.623        17.902        .84217E-04   -1.4756    
   6  Prefactor     2.3176        13.936        .26948E-03   -1.5403    
   7  Prefactor     .10000E-03    336.65        .39074E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    52.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.5512        .15572E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    5.1509        .14937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.3153        3.4395        .95084E-04   -1.5247    
  12  Prefactor     .10000E-03    125.47        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     25.364        20.676        .79546E-04   -1.4700    
  14  Prefactor     19.621        25.846        .90413E-04   -1.4822    
  15  Prefactor     25.664        52.065        .79005E-04   -1.4694    
  16  Prefactor     148.03        119.07        .16560E-03   -1.3269    
  17  norm          .10000E-03    .24119        .60748E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.563        5.0000        .95502E-04   -1.5028    
  19  Prefactor     5.9359        7.4329        .16486E-03   -1.5221    
  20  Normalizat    1.0069        .23514        .23527E-03   -.92800    
  21  Prefactor     .81560        .22023        .24992E-03   -.99156    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.35634e-11
Minuit parameter uncertainties:
  1  3.59332e-05
  2  39.5931
  3  57.4285
  4  1.88341e-05
  5  17.9058
  6  11.3701
  7  0.000189946
  8  2.17682e-05
  9  1.56425e-05
  10  1.54018e-05
  11  3.43964
  12  2.35187e-05
  13  20.682
  14  25.8612
  15  52.1572
  16  119.262
  17  2.71203e-07
  18  5.00014
  19  7.43407
  20  0.23538
  21  0.220473
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.156e+01  5.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

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  8.156e-01  2.205e-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.007e+00  2.354e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.10
Ra Dec: 357.016 -16.516
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 9.88e-08 +/- 4.27e-08
Energy Flux (Fixed Index): 3.69e-05 +/- 1.59e-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) = 4608.08346305
delta logL = 0.652866890089

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4608.0076906
delta logL = 0.728639337649

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    13.343       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8334       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0431       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79345       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=   4608.008     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      204 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          13.353        6.8183        .27414E-02   -.16912E-04
   2  alpha         1.8336        .38288        .22504       -.17720E-04
   3  Normalizat    1.0431        .19522        .41043E-01   -.70152E-04
   4  Prefactor     .79353        .18828        .43632E-01   -.75296E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 13.3533
  alpha      = 1.83361
  Normalizat = 1.04309
  Prefactor  = 0.793533
 **********
 **   18 **HESSE 
 **********

 FCN=   4608.008     FROM HESSE     STATUS=OK            33 CALLS      237 TOTAL
                     EDM=   .15E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          13.353        6.0898        .10920E-03   -1.4977    
   2  alpha         1.8336        .36577        .92819E-02   -.26982    
   3  Normalizat    1.0431        .22677        .23178E-03   -.91601    
   4  Prefactor     .79353        .21860        .25306E-03   -.99967    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53902e-11
Minuit parameter uncertainties:
  1  6.09008
  2  0.367185
  3  0.226978
  4  0.218834
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/129954': 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) = 4608.00768841
delta logL = 0.728641522713

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.335e+01  6.090e+00  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  1.834e+00  3.672e-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:  7.935e-01  2.188e-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.043e+00  2.270e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.57
Ra Dec: 357.016 -16.516
Photon Index (Free Index): 1.83 +/- 0.37
Photon Flux (Free Index): 6.82e-08 +/- 4.00e-08
Energy Flux (Free Index): 5.77e-05 +/- 3.80e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/129954/cmap_HighResolution_608428801_608688001_4FGL_J2348.0-1630_daily_bin1424.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.88e-08', energy_flux2='5.77e-05', photon_flux_error='4.27e-08', dlogl='7.29e-01', energy_flux='3.69e-05', photon_flux2='6.82e-08', job_status='DONE', time_completed='2021-09-30 05:44:25.933136', photon_index_error2='0.37', photon_index2='1.83', ts='19.10', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', energy_flux_error2='3.80e-05', EG='1.01', time_epoch_completed='1633005865.93', return_code='0', job_id='129954', GAL2='0.79', EG2='1.04', return_code2='0', energy_flux_error='1.59e-05', photon_flux_error2='4.00e-08', ts2='20.57', photon_index='2.29' WHERE bin_id='1424' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 05:44:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0253>
Subject: Job 129954: <4FGL_J2348.0-1630_daily_bin1424> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin1424 357.016 -16.5161 608428801 608688001 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 :                                   490.02 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             283.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   528 sec.
    Turnaround time :                            529 sec.

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

