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


Performing analysis on: 4FGL_J2348.0-1630_daily_bin1229
RA = 357.016, Dec = -16.5161
tmin = 557884801, tmax = 558144001
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='131333', job_status='RUN', time_executed='2021-09-30 05:40:40.927969', time_epoch_executed='1633005640.93' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='1229'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/131333

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/131333/ft1_4FGL_J2348.0-1630_daily_bin1229.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/131333/ft2_4FGL_J2348.0-1630_daily_bin1229.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/131333/ft1_4FGL_J2348.0-1630_daily_bin1229.fits outfile=/scratch/kocevski/131333/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1229.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=557884801.0 tmax=558144001.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.06
user 3.80
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/131333/ft1_filtered_4FGL_J2348.0-1630_daily_bin1229.fits" evtable="EVENTS" scfile=/scratch/kocevski/131333/ft2_4FGL_J2348.0-1630_daily_bin1229.fits sctable="SC_DATA" outfile=/scratch/kocevski/131333/ltcube_557884801_558144001_4FGL_J2348.0-1630_daily_bin1229.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/131333/ft2_4FGL_J2348.0-1630_daily_bin1229.fits
.....................!
real 12.04
user 11.70
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/131333/ft1_filtered_4FGL_J2348.0-1630_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/131333/ft2_4FGL_J2348.0-1630_daily_bin1229.fits sctable="SC_DATA" expcube=/scratch/kocevski/131333/ltcube_557884801_558144001_4FGL_J2348.0-1630_daily_bin1229.fits outfile=/scratch/kocevski/131333/expmap_557884801_558144001_4FGL_J2348.0-1630_daily_bin1229.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/131333/ltcube_557884801_558144001_4FGL_J2348.0-1630_daily_bin1229.fits
.....................!
real 193.27
user 187.40
sys 5.42

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/131333/ft1_filtered_4FGL_J2348.0-1630_daily_bin1229.fits scfile=/scratch/kocevski/131333/ft2_4FGL_J2348.0-1630_daily_bin1229.fits outfile=/scratch/kocevski/131333/cmap_557884801_558144001_4FGL_J2348.0-1630_daily_bin1229.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/131333/ft1_filtered_4FGL_J2348.0-1630_daily_bin1229.fits scfile=/scratch/kocevski/131333/ft2_4FGL_J2348.0-1630_daily_bin1229.fits outfile=/scratch/kocevski/131333/cmap_HighResolution_557884801_558144001_4FGL_J2348.0-1630_daily_bin1229.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/131333/ft1_filtered_4FGL_J2348.0-1630_daily_bin1229.fits evtable="EVENTS" scfile=/scratch/kocevski/131333/ft2_4FGL_J2348.0-1630_daily_bin1229.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/131333/Model_4FGL_J2348.0-1630_daily_bin1229.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/131333/ft1_filtered_4FGL_J2348.0-1630_daily_bin1229.fits....................!
real 76.80
user 75.31
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.367       1.0000         .10000E-03   10000.    
     2 'norm      '    44.369       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11242E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10171E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    6.7944       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .35086E-02   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    9.7127       1.0000         .10000E-03   10000.    
    11 'norm      '    1.9114       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.2756       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .31268       1.0000         .10000E-03   10000.    
    18 'norm      '    .53253E-01   1.0000         .10000E-03   10000.    
    19 'Prefactor '    25.882       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .95963       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0045       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=   10559.80     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2215 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.365        9.4123       -.21161E-07    .12177E-04
   2  norm          44.375        28.624        .37013E-05    .11551E-03
   3  Prefactor     .10000E-03    53.224       -.15285E-04** at limit **
   4  Prefactor     .10000E-03    34.305        .49850E-05** at limit **
   5  norm          6.7928        6.5503       -.12184E-06    .59011E-04
   6  Prefactor     .10064E-03    3.5948       -.18835E-05** at limit **
   7  Prefactor     .10000E-03    14.472        .22869E-05** at limit **
   8  Prefactor     .10000E-03    5.0976        .85005E-07** at limit **
   9  Prefactor     .10000E-03    6.9197        .56175E-06** at limit **
  10  norm          9.7123        5.2257       -.67119E-06   -.20030E-03
  11  norm          1.9116        1.5575       -.64045E-07   -.59149E-03
  12  Prefactor     6.2774        23.791        .31596E-05    .16948E-04
  13  Prefactor     .10000E-03    6.5837       -.41495E-06** at limit **
  14  Prefactor     .10000E-03    14.106        .25118E-05** at limit **
  15  Prefactor     .10000E-03    12.900       -.32373E-05** at limit **
  16  Prefactor     .10000E-03    40.421        .16201E-04** at limit **
  17  norm          .31280        .25958       -.51387E-08   -.15888E-04
  18  norm          .50035E-01    1.0178       -.27625E-06    .13517E-03
  19  Prefactor     25.884        8.0943        .14229E-06    .56561E-04
  20  Normalizat    .95964        .12847       -.27142E-06    .19400E-03
  21  Prefactor     1.0044        .12841       -.23847E-07    .19418E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3654
  norm       = 44.3754
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 6.79276
  Prefactor  = 0.00010064
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.71225
  norm       = 1.91157
  Prefactor  = 6.27739
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 0.312796
  norm       = 0.0500346
  Prefactor  = 25.8838
  Normalizat = 0.959637
  Prefactor  = 1.00443
 **********
 **   18 **HESSE 
 **********

 FCN=   10559.80     FROM HESSE     STATUS=OK           321 CALLS     2536 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.365        9.4072        .11882E-03   -1.5034    
   2  norm          44.375        28.637        .60188E-04   -1.4375    
   3  Prefactor     .10000E-03    53.349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    35.184        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          6.7928        6.5530        .15393E-03   -1.5187    
   6  Prefactor     .10064E-03    30.112        .35881E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    14.508        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.1021        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.2100        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          9.7123        5.2188        .12858E-03   -1.5085    
  11  norm          1.9116        1.5505        .11148E-03   -1.5431    
  12  Prefactor     6.2774        23.695        .16024E-03   -1.5207    
  13  Prefactor     .10000E-03    6.6138        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    12.905        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    40.522        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .31280        .28415        .43068E-04   -1.5596    
  18  norm          .50035E-01    32.811        .18554E-02   -1.5663    
  19  Prefactor     25.884        8.0988        .78742E-04   -1.4690    
  20  Normalizat    .95964        .15142        .23870E-03   -.94395    
  21  Prefactor     1.0044        .15185        .23599E-03   -.92582    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.98813e-08
