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


Performing analysis on: 4FGL_J2349.4+0534_daily_bin682
RA = 357.356, Dec = 5.579
tmin = 416102401, tmax = 416361601
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='152105', job_status='RUN', time_executed='2021-09-30 06:49:29.827510', time_epoch_executed='1633009769.83' WHERE source_name='4FGL J2349.4+0534' and cadence='daily' and bin_id='682'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/152105

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/152105/ft1_4FGL_J2349.4+0534_daily_bin682.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/152105/ft1_4FGL_J2349.4+0534_daily_bin682.fits outfile=/scratch/kocevski/152105/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin682.fits ra=357.356 dec=5.579 rad=12.0 tmin=416102401.0 tmax=416361601.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 6.60
user 6.32
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.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/152105/ft1_filteredMKT_4FGL_J2349.4+0534_daily_bin682.fits evtable="EVENTS" outfile="/scratch/kocevski/152105/ft1_filtered_4FGL_J2349.4+0534_daily_bin682.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/152105/ft1_filtered_4FGL_J2349.4+0534_daily_bin682.fits" evtable="EVENTS" scfile=/scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits sctable="SC_DATA" outfile=/scratch/kocevski/152105/ltcube_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.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/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits
.....................!
real 11.92
user 11.56
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/152105/ft1_filtered_4FGL_J2349.4+0534_daily_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits sctable="SC_DATA" expcube=/scratch/kocevski/152105/ltcube_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.fits outfile=/scratch/kocevski/152105/expmap_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.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/152105/ltcube_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.fits
.....................!
real 190.48
user 185.56
sys 4.55

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 163 point sources and 0 extended sources

Setting source of interest to:
4FGL J2349.4+0534 @ 357.356 5.579

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/152105/ft1_filtered_4FGL_J2349.4+0534_daily_bin682.fits scfile=/scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits outfile=/scratch/kocevski/152105/cmap_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.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.356 yref=5.579 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/152105/ft1_filtered_4FGL_J2349.4+0534_daily_bin682.fits scfile=/scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits outfile=/scratch/kocevski/152105/cmap_HighResolution_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.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.356 yref=5.579 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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/152105/ft1_filtered_4FGL_J2349.4+0534_daily_bin682.fits evtable="EVENTS" scfile=/scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/152105/Model_4FGL_J2349.4+0534_daily_bin682.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/152105/ft1_filtered_4FGL_J2349.4+0534_daily_bin682.fits.....................!
real 52.51
user 51.17
sys 1.17

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/152105/ft1_filtered_4FGL_J2349.4+0534_daily_bin682.fits', '/scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits', expMap='/scratch/kocevski/152105/expmap_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.fits', expCube='/scratch/kocevski/152105/ltcube_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/152105/Model_4FGL_J2349.4+0534_daily_bin682.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2349.4+0534'

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  3.639e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/152105/ft1_filtered_4FGL_J2349.4+0534_daily_bin682.fits
Spacecraft file(s): /scratch/kocevski/152105/ft2_4FGL_J2349.4+0534_daily_bin682.fits
Exposure map: /scratch/kocevski/152105/expmap_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.fits
Exposure cube: /scratch/kocevski/152105/ltcube_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/152105/Model_4FGL_J2349.4+0534_daily_bin682.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) = 4436.88919873

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    18.171       1.0000         .10000E-03   10000.    
     2 'norm      '    5.6889       1.0000         .10000E-03   10000.    
     3 'norm      '    2.8727       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    37.093       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.0395       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    71.227       1.0000         .10000E-03   10000.    
    11 'norm      '    10.271       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    527.13       1.0000         .10000E-03   10000.    
    14 'Prefactor '    29.394       1.0000         .10000E-03   10000.    
    15 'Prefactor '    70.330       1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    33.231       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .64528       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10261E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .85423       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1545       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4436.879     FROM MIGRAD    STATUS=CONVERGED    507 CALLS     2578 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     18.171        24.035       -.27731E-07   -.12064E-04
   2  norm          5.6876        5.2888        .14933E-06   -.30116E-04
   3  norm          2.8707        7.2510        .50164E-05    .49591E-03
   4  Prefactor     .10000E-03    9.0038        .42892E-06** at limit **
   5  Prefactor     37.090        54.367        .80006E-06   -.48838E-05
   6  Prefactor     .10000E-03    9.8310       -.57288E-07** at limit **
   7  Prefactor     .10000E-03    7.8496       -.97659E-07** at limit **
   8  norm          6.0394        2.6464        .96561E-07   -.50999E-03
   9  Prefactor     .10000E-03    21.300       -.28628E-06** at limit **
  10  Prefactor     71.164        125.70        .68215E-05   -.41143E-04
  11  norm          10.268        13.085        .17777E-06    .16759E-04
  12  Prefactor     .10000E-03    4.0850       -.98543E-08** at limit **
  13  Prefactor     527.40        460.23       -.11793E-04   -.50427E-06
  14  Prefactor     29.444        27.942       -.44733E-06   -.15723E-03
  15  Prefactor     70.322        48.052        .82509E-06   -.88368E-05
  16  norm          .10000E-03    8.9475       -.84395E-07** at limit **
  17  norm          33.284        42.299       -.40539E-05   -.23783E-04
  18  Prefactor     .59425        8.8732       -.25675E-05    .93810E-03
  19  Prefactor     .10000E-03    121.30       -.31738E-05** at limit **
  20  Prefactor     .10000E-03    19.211       -.14061E-06** at limit **
  21  Prefactor     .10000E-03    9.5585        .89063E-07** at limit **
  22  Normalizat    .85455        .31047       -.33810E-05   -.30520E-04
  23  Prefactor     1.1545        .19701        .22229E-06   -.12281E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 18.1706
  norm       = 5.68764
  norm       = 2.87073
  Prefactor  = 0.0001
  Prefactor  = 37.09
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.03936
  Prefactor  = 0.0001
  Prefactor  = 71.1635
  norm       = 10.268
  Prefactor  = 0.0001
  Prefactor  = 527.405
  Prefactor  = 29.444
  Prefactor  = 70.3222
  norm       = 0.0001
  norm       = 33.284
  Prefactor  = 0.594247
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.854545
  Prefactor  = 1.15445
 **********
 **   18 **HESSE 
 **********

 FCN=   4436.879     FROM HESSE     STATUS=OK           368 CALLS     2946 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     18.171        23.999        .93957E-04   -1.4855    
   2  norm          5.6876        5.2962        .12791E-03   -1.5231    
   3  norm          2.8707        7.4004        .11991E-02   -1.5369    
   4  Prefactor     .10000E-03    9.0273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     37.090        54.404        .65805E-04   -1.4489    
   6  Prefactor     .10000E-03    9.8465        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.8516        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.0394        2.6445        .63317E-04   -1.5216    
   9  Prefactor     .10000E-03    21.485        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     71.164        126.04        .47567E-04   -1.4019    
  11  norm          10.268        13.046        .12503E-03   -1.5067    
  12  Prefactor     .10000E-03    4.0911        .13135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     527.40        468.85        .89502E-04   -1.1074    
  14  Prefactor     29.444        28.781        .73898E-04   -1.4622    
  15  Prefactor     70.322        48.065        .47867E-04   -1.4029    
  16  norm          .10000E-03    8.9603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          33.284        43.588        .69512E-04   -1.4553    
  18  Prefactor     .59425        43.652        .27273E-02   -1.5554    
  19  Prefactor     .10000E-03    121.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    19.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    9.5661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .85455        .35562        .36675E-03   -.98076    
  23  Prefactor     1.1545        .22464        .22072E-03   -.87745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8306e-08
