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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin613
RA = 351.17, Dec = 31.2573
tmin = 398217601, tmax = 398476801
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='831945', job_status='RUN', time_executed='2021-09-29 15:48:50.023010', time_epoch_executed='1632955730.02' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='613'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831945

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

Retrieving the FT1 file...

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

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

Retrieving 49 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831945/ft1_4FGL_J2324.6+3115_daily_bin613.fits


Retrieving the FT1 file...

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

Retrieving 49 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831945/ft2_4FGL_J2324.6+3115_daily_bin613.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831945/ft1_4FGL_J2324.6+3115_daily_bin613.fits outfile=/scratch/kocevski/831945/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin613.fits ra=351.17 dec=31.2573 rad=12.0 tmin=398217601.0 tmax=398476801.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.24
user 4.97
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/831945/ft2_4FGL_J2324.6+3115_daily_bin613.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/831945/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin613.fits evtable="EVENTS" outfile="/scratch/kocevski/831945/ft1_filtered_4FGL_J2324.6+3115_daily_bin613.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.42
user 0.28
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/831945/ft1_filtered_4FGL_J2324.6+3115_daily_bin613.fits" evtable="EVENTS" scfile=/scratch/kocevski/831945/ft2_4FGL_J2324.6+3115_daily_bin613.fits sctable="SC_DATA" outfile=/scratch/kocevski/831945/ltcube_398217601_398476801_4FGL_J2324.6+3115_daily_bin613.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/831945/ft2_4FGL_J2324.6+3115_daily_bin613.fits
.....................!
real 8.59
user 8.31
sys 0.26

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831945/ft1_filtered_4FGL_J2324.6+3115_daily_bin613.fits evtable="EVENTS" scfile=/scratch/kocevski/831945/ft2_4FGL_J2324.6+3115_daily_bin613.fits sctable="SC_DATA" expcube=/scratch/kocevski/831945/ltcube_398217601_398476801_4FGL_J2324.6+3115_daily_bin613.fits outfile=/scratch/kocevski/831945/expmap_398217601_398476801_4FGL_J2324.6+3115_daily_bin613.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/831945/ltcube_398217601_398476801_4FGL_J2324.6+3115_daily_bin613.fits
.....................!
real 148.18
user 144.60
sys 3.29

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/831945/ft1_filtered_4FGL_J2324.6+3115_daily_bin613.fits scfile=/scratch/kocevski/831945/ft2_4FGL_J2324.6+3115_daily_bin613.fits outfile=/scratch/kocevski/831945/cmap_398217601_398476801_4FGL_J2324.6+3115_daily_bin613.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.45
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831945/ft1_filtered_4FGL_J2324.6+3115_daily_bin613.fits scfile=/scratch/kocevski/831945/ft2_4FGL_J2324.6+3115_daily_bin613.fits outfile=/scratch/kocevski/831945/cmap_HighResolution_398217601_398476801_4FGL_J2324.6+3115_daily_bin613.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.47
user 0.31
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10351E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.491       1.0000         .10000E-03   10000.    
     3 'norm      '    2.8084       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.176       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.7327       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.0457       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.1996       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.9868       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    38.569       1.0000         .10000E-03   10000.    
    15 'norm      '    13.880       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.484       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6679       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .16797E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.3623       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.8737       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1264       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .90192       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=   11096.03     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2143 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    18.564        .66027E-05** at limit **
   2  Prefactor     11.488        8.4730       -.50672E-06   -.14987E-02
   3  norm          2.8082        1.0612       -.18583E-06   -.60798E-03
   4  Prefactor     .10000E-03    19.784        .11474E-04** at limit **
   5  Prefactor     .10000E-03    11.374        .97226E-05** at limit **
   6  Prefactor     14.177        9.6565        .10586E-06    .37445E-03
   7  Prefactor     2.7328        2.7698       -.18264E-07    .28700E-03
   8  Prefactor     6.0455        5.9812       -.32007E-06    .42955E-04
   9  Prefactor     .10000E-03    4.8568       -.22017E-06** at limit **
  10  norm          3.1994        1.3076       -.13485E-06   -.12143E-03
  11  Prefactor     .10000E-03    16.717       -.61705E-05** at limit **
  12  Prefactor     1.9870        11.107       -.34823E-05   -.36035E-03
  13  Prefactor     .10000E-03    9.1990       -.15000E-05** at limit **
  14  norm          38.570        8.2821        .13168E-05    .18103E-03
  15  norm          13.881        8.8814       -.89605E-07    .19166E-04
  16  Prefactor     20.468        17.540       -.81064E-05    .88267E-04
  17  norm          1.6679        1.5497        .31650E-07    .16333E-03
  18  Prefactor     .10002E-03    7.8296        .32160E-07** at limit **
  19  Prefactor     3.3337        38.268       -.67970E-04   -.15030E-04
  20  Prefactor     .10000E-03    14.164       -.13272E-04** at limit **
  21  Prefactor     3.8758        6.7113       -.11708E-05   -.30360E-03
  22  Normalizat    1.1268        .18519        .60586E-05   -.20369E-05
  23  Prefactor     .90172        .86906E-01   -.27326E-06    .62786E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 11.4881
  norm       = 2.8082
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.1769
  Prefactor  = 2.73276
  Prefactor  = 6.04546
  Prefactor  = 0.0001
  norm       = 3.19939
  Prefactor  = 0.0001
  Prefactor  = 1.98695
  Prefactor  = 0.0001
  norm       = 38.57
  norm       = 13.8807
  Prefactor  = 20.4683
  norm       = 1.66793
  Prefactor  = 0.000100016
  Prefactor  = 3.3337
  Prefactor  = 0.0001
  Prefactor  = 3.87579
  Normalizat = 1.12684
  Prefactor  = 0.901724
 **********
 **   18 **HESSE 
 **********

 FCN=   11096.03     FROM HESSE     STATUS=OK           376 CALLS     2519 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    18.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.488        8.5297        .59089E-03   -1.5030    
   3  norm          2.8082        1.0610        .64249E-04   -1.5373    
   4  Prefactor     .10000E-03    19.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    11.451        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.177        9.6597        .53190E-03   -1.4955    
   7  Prefactor     2.7328        2.7759        .17192E-03   -1.5377    
   8  Prefactor     6.0455        5.9828        .16329E-03   -1.5216    
   9  Prefactor     .10000E-03    4.8592        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.1994        1.3046        .73472E-04   -1.5350    
  11  Prefactor     .10000E-03    16.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.9870        11.088        .29398E-03   -1.5426    
  13  Prefactor     .10000E-03    9.2171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          38.570        8.2765        .64538E-04   -1.4465    
  15  norm          13.881        8.8845        .10751E-03   -1.4963    
  16  Prefactor     20.468        17.561        .88497E-04   -1.4803    
  17  norm          1.6679        1.5529        .12154E-03   -1.5450    
  18  Prefactor     .10002E-03    37.319        .57325E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.3337        38.261        .22069E-03   -1.5343    
  20  Prefactor     .10000E-03    14.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.8758        6.7068        .20502E-03   -1.5314    
  22  Normalizat    1.1268        .21593        .34314E-03   -.88895    
  23  Prefactor     .90172        .10179        .18435E-03   -.96081    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.15974e-09
