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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin559
RA = 351.17, Dec = 31.2573
tmin = 384220801, tmax = 384480001
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='831855', job_status='RUN', time_executed='2021-09-29 15:48:55.172764', time_epoch_executed='1632955735.17' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='559'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/831855

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/831855/ft1_4FGL_J2324.6+3115_daily_bin559.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/831855/ft2_4FGL_J2324.6+3115_daily_bin559.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/831855/ft1_4FGL_J2324.6+3115_daily_bin559.fits outfile=/scratch/kocevski/831855/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin559.fits ra=351.17 dec=31.2573 rad=12.0 tmin=384220801.0 tmax=384480001.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 13.99
user 13.60
sys 0.34

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/831855/ft1_filtered_4FGL_J2324.6+3115_daily_bin559.fits evtable="EVENTS" scfile=/scratch/kocevski/831855/ft2_4FGL_J2324.6+3115_daily_bin559.fits sctable="SC_DATA" expcube=/scratch/kocevski/831855/ltcube_384220801_384480001_4FGL_J2324.6+3115_daily_bin559.fits outfile=/scratch/kocevski/831855/expmap_384220801_384480001_4FGL_J2324.6+3115_daily_bin559.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/831855/ltcube_384220801_384480001_4FGL_J2324.6+3115_daily_bin559.fits
.....................!
real 191.80
user 186.24
sys 5.16

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/831855/ft1_filtered_4FGL_J2324.6+3115_daily_bin559.fits scfile=/scratch/kocevski/831855/ft2_4FGL_J2324.6+3115_daily_bin559.fits outfile=/scratch/kocevski/831855/cmap_384220801_384480001_4FGL_J2324.6+3115_daily_bin559.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/831855/ft1_filtered_4FGL_J2324.6+3115_daily_bin559.fits scfile=/scratch/kocevski/831855/ft2_4FGL_J2324.6+3115_daily_bin559.fits outfile=/scratch/kocevski/831855/cmap_HighResolution_384220801_384480001_4FGL_J2324.6+3115_daily_bin559.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.928       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    10.038       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 '    5.9474       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .40229       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .65906E-02   1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.790       1.0000         .10000E-03   10000.    
    14 'norm      '    14.954       1.0000         .10000E-03   10000.    
    15 'norm      '    14.011       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.1552       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.6103       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .79640       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=   7553.262     FROM MIGRAD    STATUS=CONVERGED    493 CALLS     2131 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.911        19.314        .77536E-06   -.62323E-05
   2  Prefactor     .10000E-03    4.4533        .12603E-07** at limit **
   3  norm          10.037        2.4289        .34616E-08   -.15136E-03
   4  Prefactor     .10000E-03    22.536       -.92704E-06** at limit **
   5  Prefactor     .10000E-03    16.943        .12576E-05** at limit **
   6  Prefactor     5.9477        12.348        .14450E-06    .14903E-04
   7  Prefactor     .10000E-03    2.2048        .34520E-08** at limit **
   8  Prefactor     .10000E-03    7.8295        .15271E-05** at limit **
   9  Prefactor     .10000E-03    8.1327       -.54115E-06** at limit **
  10  norm          .40192        1.0186        .17961E-06    .33783E-03
  11  Prefactor     .10000E-03    20.024        .20151E-06** at limit **
  12  Prefactor     .10011E-03    9.6245       -.31997E-05** at limit **
  13  Prefactor     18.783        20.703        .91900E-06   -.49811E-05
  14  norm          14.952        6.4614        .10042E-06    .12304E-03
  15  norm          14.014        10.802        .20809E-07    .42832E-04
  16  Prefactor     .10000E-03    8.1799       -.11195E-05** at limit **
  17  norm          .10000E-03    .75682        .38647E-08** at limit **
  18  Prefactor     .10000E-03    5.7344       -.54082E-07** at limit **
  19  Prefactor     .10000E-03    28.193       -.88377E-06** at limit **
  20  Prefactor     .10000E-03    23.299       -.13857E-05** at limit **
  21  Prefactor     4.1579        6.3198        .26897E-05    .58380E-03
  22  Normalizat    1.6104        .22816       -.11123E-06    .13337E-03
  23  Prefactor     .79647        .10856       -.54896E-06    .15843E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.9106
  Prefactor  = 0.0001
  norm       = 10.0374
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.94769
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.401924
  Prefactor  = 0.0001
  Prefactor  = 0.00010011
  Prefactor  = 18.783
  norm       = 14.9517
  norm       = 14.0138
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.15795
  Normalizat = 1.6104
  Prefactor  = 0.796473
 **********
 **   18 **HESSE 
 **********

 FCN=   7553.262     FROM HESSE     STATUS=OK           368 CALLS     2499 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.911        19.369        .89722E-04   -1.4815    
   2  Prefactor     .10000E-03    4.4998        .17907E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          10.037        2.4296        .64383E-04   -1.5074    
   4  Prefactor     .10000E-03    22.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.9477        12.345        .16466E-03   -1.5220    
   7  Prefactor     .10000E-03    2.2093        .12602E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.8709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.1346        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .40192        .92312        .13348E-02   -1.5581    
  11  Prefactor     .10000E-03    20.097        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10011E-03    35.056        .41993E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     18.783        20.711        .92398E-04   -1.4841    
  14  norm          14.952        6.4509        .10357E-03   -1.4934    
  15  norm          14.014        10.805        .10701E-03   -1.4959    
  16  Prefactor     .10000E-03    8.2115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .76831        .73813E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    5.7371        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    28.314        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     4.1579        6.4807        .98866E-03   -1.5300    
  22  Normalizat    1.6104        .26750        .31026E-03   -.74722    
  23  Prefactor     .79647        .12758        .20022E-03   -.99858    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50056e-09
