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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin960
RA = 351.575, Dec = 1.2216
tmin = 488160001, tmax = 488419201
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='893179', job_status='RUN', time_executed='2021-09-29 18:59:43.293186', time_epoch_executed='1632967183.29' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='960'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/893179

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/893179/ft1_4FGL_J2326.2+0113_daily_bin960.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/893179/ft2_4FGL_J2326.2+0113_daily_bin960.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/893179/ft1_4FGL_J2326.2+0113_daily_bin960.fits outfile=/scratch/kocevski/893179/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin960.fits ra=351.575 dec=1.2216 rad=12.0 tmin=488160001.0 tmax=488419201.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 5.33
user 5.04
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/893179/ft2_4FGL_J2326.2+0113_daily_bin960.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/893179/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin960.fits evtable="EVENTS" outfile="/scratch/kocevski/893179/ft1_filtered_4FGL_J2326.2+0113_daily_bin960.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/893179/ft1_filtered_4FGL_J2326.2+0113_daily_bin960.fits" evtable="EVENTS" scfile=/scratch/kocevski/893179/ft2_4FGL_J2326.2+0113_daily_bin960.fits sctable="SC_DATA" outfile=/scratch/kocevski/893179/ltcube_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.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/893179/ft2_4FGL_J2326.2+0113_daily_bin960.fits
.....................!
real 12.18
user 11.84
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/893179/ft1_filtered_4FGL_J2326.2+0113_daily_bin960.fits evtable="EVENTS" scfile=/scratch/kocevski/893179/ft2_4FGL_J2326.2+0113_daily_bin960.fits sctable="SC_DATA" expcube=/scratch/kocevski/893179/ltcube_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.fits outfile=/scratch/kocevski/893179/expmap_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.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/893179/ltcube_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.fits
.....................!
real 190.54
user 185.52
sys 4.68

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/893179/ft1_filtered_4FGL_J2326.2+0113_daily_bin960.fits scfile=/scratch/kocevski/893179/ft2_4FGL_J2326.2+0113_daily_bin960.fits outfile=/scratch/kocevski/893179/cmap_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.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.52
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/893179/ft1_filtered_4FGL_J2326.2+0113_daily_bin960.fits scfile=/scratch/kocevski/893179/ft2_4FGL_J2326.2+0113_daily_bin960.fits outfile=/scratch/kocevski/893179/cmap_HighResolution_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.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/893179/ft1_filtered_4FGL_J2326.2+0113_daily_bin960.fits evtable="EVENTS" scfile=/scratch/kocevski/893179/ft2_4FGL_J2326.2+0113_daily_bin960.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/893179/Model_4FGL_J2326.2+0113_daily_bin960.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/893179/ft1_filtered_4FGL_J2326.2+0113_daily_bin960.fits....................!
real 49.35
user 48.07
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/893179/ft1_filtered_4FGL_J2326.2+0113_daily_bin960.fits', '/scratch/kocevski/893179/ft2_4FGL_J2326.2+0113_daily_bin960.fits', expMap='/scratch/kocevski/893179/expmap_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.fits', expCube='/scratch/kocevski/893179/ltcube_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/893179/Model_4FGL_J2326.2+0113_daily_bin960.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/893179/ft1_filtered_4FGL_J2326.2+0113_daily_bin960.fits
Spacecraft file(s): /scratch/kocevski/893179/ft2_4FGL_J2326.2+0113_daily_bin960.fits
Exposure map: /scratch/kocevski/893179/expmap_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.fits
Exposure cube: /scratch/kocevski/893179/ltcube_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/893179/Model_4FGL_J2326.2+0113_daily_bin960.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) = 4172.95287969

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    115.12       1.0000         .10000E-03   10000.    
     2 'norm      '    16.471       1.0000         .10000E-03   10000.    
     3 'Prefactor '    68.570       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.829       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .52611       1.0000         .10000E-03   10000.    
     9 'norm      '    2.1556       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    62.005       1.0000         .10000E-03   10000.    
    12 'norm      '    11.827       1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.4215       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .38490E-02   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.3007       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .15380E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    18.161       1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.8795       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .75101       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .84789       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=   4172.928     FROM MIGRAD    STATUS=CONVERGED    986 CALLS     3552 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     115.13        33.723        .37497E-04    .31835E-04
   2  norm          16.477        17.370        .98687E-04   -.98380E-04
   3  Prefactor     68.582        54.391        .48473E-04   -.60510E-05
   4  Prefactor     .10000E-03    13.787        .18142E-02** at limit **
   5  Prefactor     35.832        27.814        .66952E-04    .27678E-04
   6  Prefactor     .10000E-03    11.732        .18142E-02** at limit **
   7  Prefactor     .10000E-03    3.5312        .11826E-02** at limit **
   8  norm          .52621        .57540        .53380E-03    .10334E-02
   9  norm          2.1562        4.0982        .17494E-03    .56926E-04
  10  Prefactor     .10000E-03    9.0733        .18142E-02** at limit **
  11  Prefactor     61.999        55.690        .50958E-04    .33822E-04
  12  norm          11.822        11.210        .11649E-03    .61486E-04
  13  Prefactor     9.4197        10.299        .13056E-03   -.26819E-04
  14  Prefactor     .10000E-03    113.33        .18142E-02** at limit **
  15  Prefactor     .10000E-03    4.8024        .13806E-02** at limit **
  16  Prefactor     .10000E-03    199.11        .65181E-02** at limit **
  17  norm          .10000E-03    8.4737        .18142E-02** at limit **
  18  Prefactor     .10000E-03    16.604        .18142E-02** at limit **
  19  Prefactor     1.3015        3.8039        .20243E-03    .14152E-04
  20  Prefactor     .10000E-03    58.391        .12226    ** at limit **
  21  Prefactor     18.128        34.552        .93983E-04    .12097E-04
  22  Prefactor     8.8818        15.279        .13451E-03   -.42260E-06
  23  Normalizat    .75082        .28150        .30067E-03    .89612E-04
  24  Prefactor     .84787        .18080        .19798E-03    .46227E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 115.132
  norm       = 16.4774
  Prefactor  = 68.5817
  Prefactor  = 0.0001
  Prefactor  = 35.8316
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.526206
  norm       = 2.1562
  Prefactor  = 0.0001
  Prefactor  = 61.9995
  norm       = 11.8218
  Prefactor  = 9.4197
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.30146
  Prefactor  = 0.0001
  Prefactor  = 18.1276
  Prefactor  = 8.88176
  Normalizat = 0.750817
  Prefactor  = 0.847868
 **********
 **   18 **HESSE 
 **********

 FCN=   4172.928     FROM HESSE     STATUS=OK           385 CALLS     3937 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     115.13        33.723        .74994E-05   -1.3558    
   2  norm          16.477        17.369        .39475E-05   -1.4896    
   3  Prefactor     68.582        54.388        .96946E-05   -1.4050    
   4  Prefactor     .10000E-03    13.790        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     35.832        27.805        .26781E-05   -1.4510    
   6  Prefactor     .10000E-03    11.732        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.5314        .23653E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .52621        .57530        .10676E-03   -1.5563    
   9  norm          2.1562        4.0979        .69978E-05   -1.5414    
  10  Prefactor     .10000E-03    9.0761        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     61.999        55.688        .10192E-04   -1.4132    
  12  norm          11.822        11.207        .46595E-05   -1.5020    
  13  Prefactor     9.4197        10.297        .52225E-05   -1.5094    
  14  Prefactor     .10000E-03    113.33        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.8025        .27612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    203.89        .26072E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.4738        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    16.605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.3015        3.8028        .80973E-05   -1.5480    
  20  Prefactor     .10000E-03    58.420        .12221       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     18.128        34.540        .37593E-05   -1.4856    
  22  Prefactor     8.8818        15.279        .53804E-05   -1.5112    
  23  Normalizat    .75082        .28169        .12027E-04   -1.0192    
  24  Prefactor     .84787        .18095        .79190E-05   -.97987    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39086e-10
