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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin900
RA = 351.17, Dec = 31.2573
tmin = 472608001, tmax = 472867201
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='834554', job_status='RUN', time_executed='2021-09-29 15:59:19.234631', time_epoch_executed='1632956359.23' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='900'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/834554

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/834554/ft1_4FGL_J2324.6+3115_daily_bin900.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/834554/ft2_4FGL_J2324.6+3115_daily_bin900.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/834554/ft1_4FGL_J2324.6+3115_daily_bin900.fits outfile=/scratch/kocevski/834554/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin900.fits ra=351.17 dec=31.2573 rad=12.0 tmin=472608001.0 tmax=472867201.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.53
user 3.27
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/834554/ft1_filtered_4FGL_J2324.6+3115_daily_bin900.fits" evtable="EVENTS" scfile=/scratch/kocevski/834554/ft2_4FGL_J2324.6+3115_daily_bin900.fits sctable="SC_DATA" outfile=/scratch/kocevski/834554/ltcube_472608001_472867201_4FGL_J2324.6+3115_daily_bin900.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/834554/ft2_4FGL_J2324.6+3115_daily_bin900.fits
.....................!
real 12.04
user 11.64
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/834554/ft1_filtered_4FGL_J2324.6+3115_daily_bin900.fits evtable="EVENTS" scfile=/scratch/kocevski/834554/ft2_4FGL_J2324.6+3115_daily_bin900.fits sctable="SC_DATA" expcube=/scratch/kocevski/834554/ltcube_472608001_472867201_4FGL_J2324.6+3115_daily_bin900.fits outfile=/scratch/kocevski/834554/expmap_472608001_472867201_4FGL_J2324.6+3115_daily_bin900.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/834554/ltcube_472608001_472867201_4FGL_J2324.6+3115_daily_bin900.fits
.....................!
real 191.07
user 185.39
sys 5.14

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/834554/ft1_filtered_4FGL_J2324.6+3115_daily_bin900.fits scfile=/scratch/kocevski/834554/ft2_4FGL_J2324.6+3115_daily_bin900.fits outfile=/scratch/kocevski/834554/cmap_472608001_472867201_4FGL_J2324.6+3115_daily_bin900.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/834554/ft1_filtered_4FGL_J2324.6+3115_daily_bin900.fits scfile=/scratch/kocevski/834554/ft2_4FGL_J2324.6+3115_daily_bin900.fits outfile=/scratch/kocevski/834554/cmap_HighResolution_472608001_472867201_4FGL_J2324.6+3115_daily_bin900.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.17 yref=31.2573 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5411       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6935       1.0000         .10000E-03   10000.    
     3 'norm      '    .73464       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.6546       1.0000         .10000E-03   10000.    
     8 'Prefactor '    19.625       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .76517       1.0000         .10000E-03   10000.    
    11 'Prefactor '    29.844       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.827       1.0000         .10000E-03   10000.    
    13 'Prefactor '    21.070       1.0000         .10000E-03   10000.    
    14 'norm      '    .10071E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    12.838       1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.551       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.585       1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.746       1.0000         .10000E-03   10000.    
    20 'Prefactor '    48.570       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.0405       1.0000         .10000E-03   10000.    
    22 'Normalizat'    .81967       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .86645       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=   7365.403     FROM MIGRAD    STATUS=CONVERGED    492 CALLS     2596 TOTAL
                     EDM=   .67E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5479        25.193        .22166E-04    .70943E-04
   2  Prefactor     4.6945        5.2452       -.55693E-06   -.19131E-04
   3  norm          .73458        .68417        .69260E-07    .48403E-04
   4  Prefactor     .10000E-03    26.800        .34717E-07** at limit **
   5  Prefactor     .10000E-03    7.2196        .12579E-07** at limit **
   6  Prefactor     .10000E-03    26.439        .42329E-06** at limit **
   7  Prefactor     2.6546        3.7294        .12057E-06    .83119E-05
   8  Prefactor     19.626        11.489        .32194E-06   -.93232E-05
   9  Prefactor     .10000E-03    48.440       -.18864E-05** at limit **
  10  norm          .76441        1.0600        .17191E-06    .17154E-03
  11  Prefactor     29.846        20.839        .26340E-06   -.86436E-05
  12  Prefactor     14.829        11.022        .41819E-06   -.78215E-07
  13  Prefactor     21.071        22.798        .58912E-06   -.63692E-05
  14  norm          .10000E-03    2.2833        .17857E-07** at limit **
  15  norm          12.838        9.3701        .20696E-07   -.25778E-05
  16  Prefactor     23.557        16.520        .39458E-06   -.21407E-04
  17  norm          .10000E-03    .92134       -.30637E-07** at limit **
  18  Prefactor     14.586        16.873       -.13600E-06   -.12770E-04
  19  Prefactor     15.743        38.162        .17868E-05   -.10642E-04
  20  Prefactor     48.472        49.380        .13382E-04   -.39152E-04
  21  Prefactor     2.0547        7.7544        .76125E-05   -.12216E-03
  22  Normalizat    .81948        .19905       -.18222E-05   -.12585E-04
  23  Prefactor     .86651        .94463E-01   -.93348E-06    .73108E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.54787
  Prefactor  = 4.69449
  norm       = 0.734577
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.65456
  Prefactor  = 19.6258
  Prefactor  = 0.0001
  norm       = 0.764408
  Prefactor  = 29.8464
  Prefactor  = 14.8287
  Prefactor  = 21.0707
  norm       = 0.0001
  norm       = 12.8384
  Prefactor  = 23.5568
  norm       = 0.0001
  Prefactor  = 14.5856
  Prefactor  = 15.7428
  Prefactor  = 48.4721
  Prefactor  = 2.05469
  Normalizat = 0.819483
  Prefactor  = 0.866512
 **********
 **   18 **HESSE 
 **********

 FCN=   7365.403     FROM HESSE     STATUS=OK           380 CALLS     2976 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5479        24.332        .17172E-02   -1.5459    
   2  Prefactor     4.6945        5.2417        .18575E-03   -1.5275    
   3  norm          .73458        .68469        .66430E-04   -1.5537    
   4  Prefactor     .10000E-03    26.804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    7.2281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    26.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.6546        3.7188        .19120E-03   -1.5382    
   8  Prefactor     19.626        11.490        .90412E-04   -1.4822    
   9  Prefactor     .10000E-03    49.065        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .76441        .93103        .98909E-03   -1.5533    
  11  Prefactor     29.846        20.853        .73341E-04   -1.4615    
  12  Prefactor     14.829        11.017        .10402E-03   -1.4938    
  13  Prefactor     21.071        22.786        .87259E-04   -1.4790    
  14  norm          .10000E-03    2.2911        .12633E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          12.838        9.3708        .11179E-03   -1.4991    
  16  Prefactor     23.557        16.483        .82540E-04   -1.4737    
  17  norm          .10000E-03    .93356        .80405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     14.586        16.872        .10488E-03   -1.4944    
  19  Prefactor     15.743        38.610        .10093E-03   -1.4914    
  20  Prefactor     48.472        49.586        .28769E-03   -1.4314    
  21  Prefactor     2.0547        7.6982        .14475E-02   -1.5421    
  22  Normalizat    .81948        .23225        .33033E-03   -.99350    
  23  Prefactor     .86651        .11084        .16371E-03   -.97321    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33286e-10
