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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin242
RA = 351.575, Dec = 1.2216
tmin = 302054401, tmax = 302313601
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='889990', job_status='RUN', time_executed='2021-09-29 18:47:28.043217', time_epoch_executed='1632966448.04' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='242'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889990

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889990/ft1_4FGL_J2326.2+0113_daily_bin242.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889990/ft2_4FGL_J2326.2+0113_daily_bin242.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889990/ft1_4FGL_J2326.2+0113_daily_bin242.fits outfile=/scratch/kocevski/889990/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin242.fits ra=351.575 dec=1.2216 rad=12.0 tmin=302054401.0 tmax=302313601.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.58
user 3.35
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889990/ft1_filtered_4FGL_J2326.2+0113_daily_bin242.fits" evtable="EVENTS" scfile=/scratch/kocevski/889990/ft2_4FGL_J2326.2+0113_daily_bin242.fits sctable="SC_DATA" outfile=/scratch/kocevski/889990/ltcube_302054401_302313601_4FGL_J2326.2+0113_daily_bin242.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/889990/ft2_4FGL_J2326.2+0113_daily_bin242.fits
.....................!
real 12.21
user 11.82
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889990/ft1_filtered_4FGL_J2326.2+0113_daily_bin242.fits evtable="EVENTS" scfile=/scratch/kocevski/889990/ft2_4FGL_J2326.2+0113_daily_bin242.fits sctable="SC_DATA" expcube=/scratch/kocevski/889990/ltcube_302054401_302313601_4FGL_J2326.2+0113_daily_bin242.fits outfile=/scratch/kocevski/889990/expmap_302054401_302313601_4FGL_J2326.2+0113_daily_bin242.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/889990/ltcube_302054401_302313601_4FGL_J2326.2+0113_daily_bin242.fits
.....................!
real 191.37
user 185.86
sys 5.18

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/889990/ft1_filtered_4FGL_J2326.2+0113_daily_bin242.fits scfile=/scratch/kocevski/889990/ft2_4FGL_J2326.2+0113_daily_bin242.fits outfile=/scratch/kocevski/889990/cmap_302054401_302313601_4FGL_J2326.2+0113_daily_bin242.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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889990/ft1_filtered_4FGL_J2326.2+0113_daily_bin242.fits scfile=/scratch/kocevski/889990/ft2_4FGL_J2326.2+0113_daily_bin242.fits outfile=/scratch/kocevski/889990/cmap_HighResolution_302054401_302313601_4FGL_J2326.2+0113_daily_bin242.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/889990/ft1_filtered_4FGL_J2326.2+0113_daily_bin242.fits evtable="EVENTS" scfile=/scratch/kocevski/889990/ft2_4FGL_J2326.2+0113_daily_bin242.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/889990/Model_4FGL_J2326.2+0113_daily_bin242.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/889990/ft1_filtered_4FGL_J2326.2+0113_daily_bin242.fits.....................!
real 57.55
user 56.23
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    20.812       1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.387       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11382E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2435       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10344E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .30074       1.0000         .10000E-03   10000.    
     9 'norm      '    .10348E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11930E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    6.2616       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .45780E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    39.183       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    14.714       1.0000         .10000E-03   10000.    
    18 'Prefactor '    8.9632       1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.5058       1.0000         .10000E-03   10000.    
    20 'Prefactor '    122.56       1.0000         .10000E-03   10000.    
    21 'Prefactor '    70.443       1.0000         .10000E-03   10000.    
    22 'Prefactor '    31.693       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.6114       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .48869       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=   5235.438     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2783 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.474       -.86851E-07** at limit **
   2  norm          20.808        17.744        .53481E-06    .91783E-04
   3  Prefactor     17.361        24.759       -.35780E-06   -.41724E-05
   4  Prefactor     .10000E-03    10.824       -.10963E-06** at limit **
   5  Prefactor     3.2462        14.683        .70431E-06    .15626E-04
   6  Prefactor     .10000E-03    20.406        .12821E-07** at limit **
   7  Prefactor     .10000E-03    5.5198        .27978E-07** at limit **
   8  norm          .30056        .95518       -.29771E-05   -.54240E-03
   9  norm          .10000E-03    5.8836        .66648E-07** at limit **
  10  Prefactor     .10000E-03    14.290       -.57285E-07** at limit **
  11  Prefactor     .10000E-03    34.380        .11821E-07** at limit **
  12  norm          6.2546        8.7707        .13338E-06    .11813E-05
  13  Prefactor     .10001E-03    4.7631       -.56317E-07** at limit **
  14  Prefactor     38.567        421.27        .20823E-04   -.95103E-05
  15  Prefactor     .10000E-03    10.825       -.22482E-05** at limit **
  16  Prefactor     .10000E-03    7.7327        .59688E-07** at limit **
  17  norm          14.735        31.600       -.35710E-05    .10093E-03
  18  Prefactor     8.9583        63.283        .80875E-06    .83343E-05
  19  Prefactor     8.5098        7.1532        .26370E-05    .20251E-03
  20  Prefactor     122.40        57.875        .53038E-08    .35630E-04
  21  Prefactor     70.428        32.127       -.20548E-06    .86257E-04
  22  Prefactor     31.677        21.967       -.42922E-06   -.36427E-04
  23  Normalizat    1.6120        .23353        .33741E-07    .32936E-03
  24  Prefactor     .48838        .13995        .22267E-05    .16705E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 20.8077
  Prefactor  = 17.361
  Prefactor  = 0.0001
  Prefactor  = 3.24616
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.300565
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.25459
  Prefactor  = 0.000100013
  Prefactor  = 38.5667
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 14.735
  Prefactor  = 8.95826
  Prefactor  = 8.50983
  Prefactor  = 122.4
  Prefactor  = 70.4284
  Prefactor  = 31.6773
  Normalizat = 1.61202
  Prefactor  = 0.488381
 **********
 **   18 **HESSE 
 **********

 FCN=   5235.438     FROM HESSE     STATUS=OK           397 CALLS     3180 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.504        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          20.808        17.799        .87797E-04   -1.4795    
   3  Prefactor     17.361        24.781        .96053E-04   -1.4874    
   4  Prefactor     .10000E-03    11.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.2462        14.629        .22490E-03   -1.5348    
   6  Prefactor     .10000E-03    20.412        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    5.5465        .16599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .30056        .95609        .11640E-03   -1.5598    
   9  norm          .10000E-03    6.0285        .34255E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.541        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    34.411        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          6.2546        8.0578        .16042E-03   -1.5208    
  13  Prefactor     .10001E-03    23.374        .27600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     38.567        415.85        .32016E-03   -1.4465    
  15  Prefactor     .10000E-03    10.867        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    7.7386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          14.735        31.486        .10442E-03   -1.4940    
  18  Prefactor     8.9583        63.428        .13388E-03   -1.5109    
  19  Prefactor     8.5098        7.0824        .67912E-03   -1.5124    
  20  Prefactor     122.40        58.150        .36355E-04   -1.3491    
  21  Prefactor     70.428        32.206        .47829E-04   -1.4028    
  22  Prefactor     31.677        22.093        .71174E-04   -1.4582    
  23  Normalizat    1.6120        .27332        .24427E-03   -.74678    
  24  Prefactor     .48838        .16061        .26574E-03   -1.1251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.62512e-10
