/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 145 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 = 7386
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2324.6+3115_daily_bin325
RA = 351.17, Dec = 31.2573
tmin = 323568001, tmax = 323827201
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='830464', job_status='RUN', time_executed='2021-09-29 15:42:57.938508', time_epoch_executed='1632955377.94' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='325'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/830464

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/830464/ft1_4FGL_J2324.6+3115_daily_bin325.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/830464/ft2_4FGL_J2324.6+3115_daily_bin325.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/830464/ft1_4FGL_J2324.6+3115_daily_bin325.fits outfile=/scratch/kocevski/830464/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin325.fits ra=351.17 dec=31.2573 rad=12.0 tmin=323568001.0 tmax=323827201.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 2.54
user 2.34
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/830464/ft2_4FGL_J2324.6+3115_daily_bin325.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/830464/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin325.fits evtable="EVENTS" outfile="/scratch/kocevski/830464/ft1_filtered_4FGL_J2324.6+3115_daily_bin325.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.41
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/830464/ft1_filtered_4FGL_J2324.6+3115_daily_bin325.fits" evtable="EVENTS" scfile=/scratch/kocevski/830464/ft2_4FGL_J2324.6+3115_daily_bin325.fits sctable="SC_DATA" outfile=/scratch/kocevski/830464/ltcube_323568001_323827201_4FGL_J2324.6+3115_daily_bin325.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/830464/ft2_4FGL_J2324.6+3115_daily_bin325.fits
.....................!
real 9.26
user 8.96
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/830464/ft1_filtered_4FGL_J2324.6+3115_daily_bin325.fits evtable="EVENTS" scfile=/scratch/kocevski/830464/ft2_4FGL_J2324.6+3115_daily_bin325.fits sctable="SC_DATA" expcube=/scratch/kocevski/830464/ltcube_323568001_323827201_4FGL_J2324.6+3115_daily_bin325.fits outfile=/scratch/kocevski/830464/expmap_323568001_323827201_4FGL_J2324.6+3115_daily_bin325.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/830464/ltcube_323568001_323827201_4FGL_J2324.6+3115_daily_bin325.fits
.....................!
real 144.83
user 141.42
sys 3.17

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/830464/ft1_filtered_4FGL_J2324.6+3115_daily_bin325.fits scfile=/scratch/kocevski/830464/ft2_4FGL_J2324.6+3115_daily_bin325.fits outfile=/scratch/kocevski/830464/cmap_323568001_323827201_4FGL_J2324.6+3115_daily_bin325.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.45
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/830464/ft1_filtered_4FGL_J2324.6+3115_daily_bin325.fits scfile=/scratch/kocevski/830464/ft2_4FGL_J2324.6+3115_daily_bin325.fits outfile=/scratch/kocevski/830464/cmap_HighResolution_323568001_323827201_4FGL_J2324.6+3115_daily_bin325.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.45
user 0.31
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    23.240       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.5923       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.607       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5942       1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.197       1.0000         .10000E-03   10000.    
    10 'norm      '    18.798       1.0000         .10000E-03   10000.    
    11 'Prefactor '    20.459       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.097       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.7463       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.6179       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.689       1.0000         .10000E-03   10000.    
    19 'Prefactor '    46.110       1.0000         .10000E-03   10000.    
    20 'Prefactor '    54.733       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10330E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0671       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .88098       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=   10101.27     FROM MIGRAD    STATUS=CONVERGED    503 CALLS     2214 TOTAL
                     EDM=   .76E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          23.236        21.645       -.27733E-07    .47113E-03
   2  Prefactor     .10000E-03    2.8269        .10409E-07** at limit **
   3  norm          1.5923        .98189        .16826E-07   -.67323E-04
   4  Prefactor     .10000E-03    24.503       -.79128E-08** at limit **
   5  Prefactor     .10000E-03    13.329        .57374E-07** at limit **
   6  Prefactor     10.604        16.069       -.59998E-07    .57800E-05
   7  Prefactor     .10000E-03    4.2804        .54431E-08** at limit **
   8  Prefactor     2.5925        4.6565        .96870E-06   -.10686E-02
   9  Prefactor     13.197        16.035        .28077E-07    .14224E-05
  10  norm          18.798        2.6954        .18674E-07    .76820E-04
  11  Prefactor     20.459        15.991       -.16306E-07    .66952E-05
  12  Prefactor     10.096        12.812        .26890E-06   -.25619E-03
  13  Prefactor     .10000E-03    11.289        .33259E-07** at limit **
  14  norm          5.7461        6.9605       -.15248E-06   -.12840E-04
  15  norm          .10000E-03    2.1031       -.20188E-08** at limit **
  16  Prefactor     4.6185        26.510        .42496E-06    .43870E-05
  17  norm          .10000E-03    .89899        .16107E-08** at limit **
  18  Prefactor     11.688        12.285       -.13876E-07    .34789E-04
  19  Prefactor     46.110        36.896       -.88569E-07    .37802E-04
  20  Prefactor     54.741        48.999        .89075E-05    .10008E-03
  21  Prefactor     .10003E-03    4.5486       -.22171E-05** at limit **
  22  Normalizat    1.0669        .20326       -.41650E-06    .22742E-03
  23  Prefactor     .88106        .93023E-01   -.15883E-06    .39473E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 23.236
  Prefactor  = 0.0001
  norm       = 1.59229
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6035
  Prefactor  = 0.0001
  Prefactor  = 2.59255
  Prefactor  = 13.1969
  norm       = 18.7978
  Prefactor  = 20.4594
  Prefactor  = 10.0962
  Prefactor  = 0.0001
  norm       = 5.74611
  norm       = 0.0001
  Prefactor  = 4.61854
  norm       = 0.0001
  Prefactor  = 11.6885
  Prefactor  = 46.11
  Prefactor  = 54.7414
  Prefactor  = 0.00010003
  Normalizat = 1.06695
  Prefactor  = 0.88106
 **********
 **   18 **HESSE 
 **********

 FCN=   10101.27     FROM HESSE     STATUS=OK           372 CALLS     2586 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          23.236        21.022        .83090E-04   -1.4744    
   2  Prefactor     .10000E-03    2.8394        .16500E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.5923        .97773        .75574E-04   -1.5456    
   4  Prefactor     .10000E-03    24.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.427        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.604        16.096        .12302E-03   -1.5057    
   7  Prefactor     .10000E-03    4.3140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.5925        10.071        .12666E-02   -1.5386    
   9  Prefactor     13.197        16.035        .11026E-03   -1.4981    
  10  norm          18.798        2.6952        .58413E-04   -1.4841    
  11  Prefactor     20.459        16.004        .88552E-04   -1.4803    
  12  Prefactor     10.096        13.055        .63052E-03   -1.5072    
  13  Prefactor     .10000E-03    11.319        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.7461        6.7837        .16756E-03   -1.5229    
  15  norm          .10000E-03    2.1039        .14235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.6185        25.189        .18730E-03   -1.5278    
  17  norm          .10000E-03    .92531        .18601E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.688        12.287        .58587E-03   -1.5024    
  19  Prefactor     46.110        37.189        .59046E-04   -1.4349    
  20  Prefactor     54.741        49.148        .54218E-04   -1.4227    
  21  Prefactor     .10003E-03    49.075        .38097E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.0669        .23776        .36125E-03   -.90820    
  23  Prefactor     .88106        .10904        .18796E-03   -.96806    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.83161e-09
