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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin658
RA = 351.17, Dec = 31.2573
tmin = 409881601, tmax = 410140801
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='832021', job_status='RUN', time_executed='2021-09-29 15:48:42.551271', time_epoch_executed='1632955722.55' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='658'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/832021

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/832021/ft1_4FGL_J2324.6+3115_daily_bin658.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/832021/ft2_4FGL_J2324.6+3115_daily_bin658.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/832021/ft1_4FGL_J2324.6+3115_daily_bin658.fits outfile=/scratch/kocevski/832021/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin658.fits ra=351.17 dec=31.2573 rad=12.0 tmin=409881601.0 tmax=410140801.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.17
user 5.91
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/832021/ft1_filtered_4FGL_J2324.6+3115_daily_bin658.fits" evtable="EVENTS" scfile=/scratch/kocevski/832021/ft2_4FGL_J2324.6+3115_daily_bin658.fits sctable="SC_DATA" outfile=/scratch/kocevski/832021/ltcube_409881601_410140801_4FGL_J2324.6+3115_daily_bin658.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/832021/ft2_4FGL_J2324.6+3115_daily_bin658.fits
.....................!
real 12.20
user 11.83
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/832021/ft1_filtered_4FGL_J2324.6+3115_daily_bin658.fits evtable="EVENTS" scfile=/scratch/kocevski/832021/ft2_4FGL_J2324.6+3115_daily_bin658.fits sctable="SC_DATA" expcube=/scratch/kocevski/832021/ltcube_409881601_410140801_4FGL_J2324.6+3115_daily_bin658.fits outfile=/scratch/kocevski/832021/expmap_409881601_410140801_4FGL_J2324.6+3115_daily_bin658.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/832021/ltcube_409881601_410140801_4FGL_J2324.6+3115_daily_bin658.fits
.....................!
real 190.55
user 185.44
sys 4.79

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/832021/ft1_filtered_4FGL_J2324.6+3115_daily_bin658.fits scfile=/scratch/kocevski/832021/ft2_4FGL_J2324.6+3115_daily_bin658.fits outfile=/scratch/kocevski/832021/cmap_409881601_410140801_4FGL_J2324.6+3115_daily_bin658.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/832021/ft1_filtered_4FGL_J2324.6+3115_daily_bin658.fits scfile=/scratch/kocevski/832021/ft2_4FGL_J2324.6+3115_daily_bin658.fits outfile=/scratch/kocevski/832021/cmap_HighResolution_409881601_410140801_4FGL_J2324.6+3115_daily_bin658.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.7767       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.224       1.0000         .10000E-03   10000.    
     3 'norm      '    .23542       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11928E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.1798       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.5731       1.0000         .10000E-03   10000.    
    10 'norm      '    5.6427       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.2019       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.9907       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.766       1.0000         .10000E-03   10000.    
    19 'Prefactor '    57.556       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10186E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.3163       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3091       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92510       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=   4505.198     FROM MIGRAD    STATUS=CONVERGED    518 CALLS     2557 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.7762        19.208       -.47036E-06   -.13134E-04
   2  Prefactor     22.221        16.448       -.23857E-06    .92508E-05
   3  norm          .23065        1.4059        .17437E-06   -.28155E-03
   4  Prefactor     .10000E-03    159.28       -.30096E-05** at limit **
   5  Prefactor     .10000E-03    22.874       -.24674E-05** at limit **
   6  Prefactor     .10000E-03    36.570       -.21482E-05** at limit **
   7  Prefactor     7.1797        6.8304       -.49256E-07    .21030E-05
   8  Prefactor     .10000E-03    33.412        .18268E-05** at limit **
   9  Prefactor     1.5325        118.22        .11952E-04    .21469E-04
  10  norm          5.6424        2.7487        .35371E-07   -.10036E-03
  11  Prefactor     .10000E-03    23.243        .26458E-05** at limit **
  12  Prefactor     .10000E-03    37.529       -.20745E-05** at limit **
  13  Prefactor     .10000E-03    14.276        .16118E-07** at limit **
  14  norm          3.2013        6.3267        .48409E-06   -.43073E-04
  15  norm          .10000E-03    4.7231        .47443E-08** at limit **
  16  Prefactor     3.0160        61.261       -.34441E-05   -.49311E-04
  17  norm          .10000E-03    1.3723        .75281E-08** at limit **
  18  Prefactor     10.765        26.744       -.67899E-06   -.17096E-04
  19  Prefactor     57.577        64.225        .10833E-04    .22413E-03
  20  Prefactor     .10000E-03    42.038        .22914E-05** at limit **
  21  Prefactor     3.3161        6.2365        .24254E-05   -.14711E-02
  22  Normalizat    1.3090        .30999       -.21737E-05    .15021E-04
  23  Prefactor     .92513        .13861       -.58019E-07   -.76602E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.77621
  Prefactor  = 22.2206
  norm       = 0.230651
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.17974
  Prefactor  = 0.0001
  Prefactor  = 1.53253
  norm       = 5.64239
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.20129
  norm       = 0.0001
  Prefactor  = 3.01595
  norm       = 0.0001
  Prefactor  = 10.7647
  Prefactor  = 57.5771
  Prefactor  = 0.0001
  Prefactor  = 3.31608
  Normalizat = 1.30903
  Prefactor  = 0.925134
 **********
 **   18 **HESSE 
 **********

 FCN=   4505.198     FROM HESSE     STATUS=OK           370 CALLS     2927 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.7762        19.360        .15413E-03   -1.5187    
   2  Prefactor     22.221        16.570        .84966E-04   -1.4765    
   3  norm          .23065        2.6243        .15279E-02   -1.5612    
   4  Prefactor     .10000E-03    159.56        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    22.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    36.855        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.1797        6.8339        .14970E-03   -1.5172    
   8  Prefactor     .10000E-03    34.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.5325        119.82        .33886E-03   -1.5460    
  10  norm          5.6424        2.7457        .73288E-04   -1.5233    
  11  Prefactor     .10000E-03    23.360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    38.901        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.2013        6.1818        .19998E-03   -1.5350    
  15  norm          .10000E-03    4.7261        .14247E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.0160        59.763        .23474E-03   -1.5361    
  17  norm          .10000E-03    1.3942        .76772E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     10.765        26.751        .12211E-03   -1.5052    
  19  Prefactor     57.577        65.687        .52879E-04   -1.4189    
  20  Prefactor     .10000E-03    42.112        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.3161        9.6828        .11115E-02   -1.5344    
  22  Normalizat    1.3090        .36221        .33965E-03   -.83297    
  23  Prefactor     .92513        .16341        .18778E-03   -.95268    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26822e-08