Minuit parameter uncertainties:
  1  6.8026e-05
  2  8.53057
  3  1.06097
  4  1.53057e-05
  5  6.33218e-05
  6  9.66075
  7  2.77607
  8  5.98338
  9  2.62096e-06
  10  1.30459
  11  3.47807e-05
  12  9.38976
  13  8.00049e-06
  14  8.27671
  15  8.88531
  16  17.5653
  17  1.55298
  18  0.00155762
  19  22.6057
  20  5.11432e-06
  21  6.70815
  22  0.2161
  23  0.101809
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.047e+01  1.757e+01  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.017e-01  1.018e-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.127e+00  2.161e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.27
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 6.58e-08 +/- 5.64e-08
Energy Flux (Fixed Index): 1.41e-05 +/- 1.21e-05

TS (Fixed Index): 2.27
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.68e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.34e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/831945/likelihoodResults_398217601_398476801_4FGL_J2324.6+3115_daily_bin613.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): 0
logL (Free Index) = 11095.466435
delta logL = 0.56193929433

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11095.4278651
delta logL = 0.600509195963

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.297       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9579       1.0000          .0000       10.000    
     3 'Normalizat'    1.1725       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88898       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.

 FCN=   11095.43     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      224 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.233        13.169        .26482E-02    .94604E-04
   2  Index         1.9569        .37098        .26037       -.11036E-03
   3  Normalizat    1.1722        .17607        .76292E-01    .24055E-04
   4  Prefactor     .88912        .85795E-01    .44864E-01    .71798E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.2329
  Index      = 1.95687
  Normalizat = 1.17216
  Prefactor  = 0.889124
 **********
 **   18 **HESSE 
 **********

 FCN=   11095.43     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.233        20.535        .52964E-03   -1.4953    
   2  Index         1.9569        .77180        .95895E-02   -.65433    
   3  Normalizat    1.1722        .20653        .33767E-03   -.87467    
   4  Prefactor     .88912        .10016        .18558E-03   -.96522    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.12621e-11
Minuit parameter uncertainties:
  1  20.5447
  2  0.776755
  3  0.206676
  4  0.100177
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831945': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11095.427857
delta logL = 0.60051731469

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.423e+01  2.054e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.957e+00  7.768e-01  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.891e-01  1.002e-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.172e+00  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.49
Ra Dec: 351.170 31.257
Photon Index (Free Index): 1.96 +/- 0.78
Photon Flux (Free Index): 2.42e-08 +/- 4.08e-08
Energy Flux (Free Index): 1.86e-05 +/- 2.05e-05

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/831945/cmap_HighResolution_398217601_398476801_4FGL_J2324.6+3115_daily_bin613.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.34e-02', comment='SUCCESS', photon_flux='6.58e-08', energy_flux2='1.86e-05', photon_flux_error='5.64e-08', dlogl='6.01e-01', energy_flux='1.41e-05', photon_flux2='2.42e-08', job_status='DONE', time_completed='2021-09-29 16:00:23.347141', photon_index_error2='0.78', photon_index2='1.96', ts='2.27', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.68e-07', energy_flux_error2='2.05e-05', EG='1.13', time_epoch_completed='1632956423.35', return_code='0', job_id='831945', GAL2='0.89', EG2='1.17', return_code2='0', energy_flux_error='1.21e-05', photon_flux_error2='4.08e-08', ts2='3.49', photon_index='2.88' WHERE bin_id='613' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:00:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 831945: <4FGL_J2324.6+3115_daily_bin613> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin613> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 15:45:30 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:45:31 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:31 2021
Terminated at Wed Sep 29 16:00:24 2021
Results reported at Wed Sep 29 16:00:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin613 351.17 31.2573 398217601 398476801 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 :                                   690.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             289.66 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   892 sec.
    Turnaround time :                            894 sec.

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

