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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin596
RA = 351.17, Dec = 31.2573
tmin = 393811201, tmax = 394070401
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='831919', job_status='RUN', time_executed='2021-09-29 15:47:50.947162', time_epoch_executed='1632955670.95' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='596'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831919

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831919/ft1_4FGL_J2324.6+3115_daily_bin596.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831919/ft2_4FGL_J2324.6+3115_daily_bin596.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831919/ft1_4FGL_J2324.6+3115_daily_bin596.fits outfile=/scratch/kocevski/831919/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin596.fits ra=351.17 dec=31.2573 rad=12.0 tmin=393811201.0 tmax=394070401.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.45
user 3.23
sys 0.20

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831919/ft1_filtered_4FGL_J2324.6+3115_daily_bin596.fits evtable="EVENTS" scfile=/scratch/kocevski/831919/ft2_4FGL_J2324.6+3115_daily_bin596.fits sctable="SC_DATA" expcube=/scratch/kocevski/831919/ltcube_393811201_394070401_4FGL_J2324.6+3115_daily_bin596.fits outfile=/scratch/kocevski/831919/expmap_393811201_394070401_4FGL_J2324.6+3115_daily_bin596.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/831919/ltcube_393811201_394070401_4FGL_J2324.6+3115_daily_bin596.fits
.....................!
real 191.04
user 184.88
sys 5.73

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/831919/ft1_filtered_4FGL_J2324.6+3115_daily_bin596.fits scfile=/scratch/kocevski/831919/ft2_4FGL_J2324.6+3115_daily_bin596.fits outfile=/scratch/kocevski/831919/cmap_393811201_394070401_4FGL_J2324.6+3115_daily_bin596.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.54
user 0.36
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    18.767       1.0000         .10000E-03   10000.    
     3 'norm      '    4.2160       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    29.248       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.720       1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.813       1.0000         .10000E-03   10000.    
    10 'norm      '    .10415E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.2984       1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.825       1.0000         .10000E-03   10000.    
    14 'norm      '    22.050       1.0000         .10000E-03   10000.    
    15 'norm      '    3.8187       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.6124       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3662       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87700       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=   9757.467     FROM MIGRAD    STATUS=CONVERGED    489 CALLS     2151 TOTAL
                     EDM=   .68E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.0805       -.70918E-06** at limit **
   2  Prefactor     18.767        8.1126        .39462E-07    .55634E-04
   3  norm          4.2159        1.4015       -.37368E-08    .51712E-04
   4  Prefactor     .10000E-03    17.211        .17123E-06** at limit **
   5  Prefactor     29.248        20.784        .33374E-07    .20814E-05
   6  Prefactor     .10000E-03    4.9774        .24101E-06** at limit **
   7  Prefactor     .10000E-03    2.0321       -.23599E-07** at limit **
   8  Prefactor     12.719        13.674        .50071E-07   -.10349E-04
   9  Prefactor     18.797        29.663        .22031E-05   -.94449E-04
  10  norm          .10000E-03    .62122       -.33197E-06** at limit **
  11  Prefactor     .10000E-03    9.0529        .85763E-06** at limit **
  12  Prefactor     2.2973        5.2864        .39399E-05   -.50629E-03
  13  Prefactor     15.820        18.172        .10296E-05    .14991E-04
  14  norm          22.043        7.4465        .14310E-05    .13894E-02
  15  norm          3.8186        4.7633       -.14295E-06    .22859E-04
  16  Prefactor     1.6322        53.740       -.13990E-04   -.13621E-04
  17  norm          .10000E-03    .93369        .19355E-07** at limit **
  18  Prefactor     .10000E-03    8.0067        .29607E-06** at limit **
  19  Prefactor     .10000E-03    13.092       -.26576E-06** at limit **
  20  Prefactor     .10000E-03    13.323       -.41138E-06** at limit **
  21  Prefactor     .10000E-03    4.4938       -.74451E-07** at limit **
  22  Normalizat    1.3660        .19422       -.11996E-06    .31940E-03
  23  Prefactor     .87709        .93089E-01    .29609E-06    .63047E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 18.7674
  norm       = 4.21585
  Prefactor  = 0.0001
  Prefactor  = 29.2478
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.7187
  Prefactor  = 18.7972
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.29734
  Prefactor  = 15.8198
  norm       = 22.0433
  norm       = 3.81856
  Prefactor  = 1.63221
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.36604
  Prefactor  = 0.877087
 **********
 **   18 **HESSE 
 **********

 FCN=   9757.467     FROM HESSE     STATUS=OK           366 CALLS     2517 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.0838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     18.767        8.1365        .92455E-04   -1.4841    
   3  norm          4.2159        1.4021        .63845E-04   -1.5297    
   4  Prefactor     .10000E-03    17.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     29.248        20.800        .74081E-04   -1.4626    
   6  Prefactor     .10000E-03    4.9780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0489        .13751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.719        13.677        .11231E-03   -1.4995    
   9  Prefactor     18.797        29.203        .92340E-04   -1.4841    
  10  norm          .10000E-03    1.2555        .14920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.0382        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.2973        5.3519        .13536E-02   -1.5405    
  13  Prefactor     15.820        18.158        .10068E-03   -1.4912    
  14  norm          22.043        7.5035        .85299E-04   -1.4769    
  15  norm          3.8186        4.7612        .10327E-02   -1.5317    
  16  Prefactor     1.6322        54.401        .33353E-03   -1.5452    
  17  norm          .10000E-03    .95407        .93179E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.0205        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    4.5715        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.3660        .22543        .31699E-03   -.81616    
  23  Prefactor     .87709        .10883        .18967E-03   -.96946    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.16068e-09
