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


Performing analysis on: 4FGL_J2324.6+3115_daily_bin789
RA = 351.17, Dec = 31.2573
tmin = 443836801, tmax = 444096001
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='833305', job_status='RUN', time_executed='2021-09-29 15:52:34.989365', time_epoch_executed='1632955954.99' WHERE source_name='4FGL J2324.6+3115' and cadence='daily' and bin_id='789'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/833305

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/833305/ft1_4FGL_J2324.6+3115_daily_bin789.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/833305/ft2_4FGL_J2324.6+3115_daily_bin789.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/833305/ft1_4FGL_J2324.6+3115_daily_bin789.fits outfile=/scratch/kocevski/833305/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin789.fits ra=351.17 dec=31.2573 rad=12.0 tmin=443836801.0 tmax=444096001.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.69
user 2.49
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/833305/ft2_4FGL_J2324.6+3115_daily_bin789.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/833305/ft1_filteredMKT_4FGL_J2324.6+3115_daily_bin789.fits evtable="EVENTS" outfile="/scratch/kocevski/833305/ft1_filtered_4FGL_J2324.6+3115_daily_bin789.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/833305/ft1_filtered_4FGL_J2324.6+3115_daily_bin789.fits" evtable="EVENTS" scfile=/scratch/kocevski/833305/ft2_4FGL_J2324.6+3115_daily_bin789.fits sctable="SC_DATA" outfile=/scratch/kocevski/833305/ltcube_443836801_444096001_4FGL_J2324.6+3115_daily_bin789.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/833305/ft2_4FGL_J2324.6+3115_daily_bin789.fits
.....................!
real 9.18
user 8.87
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/833305/ft1_filtered_4FGL_J2324.6+3115_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/833305/ft2_4FGL_J2324.6+3115_daily_bin789.fits sctable="SC_DATA" expcube=/scratch/kocevski/833305/ltcube_443836801_444096001_4FGL_J2324.6+3115_daily_bin789.fits outfile=/scratch/kocevski/833305/expmap_443836801_444096001_4FGL_J2324.6+3115_daily_bin789.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/833305/ltcube_443836801_444096001_4FGL_J2324.6+3115_daily_bin789.fits
.....................!
real 145.86
user 141.90
sys 3.67

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/833305/ft1_filtered_4FGL_J2324.6+3115_daily_bin789.fits scfile=/scratch/kocevski/833305/ft2_4FGL_J2324.6+3115_daily_bin789.fits outfile=/scratch/kocevski/833305/cmap_443836801_444096001_4FGL_J2324.6+3115_daily_bin789.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.30
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/833305/ft1_filtered_4FGL_J2324.6+3115_daily_bin789.fits scfile=/scratch/kocevski/833305/ft2_4FGL_J2324.6+3115_daily_bin789.fits outfile=/scratch/kocevski/833305/cmap_HighResolution_443836801_444096001_4FGL_J2324.6+3115_daily_bin789.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/833305/ft1_filtered_4FGL_J2324.6+3115_daily_bin789.fits evtable="EVENTS" scfile=/scratch/kocevski/833305/ft2_4FGL_J2324.6+3115_daily_bin789.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/833305/Model_4FGL_J2324.6+3115_daily_bin789.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/833305/ft1_filtered_4FGL_J2324.6+3115_daily_bin789.fits.....................!
real 73.60
user 72.44
sys 1.02

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.780       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.8696       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.607       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    28.506       1.0000         .10000E-03   10000.    
     7 'Prefactor '    6.8222       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .92235       1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.043       1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.223       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.4729       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2800       1.0000         .10000E-03   10000.    
    18 'Prefactor '    4.8710       1.0000         .10000E-03   10000.    
    19 'Prefactor '    32.683       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    11.943       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0298       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0608       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=   8956.005     FROM MIGRAD    STATUS=CONVERGED    524 CALLS     2535 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.781        17.735        .32375E-06    .21699E-04
   2  Prefactor     .10000E-03    2.4548        .93028E-07** at limit **
   3  norm          1.8695        1.1936       -.25166E-06   -.50749E-03
   4  Prefactor     14.259        98.295       -.31884E-04   -.20287E-06
   5  Prefactor     .10000E-03    9.7167       -.88901E-07** at limit **
   6  Prefactor     28.505        18.842       -.24641E-06    .14185E-04
   7  Prefactor     6.8197        7.4999       -.13087E-05   -.16899E-03
   8  Prefactor     .10000E-03    6.3379       -.16381E-06** at limit **
   9  Prefactor     .10000E-03    5.2081       -.37389E-07** at limit **
  10  norm          .92153        1.3111       -.83270E-06   -.27339E-02
  11  Prefactor     14.042        13.097        .32786E-06    .28637E-04
  12  Prefactor     40.226        14.656        .32896E-05    .11862E-03
  13  Prefactor     .10000E-03    24.849        .89280E-06** at limit **
  14  norm          .10000E-03    2.2198       -.96331E-08** at limit **
  15  norm          9.4698        10.227       -.14403E-05   -.55254E-04
  16  Prefactor     .10000E-03    14.435        .12020E-06** at limit **
  17  norm          1.2796        1.6524       -.48522E-06   -.87273E-03
  18  Prefactor     4.8706        9.9697        .10152E-05   -.30452E-04
  19  Prefactor     32.699        43.070       -.46450E-04    .37705E-04
  20  Prefactor     .10000E-03    23.582       -.99715E-06** at limit **
  21  Prefactor     11.943        7.3666        .53402E-06    .14368E-04
  22  Normalizat    1.0290        .22194        .89974E-05   -.13185E-03
  23  Prefactor     1.0612        .10765       -.71652E-06    .50593E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 29.7807
  Prefactor  = 0.0001
  norm       = 1.86949
  Prefactor  = 14.2592
  Prefactor  = 0.0001
  Prefactor  = 28.5048
  Prefactor  = 6.81967
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.921527
  Prefactor  = 14.0425
  Prefactor  = 40.2264
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 9.46975
  Prefactor  = 0.0001
  norm       = 1.27962
  Prefactor  = 4.87064
  Prefactor  = 32.6994
  Prefactor  = 0.0001
  Prefactor  = 11.9431
  Normalizat = 1.02896
  Prefactor  = 1.0612
 **********
 **   18 **HESSE 
 **********

 FCN=   8956.005     FROM HESSE     STATUS=OK           376 CALLS     2911 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.781        17.729        .73418E-04   -1.4616    
   2  Prefactor     .10000E-03    2.4729        .14479E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8695        1.1871        .79785E-04   -1.5435    
   4  Prefactor     14.259        98.774        .10480E-03   -1.4953    
   5  Prefactor     .10000E-03    9.7328        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     28.505        18.848        .75037E-04   -1.4640    
   7  Prefactor     6.8197        7.5097        .15361E-03   -1.5186    
   8  Prefactor     .10000E-03    6.3933        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.2086        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .92153        1.2177        .12260E-02   -1.5516    
  11  Prefactor     14.042        13.101        .10689E-03   -1.4958    
  12  Prefactor     40.226        14.658        .63202E-04   -1.4439    
  13  Prefactor     .10000E-03    25.140        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.2366        .13765E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.4698        10.238        .13021E-03   -1.5092    
  16  Prefactor     .10000E-03    14.532        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2796        1.6195        .13366E-03   -1.5482    
  18  Prefactor     4.8706        9.9556        .18226E-03   -1.5267    
  19  Prefactor     32.699        43.068        .70091E-04   -1.4564    
  20  Prefactor     .10000E-03    23.601        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     11.943        7.3620        .11592E-03   -1.5017    
  22  Normalizat    1.0290        .25638        .36832E-03   -.92066    
  23  Prefactor     1.0612        .12613        .18168E-03   -.90716    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.2649e-09