Minuit parameter uncertainties:
  1  1.20504e-05
  2  17.8036
  3  24.7956
  4  4.05845e-05
  5  13.7877
  6  2.79749e-06
  7  1.34319e-06
  8  0.956137
  9  2.20746e-05
  10  6.75181e-05
  11  4.24713e-07
  12  8.05922
  13  0.00109739
  14  255.58
  15  4.84895e-06
  16  8.45254e-06
  17  31.5212
  18  47.746
  19  7.08308
  20  58.1767
  21  32.2137
  22  22.0986
  23  0.273578
  24  0.160761
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  4.247e-07  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:  4.884e-01  1.608e-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:  1.612e+00  2.736e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/889990/likelihoodResults_302054401_302313601_4FGL_J2326.2+0113_daily_bin242.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) = 5235.43855236
delta logL = -0.000138364294799

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5235.43841432
delta logL = -3.21724655805e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10501E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3577       1.0000          .0000       10.000    
     3 'Normalizat'    1.6120       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .48838       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.

 FCN=   5235.438     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      242 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    17.219        .90712E-02** at limit **
   2  Index         2.3375        8.7645        .50000        .56383E-05
   3  Normalizat    1.6120        .42907E-02    .55246E-01   -.97793E-04
   4  Prefactor     .48838        .27444E-02    .60058E-01    .57450E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 2.33747
  Normalizat = 1.61201
  Prefactor  = 0.488383
 **********
 **   18 **HESSE 
 **********

 FCN=   5235.438     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      273 TOTAL
                     EDM=   .84E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    131.11        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3375        6.9526        .50000       -.56156    
   3  Normalizat    1.6120        .11889E-01    .24427E-03   -.74678    
   4  Prefactor     .48838        .75937E-02    .26573E-03   -1.1251    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.43064e-08
Minuit parameter uncertainties:
  1  0.00159136
  2  198.121
  3  0.0118891
  4  0.00759367
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889990': 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): 102
logL (Free Index) = 5235.43841421
delta logL = -2.09662175621e-07

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  1.591e-03  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.337e+00  1.981e+02  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:  4.884e-01  7.594e-03  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:  1.612e+00  1.189e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.575 1.222

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/889990/cmap_HighResolution_302054401_302313601_4FGL_J2326.2+0113_daily_bin242.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.87e-03', job_status='DONE', photon_flux_upper_limit='7.75e-08', time_completed='2021-09-29 18:57:37.973693', job_id='889990', GAL2='0.49', fit_tolerance='1e-08', EG2='1.61', EG='1.61', time_epoch_completed='1632967057.97', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.49', dlogl='-2.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='242' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:57:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 889990: <4FGL_J2326.2+0113_daily_bin242> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin242 351.575 1.2216 302054401 302313601 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 :                                   608.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             324.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   735 sec.
    Turnaround time :                            737 sec.

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

