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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin995
RA = 351.17, Dec = 31.2573
tmin = 497232001, tmax = 497491201
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='834699', job_status='RUN', time_executed='2021-09-29 15:59:34.913144', time_epoch_executed='1632956374.91' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='995'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834699

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834699/ft1_4FGL_J2324.6+3115_daily_bin995.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834699/ft2_4FGL_J2324.6+3115_daily_bin995.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834699/ft1_4FGL_J2324.6+3115_daily_bin995.fits outfile=/scratch/kocevski/834699/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin995.fits ra=351.17 dec=31.2573 rad=12.0 tmin=497232001.0 tmax=497491201.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 6.83
user 6.54
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834699/ft2_4FGL_J2324.6+3115_daily_bin995.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/834699/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin995.fits evtable="EVENTS" outfile="/scratch/kocevski/834699/ft1_filtered_4FGL_J2324.6+3115_daily_bin995.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834699/ft1_filtered_4FGL_J2324.6+3115_daily_bin995.fits" evtable="EVENTS" scfile=/scratch/kocevski/834699/ft2_4FGL_J2324.6+3115_daily_bin995.fits sctable="SC_DATA" outfile=/scratch/kocevski/834699/ltcube_497232001_497491201_4FGL_J2324.6+3115_daily_bin995.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/834699/ft2_4FGL_J2324.6+3115_daily_bin995.fits
.....................!
real 11.90
user 11.56
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834699/ft1_filtered_4FGL_J2324.6+3115_daily_bin995.fits evtable="EVENTS" scfile=/scratch/kocevski/834699/ft2_4FGL_J2324.6+3115_daily_bin995.fits sctable="SC_DATA" expcube=/scratch/kocevski/834699/ltcube_497232001_497491201_4FGL_J2324.6+3115_daily_bin995.fits outfile=/scratch/kocevski/834699/expmap_497232001_497491201_4FGL_J2324.6+3115_daily_bin995.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/834699/ltcube_497232001_497491201_4FGL_J2324.6+3115_daily_bin995.fits
.....................!
real 189.98
user 184.94
sys 4.72

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/834699/ft1_filtered_4FGL_J2324.6+3115_daily_bin995.fits scfile=/scratch/kocevski/834699/ft2_4FGL_J2324.6+3115_daily_bin995.fits outfile=/scratch/kocevski/834699/cmap_497232001_497491201_4FGL_J2324.6+3115_daily_bin995.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834699/ft1_filtered_4FGL_J2324.6+3115_daily_bin995.fits scfile=/scratch/kocevski/834699/ft2_4FGL_J2324.6+3115_daily_bin995.fits outfile=/scratch/kocevski/834699/cmap_HighResolution_497232001_497491201_4FGL_J2324.6+3115_daily_bin995.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    30.226       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.8321       1.0000         .10000E-03   10000.    
     3 'norm      '    .10194E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.7386       1.0000         .10000E-03   10000.    
     6 'Prefactor '    38.009       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .31335E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.363       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10150E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.096       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10446E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.8716       1.0000         .10000E-03   10000.    
    15 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.101       1.0000         .10000E-03   10000.    
    17 'norm      '    4.3384       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    102.61       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .72512       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1397       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=   6879.395     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2552 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          30.229        20.621       -.80032E-06    .54940E-04
   2  Prefactor     2.8307        7.3369       -.39522E-05   -.45316E-03
   3  norm          .10000E-03    .69430       -.28445E-06** at limit **
   4  Prefactor     .10000E-03    32.667        .20156E-04** at limit **
   5  Prefactor     5.7394        11.685       -.64206E-06   -.19703E-04
   6  Prefactor     37.976        32.169       -.29769E-04   -.20670E-03
   7  Prefactor     .10011E-03    5.2795        .26323E-05** at limit **
   8  Prefactor     10.364        9.8924        .28315E-06    .35114E-04
   9  Prefactor     .10000E-03    8.3156       -.12648E-05** at limit **
  10  norm          .10000E-03    .61224        .17216E-06** at limit **
  11  Prefactor     20.073        33.524       -.29858E-04   -.32575E-06
  12  Prefactor     .10000E-03    4.9902        .99899E-06** at limit **
  13  Prefactor     .10000E-03    14.526        .60850E-05** at limit **
  14  norm          5.8758        7.3413        .77967E-05   -.10819E-03
  15  norm          .10000E-03    5.6498        .39926E-05** at limit **
  16  Prefactor     24.072        30.150       -.29864E-04   -.43597E-04
  17  norm          4.3378        2.9541       -.35413E-06   -.26512E-03
  18  Prefactor     .10000E-03    5.4061       -.45671E-05** at limit **
  19  Prefactor     102.62        48.832        .74325E-05    .40376E-04
  20  Prefactor     .10000E-03    22.180       -.16867E-04** at limit **
  21  Prefactor     .10000E-03    3.3091       -.10813E-06** at limit **
  22  Normalizat    .72498        .26179        .15342E-04   -.10374E-03
  23  Prefactor     1.1398        .12325        .51337E-06   -.22797E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 30.2287
  Prefactor  = 2.83072
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.73941
  Prefactor  = 37.9762
  Prefactor  = 0.000100109
  Prefactor  = 10.3638
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 20.0726
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 5.87578
  norm       = 0.0001
  Prefactor  = 24.0718
  norm       = 4.33783
  Prefactor  = 0.0001
  Prefactor  = 102.625
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.724983
  Prefactor  = 1.13975
 **********
 **   18 **HESSE 
 **********

 FCN=   6879.395     FROM HESSE     STATUS=OK           370 CALLS     2922 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          30.229        20.605        .72876E-04   -1.4608    
   2  Prefactor     2.8307        7.3315        .24165E-03   -1.5371    
   3  norm          .10000E-03    1.4167        .13393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    32.663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.7394        11.643        .16767E-03   -1.5229    
   6  Prefactor     37.976        32.139        .65010E-04   -1.4475    
   7  Prefactor     .10011E-03    52.513        .36498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     10.364        9.8919        .12447E-03   -1.5064    
   9  Prefactor     .10000E-03    8.3165        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.5350        .12610E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     20.073        33.497        .89346E-04   -1.4812    
  12  Prefactor     .10000E-03    5.0063        .18093E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.561        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.8758        7.3098        .16573E-03   -1.5223    
  15  norm          .10000E-03    5.6738        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     24.072        30.095        .81594E-04   -1.4726    
  17  norm          4.3378        2.9545        .11397E-03   -1.5291    
  18  Prefactor     .10000E-03    5.4068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     102.62        48.899        .39692E-04   -1.3678    
  20  Prefactor     .10000E-03    22.192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    3.3243        .14729E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .72498        .28963        .42549E-03   -1.0291    
  23  Prefactor     1.1398        .13780        .17248E-03   -.88206    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79833e-09