Minuit parameter uncertainties:
  1  19.375
  2  1.3058e-06
  3  2.42961
  4  1.45537e-05
  5  1.25179e-05
  6  12.3498
  7  2.09991e-06
  8  1.38264e-05
  9  8.49584e-06
  10  0.923156
  11  1.02548e-05
  12  0.00393131
  13  20.7192
  14  6.45123
  15  10.8066
  16  1.02971e-05
  17  1.18413e-06
  18  7.13893e-07
  19  3.1688e-05
  20  5.32635e-05
  21  6.48174
  22  0.267736
  23  0.127631
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.030e-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:  7.965e-01  1.276e-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.610e+00  2.677e-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.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/831855/likelihoodResults_384220801_384480001_4FGL_J2324.6+3115_daily_bin559.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) = 7553.26210731
delta logL = -0.000580213934882

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7553.26152824
delta logL = -1.14641989057e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11092E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8580       1.0000          .0000       10.000    
     3 'Normalizat'    1.6101       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79660       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=   7553.262     FROM MIGRAD    STATUS=CONVERGED    100 CALLS      247 TOTAL
                     EDM=   .91E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    57.920        .18142E-01** at limit **
   2  Index         2.4011        7.8712        .50000        .13697E-06
   3  Normalizat    1.6104        .14618E-01    .31026E-03   -.14057E-03
   4  Prefactor     .79647        .69732E-02    .20022E-03   -.21804E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.40109
  Normalizat = 1.6104
  Prefactor  = 0.796473
 **********
 **   18 **HESSE 
 **********

 FCN=   7553.262     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      276 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    410.87        .26603E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4011        8.1338        .50000       -.54660    
   3  Normalizat    1.6104        .40571E-01    .62052E-04   -.74722    
   4  Prefactor     .79647        .19354E-01    .80088E-05   -.99858    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.62608e-10
Minuit parameter uncertainties:
  1  0.00113717
  2  987.174
  3  0.0405714
  4  0.0193542
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/831855': 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) = 7553.26152604
delta logL = 1.05530943983e-06

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.137e-03  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.401e+00  9.872e+02  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:  7.965e-01  1.935e-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:  1.610e+00  4.057e-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/831855/cmap_HighResolution_384220801_384480001_4FGL_J2324.6+3115_daily_bin559.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.57e-03', job_status='DONE', photon_flux_upper_limit='9.53e-08', time_completed='2021-09-29 16:01:24.807021', job_id='831855', GAL2='0.80', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1632956484.81', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.06e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='559' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:01:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0250>
Subject: Job 831855: <4FGL_J2324.6+3115_daily_bin559> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin559> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 15:45:23 2021
Job was executed on host(s) <bullet0250>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:45:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 15:45:25 2021
Terminated at Wed Sep 29 16:01:25 2021
Results reported at Wed Sep 29 16:01:25 2021

Your job looked like:

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

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

