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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin978
RA = 351.575, Dec = 1.2216
tmin = 492825601, tmax = 493084801
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='893205', job_status='RUN', time_executed='2021-09-29 18:56:02.874219', time_epoch_executed='1632966962.87' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='978'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893205

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893205/ft1_4FGL_J2326.2+0113_daily_bin978.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893205/ft1_4FGL_J2326.2+0113_daily_bin978.fits outfile=/scratch/kocevski/893205/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin978.fits ra=351.575 dec=1.2216 rad=12.0 tmin=492825601.0 tmax=493084801.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.71
user 3.49
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.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/893205/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin978.fits evtable="EVENTS" outfile="/scratch/kocevski/893205/ft1_filtered_4FGL_J2326.2+0113_daily_bin978.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/893205/ft1_filtered_4FGL_J2326.2+0113_daily_bin978.fits" evtable="EVENTS" scfile=/scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits sctable="SC_DATA" outfile=/scratch/kocevski/893205/ltcube_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.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/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits
.....................!
real 11.90
user 11.55
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893205/ft1_filtered_4FGL_J2326.2+0113_daily_bin978.fits evtable="EVENTS" scfile=/scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits sctable="SC_DATA" expcube=/scratch/kocevski/893205/ltcube_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.fits outfile=/scratch/kocevski/893205/expmap_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.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/893205/ltcube_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.fits
.....................!
real 190.57
user 185.52
sys 4.62

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 160 point sources and 0 extended sources

Setting source of interest to:
4FGL J2326.2+0113 @ 351.575 1.2216

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/893205/ft1_filtered_4FGL_J2326.2+0113_daily_bin978.fits scfile=/scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits outfile=/scratch/kocevski/893205/cmap_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.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.575 yref=1.2216 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/893205/ft1_filtered_4FGL_J2326.2+0113_daily_bin978.fits scfile=/scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits outfile=/scratch/kocevski/893205/cmap_HighResolution_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.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.575 yref=1.2216 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/893205/ft1_filtered_4FGL_J2326.2+0113_daily_bin978.fits evtable="EVENTS" scfile=/scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/893205/Model_4FGL_J2326.2+0113_daily_bin978.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/893205/ft1_filtered_4FGL_J2326.2+0113_daily_bin978.fits.....................!
real 72.85
user 71.48
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/893205/ft1_filtered_4FGL_J2326.2+0113_daily_bin978.fits', '/scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits', expMap='/scratch/kocevski/893205/expmap_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.fits', expCube='/scratch/kocevski/893205/ltcube_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/893205/Model_4FGL_J2326.2+0113_daily_bin978.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.2+0113'

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.628e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/893205/ft1_filtered_4FGL_J2326.2+0113_daily_bin978.fits
Spacecraft file(s): /scratch/kocevski/893205/ft2_4FGL_J2326.2+0113_daily_bin978.fits
Exposure map: /scratch/kocevski/893205/expmap_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.fits
Exposure cube: /scratch/kocevski/893205/ltcube_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/893205/Model_4FGL_J2326.2+0113_daily_bin978.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) = 7305.31218443

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.015       1.0000         .10000E-03   10000.    
     2 'norm      '    17.036       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.834       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .86381       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.8543       1.0000         .10000E-03   10000.    
     8 'norm      '    .70390       1.0000         .10000E-03   10000.    
     9 'norm      '    4.0725       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.3162       1.0000         .10000E-03   10000.    
    11 'Prefactor '    61.382       1.0000         .10000E-03   10000.    
    12 'norm      '    2.3121       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2451       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10403E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14990       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.7932       1.0000         .10000E-03   10000.    
    17 'norm      '    35.469       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .16907E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .19528E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .96001       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90563       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7305.188     FROM MIGRAD    STATUS=CONVERGED    576 CALLS     2414 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.011        14.790       -.75826E-07    .23970E-04
   2  norm          17.035        10.553        .79701E-07    .22204E-04
   3  Prefactor     21.847        28.603       -.80083E-05    .10812E-04
   4  Prefactor     .10000E-03    5.0252       -.65591E-08** at limit **
   5  Prefactor     .10000E-03    26.545        .26624E-06** at limit **
   6  Prefactor     .64523        38.771        .41732E-05   -.30139E-03
   7  Prefactor     8.8802        8.9223       -.88284E-06   -.61512E-03
   8  norm          .70468        .69593       -.14743E-06    .63436E-04
   9  norm          4.0714        4.7096       -.41242E-06   -.52514E-03
  10  Prefactor     6.3128        11.618        .92978E-06   -.11959E-04
  11  Prefactor     61.456        48.272        .17142E-04    .19703E-03
  12  norm          2.3101        7.3660       -.65006E-06   -.44442E-03
  13  Prefactor     4.2435        7.1060       -.64239E-07   -.23436E-03
  14  Prefactor     .10000E-03    71.632       -.76509E-05** at limit **
  15  Prefactor     .11497        9.4305       -.43501E-05    .66984E-03
  16  Prefactor     2.8217        39.297       -.92018E-05   -.46517E-04
  17  norm          35.553        24.715        .16814E-05    .11294E-02
  18  Prefactor     .10000E-03    11.614        .10088E-06** at limit **
  19  Prefactor     .10000E-03    1.9204        .17975E-06** at limit **
  20  Prefactor     .10000E-03    39.287       -.29561E-05** at limit **
  21  Prefactor     .10000E-03    48.023        .51623E-05** at limit **
  22  Prefactor     .10000E-03    7.3237        .33762E-06** at limit **
  23  Normalizat    .96010        .18076       -.57163E-06    .42808E-03
  24  Prefactor     .90555        .11985        .25831E-06    .35184E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.0107
  norm       = 17.0351
  Prefactor  = 21.8466
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.645234
  Prefactor  = 8.88023
  norm       = 0.704679
  norm       = 4.07143
  Prefactor  = 6.31281
  Prefactor  = 61.4561
  norm       = 2.31005
  Prefactor  = 4.24346
  Prefactor  = 0.0001
  Prefactor  = 0.114967
  Prefactor  = 2.8217
  norm       = 35.5525
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.960098
  Prefactor  = 0.90555
 **********
 **   18 **HESSE 
 **********

 FCN=   7305.188     FROM HESSE     STATUS=OK           417 CALLS     2831 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.011        14.827        .85368E-04   -1.4769    
   2  norm          17.035        10.554        .97038E-04   -1.4882    
   3  Prefactor     21.847        28.573        .85721E-04   -1.4773    
   4  Prefactor     .10000E-03    5.0370        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    27.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .64523        52.123        .12961       -1.5547    
   7  Prefactor     8.8802        9.2015        .13470E-03   -1.5112    
   8  norm          .70468        .66141        .67101E-03   -1.5540    
   9  norm          4.0714        4.6932        .18259E-03   -1.5304    
  10  Prefactor     6.3128        11.451        .15971E-03   -1.5205    
  11  Prefactor     61.456        48.109        .51214E-04   -1.4138    
  12  norm          2.3101        7.2002        .26981E-03   -1.5404    
  13  Prefactor     4.2435        7.0117        .19556E-03   -1.5296    
  14  Prefactor     .10000E-03    71.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .11497        25.128        .59772E-01   -1.5640    
  16  Prefactor     2.8217        38.796        .24344E-03   -1.5372    
  17  norm          35.553        28.497        .67290E-04   -1.4515    
  18  Prefactor     .10000E-03    11.618        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    8.6766        .20980E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    39.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    48.729        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.3594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .96010        .20947        .28053E-03   -.94379    
  24  Prefactor     .90555        .13878        .20145E-03   -.95947    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.56401e-09
