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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin463
RA = 351.17, Dec = 31.2573
tmin = 359337601, tmax = 359596801
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='830662', job_status='RUN', time_executed='2021-09-29 15:40:48.377784', time_epoch_executed='1632955248.38' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830662

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830662/ft1_4FGL_J2324.6+3115_daily_bin463.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830662/ft2_4FGL_J2324.6+3115_daily_bin463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830662/ft1_4FGL_J2324.6+3115_daily_bin463.fits outfile=/scratch/kocevski/830662/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin463.fits ra=351.17 dec=31.2573 rad=12.0 tmin=359337601.0 tmax=359596801.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.32
user 3.11
sys 0.19

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

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

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830662/ft1_filtered_4FGL_J2324.6+3115_daily_bin463.fits evtable="EVENTS" scfile=/scratch/kocevski/830662/ft2_4FGL_J2324.6+3115_daily_bin463.fits sctable="SC_DATA" expcube=/scratch/kocevski/830662/ltcube_359337601_359596801_4FGL_J2324.6+3115_daily_bin463.fits outfile=/scratch/kocevski/830662/expmap_359337601_359596801_4FGL_J2324.6+3115_daily_bin463.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/830662/ltcube_359337601_359596801_4FGL_J2324.6+3115_daily_bin463.fits
.....................!
real 190.16
user 185.62
sys 4.13

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/830662/ft1_filtered_4FGL_J2324.6+3115_daily_bin463.fits scfile=/scratch/kocevski/830662/ft2_4FGL_J2324.6+3115_daily_bin463.fits outfile=/scratch/kocevski/830662/cmap_359337601_359596801_4FGL_J2324.6+3115_daily_bin463.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.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.783       1.0000         .10000E-03   10000.    
     2 'Prefactor '    7.0697       1.0000         .10000E-03   10000.    
     3 'norm      '    .59252       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6953       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .38083E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .20547       1.0000         .10000E-03   10000.    
    10 'norm      '    1.4277       1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.101       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.825       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.7046       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    24.618       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .87301       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .89901       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=   8886.322     FROM MIGRAD    STATUS=CONVERGED    563 CALLS     2629 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.780        16.593        .66513E-06    .18520E-03
   2  Prefactor     7.0684        7.6959        .36515E-06   -.59579E-05
   3  norm          .59331        .85485        .39265E-06    .41664E-03
   4  Prefactor     .10000E-03    116.11        .14516E-06** at limit **
   5  Prefactor     .10000E-03    19.993        .65826E-06** at limit **
   6  Prefactor     .10000E-03    3.8695        .88446E-08** at limit **
   7  Prefactor     3.6952        3.7511        .17896E-05   -.71814E-03
   8  Prefactor     .10001E-03    4.7067        .81803E-06** at limit **
   9  Prefactor     .21874E-01    12.846       -.14180E-05    .29603E-03
  10  norm          1.4285        1.2727       -.15244E-06   -.20663E-03
  11  Prefactor     39.095        22.370       -.35031E-06   -.80638E-04
  12  Prefactor     11.828        9.9364       -.11571E-06    .62781E-05
  13  Prefactor     .10000E-03    11.140        .18100E-07** at limit **
  14  norm          5.7031        4.6663        .29107E-05   -.11521E-02
  15  norm          .10000E-03    3.4554        .39391E-07** at limit **
  16  Prefactor     .10000E-03    8.2711       -.79292E-06** at limit **
  17  norm          .10000E-03    1.6456        .12871E-06** at limit **
  18  Prefactor     .10000E-03    8.8478       -.10421E-06** at limit **
  19  Prefactor     24.682        35.426       -.77635E-05   -.63058E-03
  20  Prefactor     .10000E-03    19.798       -.55339E-06** at limit **
  21  Prefactor     .10000E-03    2.6685        .13389E-06** at limit **
  22  Normalizat    .87274        .18746        .24428E-05   -.17565E-03
  23  Prefactor     .89915        .88282E-01   -.14744E-05    .31175E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.78
  Prefactor  = 7.06845
  norm       = 0.593309
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.6952
  Prefactor  = 0.000100012
  Prefactor  = 0.0218742
  norm       = 1.42848
  Prefactor  = 39.0954
  Prefactor  = 11.828
  Prefactor  = 0.0001
  norm       = 5.70311
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 24.6825
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.872743
  Prefactor  = 0.899146
 **********
 **   18 **HESSE 
 **********

 FCN=   8886.322     FROM HESSE     STATUS=OK           378 CALLS     3007 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.780        16.602        .90051E-04   -1.4818    
   2  Prefactor     7.0684        7.7066        .15087E-03   -1.5176    
   3  norm          .59331        .75569        .10148E-02   -1.5554    
   4  Prefactor     .10000E-03    116.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    20.297        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.8711        .18110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.6952        3.7682        .89985E-03   -1.5323    
   8  Prefactor     .10001E-03    18.078        .39524E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .21874E-01    14.927        .10976       -1.5678    
  10  norm          1.4285        1.2519        .94477E-04   -1.5469    
  11  Prefactor     39.095        22.413        .64099E-04   -1.4457    
  12  Prefactor     11.828        9.9239        .11650E-03   -1.5020    
  13  Prefactor     .10000E-03    11.174        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.7031        4.7542        .84088E-03   -1.5230    
  15  norm          .10000E-03    3.4612        .17113E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.3577        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.6942        .23580E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.8690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     24.682        37.883        .80734E-04   -1.4714    
  20  Prefactor     .10000E-03    19.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    2.6778        .15029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .87274        .21596        .33821E-03   -.97425    
  23  Prefactor     .89915        .10237        .16488E-03   -.96171    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7324e-09