Minuit parameter uncertainties:
  1  17.7324
  2  1.55499e-05
  3  1.18712
  4  75.2364
  5  1.63558e-05
  6  18.8515
  7  7.51074
  8  3.38715e-05
  9  6.34943e-06
  10  1.21773
  11  13.1038
  12  14.659
  13  8.5499e-05
  14  1.38507e-06
  15  10.24
  16  4.08798e-05
  17  1.61956
  18  9.95899
  19  43.109
  20  3.23362e-05
  21  7.36251
  22  0.256684
  23  0.126165
Done.

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

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.000e-04  4.088e-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.061e+00  1.262e-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.029e+00  2.567e-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: 1.08e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/833305/likelihoodResults_443836801_444096001_4FGL_J2324.6+3115_daily_bin789.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) = 8956.00561035
delta logL = -0.000327963703967

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8956.00528239
delta logL = 1.68074620888e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.8853       1.0000          .0000       10.000    
     3 'Normalizat'    1.0289       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0612       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8955.805     FROM MIGRAD    STATUS=FAILED       185 CALLS      339 TOTAL
                     EDM=   .65E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16797E-02    .10679        .13413E-02** at limit **
   2  Index        10.0000        5.0007        .50000    ** at limit **
   3  Normalizat    .98327        .60350E-01    .36831E-03   -.29015E-04
   4  Prefactor     1.0767        .29750E-01    .18169E-03    .74888E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8955.805     FROM SIMPLEX   STATUS=UNCHANGED    143 CALLS      482 TOTAL
                     EDM=   .16E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16797E-02    .10679        .51718E-07** at limit **
   2  Index        10.0000        5.0007        .22311E-01** at limit **
   3  Normalizat    .98327        .60350E-01    .12304E-06   -.29015E-04
   4  Prefactor     1.0767        .29750E-01    .14379E-07    .74888E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8955.805     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      518 TOTAL
                     EDM=   .27E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .16797E-02    .30716E-02    .62599E-05** at limit **
   2  Index        10.0000        7.2392        .50000    ** at limit **
   3  Normalizat    .98327        .25735        .14732E-04   -.29015E-04
   4  Prefactor     1.0767        .12620        .36337E-04    .74838E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00167974
  Index      = 10
  Normalizat = 0.983267
  Prefactor  = 1.07673
 **********
 **   18 **HESSE 
 **********

 FCN=   8955.805     FROM HESSE     STATUS=OK            29 CALLS      547 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .16797E-02    .30564E-02    .25040E-06   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        7.2219        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .98327        .25735        .29465E-05   -.93593    
   4  Prefactor     1.0767        .12619        .72674E-05   -.90214    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.60985e-11
