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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin977
RA = 351.17, Dec = 31.2573
tmin = 492566401, tmax = 492825601
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='834670', job_status='RUN', time_executed='2021-09-29 15:58:00.738021', time_epoch_executed='1632956280.74' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='977'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834670

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834670/ft1_4FGL_J2324.6+3115_daily_bin977.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834670/ft2_4FGL_J2324.6+3115_daily_bin977.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834670/ft1_4FGL_J2324.6+3115_daily_bin977.fits outfile=/scratch/kocevski/834670/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin977.fits ra=351.17 dec=31.2573 rad=12.0 tmin=492566401.0 tmax=492825601.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.54
user 3.32
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/834670/ft2_4FGL_J2324.6+3115_daily_bin977.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/834670/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin977.fits evtable="EVENTS" outfile="/scratch/kocevski/834670/ft1_filtered_4FGL_J2324.6+3115_daily_bin977.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.49
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834670/ft1_filtered_4FGL_J2324.6+3115_daily_bin977.fits" evtable="EVENTS" scfile=/scratch/kocevski/834670/ft2_4FGL_J2324.6+3115_daily_bin977.fits sctable="SC_DATA" outfile=/scratch/kocevski/834670/ltcube_492566401_492825601_4FGL_J2324.6+3115_daily_bin977.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/834670/ft2_4FGL_J2324.6+3115_daily_bin977.fits
.....................!
real 11.93
user 11.58
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834670/ft1_filtered_4FGL_J2324.6+3115_daily_bin977.fits evtable="EVENTS" scfile=/scratch/kocevski/834670/ft2_4FGL_J2324.6+3115_daily_bin977.fits sctable="SC_DATA" expcube=/scratch/kocevski/834670/ltcube_492566401_492825601_4FGL_J2324.6+3115_daily_bin977.fits outfile=/scratch/kocevski/834670/expmap_492566401_492825601_4FGL_J2324.6+3115_daily_bin977.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/834670/ltcube_492566401_492825601_4FGL_J2324.6+3115_daily_bin977.fits
.....................!
real 190.29
user 184.93
sys 5.01

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/834670/ft1_filtered_4FGL_J2324.6+3115_daily_bin977.fits scfile=/scratch/kocevski/834670/ft2_4FGL_J2324.6+3115_daily_bin977.fits outfile=/scratch/kocevski/834670/cmap_492566401_492825601_4FGL_J2324.6+3115_daily_bin977.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.59
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834670/ft1_filtered_4FGL_J2324.6+3115_daily_bin977.fits scfile=/scratch/kocevski/834670/ft2_4FGL_J2324.6+3115_daily_bin977.fits outfile=/scratch/kocevski/834670/cmap_HighResolution_492566401_492825601_4FGL_J2324.6+3115_daily_bin977.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.56
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.6448       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .41852E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.9639       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.0295       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .35040E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    1.1860       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .86719E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    58.472       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10064E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.2257       1.0000         .10000E-03   10000.    
    16 'Prefactor '    31.475       1.0000         .10000E-03   10000.    
    17 'norm      '    1.1805       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0437       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .56681E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.453       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .89654       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .93370       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=   9647.928     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2599 TOTAL
                     EDM=   .94E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.6542        23.777       -.11188E-04    .27869E-03
   2  Prefactor     .10000E-03    3.7853        .81384E-06** at limit **
   3  norm          2.9639        1.2992        .42183E-08   -.34948E-03
   4  Prefactor     .10000E-03    21.358       -.21717E-05** at limit **
   5  Prefactor     .10000E-03    8.0832       -.12816E-06** at limit **
   6  Prefactor     .10000E-03    15.990        .15537E-05** at limit **
   7  Prefactor     9.0300        5.9234       -.10980E-05   -.31814E-04
   8  Prefactor     .10010E-03    4.3289        .10127E-05** at limit **
   9  Prefactor     .10000E-03    11.717       -.28802E-05** at limit **
  10  norm          1.1860        1.1043       -.24927E-06   -.12998E-02
  11  Prefactor     .10012E-03    14.306       -.64941E-06** at limit **
  12  Prefactor     58.466        15.054        .42441E-05    .95165E-04
  13  Prefactor     .10000E-03    11.154        .18462E-05** at limit **
  14  norm          .10000E-03    4.3236       -.18755E-06** at limit **
  15  norm          6.2259        5.9878        .62362E-08    .92534E-04
  16  Prefactor     31.470        17.088        .21181E-05    .51062E-04
  17  norm          1.1802        1.5514       -.49411E-06   -.84284E-03
  18  Prefactor     .10000E-03    5.9193       -.17154E-07** at limit **
  19  Prefactor     4.0806        62.349       -.21204E-04   -.22172E-04
  20  Prefactor     .10001E-03    422.41       -.83038E-04** at limit **
  21  Prefactor     10.459        10.259        .37283E-05    .11470E-02
  22  Normalizat    .89655        .19403        .14503E-07    .72218E-04
  23  Prefactor     .93368        .89756E-01   -.33977E-06    .33850E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.65419
  Prefactor  = 0.0001
  norm       = 2.96387
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.03
  Prefactor  = 0.000100097
  Prefactor  = 0.0001
  norm       = 1.18597
  Prefactor  = 0.000100124
  Prefactor  = 58.466
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.22591
  Prefactor  = 31.4696
  norm       = 1.18022
  Prefactor  = 0.0001
  Prefactor  = 4.08063
  Prefactor  = 0.000100009
  Prefactor  = 10.459
  Normalizat = 0.896554
  Prefactor  = 0.933685
 **********
 **   18 **HESSE 
 **********

 FCN=   9647.928     FROM HESSE     STATUS=OK           382 CALLS     2981 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.6542        23.495        .12904E-03   -1.5086    
   2  Prefactor     .10000E-03    17.482        .36724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.9639        1.2974        .71296E-04   -1.5364    
   4  Prefactor     .10000E-03    21.359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.0913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.111        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.0300        5.9237        .13338E-03   -1.5107    
   8  Prefactor     .10010E-03    32.151        .39367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          1.1860        1.0823        .95600E-04   -1.5490    
  11  Prefactor     .10012E-03    16.907        .10271       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     58.466        15.015        .52466E-04   -1.4177    
  13  Prefactor     .10000E-03    11.171        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.4541        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.2259        5.9926        .16089E-03   -1.5209    
  16  Prefactor     31.470        16.989        .71420E-04   -1.4585    
  17  norm          1.1802        1.5244        .13565E-03   -1.5491    
  18  Prefactor     .10000E-03    5.9298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.0806        62.988        .20052E-03   -1.5304    
  20  Prefactor     .10001E-03    423.61        .42188E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.459        10.319        .12393E-03   -1.5061    
  22  Normalizat    .89655        .22209        .36026E-03   -.96581    
  23  Prefactor     .93368        .10449        .17388E-03   -.94974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.46589e-09