Minuit parameter uncertainties:
  1  33.7286
  2  17.3741
  3  54.4272
  4  7.72531e-06
  5  27.8152
  6  3.11142e-06
  7  1.70114e-05
  8  0.57531
  9  4.09848
  10  6.68762e-06
  11  55.735
  12  11.2091
  13  10.299
  14  0.000473943
  15  5.24516e-05
  16  0.000434545
  17  4.75067e-05
  18  6.1101e-06
  19  3.80352
  20  9.18387e-05
  21  34.5782
  22  15.2853
  23  0.282238
  24  0.181078
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  6.200e+01  5.574e+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:  8.479e-01  1.811e-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:  7.508e-01  2.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.95
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 3.77e-08 +/- 3.39e-08
Energy Flux (Fixed Index): 1.98e-05 +/- 1.78e-05

TS (Fixed Index): 3.95
Ra Dec: 351.575 1.222
Photon Flux Upper Limit: 1.26e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/893179/likelihoodResults_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.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) = 4172.85083446
delta logL = 0.076896825849

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4172.84597996
delta logL = 0.0817513285074

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.546       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4907       1.0000          .0000       10.000    
     3 'Normalizat'    .72278       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85810       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=   4172.846     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      302 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.569        74.873        .61459E-04    .50314E-03
   2  Index         2.4900        1.0633        .52907E-02    .33718E-03
   3  Normalizat    .72239        .27022        .30596E-03    .58901E-03
   4  Prefactor     .85843        .18213        .19683E-03    .14759E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.569
  Index      = 2.48998
  Normalizat = 0.722395
  Prefactor  = 0.85843
 **********
 **   18 **HESSE 
 **********

 FCN=   4172.846     FROM HESSE     STATUS=OK            25 CALLS      327 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.569        61.382        .12292E-04   -1.4402    
   2  Index         2.4900        .87227        .21163E-03   -.52591    
   3  Normalizat    .72239        .26641        .61191E-04   -1.0302    
   4  Prefactor     .85843        .18117        .39366E-04   -.97609    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.73292e-09
