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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin820
RA = 351.17, Dec = 31.2573
tmin = 451872001, tmax = 452131201
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='833354', job_status='RUN', time_executed='2021-09-29 15:52:49.660699', time_epoch_executed='1632955969.66' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='820'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833354

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833354/ft1_4FGL_J2324.6+3115_daily_bin820.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833354/ft2_4FGL_J2324.6+3115_daily_bin820.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833354/ft1_4FGL_J2324.6+3115_daily_bin820.fits outfile=/scratch/kocevski/833354/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin820.fits ra=351.17 dec=31.2573 rad=12.0 tmin=451872001.0 tmax=452131201.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.42
user 3.18
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833354/ft2_4FGL_J2324.6+3115_daily_bin820.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/833354/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin820.fits evtable="EVENTS" outfile="/scratch/kocevski/833354/ft1_filtered_4FGL_J2324.6+3115_daily_bin820.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/833354/ft1_filtered_4FGL_J2324.6+3115_daily_bin820.fits" evtable="EVENTS" scfile=/scratch/kocevski/833354/ft2_4FGL_J2324.6+3115_daily_bin820.fits sctable="SC_DATA" outfile=/scratch/kocevski/833354/ltcube_451872001_452131201_4FGL_J2324.6+3115_daily_bin820.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/833354/ft2_4FGL_J2324.6+3115_daily_bin820.fits
.....................!
real 12.05
user 11.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833354/ft1_filtered_4FGL_J2324.6+3115_daily_bin820.fits evtable="EVENTS" scfile=/scratch/kocevski/833354/ft2_4FGL_J2324.6+3115_daily_bin820.fits sctable="SC_DATA" expcube=/scratch/kocevski/833354/ltcube_451872001_452131201_4FGL_J2324.6+3115_daily_bin820.fits outfile=/scratch/kocevski/833354/expmap_451872001_452131201_4FGL_J2324.6+3115_daily_bin820.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/833354/ltcube_451872001_452131201_4FGL_J2324.6+3115_daily_bin820.fits
.....................!
real 191.02
user 185.42
sys 5.29

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/833354/ft1_filtered_4FGL_J2324.6+3115_daily_bin820.fits scfile=/scratch/kocevski/833354/ft2_4FGL_J2324.6+3115_daily_bin820.fits outfile=/scratch/kocevski/833354/cmap_451872001_452131201_4FGL_J2324.6+3115_daily_bin820.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833354/ft1_filtered_4FGL_J2324.6+3115_daily_bin820.fits scfile=/scratch/kocevski/833354/ft2_4FGL_J2324.6+3115_daily_bin820.fits outfile=/scratch/kocevski/833354/cmap_HighResolution_451872001_452131201_4FGL_J2324.6+3115_daily_bin820.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/833354/ft1_filtered_4FGL_J2324.6+3115_daily_bin820.fits evtable="EVENTS" scfile=/scratch/kocevski/833354/ft2_4FGL_J2324.6+3115_daily_bin820.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833354/Model_4FGL_J2324.6+3115_daily_bin820.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/833354/ft1_filtered_4FGL_J2324.6+3115_daily_bin820.fits.....................!
real 107.60
user 106.21
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .31241E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.3037       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12611E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .81264E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.194       1.0000         .10000E-03   10000.    
    10 'norm      '    3.3162       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.021       1.0000         .10000E-03   10000.    
    12 'Prefactor '    21.194       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    11.960       1.0000         .10000E-03   10000.    
    15 'norm      '    .11719E-02   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.9162       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.428       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.2289       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.1625       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .99130       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=   10213.19     FROM MIGRAD    STATUS=CONVERGED    536 CALLS     2222 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10109E-03    17.705       -.50081E-05** at limit **
   2  Prefactor     .10000E-03    3.1993       -.22623E-07** at limit **
   3  norm          1.3039        1.0081        .10993E-07    .17025E-03
   4  Prefactor     .10001E-03    261.41        .19858E-05** at limit **
   5  Prefactor     .10000E-03    5.8506       -.11351E-07** at limit **
   6  Prefactor     .10000E-03    5.6462        .31017E-08** at limit **
   7  Prefactor     .10008E-03    4.9874        .99527E-06** at limit **
   8  Prefactor     .10000E-03    11.375       -.31704E-07** at limit **
   9  Prefactor     14.196        18.847       -.28935E-07    .78610E-06
  10  norm          3.3166        1.5548        .18681E-07    .31138E-03
  11  Prefactor     33.027        23.781       -.28566E-06   -.18799E-04
  12  Prefactor     21.193        14.123       -.18010E-06    .42126E-04
  13  Prefactor     .10000E-03    12.009        .25818E-07** at limit **
  14  norm          11.961        6.2148        .45012E-07    .34866E-03
  15  norm          .10007E-03    4.5287       -.99519E-06** at limit **
  16  Prefactor     .10000E-03    7.4780        .53718E-06** at limit **
  17  norm          2.9167        2.7884        .28587E-06    .54736E-03
  18  Prefactor     .10000E-03    5.4031       -.85817E-08** at limit **
  19  Prefactor     .10000E-03    73.348        .10399E-06** at limit **
  20  Prefactor     33.304        46.477        .10160E-05    .29766E-03
  21  Prefactor     1.2426        8.5111        .35840E-05    .74495E-03
  22  Normalizat    1.1624        .19645        .11241E-05    .53243E-03
  23  Prefactor     .99129        .95135E-01   -.75406E-07    .98635E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000101093
  Prefactor  = 0.0001
  norm       = 1.30391
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100077
  Prefactor  = 0.0001
  Prefactor  = 14.1964
  norm       = 3.31661
  Prefactor  = 33.0271
  Prefactor  = 21.1932
  Prefactor  = 0.0001
  norm       = 11.9612
  norm       = 0.000100073
  Prefactor  = 0.0001
  norm       = 2.9167
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.3041
  Prefactor  = 1.24263
  Normalizat = 1.16237
  Prefactor  = 0.99129
 **********
 **   18 **HESSE 
 **********

 FCN=   10213.19     FROM HESSE     STATUS=OK           372 CALLS     2594 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10109E-03    83.110        .54899E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.2179        .17651E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.3039        1.0131        .86024E-04   -1.5480    
   4  Prefactor     .10001E-03    263.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.8541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.6502        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10008E-03    37.652        .40588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    11.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     14.196        18.860        .10631E-03   -1.4954    
  10  norm          3.3166        1.5502        .81784E-04   -1.5344    
  11  Prefactor     33.027        23.818        .69732E-04   -1.4558    
  12  Prefactor     21.193        14.041        .87004E-04   -1.4787    
  13  Prefactor     .10000E-03    12.034        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.961        6.2013        .11584E-03   -1.5016    
  15  norm          .10007E-03    43.023        .39548E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.4801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.9167        2.7737        .15614E-03   -1.5366    
  18  Prefactor     .10000E-03    5.4064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    74.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     33.304        44.560        .69308E-04   -1.4553    
  21  Prefactor     1.2426        8.3811        .40587E-03   -1.5485    
  22  Normalizat    1.1624        .22652        .35684E-03   -.87774    
  23  Prefactor     .99129        .11018        .18546E-03   -.93020    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76139e-08