Minuit parameter uncertainties:
  1  20.61
  2  7.33378
  3  3.33691e-05
  4  3.19875e-05
  5  11.6471
  6  32.1537
  7  0.0047951
  8  9.8935
  9  1.19142e-05
  10  1.92859e-05
  11  33.5283
  12  1.16649e-05
  13  0.000213021
  14  7.31087
  15  1.82706e-05
  16  30.1139
  17  2.95464
  18  6.51483e-06
  19  48.9184
  20  4.89881e-05
  21  1.93153e-05
  22  0.290242
  23  0.137841
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.407e+01  3.011e+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.140e+00  1.378e-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.250e-01  2.902e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.13
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 7.74e-08 +/- 9.67e-08
Energy Flux (Fixed Index): 1.65e-05 +/- 2.07e-05

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

Saving results to:
/scratch/kocevski/834699/likelihoodResults_497232001_497491201_4FGL_J2324.6+3115_daily_bin995.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) = 6878.81258484
delta logL = 0.582120580718

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6878.76498062
delta logL = 0.629724797373

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3510       1.0000         .10000E-03   10000.    
     2 'Index     '    4.8228       1.0000          .0000       10.000    
     3 'Normalizat'    .64563       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1697       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=   6878.765     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      263 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3271        72.418        .43433E-02    .52346E-03
   2  Index         4.8264        7.0689        .20149        .12043E-03
   3  Normalizat    .64603        .76744E-01    .10130        .35362E-04
   4  Prefactor     1.1696        .37982E-01    .35389E-01   -.24069E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.32707
  Index      = 4.82643
  Normalizat = 0.646034
  Prefactor  = 1.16959
 **********
 **   18 **HESSE 
 **********

 FCN=   6878.765     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      294 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3271        132.45        .13097E-03   -1.5246    
   2  Index         4.8264        7.3902        .77157E-02   -.34721E-01
   3  Normalizat    .64603        .25330        .44900E-03   -1.0606    
   4  Prefactor     1.1696        .12649        .17056E-03   -.87272    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.83511e-10
Minuit parameter uncertainties:
  1  53.2566
  2  8.35377
  3  0.253759
  4  0.126525
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834699': 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) = 6878.76497847
delta logL = 0.629726947259

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  5.327e+00  5.326e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  4.826e+00  8.354e+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.170e+00  1.265e-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:  6.460e-01  2.538e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.62
Ra Dec: 351.170 31.257
Photon Index (Free Index): 4.83 +/- 8.35
Photon Flux (Free Index): 1.36e-07 +/- 1.05e-07
Energy Flux (Free Index): 1.84e-05 +/- 2.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/834699/cmap_HighResolution_497232001_497491201_4FGL_J2324.6+3115_daily_bin995.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.90e-02', comment='SUCCESS', photon_flux='7.74e-08', energy_flux2='1.84e-05', photon_flux_error='9.67e-08', dlogl='6.30e-01', energy_flux='1.65e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-29 16:11:15.380772', photon_index_error2='8.35', photon_index2='4.83', ts='1.13', fit_tolerance='1e-08', GAL='1.14', photon_index_error='0.00', photon_flux_upper_limit='2.39e-07', energy_flux_error2='2.30e-05', EG='0.72', time_epoch_completed='1632957075.38', return_code='0', job_id='834699', GAL2='1.17', EG2='0.65', return_code2='102', energy_flux_error='2.07e-05', photon_flux_error2='1.05e-07', ts2='2.62', photon_index='2.88' WHERE bin_id='995' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:11:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 834699: <4FGL_J2324.6+3115_daily_bin995> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin995 351.17 31.2573 497232001 497491201 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 :                                   696.35 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             269.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   944 sec.
    Turnaround time :                            947 sec.

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

