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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin831
RA = 351.17, Dec = 31.2573
tmin = 454723201, tmax = 454982401
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='833370', job_status='RUN', time_executed='2021-09-29 15:53:38.249114', time_epoch_executed='1632956018.25' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='831'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833370

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833370/ft1_4FGL_J2324.6+3115_daily_bin831.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833370/ft2_4FGL_J2324.6+3115_daily_bin831.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833370/ft1_4FGL_J2324.6+3115_daily_bin831.fits outfile=/scratch/kocevski/833370/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin831.fits ra=351.17 dec=31.2573 rad=12.0 tmin=454723201.0 tmax=454982401.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.46
user 3.25
sys 0.17

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/833370/ft1_filtered_4FGL_J2324.6+3115_daily_bin831.fits" evtable="EVENTS" scfile=/scratch/kocevski/833370/ft2_4FGL_J2324.6+3115_daily_bin831.fits sctable="SC_DATA" outfile=/scratch/kocevski/833370/ltcube_454723201_454982401_4FGL_J2324.6+3115_daily_bin831.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/833370/ft2_4FGL_J2324.6+3115_daily_bin831.fits
.....................!
real 11.71
user 11.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833370/ft1_filtered_4FGL_J2324.6+3115_daily_bin831.fits evtable="EVENTS" scfile=/scratch/kocevski/833370/ft2_4FGL_J2324.6+3115_daily_bin831.fits sctable="SC_DATA" expcube=/scratch/kocevski/833370/ltcube_454723201_454982401_4FGL_J2324.6+3115_daily_bin831.fits outfile=/scratch/kocevski/833370/expmap_454723201_454982401_4FGL_J2324.6+3115_daily_bin831.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/833370/ltcube_454723201_454982401_4FGL_J2324.6+3115_daily_bin831.fits
.....................!
real 191.53
user 187.07
sys 4.15

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/833370/ft1_filtered_4FGL_J2324.6+3115_daily_bin831.fits scfile=/scratch/kocevski/833370/ft2_4FGL_J2324.6+3115_daily_bin831.fits outfile=/scratch/kocevski/833370/cmap_454723201_454982401_4FGL_J2324.6+3115_daily_bin831.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.56
user 0.39
sys 0.14

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    9.2238       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5761       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.0525       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.7236       1.0000         .10000E-03   10000.    
    10 'norm      '    5.1535       1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.007       1.0000         .10000E-03   10000.    
    12 'Prefactor '    15.685       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.728       1.0000         .10000E-03   10000.    
    15 'norm      '    11.192       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.7236       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    9.7135       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.454       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .11800E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .69734       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0864       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=   8884.015     FROM MIGRAD    STATUS=CONVERGED    528 CALLS     2180 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          9.2020        15.275       -.10958E-05   -.12142E-04
   2  Prefactor     .10000E-03    3.5981       -.28251E-07** at limit **
   3  norm          .10000E-03    .36266        .80416E-08** at limit **
   4  Prefactor     .10000E-03    28.608        .41505E-05** at limit **
   5  Prefactor     .10000E-03    22.447       -.17034E-05** at limit **
   6  Prefactor     .10000E-03    8.2844       -.17144E-06** at limit **
   7  Prefactor     2.5760        4.7019        .36957E-05    .10505E-03
   8  Prefactor     5.0526        5.9669        .45952E-06    .15231E-04
   9  Prefactor     2.6787        27.637       -.76860E-05   -.18491E-05
  10  norm          5.1536        1.6700        .46656E-07    .16950E-03
  11  Prefactor     13.009        17.775        .35259E-07   -.69864E-06
  12  Prefactor     15.685        9.3388        .52294E-07    .35698E-04
  13  Prefactor     .10000E-03    7.9659        .22575E-06** at limit **
  14  norm          10.728        5.8418        .24382E-06   -.10529E-04
  15  norm          11.192        9.5963        .36162E-07   -.39821E-06
  16  Prefactor     .10000E-03    12.593        .24863E-06** at limit **
  17  norm          6.7235        2.7035        .13001E-07    .79354E-05
  18  Prefactor     .10000E-03    6.2799       -.17174E-07** at limit **
  19  Prefactor     9.7131        16.134       -.10669E-06    .44109E-06
  20  Prefactor     10.339        35.258        .81744E-05    .33109E-05
  21  Prefactor     .10012E-03    4.5120        .77780E-06** at limit **
  22  Normalizat    .69725        .18738        .97121E-06    .45873E-04
  23  Prefactor     1.0864        .98095E-01   -.43123E-06    .16376E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 9.20202
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.57601
  Prefactor  = 5.05262
  Prefactor  = 2.67871
  norm       = 5.15357
  Prefactor  = 13.0095
  Prefactor  = 15.6848
  Prefactor  = 0.0001
  norm       = 10.728
  norm       = 11.192
  Prefactor  = 0.0001
  norm       = 6.72354
  Prefactor  = 0.0001
  Prefactor  = 9.71312
  Prefactor  = 10.3388
  Prefactor  = 0.000100119
  Normalizat = 0.69725
  Prefactor  = 1.08641
 **********
 **   18 **HESSE 
 **********

 FCN=   8884.015     FROM HESSE     STATUS=OK           378 CALLS     2558 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          9.2020        14.703        .13196E-03   -1.5101    
   2  Prefactor     .10000E-03    3.6405        .17454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    .64027        .10998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    28.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.179        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.3194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.5760        4.7081        .12715E-02   -1.5387    
   8  Prefactor     5.0526        5.9624        .89444E-03   -1.5258    
   9  Prefactor     2.6787        27.590        .24676E-03   -1.5381    
  10  norm          5.1536        1.6676        .65876E-04   -1.5254    
  11  Prefactor     13.009        17.767        .11106E-03   -1.4986    
  12  Prefactor     15.685        9.3334        .10113E-03   -1.4916    
  13  Prefactor     .10000E-03    7.9760        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.728        5.8299        .61161E-03   -1.5053    
  15  norm          11.192        9.6020        .11975E-03   -1.5039    
  16  Prefactor     .10000E-03    12.659        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.7235        2.7051        .94829E-04   -1.5189    
  18  Prefactor     .10000E-03    6.2991        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     9.7131        16.134        .12858E-03   -1.5085    
  20  Prefactor     10.339        34.963        .12392E-03   -1.5065    
  21  Prefactor     .10012E-03    33.163        .35615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .69725        .20701        .38767E-03   -1.0400    
  23  Prefactor     1.0864        .10974        .16634E-03   -.89902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41211e-09