Minuit parameter uncertainties:
  1  5.09466e-05
  2  8.13699
  3  1.40215
  4  2.0481e-05
  5  20.8047
  6  1.98746e-05
  7  2.81448e-06
  8  13.6802
  9  29.2247
  10  2.94892e-07
  11  7.20845e-05
  12  5.35299
  13  18.164
  14  7.50386
  15  4.7617
  16  18.8641
  17  1.62505e-06
  18  1.29736e-05
  19  4.31354e-05
  20  3.94568e-05
  21  7.79844e-06
  22  0.225593
  23  0.108858
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.632e+00  1.886e+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:  8.771e-01  1.089e-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.366e+00  2.256e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 1.21e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.60e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/831919/likelihoodResults_393811201_394070401_4FGL_J2324.6+3115_daily_bin596.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) = 9757.46595886
delta logL = 0.00148172360423

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9757.46555968
delta logL = 0.00188090009942

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.1261       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6218       1.0000          .0000       10.000    
     3 'Normalizat'    1.3663       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87679       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=   9757.466     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      258 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.1450        1626.0        .70700E-02    .93426E-04
   2  Index         2.6356        5.5015        .50000       -.71657E-06
   3  Normalizat    1.3663        .37914E-01    .71635E-01    .95693E-05
   4  Prefactor     .87683        .18923E-01    .44708E-01    .56195E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.14499
  Index      = 2.63557
  Normalizat = 1.36629
  Prefactor  = 0.876827
 **********
 **   18 **HESSE 
 **********

 FCN=   9757.466     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .44E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.1450        42.800        .28280E-03   -1.5415    
   2  Index         2.6356        3.2352        .26400E-01   -.49256    
   3  Normalizat    1.3663        .21914        .31697E-03   -.81609    
   4  Prefactor     .87683        .10739        .18968E-03   -.96956    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.39105e-13
Minuit parameter uncertainties:
  1  19.1785
  2  3.6333
  3  0.219286
  4  0.107418
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831919': 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) = 9757.46555018
delta logL = 0.00189040093392

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.145e+00  1.918e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.636e+00  3.633e+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:  8.768e-01  1.074e-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.366e+00  2.193e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/831919/cmap_HighResolution_393811201_394070401_4FGL_J2324.6+3115_daily_bin596.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.60e-03', job_status='DONE', photon_flux_upper_limit='1.21e-07', time_completed='2021-09-29 16:01:27.730668', job_id='831919', GAL2='0.88', fit_tolerance='1e-08', EG2='1.37', EG='1.37', time_epoch_completed='1632956487.73', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.89e-03', ts2='0.02', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='596' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:01:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 831919: <4FGL_J2324.6+3115_daily_bin596> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin596 351.17 31.2573 393811201 394070401 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 :                                   815.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            960 sec.

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

