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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin518
RA = 351.17, Dec = 31.2573
tmin = 373593601, tmax = 373852801
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='831793', job_status='RUN', time_executed='2021-09-29 15:48:07.116387', time_epoch_executed='1632955687.12' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='518'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831793

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831793/ft1_4FGL_J2324.6+3115_daily_bin518.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831793/ft2_4FGL_J2324.6+3115_daily_bin518.fits


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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/831793/ft1_filtered_4FGL_J2324.6+3115_daily_bin518.fits" evtable="EVENTS" scfile=/scratch/kocevski/831793/ft2_4FGL_J2324.6+3115_daily_bin518.fits sctable="SC_DATA" outfile=/scratch/kocevski/831793/ltcube_373593601_373852801_4FGL_J2324.6+3115_daily_bin518.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/831793/ft2_4FGL_J2324.6+3115_daily_bin518.fits
.....................!
real 11.88
user 11.54
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831793/ft1_filtered_4FGL_J2324.6+3115_daily_bin518.fits evtable="EVENTS" scfile=/scratch/kocevski/831793/ft2_4FGL_J2324.6+3115_daily_bin518.fits sctable="SC_DATA" expcube=/scratch/kocevski/831793/ltcube_373593601_373852801_4FGL_J2324.6+3115_daily_bin518.fits outfile=/scratch/kocevski/831793/expmap_373593601_373852801_4FGL_J2324.6+3115_daily_bin518.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/831793/ltcube_373593601_373852801_4FGL_J2324.6+3115_daily_bin518.fits
.....................!
real 190.81
user 185.29
sys 5.06

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/831793/ft1_filtered_4FGL_J2324.6+3115_daily_bin518.fits scfile=/scratch/kocevski/831793/ft2_4FGL_J2324.6+3115_daily_bin518.fits outfile=/scratch/kocevski/831793/cmap_373593601_373852801_4FGL_J2324.6+3115_daily_bin518.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831793/ft1_filtered_4FGL_J2324.6+3115_daily_bin518.fits scfile=/scratch/kocevski/831793/ft2_4FGL_J2324.6+3115_daily_bin518.fits outfile=/scratch/kocevski/831793/cmap_HighResolution_373593601_373852801_4FGL_J2324.6+3115_daily_bin518.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/831793/ft1_filtered_4FGL_J2324.6+3115_daily_bin518.fits evtable="EVENTS" scfile=/scratch/kocevski/831793/ft2_4FGL_J2324.6+3115_daily_bin518.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/831793/Model_4FGL_J2324.6+3115_daily_bin518.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/831793/ft1_filtered_4FGL_J2324.6+3115_daily_bin518.fits.....................!
real 91.96
user 90.62
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    34.815       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10322E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.685       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12056       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10122E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    3.9069       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10128E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.370       1.0000         .10000E-03   10000.    
    14 'norm      '    .10072E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.462       1.0000         .10000E-03   10000.    
    17 'norm      '    .78218       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10886E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    48.917       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10650E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .79762       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0463       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=   8383.653     FROM MIGRAD    STATUS=CONVERGED    546 CALLS     2592 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          34.812        22.718       -.63754E-06    .15783E-05
   2  Prefactor     .10000E-03    3.3184       -.15205E-07** at limit **
   3  norm          .10000E-03    .58694       -.18694E-06** at limit **
   4  Prefactor     .10000E-03    92.217       -.81279E-06** at limit **
   5  Prefactor     17.694        17.878        .28439E-05    .47433E-04
   6  Prefactor     .55786E-01    8.6845       -.79195E-06    .88680E-04
   7  Prefactor     .10000E-03    2.0298       -.35887E-07** at limit **
   8  Prefactor     .10000E-03    9.8242       -.30199E-07** at limit **
   9  Prefactor     .10000E-03    15.379        .16391E-06** at limit **
  10  norm          3.9074        1.8395       -.12278E-06   -.23944E-03
  11  Prefactor     .10000E-03    25.557        .69358E-07** at limit **
  12  Prefactor     .10000E-03    4.3054        .55508E-08** at limit **
  13  Prefactor     39.399        27.339       -.10708E-04    .20322E-05
  14  norm          .10000E-03    3.6902       -.24178E-06** at limit **
  15  norm          .10000E-03    2.7097       -.64719E-08** at limit **
  16  Prefactor     22.467        20.317        .47090E-05    .21195E-04
  17  norm          .78182        2.0625       -.10254E-05   -.17000E-02
  18  Prefactor     .10000E-03    47.583        .40540E-06** at limit **
  19  Prefactor     48.930        49.833        .27369E-07    .13967E-05
  20  Prefactor     .10000E-03    19.991       -.62307E-07** at limit **
  21  Prefactor     .10000E-03    5.8874        .13490E-07** at limit **
  22  Normalizat    .79775        .21701       -.63832E-06    .80766E-04
  23  Prefactor     1.0462        .10113        .60350E-06    .12459E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 34.8116
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.6941
  Prefactor  = 0.0557865
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.90744
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.3995
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 22.4671
  norm       = 0.781819
  Prefactor  = 0.0001
  Prefactor  = 48.9298
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.797749
  Prefactor  = 1.04621
 **********
 **   18 **HESSE 
 **********

 FCN=   8383.653     FROM HESSE     STATUS=OK           374 CALLS     2966 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          34.812        22.688        .67917E-04   -1.4527    
   2  Prefactor     .10000E-03    3.3460        .16287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    1.7468        .13450E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    92.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.694        17.645        .95240E-04   -1.4866    
   6  Prefactor     .55786E-01    12.081        .10181       -1.5661    
   7  Prefactor     .10000E-03    2.0345        .12739E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          3.9074        1.8360        .80488E-04   -1.5313    
  11  Prefactor     .10000E-03    25.755        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.3158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     39.399        26.935        .63881E-04   -1.4452    
  14  norm          .10000E-03    3.7385        .17135E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.7110        .14720E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.467        20.224        .84514E-04   -1.4760    
  17  norm          .78182        2.0913        .21206E-03   -1.5531    
  18  Prefactor     .10000E-03    48.831        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     48.930        49.998        .57335E-04   -1.4308    
  20  Prefactor     .10000E-03    19.995        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    5.9253        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .79775        .24585        .39281E-03   -1.0015    
  23  Prefactor     1.0462        .11569        .16944E-03   -.91205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.00552e-09