Minuit parameter uncertainties:
  1  14.7092
  2  4.11645e-06
  3  4.65463e-07
  4  2.15253e-05
  5  7.96804e-05
  6  5.78808e-06
  7  4.70878
  8  5.96312
  9  17.2037
  10  1.6676
  11  17.7745
  12  9.3343
  13  3.79655e-06
  14  5.83017
  15  9.60333
  16  1.21573e-05
  17  2.70511
  18  2.56371e-06
  19  16.1413
  20  35.0323
  21  0.00397241
  22  0.207246
  23  0.109765
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.216e-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:  1.086e+00  1.098e-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:  6.972e-01  2.072e-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: 9.43e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.49e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833370/likelihoodResults_454723201_454982401_4FGL_J2324.6+3115_daily_bin831.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) = 8884.01560646
delta logL = -0.000376559544748

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8884.01522988
delta logL = 1.67801772477e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8586       1.0000          .0000       10.000    
     3 'Normalizat'    .69721       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0864       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=   8884.015     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      249 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10230E-03    32.551        .18142E-01** at limit **
   2  Index         2.7593        7.7003        .50000        .89567E-05
   3  Normalizat    .69725        .74894E-02    .38767E-03    .23812E-04
   4  Prefactor     1.0864        .39657E-02    .16634E-03    .46476E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102303
  Index      = 2.75935
  Normalizat = 0.69725
  Prefactor  = 1.08641
 **********
 **   18 **HESSE 
 **********

 FCN=   8884.015     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      278 TOTAL
                     EDM=   .11E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10230E-03    923.38        .66743E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7593        5.0801        .50000       -.46467    
   3  Normalizat    .69725        .43227E-01    .15507E-04   -1.0400    
   4  Prefactor     1.0864        .22890E-01    .66534E-05   -.89902    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.09845e-07
Minuit parameter uncertainties:
  1  0.0937058
  2  1572.59
  3  0.0432291
  4  0.0228904
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833370': 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) = 8884.01522971
delta logL = 1.89364072867e-07

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.023e-04  9.371e-02  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.759e+00  1.573e+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:  1.086e+00  2.289e-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:  6.973e-01  4.323e-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/833370/cmap_HighResolution_454723201_454982401_4FGL_J2324.6+3115_daily_bin831.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.49e-03', job_status='DONE', photon_flux_upper_limit='9.43e-08', time_completed='2021-09-29 16:06:25.261895', job_id='833370', GAL2='1.09', fit_tolerance='1e-08', EG2='0.70', EG='0.70', time_epoch_completed='1632956785.26', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.89e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='831' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:06:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 833370: <4FGL_J2324.6+3115_daily_bin831> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin831 351.17 31.2573 454723201 454982401 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 :                                   766.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             272.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   951 sec.
    Turnaround time :                            953 sec.

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

