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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin734
RA = 351.17, Dec = 31.2573
tmin = 429580801, tmax = 429840001
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='833226', job_status='RUN', time_executed='2021-09-29 15:52:33.502283', time_epoch_executed='1632955953.5' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='734'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833226

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833226/ft1_4FGL_J2324.6+3115_daily_bin734.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833226/ft2_4FGL_J2324.6+3115_daily_bin734.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833226/ft1_4FGL_J2324.6+3115_daily_bin734.fits outfile=/scratch/kocevski/833226/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin734.fits ra=351.17 dec=31.2573 rad=12.0 tmin=429580801.0 tmax=429840001.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.25
user 6.03
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833226/ft1_filtered_4FGL_J2324.6+3115_daily_bin734.fits evtable="EVENTS" scfile=/scratch/kocevski/833226/ft2_4FGL_J2324.6+3115_daily_bin734.fits sctable="SC_DATA" expcube=/scratch/kocevski/833226/ltcube_429580801_429840001_4FGL_J2324.6+3115_daily_bin734.fits outfile=/scratch/kocevski/833226/expmap_429580801_429840001_4FGL_J2324.6+3115_daily_bin734.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/833226/ltcube_429580801_429840001_4FGL_J2324.6+3115_daily_bin734.fits
.....................!
real 191.47
user 186.58
sys 4.56

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/833226/ft1_filtered_4FGL_J2324.6+3115_daily_bin734.fits scfile=/scratch/kocevski/833226/ft2_4FGL_J2324.6+3115_daily_bin734.fits outfile=/scratch/kocevski/833226/cmap_429580801_429840001_4FGL_J2324.6+3115_daily_bin734.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833226/ft1_filtered_4FGL_J2324.6+3115_daily_bin734.fits scfile=/scratch/kocevski/833226/ft2_4FGL_J2324.6+3115_daily_bin734.fits outfile=/scratch/kocevski/833226/cmap_HighResolution_429580801_429840001_4FGL_J2324.6+3115_daily_bin734.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.52
user 0.38
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    46.729       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.481       1.0000         .10000E-03   10000.    
     3 'norm      '    .10864E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.955       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.3770       1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.0247       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    5.8416       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2869       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9549       1.0000         .10000E-03   10000.    
    14 'norm      '    .10420E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.063       1.0000         .10000E-03   10000.    
    16 'Prefactor '    38.022       1.0000         .10000E-03   10000.    
    17 'norm      '    .10085E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0044       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    28.550       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10103E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1334       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .81673       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=   3905.737     FROM MIGRAD    STATUS=CONVERGED    509 CALLS     2542 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          46.708        35.336        .11163E-05    .13649E-04
   2  Prefactor     10.484        12.078        .12299E-06   -.95202E-06
   3  norm          .10000E-03    .89011        .58700E-07** at limit **
   4  Prefactor     .10000E-03    64.925        .34897E-05** at limit **
   5  Prefactor     12.868        31.249        .43997E-06    .63530E-05
   6  Prefactor     .10000E-03    28.596       -.39318E-06** at limit **
   7  Prefactor     5.3710        13.554       -.43957E-06   -.26381E-04
   8  Prefactor     7.0247        10.809        .10455E-06   -.18408E-05
   9  Prefactor     .10000E-03    11.265       -.14947E-07** at limit **
  10  norm          5.8420        2.7641       -.22121E-07   -.21677E-04
  11  Prefactor     .10000E-03    30.341        .58548E-06** at limit **
  12  Prefactor     4.2847        13.056        .69454E-05   -.18988E-03
  13  Prefactor     1.9453        164.76       -.68943E-06   -.13126E-04
  14  norm          .10000E-03    5.9462       -.63849E-07** at limit **
  15  norm          11.057        20.032       -.30687E-06    .19509E-05
  16  Prefactor     38.041        32.611       -.16955E-06   -.19051E-04
  17  norm          .10000E-03    2.4434       -.12229E-06** at limit **
  18  Prefactor     5.0026        29.786        .15600E-06   -.46154E-05
  19  Prefactor     .10000E-03    59.793       -.32474E-05** at limit **
  20  Prefactor     28.486        59.945       -.75377E-05   -.14609E-03
  21  Prefactor     .10000E-03    8.4108       -.95521E-06** at limit **
  22  Normalizat    1.1330        .30298       -.95974E-06    .11597E-04
  23  Prefactor     .81698        .14053       -.39527E-07   -.89476E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 46.708
  Prefactor  = 10.4844
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 12.8677
  Prefactor  = 0.0001
  Prefactor  = 5.37096
  Prefactor  = 7.02471
  Prefactor  = 0.0001
  norm       = 5.84202
  Prefactor  = 0.0001
  Prefactor  = 4.28472
  Prefactor  = 1.94533
  norm       = 0.0001
  norm       = 11.0565
  Prefactor  = 38.0412
  norm       = 0.0001
  Prefactor  = 5.00259
  Prefactor  = 0.000100002
  Prefactor  = 28.4861
  Prefactor  = 0.0001
  Normalizat = 1.13299
  Prefactor  = 0.816983
 **********
 **   18 **HESSE 
 **********

 FCN=   3905.737     FROM HESSE     STATUS=OK           372 CALLS     2914 TOTAL
                     EDM=   .57E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          46.708        35.507        .58656E-04   -1.4340    
   2  Prefactor     10.484        12.163        .12376E-03   -1.5060    
   3  norm          .10000E-03    .90979        .11480E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    65.575        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.868        31.174        .11129E-03   -1.4990    
   6  Prefactor     .10000E-03    28.746        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     5.3710        13.558        .17331E-03   -1.5244    
   8  Prefactor     7.0247        10.805        .15136E-03   -1.5178    
   9  Prefactor     .10000E-03    11.267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          5.8420        2.7629        .67780E-04   -1.5225    
  11  Prefactor     .10000E-03    30.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     4.2847        13.430        .97291E-03   -1.5294    
  13  Prefactor     1.9453        166.43        .29675E-03   -1.5429    
  14  norm          .10000E-03    5.9615        .14847E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.057        20.123        .12045E-03   -1.5043    
  16  Prefactor     38.041        32.717        .64999E-04   -1.4474    
  17  norm          .10000E-03    2.4740        .95318E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.0026        29.779        .17976E-03   -1.5261    
  19  Prefactor     .10000E-03    60.446        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     28.486        62.862        .74980E-04   -1.4640    
  21  Prefactor     .10000E-03    8.4130        .17644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1330        .35422        .33182E-03   -.88700    
  23  Prefactor     .81698        .16476        .18349E-03   -.99105    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.6761e-10