Minuit parameter uncertainties:
  1  0.0190853
  2  2.43541e-06
  3  1.01306
  4  0.00233179
  5  2.97073e-06
  6  1.68726e-06
  7  0.00339781
  8  6.18292e-06
  9  18.8676
  10  1.55023
  11  23.8244
  12  14.0435
  13  7.10476e-06
  14  6.20159
  15  0.00355117
  16  4.57681e-05
  17  2.77383
  18  1.76799e-06
  19  7.41234e-06
  20  44.605
  21  6.45538
  22  0.226708
  23  0.110206
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  4.577e-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:  9.913e-01  1.102e-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.162e+00  2.267e-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.21e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.32e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833354/likelihoodResults_451872001_452131201_4FGL_J2324.6+3115_daily_bin820.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) = 10213.1863388
delta logL = -0.000637214325252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10213.1857016
delta logL = 3.00678948406e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8643       1.0000          .0000       10.000    
     3 'Normalizat'    1.1624       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99129       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=   10213.19     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      255 TOTAL
                     EDM=   .72E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    53.522        .18142E-01** at limit **
   2  Index         2.4903        6.2317        .50000       -.95039E-06
   3  Normalizat    1.1624        .13272E-01    .35684E-03    .83854E-04
   4  Prefactor     .99129        .64690E-02    .18546E-03    .17370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.49034
  Normalizat = 1.16237
  Prefactor  = 0.99129
 **********
 **   18 **HESSE 
 **********

 FCN=   10213.19     FROM HESSE     STATUS=NOT POSDEF    27 CALLS      282 TOTAL
                     EDM=   .48E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    360.89        .28206E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4903        6.9654        .50000       -.52583    
   3  Normalizat    1.1624        .36023E-01    .14273E-04   -.87774    
   4  Prefactor     .99129        .17559E-01    .37091E-04   -.93020    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.84997e-08
Minuit parameter uncertainties:
  1  1.04316e-06
  2  1001.84
  3  0.0360239
  4  0.0175588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833354': 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) = 10213.185701
delta logL = 6.11524228589e-07

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  1.043e-06  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.490e+00  1.002e+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:  9.913e-01  1.756e-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.162e+00  3.602e-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/833354/cmap_HighResolution_451872001_452131201_4FGL_J2324.6+3115_daily_bin820.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.32e-03', job_status='DONE', photon_flux_upper_limit='9.21e-08', time_completed='2021-09-29 16:06:41.884420', job_id='833354', GAL2='0.99', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1632956801.88', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.99', dlogl='6.12e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='820' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:06:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 833354: <4FGL_J2324.6+3115_daily_bin820> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin820 351.17 31.2573 451872001 452131201 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 :                                   832.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             321.06 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   969 sec.
    Turnaround time :                            972 sec.

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