Minuit parameter uncertainties:
  1  21.0282
  2  1.97458e-07
  3  0.977742
  4  2.7454e-06
  5  1.15913e-06
  6  16.1023
  7  2.02976e-06
  8  10.0774
  9  16.0404
  10  2.69525
  11  16.0078
  12  13.0588
  13  1.72051e-06
  14  6.78465
  15  1.41389e-07
  16  21.5859
  17  1.90477e-07
  18  12.2894
  19  37.208
  20  49.1841
  21  0.00242848
  22  0.237996
  23  0.109065
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  4.619e+00  2.159e+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.811e-01  1.091e-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.067e+00  2.380e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/830464/likelihoodResults_323568001_323827201_4FGL_J2324.6+3115_daily_bin325.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) = 10101.2690386
delta logL = 0.00132906449289

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10101.2688086
delta logL = 0.0015590066123

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.9107       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7888       1.0000          .0000       10.000    
     3 'Normalizat'    1.0676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88072       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=   10101.27     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      282 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.9089        19.142        .18150E-03    .26445E-03
   2  Index         2.7890        1.5377        .22318E-01    .10133E-03
   3  Normalizat    1.0675        .22490        .36118E-03   -.45472E-03
   4  Prefactor     .88080        .10703        .18798E-03   -.76092E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.90888
  Index      = 2.78896
  Normalizat = 1.06746
  Prefactor  = 0.880798
 **********
 **   18 **HESSE 
 **********

 FCN=   10101.27     FROM HESSE     STATUS=OK            23 CALLS      305 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.9089        18.416        .72602E-05   -1.5265    
   2  Index         2.7890        1.4829        .89271E-03   -.45806    
   3  Normalizat    1.0675        .22522        .14447E-04   -.90803    
   4  Prefactor     .88080        .10710        .37597E-04   -.96815    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.8634e-09
Minuit parameter uncertainties:
  1  18.4368
  2  1.5113
  3  0.225425
  4  0.107124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/830464': 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) = 10101.2688084
delta logL = 0.00155926264415

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  4.909e+00  1.844e+01  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  2.789e+00  1.511e+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.808e-01  1.071e-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.067e+00  2.254e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.07
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/830464/cmap_HighResolution_323568001_323827201_4FGL_J2324.6+3115_daily_bin325.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.09e-02', job_status='DONE', photon_flux_upper_limit='1.37e-07', time_completed='2021-09-29 15:53:54.189198', job_id='830464', GAL2='0.88', fit_tolerance='1e-08', EG2='1.07', EG='1.07', time_epoch_completed='1632956034.19', return_code2='0', ts='0.07', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.56e-03', ts2='0.08', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='325' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 15:53:54 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 830464: <4FGL_J2324.6+3115_daily_bin325> in cluster <slac> Done

Job <4FGL_J2324.6+3115_daily_bin325> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Sep 29 15:40:23 2021
Job was executed on host(s) <bullet0095>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 15:40: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:40:25 2021
Terminated at Wed Sep 29 15:53:54 2021
Results reported at Wed Sep 29 15:53:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin325 351.17 31.2573 323568001 323827201 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 :                                   652.15 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             293.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   809 sec.
    Turnaround time :                            811 sec.

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