Minuit parameter uncertainties:
  1  0.0030564
  2  4.70236e-05
  3  0.257671
  4  0.126222
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/833305': 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) = 8955.80495518
delta logL = 0.200327206441

Extracting fit parameters...

4FGL J2324.6+3115
   Spectrum: PowerLaw
450    Prefactor:  1.680e-03  3.056e-03  1.000e-04  1.000e+04 ( 1.000e-12)
451        Index:  1.000e+01  4.702e-05  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.077e+00  1.262e-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:  9.833e-01  2.577e-01  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/833305/cmap_HighResolution_443836801_444096001_4FGL_J2324.6+3115_daily_bin789.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.62e-03', job_status='DONE', photon_flux_upper_limit='1.08e-07', time_completed='2021-09-29 16:03:17.894552', job_id='833305', GAL2='1.08', fit_tolerance='1e-08', EG2='0.98', EG='1.03', time_epoch_completed='1632956597.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='2.00e-01', ts2='0.44', photon_index_error='0.00', photon_index='2.88' WHERE bin_id='789' AND source_name='4FGL J2324.6+3115' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 16:03:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 833305: <4FGL_J2324.6+3115_daily_bin789> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2324.6+3115_daily_bin789 351.17 31.2573 443836801 444096001 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 :                                   642.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             287.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   771 sec.
    Turnaround time :                            772 sec.

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

