/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 103 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_J2326.2+0113_daily_bin216
RA = 351.575, Dec = 1.2216
tmin = 295315201, tmax = 295574401
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='889952', job_status='RUN', time_executed='2021-09-29 18:47:12.879250', time_epoch_executed='1632966432.88' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='216'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889952

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889952/ft1_4FGL_J2326.2+0113_daily_bin216.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889952/ft2_4FGL_J2326.2+0113_daily_bin216.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889952/ft1_4FGL_J2326.2+0113_daily_bin216.fits outfile=/scratch/kocevski/889952/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin216.fits ra=351.575 dec=1.2216 rad=12.0 tmin=295315201.0 tmax=295574401.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.34
user 2.14
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889952/ft2_4FGL_J2326.2+0113_daily_bin216.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/889952/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin216.fits evtable="EVENTS" outfile="/scratch/kocevski/889952/ft1_filtered_4FGL_J2326.2+0113_daily_bin216.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.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889952/ft1_filtered_4FGL_J2326.2+0113_daily_bin216.fits" evtable="EVENTS" scfile=/scratch/kocevski/889952/ft2_4FGL_J2326.2+0113_daily_bin216.fits sctable="SC_DATA" outfile=/scratch/kocevski/889952/ltcube_295315201_295574401_4FGL_J2326.2+0113_daily_bin216.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/889952/ft2_4FGL_J2326.2+0113_daily_bin216.fits
.....................!
real 11.89
user 11.47
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889952/ft1_filtered_4FGL_J2326.2+0113_daily_bin216.fits evtable="EVENTS" scfile=/scratch/kocevski/889952/ft2_4FGL_J2326.2+0113_daily_bin216.fits sctable="SC_DATA" expcube=/scratch/kocevski/889952/ltcube_295315201_295574401_4FGL_J2326.2+0113_daily_bin216.fits outfile=/scratch/kocevski/889952/expmap_295315201_295574401_4FGL_J2326.2+0113_daily_bin216.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/889952/ltcube_295315201_295574401_4FGL_J2326.2+0113_daily_bin216.fits
.....................!
real 191.08
user 185.21
sys 5.53

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/889952/ft1_filtered_4FGL_J2326.2+0113_daily_bin216.fits scfile=/scratch/kocevski/889952/ft2_4FGL_J2326.2+0113_daily_bin216.fits outfile=/scratch/kocevski/889952/cmap_295315201_295574401_4FGL_J2326.2+0113_daily_bin216.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889952/ft1_filtered_4FGL_J2326.2+0113_daily_bin216.fits scfile=/scratch/kocevski/889952/ft2_4FGL_J2326.2+0113_daily_bin216.fits outfile=/scratch/kocevski/889952/cmap_HighResolution_295315201_295574401_4FGL_J2326.2+0113_daily_bin216.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/889952/ft1_filtered_4FGL_J2326.2+0113_daily_bin216.fits evtable="EVENTS" scfile=/scratch/kocevski/889952/ft2_4FGL_J2326.2+0113_daily_bin216.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/889952/Model_4FGL_J2326.2+0113_daily_bin216.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/889952/ft1_filtered_4FGL_J2326.2+0113_daily_bin216.fits.....................!
real 71.33
user 69.86
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12626E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    45.478       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.9627       1.0000         .10000E-03   10000.    
     8 'norm      '    .64845       1.0000         .10000E-03   10000.    
     9 'norm      '    1.8731       1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.951       1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.215       1.0000         .10000E-03   10000.    
    12 'norm      '    12.599       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.5754       1.0000         .10000E-03   10000.    
    14 'Prefactor '    65.987       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    23.106       1.0000         .10000E-03   10000.    
    19 'Prefactor '    7.7266       1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.6157       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .82556       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91861       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=   7473.111     FROM MIGRAD    STATUS=CONVERGED    530 CALLS     2682 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.302       -.15568E-05** at limit **
   2  norm          .10000E-03    3.8799       -.49374E-07** at limit **
   3  Prefactor     .10000E-03    19.702        .16222E-05** at limit **
   4  Prefactor     .10000E-03    13.388        .29243E-05** at limit **
   5  Prefactor     .10000E-03    47.217        .44380E-06** at limit **
   6  Prefactor     45.476        35.139       -.13924E-05    .60024E-04
   7  Prefactor     2.9634        5.0562       -.67916E-06   -.41460E-03
   8  norm          .64835        .52692        .30823E-07   -.12888E-03
   9  norm          1.8732        2.2022        .57613E-07    .74418E-04
  10  Prefactor     12.952        10.378       -.87760E-06   -.86221E-03
  11  Prefactor     44.204        46.549       -.11562E-04    .22085E-03
  12  norm          12.602        8.6441        .35634E-06    .83207E-04
  13  Prefactor     1.5744        5.3896       -.26200E-05   -.91613E-03
  14  Prefactor     65.988        71.030        .13289E-05   -.13763E-04
  15  Prefactor     .10000E-03    2.0011        .19829E-06** at limit **
  16  Prefactor     .10000E-03    11.755       -.13546E-05** at limit **
  17  norm          .10000E-03    4.1519       -.57660E-07** at limit **
  18  Prefactor     23.103        38.969       -.49248E-05    .62984E-04
  19  Prefactor     7.7270        3.6162       -.31630E-07   -.98280E-04
  20  Prefactor     7.6163        19.365        .35472E-06   -.18375E-04
  21  Prefactor     .10000E-03    15.732       -.19999E-05** at limit **
  22  Prefactor     .10000E-03    7.5264       -.30621E-06** at limit **
  23  Normalizat    .82555        .16556        .26182E-05   -.55377E-04
  24  Prefactor     .91861        .11204        .15335E-06    .10278E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.4764
  Prefactor  = 2.96338
  norm       = 0.648348
  norm       = 1.8732
  Prefactor  = 12.9518
  Prefactor  = 44.2043
  norm       = 12.6019
  Prefactor  = 1.5744
  Prefactor  = 65.9883
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.1028
  Prefactor  = 7.72704
  Prefactor  = 7.61634
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.82555
  Prefactor  = 0.918613
 **********
 **   18 **HESSE 
 **********

 FCN=   7473.111     FROM HESSE     STATUS=OK           391 CALLS     3073 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    3.8949        .16628E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    19.704        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    13.463        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    48.598        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     45.476        35.027        .59453E-04   -1.4358    
   7  Prefactor     2.9634        5.0642        .23591E-03   -1.5364    
   8  norm          .64835        .51940        .54573E-04   -1.5547    
   9  norm          1.8732        2.1967        .13493E-03   -1.5434    
  10  Prefactor     12.952        10.613        .55653E-03   -1.4988    
  11  Prefactor     44.204        44.798        .60293E-04   -1.4377    
  12  norm          12.602        8.6259        .11285E-03   -1.4998    
  13  Prefactor     1.5744        5.6878        .33853E-03   -1.5457    
  14  Prefactor     65.988        71.007        .49406E-04   -1.4082    
  15  Prefactor     .10000E-03    2.0025        .11940E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    11.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.1537        .17201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     23.103        38.808        .83330E-04   -1.4746    
  19  Prefactor     7.7270        3.6247        .10691E-03   -1.5152    
  20  Prefactor     7.6163        19.357        .14532E-03   -1.5156    
  21  Prefactor     .10000E-03    15.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    7.6009        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .82555        .19278        .28754E-03   -.99128    
  24  Prefactor     .91861        .13154        .19221E-03   -.95494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99397e-09
