/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 163 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7386
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2324.6+3115_daily_bin793
RA = 351.17, Dec = 31.2573
tmin = 444873601, tmax = 445132801
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='833315', job_status='RUN', time_executed='2021-09-29 15:53:19.949688', time_epoch_executed='1632955999.95' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='793'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833315

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833315/ft1_4FGL_J2324.6+3115_daily_bin793.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833315/ft2_4FGL_J2324.6+3115_daily_bin793.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833315/ft1_4FGL_J2324.6+3115_daily_bin793.fits outfile=/scratch/kocevski/833315/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin793.fits ra=351.17 dec=31.2573 rad=12.0 tmin=444873601.0 tmax=445132801.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.47
user 3.25
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833315/ft2_4FGL_J2324.6+3115_daily_bin793.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/833315/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin793.fits evtable="EVENTS" outfile="/scratch/kocevski/833315/ft1_filtered_4FGL_J2324.6+3115_daily_bin793.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/833315/ft1_filtered_4FGL_J2324.6+3115_daily_bin793.fits" evtable="EVENTS" scfile=/scratch/kocevski/833315/ft2_4FGL_J2324.6+3115_daily_bin793.fits sctable="SC_DATA" outfile=/scratch/kocevski/833315/ltcube_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.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/833315/ft2_4FGL_J2324.6+3115_daily_bin793.fits
.....................!
real 12.08
user 11.71
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833315/ft1_filtered_4FGL_J2324.6+3115_daily_bin793.fits evtable="EVENTS" scfile=/scratch/kocevski/833315/ft2_4FGL_J2324.6+3115_daily_bin793.fits sctable="SC_DATA" expcube=/scratch/kocevski/833315/ltcube_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.fits outfile=/scratch/kocevski/833315/expmap_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.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/833315/ltcube_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.fits
.....................!
real 190.61
user 185.11
sys 5.03

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/833315/ft1_filtered_4FGL_J2324.6+3115_daily_bin793.fits scfile=/scratch/kocevski/833315/ft2_4FGL_J2324.6+3115_daily_bin793.fits outfile=/scratch/kocevski/833315/cmap_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833315/ft1_filtered_4FGL_J2324.6+3115_daily_bin793.fits scfile=/scratch/kocevski/833315/ft2_4FGL_J2324.6+3115_daily_bin793.fits outfile=/scratch/kocevski/833315/cmap_HighResolution_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/833315/ft1_filtered_4FGL_J2324.6+3115_daily_bin793.fits', '/scratch/kocevski/833315/ft2_4FGL_J2324.6+3115_daily_bin793.fits', expMap='/scratch/kocevski/833315/expmap_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.fits', expCube='/scratch/kocevski/833315/ltcube_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/833315/Model_4FGL_J2324.6+3115_daily_bin793.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/833315/ft1_filtered_4FGL_J2324.6+3115_daily_bin793.fits
Spacecraft file(s): /scratch/kocevski/833315/ft2_4FGL_J2324.6+3115_daily_bin793.fits
Exposure map: /scratch/kocevski/833315/expmap_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.fits
Exposure cube: /scratch/kocevski/833315/ltcube_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/833315/Model_4FGL_J2324.6+3115_daily_bin793.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) = 8175.3341909

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15038E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.5261       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.181       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .75885E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.620       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.0727       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .66000       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    3.1576       1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.159       1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.156       1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.125       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0591       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92137       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=   8175.296     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2211 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    26.137        .48914E-05** at limit **
   2  Prefactor     .10000E-03    1.8023       -.12312E-06** at limit **
   3  norm          2.5262        1.2714        .13165E-06    .17579E-03
   4  Prefactor     .10000E-03    45.902       -.21762E-05** at limit **
   5  Prefactor     .10000E-03    16.407       -.12423E-04** at limit **
   6  Prefactor     .10000E-03    14.382        .96414E-05** at limit **
   7  Prefactor     14.177        8.8951       -.23926E-06   -.87426E-04
   8  Prefactor     .10000E-03    4.1419        .91447E-07** at limit **
   9  Prefactor     .10000E-03    6.9721        .19596E-05** at limit **
  10  norm          .79735E-02    .44910        .27549E-07   -.92125E-04
  11  Prefactor     18.624        15.677        .77251E-06   -.11653E-04
  12  Prefactor     1.1101        7.7560       -.84970E-06   -.11311E-03
  13  Prefactor     .10000E-03    7.4051       -.25760E-05** at limit **
  14  norm          .10000E-03    1.6333        .85984E-07** at limit **
  15  norm          .72116        6.9774        .24342E-06   -.48070E-03
  16  Prefactor     .10000E-03    4.8508       -.15083E-06** at limit **
  17  norm          3.1532        2.6298        .82571E-07   -.11518E-03
  18  Prefactor     23.162        13.929       -.41759E-06   -.56314E-05
  19  Prefactor     24.172        29.910        .16064E-04   -.18890E-04
  20  Prefactor     18.143        29.842        .21360E-04   -.30390E-04
  21  Prefactor     .10000E-03    2.3931       -.37103E-06** at limit **
  22  Normalizat    1.0593        .19067       -.31860E-05    .11297E-03
  23  Prefactor     .92113        .94933E-01   -.71602E-07   -.10644E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100005
  Prefactor  = 0.0001
  norm       = 2.52624
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1769
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.00797351
  Prefactor  = 18.6241
  Prefactor  = 1.11014
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.721162
  Prefactor  = 0.0001
  norm       = 3.15325
  Prefactor  = 23.1622
  Prefactor  = 24.1718
  Prefactor  = 18.1426
  Prefactor  = 0.0001
  Normalizat = 1.0593
  Prefactor  = 0.921128
 **********
 **   18 **HESSE 
 **********

 FCN=   8175.296     FROM HESSE     STATUS=OK           380 CALLS     2591 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    26.617        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.8108        .11854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.5262        1.2674        .69621E-04   -1.5390    
   4  Prefactor     .10000E-03    45.959        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    14.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.177        8.8851        .10636E-03   -1.4955    
   8  Prefactor     .10000E-03    4.1521        .17971E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.9771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .79735E-02    .67135        .22477E-01   -1.5690    
  11  Prefactor     18.624        15.679        .92819E-04   -1.4845    
  12  Prefactor     1.1101        25.944        .45052E-02   -1.5497    
  13  Prefactor     .10000E-03    7.4186        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6431        .11283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .72116        28.471        .45805E-02   -1.5538    
  16  Prefactor     .10000E-03    4.8659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          3.1532        2.6114        .12464E-03   -1.5353    
  18  Prefactor     23.162        13.931        .83234E-04   -1.4745    
  19  Prefactor     24.172        29.961        .81501E-04   -1.4724    
  20  Prefactor     18.143        29.759        .94076E-04   -1.4856    
  21  Prefactor     .10000E-03    2.4020        .13660E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0593        .22267        .31761E-03   -.91069    
  23  Prefactor     .92113        .11201        .17204E-03   -.95407    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.10517e-08
