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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin523
RA = 351.17, Dec = 31.2573
tmin = 374889601, tmax = 375148801
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='831800', job_status='RUN', time_executed='2021-09-29 15:48:14.431050', time_epoch_executed='1632955694.43' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='523'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831800

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831800/ft1_4FGL_J2324.6+3115_daily_bin523.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831800/ft1_4FGL_J2324.6+3115_daily_bin523.fits outfile=/scratch/kocevski/831800/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin523.fits ra=351.17 dec=31.2573 rad=12.0 tmin=374889601.0 tmax=375148801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.52
user 3.31
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.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/831800/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin523.fits evtable="EVENTS" outfile="/scratch/kocevski/831800/ft1_filtered_4FGL_J2324.6+3115_daily_bin523.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/831800/ft1_filtered_4FGL_J2324.6+3115_daily_bin523.fits" evtable="EVENTS" scfile=/scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits sctable="SC_DATA" outfile=/scratch/kocevski/831800/ltcube_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.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/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits
.....................!
real 11.89
user 11.50
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831800/ft1_filtered_4FGL_J2324.6+3115_daily_bin523.fits evtable="EVENTS" scfile=/scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits sctable="SC_DATA" expcube=/scratch/kocevski/831800/ltcube_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.fits outfile=/scratch/kocevski/831800/expmap_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.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/831800/ltcube_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.fits
.....................!
real 191.59
user 186.06
sys 5.14

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

Setting source of interest to:
4FGL J2324.6+3115 @ 351.17 31.2573

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/831800/ft1_filtered_4FGL_J2324.6+3115_daily_bin523.fits scfile=/scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits outfile=/scratch/kocevski/831800/cmap_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.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=351.17 yref=31.2573 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831800/ft1_filtered_4FGL_J2324.6+3115_daily_bin523.fits scfile=/scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits outfile=/scratch/kocevski/831800/cmap_HighResolution_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.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=351.17 yref=31.2573 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/831800/ft1_filtered_4FGL_J2324.6+3115_daily_bin523.fits evtable="EVENTS" scfile=/scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831800/Model_4FGL_J2324.6+3115_daily_bin523.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/831800/ft1_filtered_4FGL_J2324.6+3115_daily_bin523.fits.....................!
real 95.69
user 94.26
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/831800/ft1_filtered_4FGL_J2324.6+3115_daily_bin523.fits', '/scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits', expMap='/scratch/kocevski/831800/expmap_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.fits', expCube='/scratch/kocevski/831800/ltcube_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/831800/Model_4FGL_J2324.6+3115_daily_bin523.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2324.6+3115'

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.967e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/831800/ft1_filtered_4FGL_J2324.6+3115_daily_bin523.fits
Spacecraft file(s): /scratch/kocevski/831800/ft2_4FGL_J2324.6+3115_daily_bin523.fits
Exposure map: /scratch/kocevski/831800/expmap_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.fits
Exposure cube: /scratch/kocevski/831800/ltcube_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/831800/Model_4FGL_J2324.6+3115_daily_bin523.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) = 8588.46586566

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10325E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.0433       1.0000         .10000E-03   10000.    
     3 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .55093E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.8032       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.3642       1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.642       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1619       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.3281       1.0000         .10000E-03   10000.    
    14 'norm      '    9.3451       1.0000         .10000E-03   10000.    
    15 'norm      '    11.365       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.1880       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.307       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10309E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2377       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88106       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8588.445     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2586 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    10.798       -.43376E-06** at limit **
   2  Prefactor     3.0442        5.3950        .33850E-05    .15149E-05
   3  norm          .10000E-03    .47980       -.55077E-08** at limit **
   4  Prefactor     .10000E-03    253.37        .96616E-05** at limit **
   5  Prefactor     .10000E-03    7.8023        .48275E-07** at limit **
   6  Prefactor     .10000E-03    6.0888       -.39781E-06** at limit **
   7  Prefactor     .10000E-03    5.4278        .99604E-07** at limit **
   8  Prefactor     8.8077        10.990        .60345E-06    .39125E-05
   9  Prefactor     .10000E-03    7.6847        .27504E-06** at limit **
  10  norm          2.3643        1.6831        .30898E-07   -.93272E-04
  11  Prefactor     41.577        29.044       -.18350E-05   -.30447E-04
  12  Prefactor     4.1642        8.7507        .20301E-06   -.53174E-05
  13  Prefactor     4.3415        15.958        .46917E-05   -.20295E-05
  14  norm          9.3471        5.5805        .80584E-07   -.16513E-03
  15  norm          11.365        8.7255        .89257E-08    .14117E-05
  16  Prefactor     .10000E-03    13.930        .15944E-05** at limit **
  17  norm          4.1892        2.4530        .16411E-07    .23381E-05
  18  Prefactor     .10000E-03    4.8600       -.47759E-07** at limit **
  19  Prefactor     .10000E-03    15.044       -.11552E-05** at limit **
  20  Prefactor     19.345        40.129       -.23310E-05    .36348E-05
  21  Prefactor     .10000E-03    3.0800        .35705E-06** at limit **
  22  Normalizat    1.2375        .19848       -.10248E-05   -.51923E-04
  23  Prefactor     .88111        .96494E-01    .21679E-06   -.13143E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 3.04425
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.80767
  Prefactor  = 0.0001
  norm       = 2.36431
  Prefactor  = 41.5768
  Prefactor  = 4.16415
  Prefactor  = 4.34153
  norm       = 9.34714
  norm       = 11.3652
  Prefactor  = 0.0001
  norm       = 4.18922
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.3454
  Prefactor  = 0.0001
  Normalizat = 1.23746
  Prefactor  = 0.881105
 **********
 **   18 **HESSE 
 **********

 FCN=   8588.445     FROM HESSE     STATUS=OK           370 CALLS     2956 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    10.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.0442        5.3964        .11629E-02   -1.5359    
   3  norm          .10000E-03    1.2618        .12481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    256.28        .19066E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.8112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    6.0947        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.6157        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.8077        10.992        .13509E-03   -1.5114    
   9  Prefactor     .10000E-03    7.6878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.3643        1.6749        .95294E-04   -1.5400    
  11  Prefactor     41.577        29.136        .62120E-04   -1.4417    
  12  Prefactor     4.1642        8.7293        .19757E-03   -1.5300    
  13  Prefactor     4.3415        15.974        .19363E-03   -1.5291    
  14  norm          9.3471        5.5764        .65549E-03   -1.5096    
  15  norm          11.365        8.7315        .11883E-03   -1.5034    
  16  Prefactor     .10000E-03    13.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.1892        2.4516        .10668E-03   -1.5299    
  18  Prefactor     .10000E-03    4.8628        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    15.066        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.345        40.062        .91154E-04   -1.4828    
  21  Prefactor     .10000E-03    3.0935        .15872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.2375        .23063        .31970E-03   -.85453    
  23  Prefactor     .88111        .11300        .18222E-03   -.96804    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53035e-11