Minuit parameter uncertainties:
  1  12.2797
  2  5.24225
  3  0.684692
  4  8.93486e-06
  5  6.97859e-06
  6  5.41238e-05
  7  3.71914
  8  11.491
  9  0.000152422
  10  0.931051
  11  20.858
  12  11.0182
  13  22.7956
  14  1.65744e-08
  15  9.37186
  16  16.4864
  17  1.963e-09
  18  16.8779
  19  38.6711
  20  49.6286
  21  7.7019
  22  0.232536
  23  0.110864
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.356e+01  1.649e+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.665e-01  1.109e-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.195e-01  2.325e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.00
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 7.58e-08 +/- 5.30e-08
Energy Flux (Fixed Index): 1.62e-05 +/- 1.13e-05

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

Saving results to:
/scratch/kocevski/834554/likelihoodResults_472608001_472867201_4FGL_J2324.6+3115_daily_bin900.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) = 7365.22927173
delta logL = 0.174050638454

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7365.22482215
delta logL = 0.178500221924

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.964       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4631       1.0000          .0000       10.000    
     3 'Normalizat'    .79204       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87751       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=   7365.225     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      268 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.952        188.11        .25060E-02    .14979E-03
   2  Index         3.4643        6.6980        .21228        .11442E-03
   3  Normalizat    .79189        .69619E-01    .75795E-01    .33714E-03
   4  Prefactor     .87757        .34725E-01    .44718E-01    .63048E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.9523
  Index      = 3.46427
  Normalizat = 0.791887
  Prefactor  = 0.877568
 **********
 **   18 **HESSE 
 **********

 FCN=   7365.225     FROM HESSE     STATUS=OK            31 CALLS      299 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.952        24.610        .10024E-03   -1.4909    
   2  Index         3.4643        1.4457        .81253E-02   -.31219    
   3  Normalizat    .79189        .22132        .33549E-03   -1.0037    
   4  Prefactor     .87757        .11096        .16279E-03   -.96929    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90173e-10
Minuit parameter uncertainties:
  1  24.6254
  2  1.4689
  3  0.221567
  4  0.110984
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/834554': 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) = 7365.22482143
delta logL = 0.178500940693

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.595e+01  2.463e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  3.464e+00  1.469e+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.776e-01  1.110e-01  0.000e+00  1.000e+01 ( 1.000e+00)
537        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
538        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
535   Normalization:  7.919e-01  2.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.43
Ra Dec: 351.170 31.257
Photon Index (Free Index): 3.46 +/- 1.47
Photon Flux (Free Index): 9.05e-08 +/- 5.88e-08
Energy Flux (Free Index): 1.52e-05 +/- 1.09e-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/834554/cmap_HighResolution_472608001_472867201_4FGL_J2324.6+3115_daily_bin900.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', comment='SUCCESS', photon_flux='7.58e-08', energy_flux2='1.52e-05', photon_flux_error='5.30e-08', dlogl='1.79e-01', energy_flux='1.62e-05', photon_flux2='9.05e-08', job_status='DONE', time_completed='2021-09-29 16:11:38.480996', photon_index_error2='1.47', photon_index2='3.46', ts='3.00', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.78e-07', energy_flux_error2='1.09e-05', EG='0.82', time_epoch_completed='1632957098.48', return_code='0', job_id='834554', GAL2='0.88', EG2='0.79', return_code2='0', energy_flux_error='1.13e-05', photon_flux_error2='5.88e-08', ts2='3.43', photon_index='2.88' WHERE bin_id='900' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:11:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 834554: <4FGL_J2324.6+3115_daily_bin900> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin900 351.17 31.2573 472608001 472867201 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 :                                   735.22 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             294.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            984 sec.

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