Minuit parameter uncertainties:
  1  35.5235
  2  12.1657
  3  3.12793e-07
  4  0.000760215
  5  31.2139
  6  6.21212e-05
  7  13.5655
  8  10.808
  9  3.27934e-06
  10  2.76301
  11  0.000102123
  12  13.4398
  13  36.0896
  14  8.00456e-06
  15  20.1351
  16  32.7321
  17  1.17249e-05
  18  24.4289
  19  0.000651806
  20  63.0084
  21  7.14308e-05
  22  0.354966
  23  0.164858
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  3.804e+01  3.273e+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.170e-01  1.649e-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.133e+00  3.550e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.90
Ra Dec: 351.170 31.257
Photon Index (Fixed Index): 2.88 +/- 0.00
Photon Flux (Fixed Index): 1.22e-07 +/- 1.05e-07
Energy Flux (Fixed Index): 2.61e-05 +/- 2.25e-05

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

Saving results to:
/scratch/kocevski/833226/likelihoodResults_429580801_429840001_4FGL_J2324.6+3115_daily_bin734.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) = 3905.42005275
delta logL = 0.316626018118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3905.41611783
delta logL = 0.320560933805

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.508       1.0000         .10000E-03   10000.    
     2 'Index     '    3.6122       1.0000          .0000       10.000    
     3 'Normalizat'    1.0686       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83718       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=   3905.416     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      300 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.543        32.966        .76384E-04   -.14884E-06
   2  Index         3.6146        1.1023        .67784E-02    .88195E-05
   3  Normalizat    1.0678        .34693        .34029E-03   -.50112E-07
   4  Prefactor     .83726        .16058        .18145E-03    .62653E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.5428
  Index      = 3.61462
  Normalizat = 1.06783
  Prefactor  = 0.837262
 **********
 **   18 **HESSE 
 **********

 FCN=   3905.416     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .83E-15    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.543        30.266        .30554E-05   -1.4658    
   2  Index         3.6146        1.0117        .27114E-03   -.28075    
   3  Normalizat    1.0678        .34723        .13612E-04   -.90792    
   4  Prefactor     .83726        .16057        .72582E-05   -.98369    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.29639e-16
Minuit parameter uncertainties:
  1  30.2833
  2  1.01937
  3  0.347974
  4  0.160661
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833226': 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) = 3905.41610269
delta logL = 0.320576076585

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  2.754e+01  3.028e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  3.615e+00  1.019e+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.373e-01  1.607e-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.068e+00  3.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.67
Ra Dec: 351.170 31.257
Photon Index (Free Index): 3.61 +/- 1.02
Photon Flux (Free Index): 1.83e-07 +/- 1.37e-07
Energy Flux (Free Index): 2.95e-05 +/- 2.12e-05

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/833226/cmap_HighResolution_429580801_429840001_4FGL_J2324.6+3115_daily_bin734.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.60e-02', comment='SUCCESS', photon_flux='1.22e-07', energy_flux2='2.95e-05', photon_flux_error='1.05e-07', dlogl='3.21e-01', energy_flux='2.61e-05', photon_flux2='1.83e-07', job_status='DONE', time_completed='2021-09-29 16:01:30.300083', photon_index_error2='1.02', photon_index2='3.61', ts='1.90', fit_tolerance='1e-08', GAL='0.82', photon_index_error='0.00', photon_flux_upper_limit='3.28e-07', energy_flux_error2='2.12e-05', EG='1.13', time_epoch_completed='1632956490.3', return_code='0', job_id='833226', GAL2='0.84', EG2='1.07', return_code2='0', energy_flux_error='2.25e-05', photon_flux_error2='1.37e-07', ts2='2.67', photon_index='2.88' WHERE bin_id='734' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:01:30 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 833226: <4FGL_J2324.6+3115_daily_bin734> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin734 351.17 31.2573 429580801 429840001 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 :                                   536.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             272.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            670 sec.

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