Minuit parameter uncertainties:
  1  61.4736
  2  0.878299
  3  0.266891
  4  0.181301
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/893179': 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) = 4172.84597751
delta logL = 0.0817537788034

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.257e+01  6.147e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.490e+00  8.783e-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:  8.584e-01  1.813e-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:  7.224e-01  2.669e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.12
Ra Dec: 351.575 1.222
Photon Index (Free Index): 2.49 +/- 0.88
Photon Flux (Free Index): 6.08e-08 +/- 7.22e-08
Energy Flux (Free Index): 1.79e-05 +/- 1.40e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/893179/cmap_HighResolution_488160001_488419201_4FGL_J2326.2+0113_daily_bin960.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.52e-03', comment='SUCCESS', photon_flux='3.77e-08', energy_flux2='1.79e-05', photon_flux_error='3.39e-08', dlogl='8.18e-02', energy_flux='1.98e-05', photon_flux2='6.08e-08', job_status='DONE', time_completed='2021-09-29 19:09:37.863997', photon_index_error2='0.88', photon_index2='2.49', ts='3.95', fit_tolerance='1e-08', GAL='0.85', photon_index_error='0.00', photon_flux_upper_limit='1.26e-07', energy_flux_error2='1.40e-05', EG='0.75', time_epoch_completed='1632967777.86', return_code='0', job_id='893179', GAL2='0.86', EG2='0.72', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='7.22e-08', ts2='4.12', photon_index='2.12' WHERE bin_id='960' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:09:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 893179: <4FGL_J2326.2+0113_daily_bin960> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin960> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 18:55:48 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:55:50 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:50 2021
Terminated at Wed Sep 29 19:09:38 2021
Results reported at Wed Sep 29 19:09:38 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin960 351.575 1.2216 488160001 488419201 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 :                                   589.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             253.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            830 sec.

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