Minuit parameter uncertainties:
  1  14.8292
  2  10.5551
  3  28.5908
  4  6.60583e-06
  5  3.58655e-05
  6  11.6081
  7  9.20297
  8  0.661418
  9  4.69362
  10  11.4551
  11  48.1393
  12  7.20289
  13  7.01308
  14  3.99759e-05
  15  3.39931
  16  20.9419
  17  28.5077
  18  3.42043e-06
  19  0.000237215
  20  7.45894e-05
  21  0.000118945
  22  4.12344e-06
  23  0.209645
  24  0.138829
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  6.146e+01  4.814e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.119e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.055e-01  1.388e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  9.601e-01  2.096e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.82
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 3.73e-08 +/- 2.92e-08
Energy Flux (Fixed Index): 1.97e-05 +/- 1.54e-05

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) = 7305.17273376
delta logL = 0.0154127596306

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7305.16078943
delta logL = 0.0273570835625

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.520       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2631       1.0000          .0000       10.000    
     3 'Normalizat'    .95342       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90765       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+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=   7305.161     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      278 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.528        62.664        .55343E-04   -.20234E-03
   2  Index         2.2635        .68603        .67437E-02   -.69075E-04
   3  Normalizat    .95289        .19658        .28145E-03   -.11278E-03
   4  Prefactor     .90802        .13610        .20119E-03   -.38425E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.528
  Index      = 2.26354
  Normalizat = 0.952895
  Prefactor  = 0.90802
 **********
 **   18 **HESSE 
 **********

 FCN=   7305.161     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.528        56.864        .11069E-04   -1.4257    
   2  Index         2.2635        .62200        .26975E-03   -.57913    
   3  Normalizat    .95289        .19610        .11258E-04   -.94626    
   4  Prefactor     .90802        .13603        .80476E-05   -.95861    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42998e-10
Minuit parameter uncertainties:
  1  56.9225
  2  0.624315
  3  0.196246
  4  0.136081
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893205': 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) = 7305.16078519
delta logL = 0.0273613231839

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  5.253e+01  5.692e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.264e+00  6.243e-01  0.000e+00  1.000e+01 (-1.000e+00)
408        Scale:  2.170e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
523    Prefactor:  9.080e-01  1.361e-01  0.000e+00  1.000e+01 ( 1.000e+00)
524        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
525        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
522   Normalization:  9.529e-01  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.87
Ra Dec: 351.575 1.222
Photon Index (Free Index): 2.26 +/- 0.62
Photon Flux (Free Index): 4.41e-08 +/- 4.34e-08
Energy Flux (Free Index): 1.77e-05 +/- 1.50e-05

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/893205/cmap_HighResolution_492825601_493084801_4FGL_J2326.2+0113_daily_bin978.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.73e-08', energy_flux2='1.77e-05', photon_flux_error='2.92e-08', dlogl='2.74e-02', energy_flux='1.97e-05', photon_flux2='4.41e-08', job_status='DONE', time_completed='2021-09-29 19:06:23.298419', photon_index_error2='0.62', photon_index2='2.26', ts='4.82', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', energy_flux_error2='1.50e-05', EG='0.96', time_epoch_completed='1632967583.3', return_code='0', job_id='893205', GAL2='0.91', EG2='0.95', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='4.34e-08', ts2='4.87', photon_index='2.12' WHERE bin_id='978' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:06:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0120>
Subject: Job 893205: <4FGL_J2326.2+0113_daily_bin978> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin978> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 18:55:51 2021
Job was executed on host(s) <bullet0120>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:55:52 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 18:55:52 2021
Terminated at Wed Sep 29 19:06:24 2021
Results reported at Wed Sep 29 19:06:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin978 351.575 1.2216 492825601 493084801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.2+0113 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   615.27 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             382.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   631 sec.
    Turnaround time :                            633 sec.

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

