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


Performing analysis on: 4FGL_J2348.0-1630_daily_bin1088
RA = 357.016, Dec = -16.5161
tmin = 521337601, tmax = 521596801
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='128521', job_status='RUN', time_executed='2021-09-30 05:31:19.975299', time_epoch_executed='1633005079.98' WHERE source_name='4FGL J2348.0-1630' and cadence='daily' and bin_id='1088'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/128521

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/128521/ft1_4FGL_J2348.0-1630_daily_bin1088.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/128521/ft2_4FGL_J2348.0-1630_daily_bin1088.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/128521/ft1_4FGL_J2348.0-1630_daily_bin1088.fits outfile=/scratch/kocevski/128521/ft1_filteredMKT_4FGL_J2348.0-1630_daily_bin1088.fits ra=357.016 dec=-16.5161 rad=12.0 tmin=521337601.0 tmax=521596801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 5.14
user 4.87
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/128521/ft1_filtered_4FGL_J2348.0-1630_daily_bin1088.fits" evtable="EVENTS" scfile=/scratch/kocevski/128521/ft2_4FGL_J2348.0-1630_daily_bin1088.fits sctable="SC_DATA" outfile=/scratch/kocevski/128521/ltcube_521337601_521596801_4FGL_J2348.0-1630_daily_bin1088.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/128521/ft2_4FGL_J2348.0-1630_daily_bin1088.fits
.....................!
real 11.61
user 11.29
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/128521/ft1_filtered_4FGL_J2348.0-1630_daily_bin1088.fits evtable="EVENTS" scfile=/scratch/kocevski/128521/ft2_4FGL_J2348.0-1630_daily_bin1088.fits sctable="SC_DATA" expcube=/scratch/kocevski/128521/ltcube_521337601_521596801_4FGL_J2348.0-1630_daily_bin1088.fits outfile=/scratch/kocevski/128521/expmap_521337601_521596801_4FGL_J2348.0-1630_daily_bin1088.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/128521/ltcube_521337601_521596801_4FGL_J2348.0-1630_daily_bin1088.fits
.....................!
real 191.06
user 185.10
sys 5.65

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/128521/ft1_filtered_4FGL_J2348.0-1630_daily_bin1088.fits scfile=/scratch/kocevski/128521/ft2_4FGL_J2348.0-1630_daily_bin1088.fits outfile=/scratch/kocevski/128521/cmap_521337601_521596801_4FGL_J2348.0-1630_daily_bin1088.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/128521/ft1_filtered_4FGL_J2348.0-1630_daily_bin1088.fits scfile=/scratch/kocevski/128521/ft2_4FGL_J2348.0-1630_daily_bin1088.fits outfile=/scratch/kocevski/128521/cmap_HighResolution_521337601_521596801_4FGL_J2348.0-1630_daily_bin1088.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.52
user 0.38
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/128521/ft1_filtered_4FGL_J2348.0-1630_daily_bin1088.fits evtable="EVENTS" scfile=/scratch/kocevski/128521/ft2_4FGL_J2348.0-1630_daily_bin1088.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/128521/Model_4FGL_J2348.0-1630_daily_bin1088.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/128521/ft1_filtered_4FGL_J2348.0-1630_daily_bin1088.fits.....................!
real 53.63
user 52.36
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    15.561       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.215       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.3244       1.0000         .10000E-03   10000.    
    10 'norm      '    6.1768       1.0000         .10000E-03   10000.    
    11 'norm      '    14.109       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.623       1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.079       1.0000         .10000E-03   10000.    
    16 'Prefactor '    73.458       1.0000         .10000E-03   10000.    
    17 'norm      '    2.4570       1.0000         .10000E-03   10000.    
    18 'norm      '    .30059E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3360       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .59770       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=   6442.408     FROM MIGRAD    STATUS=CONVERGED    431 CALLS     2180 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.992       -.45683E-05** at limit **
   2  norm          15.554        28.729       -.11525E-04   -.16839E-04
   3  Prefactor     .10000E-03    16.456       -.91908E-07** at limit **
   4  Prefactor     .10000E-03    6.9616        .57359E-07** at limit **
   5  norm          .10000E-03    3.6904        .13557E-07** at limit **
   6  Prefactor     21.212        13.713       -.12854E-06   -.36305E-04
   7  Prefactor     .10000E-03    17.629        .58072E-05** at limit **
   8  Prefactor     .10000E-03    11.873       -.37251E-05** at limit **
   9  Prefactor     3.3236        8.4904       -.29373E-05   -.46536E-03
  10  norm          6.1765        6.6176       -.13507E-05   -.18475E-03
  11  norm          14.110        4.1544        .42087E-07   -.14588E-03
  12  Prefactor     .10000E-03    16.523        .28307E-06** at limit **
  13  Prefactor     .10000E-03    11.031        .42782E-05** at limit **
  14  Prefactor     25.623        28.365        .31323E-06   -.20058E-04
  15  Prefactor     14.123        56.409        .10638E-03    .68200E-05
  16  Prefactor     73.467        83.251        .10021E-04   -.64959E-05
  17  norm          2.4579        .76183        .16652E-06   -.10030E-02
  18  norm          .10001E-03    2.5962        .12730E-06** at limit **
  19  Prefactor     .10000E-03    3.9223        .50108E-07** at limit **
  20  Normalizat    1.3360        .16980       -.24564E-05    .85708E-04
  21  Prefactor     .59774        .15927       -.14052E-05   -.14737E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 15.5538
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 21.212
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.32355
  norm       = 6.17648
  norm       = 14.1095
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.6235
  Prefactor  = 14.1234
  Prefactor  = 73.4671
  norm       = 2.45789
  norm       = 0.000100006
  Prefactor  = 0.0001
  Normalizat = 1.33596
  Prefactor  = 0.597737
 **********
 **   18 **HESSE 
 **********

 FCN=   6442.408     FROM HESSE     STATUS=OK           315 CALLS     2495 TOTAL
                     EDM=   .90E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.532        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          15.554        28.733        .10153E-03   -1.4919    
   3  Prefactor     .10000E-03    16.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.9645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    3.6911        .15059E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     21.212        13.712        .86960E-04   -1.4787    
   7  Prefactor     .10000E-03    17.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.895        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.3236        8.4343        .22201E-03   -1.5343    
  10  norm          6.1765        6.5678        .16153E-03   -1.5211    
  11  norm          14.110        4.1568        .82476E-04   -1.4957    
  12  Prefactor     .10000E-03    16.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     25.623        28.394        .79138E-04   -1.4695    
  15  Prefactor     14.123        56.294        .10675E-03   -1.4956    
  16  Prefactor     73.467        83.255        .46844E-04   -1.3992    
  17  norm          2.4579        .69388        .33826E-04   -1.5394    
  18  norm          .10001E-03    31.015        .22343E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.9589        .15517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.3360        .19832        .21755E-03   -.82499    
  21  Prefactor     .59774        .18530        .29828E-03   -1.0768    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.02624e-10
