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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin643
RA = 351.17, Dec = 31.2573
tmin = 405993601, tmax = 406252801
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='831994', job_status='RUN', time_executed='2021-09-29 15:48:38.144570', time_epoch_executed='1632955718.14' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='643'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831994

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831994/ft1_4FGL_J2324.6+3115_daily_bin643.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831994/ft2_4FGL_J2324.6+3115_daily_bin643.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831994/ft1_4FGL_J2324.6+3115_daily_bin643.fits outfile=/scratch/kocevski/831994/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin643.fits ra=351.17 dec=31.2573 rad=12.0 tmin=405993601.0 tmax=406252801.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.37
user 3.17
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/831994/ft1_filtered_4FGL_J2324.6+3115_daily_bin643.fits" evtable="EVENTS" scfile=/scratch/kocevski/831994/ft2_4FGL_J2324.6+3115_daily_bin643.fits sctable="SC_DATA" outfile=/scratch/kocevski/831994/ltcube_405993601_406252801_4FGL_J2324.6+3115_daily_bin643.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/831994/ft2_4FGL_J2324.6+3115_daily_bin643.fits
.....................!
real 12.04
user 11.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831994/ft1_filtered_4FGL_J2324.6+3115_daily_bin643.fits evtable="EVENTS" scfile=/scratch/kocevski/831994/ft2_4FGL_J2324.6+3115_daily_bin643.fits sctable="SC_DATA" expcube=/scratch/kocevski/831994/ltcube_405993601_406252801_4FGL_J2324.6+3115_daily_bin643.fits outfile=/scratch/kocevski/831994/expmap_405993601_406252801_4FGL_J2324.6+3115_daily_bin643.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/831994/ltcube_405993601_406252801_4FGL_J2324.6+3115_daily_bin643.fits
.....................!
real 189.76
user 184.91
sys 4.54

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/831994/ft1_filtered_4FGL_J2324.6+3115_daily_bin643.fits scfile=/scratch/kocevski/831994/ft2_4FGL_J2324.6+3115_daily_bin643.fits outfile=/scratch/kocevski/831994/cmap_405993601_406252801_4FGL_J2324.6+3115_daily_bin643.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831994/ft1_filtered_4FGL_J2324.6+3115_daily_bin643.fits scfile=/scratch/kocevski/831994/ft2_4FGL_J2324.6+3115_daily_bin643.fits outfile=/scratch/kocevski/831994/cmap_HighResolution_405993601_406252801_4FGL_J2324.6+3115_daily_bin643.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.7931       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2412       1.0000         .10000E-03   10000.    
     3 'norm      '    .88985       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.762       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10280E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.6737       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.3814       1.0000         .10000E-03   10000.    
    11 'Prefactor '    32.128       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.176       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.256       1.0000         .10000E-03   10000.    
    14 'norm      '    21.467       1.0000         .10000E-03   10000.    
    15 'norm      '    5.9017       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.101       1.0000         .10000E-03   10000.    
    17 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.8309       1.0000         .10000E-03   10000.    
    19 'Prefactor '    57.826       1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.441       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10647E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .96815       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0369       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=   9332.878     FROM MIGRAD    STATUS=CONVERGED    488 CALLS     2535 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.7921        13.899       -.63565E-05   -.11492E-03
   2  Prefactor     3.2436        6.8462       -.82429E-06   -.36059E-03
   3  norm          .88961        1.1629       -.78814E-07   -.12593E-02
   4  Prefactor     .10000E-03    56.326        .18154E-05** at limit **
   5  Prefactor     .10000E-03    9.2087        .50638E-06** at limit **
   6  Prefactor     11.747        22.284       -.12020E-04   -.12519E-04
   7  Prefactor     .10000E-03    11.017        .19487E-06** at limit **
   8  Prefactor     7.6729        9.8325        .58705E-06   -.41079E-04
   9  Prefactor     .10000E-03    7.7406       -.28210E-06** at limit **
  10  norm          5.3814        1.8871        .29753E-07   -.15505E-03
  11  Prefactor     32.130        23.651        .16826E-05    .13087E-05
  12  Prefactor     11.175        11.783        .77251E-06   -.48838E-04
  13  Prefactor     16.249        25.826       -.81621E-05   -.99272E-05
  14  norm          21.466        7.8628       -.17367E-06   -.78676E-05
  15  norm          5.9016        5.9836        .11575E-05    .18841E-02
  16  Prefactor     20.106        20.082        .23639E-05   -.60737E-05
  17  norm          .10000E-03    1.0663       -.31109E-07** at limit **
  18  Prefactor     5.8299        12.834       -.29055E-06   -.53825E-04
  19  Prefactor     57.833        39.146        .64855E-05   -.27917E-05
  20  Prefactor     22.458        52.327        .29905E-04    .25173E-04
  21  Prefactor     .10000E-03    7.0774       -.95357E-06** at limit **
  22  Normalizat    .96762        .22323       -.35165E-05    .81821E-04
  23  Prefactor     1.0371        .10456        .98530E-06   -.15311E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.79214
  Prefactor  = 3.24356
  norm       = 0.88961
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.747
  Prefactor  = 0.000100001
  Prefactor  = 7.67285
  Prefactor  = 0.0001
  norm       = 5.38143
  Prefactor  = 32.1295
  Prefactor  = 11.1745
  Prefactor  = 16.2493
  norm       = 21.4661
  norm       = 5.90164
  Prefactor  = 20.1057
  norm       = 0.0001
  Prefactor  = 5.82993
  Prefactor  = 57.8331
  Prefactor  = 22.4576
  Prefactor  = 0.000100003
  Normalizat = 0.967624
  Prefactor  = 1.03712
 **********
 **   18 **HESSE 
 **********

 FCN=   9332.878     FROM HESSE     STATUS=OK           378 CALLS     2913 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.7921        13.901        .18376E-03   -1.5270    
   2  Prefactor     3.2436        6.8547        .22498E-03   -1.5348    
   3  norm          .88961        1.0242        .11391E-02   -1.5519    
   4  Prefactor     .10000E-03    56.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.2203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     11.747        22.254        .11681E-03   -1.5022    
   7  Prefactor     .10000E-03    11.401        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.6729        9.8284        .14476E-03   -1.5154    
   9  Prefactor     .10000E-03    7.7455        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.3814        1.8851        .74623E-04   -1.5244    
  11  Prefactor     32.130        23.644        .70692E-04   -1.4574    
  12  Prefactor     11.175        11.765        .11984E-03   -1.5039    
  13  Prefactor     16.249        25.780        .99338E-04   -1.4902    
  14  norm          21.466        7.8579        .86449E-04   -1.4781    
  15  norm          5.9016        6.1111        .82651E-03   -1.5222    
  16  Prefactor     20.106        20.071        .89335E-04   -1.4811    
  17  norm          .10000E-03    1.1123        .19469E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.8299        12.827        .16632E-03   -1.5225    
  19  Prefactor     57.833        39.108        .52756E-04   -1.4186    
  20  Prefactor     22.458        51.957        .84554E-04   -1.4760    
  21  Prefactor     .10000E-03    7.1578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .96762        .25277        .39423E-03   -.94123    
  23  Prefactor     1.0371        .12023        .18442E-03   -.91502    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38238e-09