Minuit parameter uncertainties:
  1  16.6054
  2  7.70771
  3  0.755706
  4  2.82278e-05
  5  5.85431e-05
  6  8.69485e-07
  7  3.76846
  8  0.000947887
  9  1.14051
  10  1.2519
  11  22.4179
  12  9.92528
  13  5.39083e-06
  14  4.75448
  15  7.99197e-07
  16  9.24118e-05
  17  2.71165e-06
  18  1.75812e-05
  19  37.9196
  20  0.000155524
  21  3.29119e-06
  22  0.216175
  23  0.102393
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  9.241e-05  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.991e-01  1.024e-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.727e-01  2.162e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.170 31.257
Photon Flux Upper Limit: 7.97e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/830662/likelihoodResults_359337601_359596801_4FGL_J2324.6+3115_daily_bin463.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) = 8886.32242713
delta logL = -0.000570381487705

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8886.32185672
delta logL = 2.92511685984e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8644       1.0000          .0000       10.000    
     3 'Normalizat'    .87275       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89914       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5390E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8886.322     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      244 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10107E-03    271.78        .18142E-02** at limit **
   2  Index         2.7883        6.9544        .50000        .86917E-05
   3  Normalizat    .87275        .26785E-01    .33820E-03    .34960E-05
   4  Prefactor     .89914        .13335E-01    .16488E-03    .66192E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101074
  Index      = 2.78832
  Normalizat = 0.872748
  Prefactor  = 0.899143
 **********
 **   18 **HESSE 
 **********

 FCN=   8886.322     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10107E-03    992.77        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7883        8.5985        .50000       -.45820    
   3  Normalizat    .87275        .59498E-01    .13528E-04   -.97424    
   4  Prefactor     .89914        .29623E-01    .65954E-05   -.96171    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.55539e-08
Minuit parameter uncertainties:
  1  0.0664426
  2  1934.66
  3  0.0595028
  4  0.0296234
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830662': 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) = 8886.32185661
delta logL = 1.40327756526e-07

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.011e-04  6.644e-02  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.788e+00  1.935e+03  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.991e-01  2.962e-02  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.727e-01  5.950e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/830662/cmap_HighResolution_359337601_359596801_4FGL_J2324.6+3115_daily_bin463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.33e-03', job_status='DONE', photon_flux_upper_limit='7.97e-08', time_completed='2021-09-29 15:55:07.402716', job_id='830662', GAL2='0.90', fit_tolerance='1e-08', EG2='0.87', EG='0.87', time_epoch_completed='1632956107.4', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='1.40e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='463' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:55:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0249>
Subject: Job 830662: <4FGL_J2324.6+3115_daily_bin463> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin463> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 15:40:38 2021
Job was executed on host(s) <bullet0249>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:40:39 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:40:39 2021
Terminated at Wed Sep 29 15:55:08 2021
Results reported at Wed Sep 29 15:55:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin463 351.17 31.2573 359337601 359596801 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 :                                   802.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             344.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   868 sec.
    Turnaround time :                            870 sec.

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