Minuit parameter uncertainties:
  1  9.86364e-05
  2  28.7589
  3  9.19286e-06
  4  8.65833e-06
  5  2.80009e-06
  6  13.7145
  7  1.38624e-05
  8  2.11352e-05
  9  8.43728
  10  6.56853
  11  4.15687
  12  1.17043e-05
  13  1.32618e-05
  14  28.4085
  15  56.4866
  16  83.387
  17  0.693883
  18  0.000895723
  19  2.0615e-06
  20  0.198429
  21  0.185494
Done.

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

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  1.000e-04  8.957e-04  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:  5.977e-01  1.855e-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.336e+00  1.984e-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: 9.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.38e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/128521/likelihoodResults_521337601_521596801_4FGL_J2348.0-1630_daily_bin1088.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) = 6442.40837771
delta logL = -0.000153779851644

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6442.03589622
delta logL = 0.372327717843

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .51889       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7888       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2878       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62374       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=   6442.036     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      268 TOTAL
                     EDM=   .64E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .52336        9.0767        .11348E-01    .17709E-02
   2  alpha         3.7851        4.3046        .50000        .58657E-04
   3  Normalizat    1.2873        .31063E-01    .49900E-01   -.13802E-03
   4  Prefactor     .62429        .29867E-01    .66016E-01   -.25780E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.523355
  alpha      = 3.78511
  Normalizat = 1.28729
  Prefactor  = 0.624286
 **********
 **   18 **HESSE 
 **********

 FCN=   6442.036     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      299 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .52336        38.247        .67625E-04   -1.5563    
   2  alpha         3.7851        2.6045        .19452E-01    .53989    
   3  Normalizat    1.2873        .17649        .22060E-03   -.83947    
   4  Prefactor     .62429        .16809        .29212E-03   -1.0657    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.55968e-10
Minuit parameter uncertainties:
  1  8.95311
  2  9.26834
  3  0.176576
  4  0.168225
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/128521': 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): 102
logL (Free Index) = 6442.03588867
delta logL = 0.372335263999

Extracting fit parameters...

4FGL J2348.0-1630
   Spectrum: LogParabola
489         norm:  5.234e-01  8.953e+00  1.000e-04  1.000e+04 ( 1.000e-12)
490        alpha:  3.785e+00  9.268e+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:  6.243e-01  1.682e-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.287e+00  1.766e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.38e-05', job_status='DONE', photon_flux_upper_limit='9.05e-08', time_completed='2021-09-30 05:41:41.005292', job_id='128521', GAL2='0.62', fit_tolerance='1e-08', EG2='1.29', EG='1.34', time_epoch_completed='1633005701.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.60', dlogl='3.72e-01', ts2='0.78', photon_index_error='0.00', photon_index='2.29' WHERE bin_id='1088' AND source_name='4FGL J2348.0-1630' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 05:41:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 128521: <4FGL_J2348.0-1630_daily_bin1088> in cluster <slac> Done

Job <4FGL_J2348.0-1630_daily_bin1088> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep 30 05:30:53 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 05:30:55 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:30:55 2021
Terminated at Thu Sep 30 05:41:41 2021
Results reported at Thu Sep 30 05:41:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2348.0-1630_daily_bin1088 357.016 -16.5161 521337601 521596801 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 :                                   615.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             359.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   646 sec.
    Turnaround time :                            648 sec.

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