Minuit parameter uncertainties:
  1  13.9106
  2  6.85637
  3  1.02423
  4  8.3482e-05
  5  9.18187e-06
  6  22.2695
  7  0.000165726
  8  9.83047
  9  6.71015e-06
  10  1.88513
  11  23.6507
  12  11.7674
  13  25.798
  14  7.85832
  15  6.11175
  16  20.0781
  17  2.86523e-06
  18  12.8334
  19  39.1251
  20  52.0623
  21  0.000299475
  22  0.253078
  23  0.120263
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.011e+01  2.008e+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:  1.037e+00  1.203e-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:  9.676e-01  2.531e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.87
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 6.47e-08 +/- 6.45e-08
Energy Flux (Fixed Index): 1.38e-05 +/- 1.38e-05

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

Saving results to:
/scratch/kocevski/831994/likelihoodResults_405993601_406252801_4FGL_J2324.6+3115_daily_bin643.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) = 9332.18287018
delta logL = 0.695451124615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9332.16695564
delta logL = 0.71136565955

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.396       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9546       1.0000          .0000       10.000    
     3 'Normalizat'    1.0080       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0250       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=   9332.167     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      220 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 18.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.390        20.813       -.58814E-05    .38040E-03
   2  Index         1.9544        .68735       -.33297E-04   -.59477E-04
   3  Normalizat    1.0079        .21022        .13749E-05    .16668E-03
   4  Prefactor     1.0250        .10139       -.36517E-07    .40834E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.3902
  Index      = 1.95445
  Normalizat = 1.00791
  Prefactor  = 1.02505
 **********
 **   18 **HESSE 
 **********

 FCN=   9332.167     FROM HESSE     STATUS=OK            29 CALLS      249 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.390        20.062        .98913E-04   -1.4898    
   2  Index         1.9544        .66104        .90265E-02   -.65494    
   3  Normalizat    1.0079        .24021        .38739E-03   -.92766    
   4  Prefactor     1.0250        .11633        .18538E-03   -.91899    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55537e-10
Minuit parameter uncertainties:
  1  20.0706
  2  0.66414
  3  0.240472
  4  0.116355
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831994': 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) = 9332.16695553
delta logL = 0.711365776049

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.639e+01  2.007e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.954e+00  6.641e-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:  1.025e+00  1.164e-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.008e+00  2.405e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.31
Ra Dec: 351.170 31.257
Photon Index (Free Index): 1.95 +/- 0.66
Photon Flux (Free Index): 2.78e-08 +/- 3.90e-08
Energy Flux (Free Index): 2.16e-05 +/- 2.54e-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/831994/cmap_HighResolution_405993601_406252801_4FGL_J2324.6+3115_daily_bin643.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.55e-02', comment='SUCCESS', photon_flux='6.47e-08', energy_flux2='2.16e-05', photon_flux_error='6.45e-08', dlogl='7.11e-01', energy_flux='1.38e-05', photon_flux2='2.78e-08', job_status='DONE', time_completed='2021-09-29 16:02:10.443114', photon_index_error2='0.66', photon_index2='1.95', ts='1.87', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='1.95e-07', energy_flux_error2='2.54e-05', EG='0.97', time_epoch_completed='1632956530.44', return_code='0', job_id='831994', GAL2='1.03', EG2='1.01', return_code2='0', energy_flux_error='1.38e-05', photon_flux_error2='3.90e-08', ts2='3.31', photon_index='2.88' WHERE bin_id='643' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:02:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0245>
Subject: Job 831994: <4FGL_J2324.6+3115_daily_bin643> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin643 351.17 31.2573 405993601 406252801 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 :                                   813.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             292.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   994 sec.
    Turnaround time :                            997 sec.

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