Minuit parameter uncertainties:
  1  6.69146e-06
  2  6.6822e-06
  3  9.69274e-05
  4  0.000138212
  5  5.52084e-05
  6  35.0431
  7  5.06497
  8  0.519403
  9  2.19676
  10  10.6149
  11  44.8321
  12  8.62678
  13  5.68974
  14  71.0986
  15  9.29707e-08
  16  4.75494e-05
  17  2.24259e-06
  18  38.8507
  19  3.6248
  20  19.3728
  21  2.97062e-05
  22  1.22584e-05
  23  0.192944
  24  0.131584
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  4.420e+01  4.483e+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.186e-01  1.316e-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:  8.255e-01  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.37
Ra Dec: 351.575 1.222
Photon Index (Fixed Index): 2.12 +/- 0.00
Photon Flux (Fixed Index): 2.69e-08 +/- 2.72e-08
Energy Flux (Fixed Index): 1.41e-05 +/- 1.43e-05

TS (Fixed Index): 1.37
Ra Dec: 351.575 1.222
Photon Flux Upper Limit: 8.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/889952/likelihoodResults_295315201_295574401_4FGL_J2326.2+0113_daily_bin216.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) = 7473.10825814
delta logL = 0.0022668384081

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7473.10486882
delta logL = 0.00565616035055

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    38.657       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2251       1.0000          .0000       10.000    
     3 'Normalizat'    .82245       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .91976       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=   7473.105     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      286 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     38.652        95.434        .64465E-04   -.24291E-03
   2  Index         2.2246        1.4205        .84577E-02   -.77169E-04
   3  Normalizat    .82191        .19159        .28812E-03   -.26393E-03
   4  Prefactor     .92017        .13243        .19206E-03   -.51637E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 38.6521
  Index      = 2.22462
  Normalizat = 0.821908
  Prefactor  = 0.920167
 **********
 **   18 **HESSE 
 **********

 FCN=   7473.105     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     38.652        69.255        .12893E-04   -1.4464    
   2  Index         2.2246        1.0375        .33831E-03   -.58846    
   3  Normalizat    .82191        .18854        .11525E-04   -.99261    
   4  Prefactor     .92017        .13130        .38413E-04   -.95440    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.25114e-10