Minuit parameter uncertainties:
  1  24.0122
  2  5.29659
  3  7.40279
  4  2.11815e-05
  5  54.4772
  6  1.37278e-06
  7  1.48269e-05
  8  2.64452
  9  2.41915e-05
  10  126.515
  11  13.05
  12  2.54361e-06
  13  472.356
  14  28.7949
  15  48.0914
  16  2.28346e-06
  17  43.6295
  18  10.1932
  19  0.000127736
  20  5.71422e-06
  21  6.10668e-06
  22  0.356596
  23  0.224826
Done.

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

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.000e-04  5.714e-06  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.467e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.154e+00  2.248e-01  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.545e-01  3.566e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 357.356 5.579
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/152105/likelihoodResults_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.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) = 4436.87959224
delta logL = -0.000247254294663

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4436.87934618
delta logL = -1.1990296116e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9249       1.0000          .0000       10.000    
     3 'Normalizat'    .85454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1545       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4436.879     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      276 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10343E-03    4.4323        .18142E-01** at limit **
   2  Index         2.8299        7.9265        .50000        .16328E-04
   3  Normalizat    .85454        .38985E-02    .36674E-03   -.24024E-04
   4  Prefactor     1.1545        .27040E-02    .22072E-03   -.49622E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010343
  Index      = 2.82989
  Normalizat = 0.854544
  Prefactor  = 1.15445
 **********
 **   18 **HESSE 
 **********

 FCN=   4436.879     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      305 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10343E-03    419.08        .49087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8299        5.3481        .50000       -.44895    
   3  Normalizat    .85454        .38859E-01    .14670E-04   -.98076    
   4  Prefactor     1.1545        .26952E-01    .44144E-04   -.87745    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.10924e-08
Minuit parameter uncertainties:
  1  0.0763673
  2  764.9
  3  0.03886
  4  0.0269525
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/152105': 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) = 4436.87934593
delta logL = -9.43932718656e-07

Extracting fit parameters...

4FGL J2349.4+0534
   Spectrum: PowerLaw
498    Prefactor:  1.034e-04  7.637e-02  1.000e-04  1.000e+04 ( 1.000e-13)
499        Index:  2.830e+00  7.649e+02  0.000e+00  1.000e+01 (-1.000e+00)
500        Scale:  9.996e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
532    Prefactor:  1.154e+00  2.695e-02  0.000e+00  1.000e+01 ( 1.000e+00)
533        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
534        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
531   Normalization:  8.545e-01  3.886e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 357.356 5.579

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/152105/cmap_HighResolution_416102401_416361601_4FGL_J2349.4+0534_daily_bin682.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.38e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-30 06:58:55.467326', job_id='152105', GAL2='1.15', fit_tolerance='1e-08', EG2='0.85', EG='0.85', time_epoch_completed='1633010335.47', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='-9.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='682' AND source_name='4FGL J2349.4+0534' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep 30 06:58:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 152105: <4FGL_J2349.4+0534_daily_bin682> in cluster <slac> Done

Job <4FGL_J2349.4+0534_daily_bin682> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep 30 06:45:33 2021
Job was executed on host(s) <bullet0054>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep 30 06:45:35 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep 30 06:45:35 2021
Terminated at Thu Sep 30 06:58:56 2021
Results reported at Thu Sep 30 06:58:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2349.4+0534_daily_bin682 357.356 5.579 416102401 416361601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2349.4+0534 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   564.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             218.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            803 sec.

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