Minuit parameter uncertainties:
  1  3.79999e-05
  2  5.39727
  3  4.97731e-06
  4  0.000986468
  5  7.20929e-07
  6  1.09281e-06
  7  8.26502e-06
  8  10.9941
  9  1.55179e-06
  10  1.67496
  11  29.1456
  12  8.73195
  13  15.9896
  14  5.57672
  15  8.73245
  16  2.77384e-05
  17  2.45161
  18  6.89553e-08
  19  7.92882e-07
  20  40.1178
  21  2.52377e-05
  22  0.230823
  23  0.113035
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  2.774e-05  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.875e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.811e-01  1.130e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.237e+00  2.308e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.09e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/831800/likelihoodResults_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.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) = 8588.44505274
delta logL = -0.00034110677916

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8588.44471163
delta logL = 9.76069713943e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8641       1.0000          .0000       10.000    
     3 'Normalizat'    1.2375       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88111       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+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=   8588.445     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      242 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10099E-03    535.18        .18142E-02** at limit **
   2  Index         2.7961        8.5618        .50000        .55125E-05
   3  Normalizat    1.2375        .33099E-01    .31970E-03    .23861E-03
   4  Prefactor     .88111        .16322E-01    .18222E-03    .42482E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100985
  Index      = 2.79613
  Normalizat = 1.23746
  Prefactor  = 0.881106
 **********
 **   18 **HESSE 
 **********

 FCN=   8588.445     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      271 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10099E-03    1851.4        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7961        7.0238        .50000       -.45646    
   3  Normalizat    1.2375        .74964E-01    .12788E-04   -.85453    
   4  Prefactor     .88111        .36968E-01    .36445E-04   -.96804    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.63878e-08
Minuit parameter uncertainties:
  1  0.0883043
  2  2506.01
  3  0.0749704
  4  0.0369687
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831800': 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) = 8588.44471155
delta logL = 8.09432094684e-08

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.010e-04  8.830e-02  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.796e+00  2.506e+03  0.000e+00  1.000e+01 (-1.000e+00)
452        Scale:  4.159e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
536    Prefactor:  8.811e-01  3.697e-02  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  1.237e+00  7.497e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.170 31.257

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/831800/cmap_HighResolution_374889601_375148801_4FGL_J2324.6+3115_daily_bin523.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.67e-03', job_status='DONE', photon_flux_upper_limit='1.09e-07', time_completed='2021-09-29 16:01:34.099684', job_id='831800', GAL2='0.88', fit_tolerance='1e-08', EG2='1.24', EG='1.24', time_epoch_completed='1632956494.1', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='8.09e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='523' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:01:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 831800: <4FGL_J2324.6+3115_daily_bin523> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin523> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 15:45:19 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:45:20 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 15:45:20 2021
Terminated at Wed Sep 29 16:01:34 2021
Results reported at Wed Sep 29 16:01:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin523 351.17 31.2573 374889601 375148801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2324.6+3115 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   800.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             264.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   974 sec.
    Turnaround time :                            975 sec.

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