Minuit parameter uncertainties:
  1  23.5177
  2  0.00018532
  3  1.29737
  4  4.52829e-07
  5  5.12364e-07
  6  3.66578e-06
  7  5.9241
  8  0.00353411
  9  2.06912e-05
  10  1.08235
  11  0.0028999
  12  15.0157
  13  1.29667e-05
  14  7.19098e-05
  15  5.9932
  16  16.9916
  17  1.52446
  18  6.8086e-06
  19  32.1043
  20  0.00400606
  21  10.3204
  22  0.222313
  23  0.104509
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  3.147e+01  1.699e+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.337e-01  1.045e-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:  8.966e-01  2.223e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.20
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 1.01e-07 +/- 5.46e-08
Energy Flux (Fixed Index): 2.16e-05 +/- 1.17e-05

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) = 9647.45542186
delta logL = 0.47253385066

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9647.45539611
delta logL = 0.472559601796

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.801       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3878       1.0000          .0000       10.000    
     3 'Normalizat'    .92883       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92010       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=   9647.455     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      251 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.775        469.08        .16086E-02   -.58771E-04
   2  Index         2.3871        6.1750        .22400       -.44811E-04
   3  Normalizat    .92892        .24537        .80099E-01   -.18373E-03
   4  Prefactor     .92009        .16727        .45261E-01    .99905E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.7754
  Index      = 2.38712
  Normalizat = 0.928916
  Prefactor  = 0.920088
 **********
 **   18 **HESSE 
 **********

 FCN=   9647.455     FROM HESSE     STATUS=OK            31 CALLS      282 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.775        20.553        .64346E-04   -1.4462    
   2  Index         2.3871        .44849        .80820E-02   -.54987    
   3  Normalizat    .92892        .21185        .35456E-03   -.95451    
   4  Prefactor     .92009        .10354        .17495E-03   -.95443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.45138e-10
Minuit parameter uncertainties:
  1  20.5563
  2  0.449321
  3  0.212037
  4  0.103558
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834670': 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) = 9647.45539411
delta logL = 0.472561603237

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  3.878e+01  2.056e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.387e+00  4.493e-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:  9.201e-01  1.036e-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.289e-01  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.06
Ra Dec: 351.170 31.257
Photon Index (Free Index): 2.39 +/- 0.45
Photon Flux (Free Index): 8.40e-08 +/- 5.08e-08
Energy Flux (Free Index): 2.80e-05 +/- 1.73e-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/834670/cmap_HighResolution_492566401_492825601_4FGL_J2324.6+3115_daily_bin977.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.01e-07', energy_flux2='2.80e-05', photon_flux_error='5.46e-08', dlogl='4.73e-01', energy_flux='2.16e-05', photon_flux2='8.40e-08', job_status='DONE', time_completed='2021-09-29 16:10:41.747812', photon_index_error2='0.45', photon_index2='2.39', ts='5.20', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.73e-05', EG='0.90', time_epoch_completed='1632957041.75', return_code='0', job_id='834670', GAL2='0.92', EG2='0.93', return_code2='0', energy_flux_error='1.17e-05', photon_flux_error2='5.08e-08', ts2='6.06', photon_index='2.88' WHERE bin_id='977' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:10:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 834670: <4FGL_J2324.6+3115_daily_bin977> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin977 351.17 31.2573 492566401 492825601 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 :                                   757.13 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             256.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            917 sec.

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