Minuit parameter uncertainties:
  1  0.000717115
  2  4.03651e-06
  3  1.26744
  4  2.74736e-05
  5  4.89273e-05
  6  1.02272e-05
  7  8.88597
  8  7.9191e-06
  9  6.47628e-06
  10  0.14541
  11  15.6824
  12  10.7382
  13  7.51651e-06
  14  2.8967e-06
  15  9.06657
  16  3.06744e-06
  17  2.61145
  18  13.9325
  19  29.9796
  20  29.7835
  21  4.09568e-05
  22  0.22287
  23  0.112038
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  3.067e-06  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:  9.211e-01  1.120e-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.059e+00  2.229e-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: 6.57e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833315/likelihoodResults_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.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) = 8175.29746208
delta logL = -0.000979260299573

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8175.29648245
delta logL = 3.69228473573e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8424       1.0000          .0000       10.000    
     3 'Normalizat'    1.0593       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92112       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=   8175.296     FROM MIGRAD    STATUS=CONVERGED    115 CALLS      271 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    11.056        .88482E-01** at limit **
   2  Index         1.9542        5.8283        .50000       -.17849E-06
   3  Normalizat    1.0593        .60412E-02    .31761E-03   -.49968E-03
   4  Prefactor     .92113        .30935E-02    .17204E-03   -.11549E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.95416
  Normalizat = 1.0593
  Prefactor  = 0.921127
 **********
 **   18 **HESSE 
 **********

 FCN=   8175.296     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      302 TOTAL
                     EDM=   .40E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    366.20        .47849E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9542        8.7763        .50000       -.65501    
   3  Normalizat    1.0593        .24620E-01    .63522E-04   -.91069    
   4  Prefactor     .92113        .12607E-01    .34409E-04   -.95407    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.03346e-10
Minuit parameter uncertainties:
  1  0.00118248
  2  416.49
  3  0.0246199
  4  0.0126073
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833315': 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) = 8175.29647575
delta logL = 7.07081744622e-06

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.182e-03  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.954e+00  4.165e+02  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:  9.211e-01  1.261e-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.059e+00  2.462e-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/833315/cmap_HighResolution_444873601_445132801_4FGL_J2324.6+3115_daily_bin793.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.22e-03', job_status='DONE', photon_flux_upper_limit='6.57e-08', time_completed='2021-09-29 16:05:52.266969', job_id='833315', GAL2='0.92', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1632956752.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='7.07e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='793' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:05:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 833315: <4FGL_J2324.6+3115_daily_bin793> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin793> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 15:50:27 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:50:29 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:50:29 2021
Terminated at Wed Sep 29 16:05:52 2021
Results reported at Wed Sep 29 16:05:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin793 351.17 31.2573 444873601 445132801 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 :                                   752.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             304.16 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   923 sec.
    Turnaround time :                            925 sec.

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