Minuit parameter uncertainties:
  1  69.3998
  2  1.04853
  3  0.188692
  4  0.13135
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889952': 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) = 7473.10486313
delta logL = 0.00566184570562

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  3.865e+01  6.940e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.225e+00  1.049e+00  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.202e-01  1.313e-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:  8.219e-01  1.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.38
Ra Dec: 351.575 1.222
Photon Index (Free Index): 2.22 +/- 1.05
Photon Flux (Free Index): 2.97e-08 +/- 3.96e-08
Energy Flux (Free Index): 1.28e-05 +/- 1.79e-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/889952/cmap_HighResolution_295315201_295574401_4FGL_J2326.2+0113_daily_bin216.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.68e-03', comment='SUCCESS', photon_flux='2.69e-08', energy_flux2='1.28e-05', photon_flux_error='2.72e-08', dlogl='5.66e-03', energy_flux='1.41e-05', photon_flux2='2.97e-08', job_status='DONE', time_completed='2021-09-29 18:58:57.565668', photon_index_error2='1.05', photon_index2='2.22', ts='1.37', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='8.83e-08', energy_flux_error2='1.79e-05', EG='0.83', time_epoch_completed='1632967137.57', return_code='0', job_id='889952', GAL2='0.92', EG2='0.82', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='3.96e-08', ts2='1.38', photon_index='2.12' WHERE bin_id='216' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:58:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0225>
Subject: Job 889952: <4FGL_J2326.2+0113_daily_bin216> in cluster <slac> Done

Job <4FGL_J2326.2+0113_daily_bin216> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Wed Sep 29 18:45:18 2021
Job was executed on host(s) <bullet0225>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 18:45:19 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:45:19 2021
Terminated at Wed Sep 29 18:58:58 2021
Results reported at Wed Sep 29 18:58:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin216 351.575 1.2216 295315201 295574401 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 :                                   702.18 sec.
    Max Memory :                                 1060 MB
    Average Memory :                             305.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