Minuit parameter uncertainties:
  1  22.6935
  2  1.13099e-06
  3  2.42817e-05
  4  1.78322e-05
  5  17.6506
  6  1.64076
  7  6.2983e-08
  8  2.17489e-07
  9  1.38014e-06
  10  1.83604
  11  0.000156114
  12  2.83171e-06
  13  26.9435
  14  4.73674e-05
  15  8.56006e-07
  16  20.2298
  17  2.09148
  18  8.128e-05
  19  50.0412
  20  6.59486e-06
  21  8.82324e-06
  22  0.24619
  23  0.115716
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.247e+01  2.023e+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.046e+00  1.157e-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:  7.977e-01  2.462e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.69
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 7.23e-08 +/- 6.50e-08
Energy Flux (Fixed Index): 1.54e-05 +/- 1.39e-05

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

Saving results to:
/scratch/kocevski/831793/likelihoodResults_373593601_373852801_4FGL_J2324.6+3115_daily_bin518.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) = 8383.12119072
delta logL = 0.53220806943

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8383.11996854
delta logL = 0.533430251184

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.484       1.0000         .10000E-03   10000.    
     2 'Index     '    3.8590       1.0000          .0000       10.000    
     3 'Normalizat'    .73634       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0661       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=   8383.120     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      303 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.478        21.792        .10524E-03   -.28907E-03
   2  Index         3.8595        1.3484        .84427E-02   -.44448E-04
   3  Normalizat    .73646        .24466        .40733E-03   -.24338E-04
   4  Prefactor     1.0660        .11627        .16800E-03    .25214E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.478
  Index      = 3.85948
  Normalizat = 0.736458
  Prefactor  = 1.06604
 **********
 **   18 **HESSE 
 **********

 FCN=   8383.120     FROM HESSE     STATUS=OK            25 CALLS      328 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.478        17.714        .42097E-05   -1.4947    
   2  Index         3.8595        1.0986        .33771E-03   -.23013    
   3  Normalizat    .73646        .24469        .16293E-04   -1.0247    
   4  Prefactor     1.0660        .11609        .33600E-04   -.90559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.56809e-10
Minuit parameter uncertainties:
  1  17.7202
  2  1.10812
  3  0.245059
  4  0.116116
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831793': 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) = 8383.1199682
delta logL = 0.533430589123

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.448e+01  1.772e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  3.859e+00  1.108e+00  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.066e+00  1.161e-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:  7.365e-01  2.451e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.95
Ra Dec: 351.170 31.257
Photon Index (Free Index): 3.86 +/- 1.11
Photon Flux (Free Index): 1.24e-07 +/- 8.72e-08
Energy Flux (Free Index): 1.91e-05 +/- 1.30e-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/831793/cmap_HighResolution_373593601_373852801_4FGL_J2324.6+3115_daily_bin518.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.58e-02', comment='SUCCESS', photon_flux='7.23e-08', energy_flux2='1.91e-05', photon_flux_error='6.50e-08', dlogl='5.33e-01', energy_flux='1.54e-05', photon_flux2='1.24e-07', job_status='DONE', time_completed='2021-09-29 16:00:58.433691', photon_index_error2='1.11', photon_index2='3.86', ts='1.69', fit_tolerance='1e-08', GAL='1.05', photon_index_error='0.00', photon_flux_upper_limit='1.99e-07', energy_flux_error2='1.30e-05', EG='0.80', time_epoch_completed='1632956458.43', return_code='0', job_id='831793', GAL2='1.07', EG2='0.74', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='8.72e-08', ts2='2.95', photon_index='2.88' WHERE bin_id='518' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:00:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0213>
Subject: Job 831793: <4FGL_J2324.6+3115_daily_bin518> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin518 351.17 31.2573 373593601 373852801 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 :                                   771.21 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   939 sec.
    Turnaround time :                            941 sec.

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