Minuit parameter uncertainties:
  1  9.40846
  2  28.6463
  3  0.000555825
  4  9.47059e-05
  5  6.55372
  6  0.0087852
  7  6.10573e-05
  8  1.27361e-07
  9  4.79653e-05
  10  5.21901
  11  1.55051
  12  23.7306
  13  3.50812e-05
  14  5.02718e-05
  15  5.71967e-05
  16  0.000546367
  17  0.284148
  18  2.56142
  19  8.09913
  20  0.15149
  21  0.151916
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  5.003e-02  2.561e+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:  1.004e+00  1.519e-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:  9.596e-01  1.515e-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: 4.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.74e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/131333/likelihoodResults_557884801_558144001_4FGL_J2348.0-1630_daily_bin1229.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): 102
logL (Free Index) = 10559.7978232
delta logL = 0.00691787843971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10559.7432652
delta logL = 0.0614758988831

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .86482       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7364       1.0000          .0000       5.0000    
     3 'Normalizat'    .96148       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99940       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=   10559.74     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      227 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .86518        2.5949        .12679E-01    .21748E-02
   2  alpha         1.7375        1.0380        .43887E-01   -.44768E-05
   3  Normalizat    .96145        .12534        .45682E-01    .21971E-04
   4  Prefactor     .99937        .12764        .46260E-01    .17934E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.865179
  alpha      = 1.7375
  Normalizat = 0.961449
  Prefactor  = 0.999373
 **********
 **   18 **HESSE 
 **********

 FCN=   10559.74     FROM HESSE     STATUS=OK            31 CALLS      258 TOTAL
                     EDM=   .35E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .86518        2.5952        .27512E-03   -1.5522    
   2  alpha         1.7375        1.0391        .17555E-02   -.30994    
   3  Normalizat    .96145        .14849        .23848E-03   -.94333    
   4  Prefactor     .99937        .15113        .23648E-03   -.92750    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.5234e-14
Minuit parameter uncertainties:
  1  2.59553
  2  1.0753
  3  0.148553
  4  0.151197
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/131333': 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) = 10559.7432644
delta logL = 0.0614767111911

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  8.652e-01  2.596e+00  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  1.738e+00  1.075e+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:  9.994e-01  1.512e-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:  9.614e-01  1.486e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/131333/cmap_HighResolution_557884801_558144001_4FGL_J2348.0-1630_daily_bin1229.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.74e-05', job_status='DONE', photon_flux_upper_limit='4.67e-08', time_completed='2021-09-30 05:53:58.412500', job_id='131333', GAL2='1.00', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1633006438.41', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='6.15e-02', ts2='0.12', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1229' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 05:53:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0096>
Subject: Job 131333: <4FGL_J2348.0-1630_daily_bin1229> in cluster <slac> Done

Job <4FGL_J2348.0-1630_daily_bin1229> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Sep 30 05:40:10 2021
Job was executed on host(s) <bullet0096>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 05:40:11 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:40:11 2021
Terminated at Thu Sep 30 05:53:59 2021
Results reported at Thu Sep 30 05:53:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin1229 357.016 -16.5161 557884801 558144001 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 :                                   797.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            829 sec.

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