Minuit parameter uncertainties:
  1  19.3779
  2  16.5736
  3  1.55576
  4  0.000567073
  5  0.000174663
  6  0.000189292
  7  6.83469
  8  0.000202194
  9  27.1577
  10  2.74576
  11  0.000226201
  12  0.000103676
  13  1.16581e-05
  14  6.183
  15  1.43288e-06
  16  26.8814
  17  1.29522e-06
  18  26.781
  19  65.7702
  20  0.00024323
  21  9.6874
  22  0.36292
  23  0.163497
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  3.016e+00  2.688e+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.251e-01  1.635e-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.309e+00  3.629e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/832021/likelihoodResults_409881601_410140801_4FGL_J2324.6+3115_daily_bin658.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): 102
logL (Free Index) = 4504.96411464
delta logL = 0.233910065015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4504.94599617
delta logL = 0.252028532218

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.7894       1.0000         .10000E-03   10000.    
     2 'Index     '    4.7352       1.0000          .0000       10.000    
     3 'Normalizat'    1.2488       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94208       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=   4504.946     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      244 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.7816        146.58        .60905E-02    .29333E-03
   2  Index         4.7396        7.2094        .20166        .52371E-04
   3  Normalizat    1.2485        .90067E-01    .78272E-01    .32038E-04
   4  Prefactor     .94200        .42811E-01    .45539E-01   -.33034E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.78159
  Index      = 4.73963
  Normalizat = 1.2485
  Prefactor  = 0.941998
 **********
 **   18 **HESSE 
 **********

 FCN=   4504.946     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      277 TOTAL
                     EDM=   .83E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.7816        309.92        .15886E-03   -1.5374    
   2  Index         4.7396        5.9080        .12291E-01   -.52097E-01
   3  Normalizat    1.2485        .31734        .34646E-03   -.85117    
   4  Prefactor     .94200        .14746        .18624E-03   -.94689    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.33395e-07
Minuit parameter uncertainties:
  1  59.0366
  2  17.0062
  3  0.317832
  4  0.147519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/832021': 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) = 4504.94599139
delta logL = 0.252033312934

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.782e+00  5.904e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  4.740e+00  1.701e+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.420e-01  1.475e-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.249e+00  3.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
Ra Dec: 351.170 31.257

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/832021/cmap_HighResolution_409881601_410140801_4FGL_J2324.6+3115_daily_bin658.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.54e-02', job_status='DONE', photon_flux_upper_limit='1.94e-07', time_completed='2021-09-29 15:58:14.217351', job_id='832021', GAL2='0.94', fit_tolerance='1e-08', EG2='1.25', EG='1.31', time_epoch_completed='1632956294.22', return_code2='102', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='2.52e-01', ts2='0.56', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='658' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:58:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0264>
Subject: Job 832021: <4FGL_J2324.6+3115_daily_bin658> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin658 351.17 31.2573 409881601 410140801 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 :                                   570.45 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   757 sec.
    Turnaround time :                            758 sec.

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

