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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin467
RA = 351.575, Dec = 1.2216
tmin = 360374401, tmax = 360633601
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='891380', job_status='RUN', time_executed='2021-09-29 18:54:08.508151', time_epoch_executed='1632966848.51' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='467'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891380

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891380/ft1_4FGL_J2326.2+0113_daily_bin467.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891380/ft2_4FGL_J2326.2+0113_daily_bin467.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891380/ft1_4FGL_J2326.2+0113_daily_bin467.fits outfile=/scratch/kocevski/891380/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin467.fits ra=351.575 dec=1.2216 rad=12.0 tmin=360374401.0 tmax=360633601.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.32
user 3.08
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/891380/ft1_filtered_4FGL_J2326.2+0113_daily_bin467.fits" evtable="EVENTS" scfile=/scratch/kocevski/891380/ft2_4FGL_J2326.2+0113_daily_bin467.fits sctable="SC_DATA" outfile=/scratch/kocevski/891380/ltcube_360374401_360633601_4FGL_J2326.2+0113_daily_bin467.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/891380/ft2_4FGL_J2326.2+0113_daily_bin467.fits
.....................!
real 11.68
user 11.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891380/ft1_filtered_4FGL_J2326.2+0113_daily_bin467.fits evtable="EVENTS" scfile=/scratch/kocevski/891380/ft2_4FGL_J2326.2+0113_daily_bin467.fits sctable="SC_DATA" expcube=/scratch/kocevski/891380/ltcube_360374401_360633601_4FGL_J2326.2+0113_daily_bin467.fits outfile=/scratch/kocevski/891380/expmap_360374401_360633601_4FGL_J2326.2+0113_daily_bin467.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/891380/ltcube_360374401_360633601_4FGL_J2326.2+0113_daily_bin467.fits
.....................!
real 192.11
user 185.75
sys 5.85

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/891380/ft1_filtered_4FGL_J2326.2+0113_daily_bin467.fits scfile=/scratch/kocevski/891380/ft2_4FGL_J2326.2+0113_daily_bin467.fits outfile=/scratch/kocevski/891380/cmap_360374401_360633601_4FGL_J2326.2+0113_daily_bin467.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891380/ft1_filtered_4FGL_J2326.2+0113_daily_bin467.fits scfile=/scratch/kocevski/891380/ft2_4FGL_J2326.2+0113_daily_bin467.fits outfile=/scratch/kocevski/891380/cmap_HighResolution_360374401_360633601_4FGL_J2326.2+0113_daily_bin467.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/891380/ft1_filtered_4FGL_J2326.2+0113_daily_bin467.fits evtable="EVENTS" scfile=/scratch/kocevski/891380/ft2_4FGL_J2326.2+0113_daily_bin467.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891380/Model_4FGL_J2326.2+0113_daily_bin467.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/891380/ft1_filtered_4FGL_J2326.2+0113_daily_bin467.fits.....................!
real 73.13
user 71.67
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0684       1.0000         .10000E-03   10000.    
     2 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.7563       1.0000         .10000E-03   10000.    
     6 'Prefactor '    9.1376       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    3.5222       1.0000         .10000E-03   10000.    
     9 'norm      '    .13258E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.608       1.0000         .10000E-03   10000.    
    11 'Prefactor '    35.980       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.3172       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.3904       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.4796       1.0000         .10000E-03   10000.    
    17 'norm      '    4.9024       1.0000         .10000E-03   10000.    
    18 'Prefactor '    39.737       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.321       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .81608       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .90177       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=   7820.954     FROM MIGRAD    STATUS=CONVERGED    534 CALLS     2699 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0657        12.620        .20961E-07   -.13288E-04
   2  norm          .10000E-03    5.5343        .17050E-06** at limit **
   3  Prefactor     .10000E-03    32.470        .41658E-06** at limit **
   4  Prefactor     .10000E-03    10.049        .26935E-06** at limit **
   5  Prefactor     6.7542        12.981        .23325E-07   -.18478E-04
   6  Prefactor     9.1394        18.296       -.52305E-06   -.41237E-04
   7  Prefactor     .10000E-03    2.0620       -.70272E-07** at limit **
   8  norm          3.5223        1.0465       -.48049E-07   -.67267E-03
   9  norm          .10000E-03    5.1297       -.48402E-05** at limit **
  10  Prefactor     10.609        7.5009       -.13502E-06   -.74622E-04
  11  Prefactor     35.976        45.656        .29580E-06   -.19801E-04
  12  norm          .10000E-03    3.0025       -.20129E-07** at limit **
  13  Prefactor     1.3180        4.0695        .26316E-06   -.31374E-04
  14  Prefactor     .10000E-03    51.058        .15498E-06** at limit **
  15  Prefactor     9.3894        11.748       -.12254E-06   -.15142E-03
  16  Prefactor     1.4797        8.3237        .52288E-05   -.53952E-03
  17  norm          4.9054        25.861       -.62921E-06   -.88859E-04
  18  Prefactor     39.726        42.099        .31563E-06   -.39645E-04
  19  Prefactor     .10000E-03    2.9949        .81251E-06** at limit **
  20  Prefactor     19.309        30.613        .92957E-06    .50532E-05
  21  Prefactor     .10000E-03    6.9132       -.55022E-06** at limit **
  22  Prefactor     .10000E-03    4.6148        .56485E-07** at limit **
  23  Normalizat    .81627        .15765        .15013E-05    .86975E-04
  24  Prefactor     .90169        .10730       -.13980E-05   -.25484E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.06572
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.75425
  Prefactor  = 9.1394
  Prefactor  = 0.0001
  norm       = 3.52228
  norm       = 0.000100002
  Prefactor  = 10.609
  Prefactor  = 35.976
  norm       = 0.0001
  Prefactor  = 1.31796
  Prefactor  = 0.0001
  Prefactor  = 9.38944
  Prefactor  = 1.47971
  norm       = 4.90544
  Prefactor  = 39.7261
  Prefactor  = 0.000100001
  Prefactor  = 19.3093
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.816273
  Prefactor  = 0.901691
 **********
 **   18 **HESSE 
 **********

 FCN=   7820.954     FROM HESSE     STATUS=OK           401 CALLS     3100 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0657        12.627        .19989E-03   -1.5305    
   2  norm          .10000E-03    5.5766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    32.807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    10.243        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.7542        12.980        .15437E-03   -1.5188    
   6  Prefactor     9.1394        18.254        .13259E-03   -1.5103    
   7  Prefactor     .10000E-03    2.0681        .12393E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          3.5223        1.0437        .10770E-03   -1.5333    
   9  norm          .10000E-03    6.4900        .26301E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.609        7.5071        .12302E-03   -1.5056    
  11  Prefactor     35.976        45.624        .66812E-04   -1.4508    
  12  norm          .10000E-03    3.0197        .14945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.3180        4.0362        .29989E-03   -1.5478    
  14  Prefactor     .10000E-03    51.063        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.3894        11.522        .13078E-03   -1.5095    
  16  Prefactor     1.4797        19.419        .17645E-02   -1.5465    
  17  norm          4.9054        24.745        .18166E-03   -1.5265    
  18  Prefactor     39.726        42.086        .63586E-04   -1.4447    
  19  Prefactor     .10000E-03    3.1471        .29945E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     19.309        30.644        .91119E-04   -1.4829    
  21  Prefactor     .10000E-03    6.9417        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    4.6222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .81627        .18349        .28085E-03   -.99468    
  24  Prefactor     .90169        .12455        .19001E-03   -.96082    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10273e-09
Minuit parameter uncertainties:
  1  12.6357
  2  4.85136e-05
  3  0.000202227
  4  5.01727e-05
  5  12.9849
  6  18.265
  7  1.89979e-06
  8  1.04368
  9  0.000246339
  10  7.50775
  11  45.6682
  12  3.43824e-06
  13  4.03706
  14  3.79593e-05
  15  11.5248
  16  10.7248
  17  22.0491
  18  42.1176
  19  0.000103168
  20  30.669
  21  2.13308e-05
  22  5.97915e-06
  23  0.183632
  24  0.124592
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  3.598e+01  4.567e+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.017e-01  1.246e-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.163e-01  1.836e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/891380/likelihoodResults_360374401_360633601_4FGL_J2326.2+0113_daily_bin467.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) = 7819.60093037
delta logL = 1.35271391835

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7819.03508627
delta logL = 1.91855802457

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    7.3406       1.0000          .0000       10.000    
     3 'Normalizat'    .70505       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95999       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7819.035     FROM MIGRAD    STATUS=CONVERGED    269 CALLS      666 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .20122E-02   -.24166E-06** at limit **
   2  Index         7.3406        .20557        .15757E-05   -.99336E-03
   3  Normalizat    .70517        .17677       -.31959E-05    .20861E-04
   4  Prefactor     .95992        .12515       -.49634E-05    .22749E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 7.34056
  Normalizat = 0.705167
  Prefactor  = 0.959916
 **********
 **   18 **HESSE 
 **********

 FCN=   7819.035     FROM HESSE     STATUS=OK            43 CALLS      709 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    .19088E-03    .30865E-03   -7.8540    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         7.3406        .51049        .78330E-01   -41.328    
   3  Normalizat    .70517        .20045        .67696E-01   -1.0369    
   4  Prefactor     .95992        .13954        .45765E-01   -2.2008    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28712e-08
Minuit parameter uncertainties:
  1  1.0865e-08
  2  0.511637
  3  0.200655
  4  0.139595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891380': 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) = 7819.03508547
delta logL = 1.91855882149

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.000e-04  1.086e-08  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  7.341e+00  5.116e-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.599e-01  1.396e-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.052e-01  2.007e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.05
Ra Dec: 351.575 1.222
Photon Index (Free Index): 7.34 +/- 0.51
Photon Flux (Free Index): 1.04e-07 +/- 1.52e-07
Energy Flux (Free Index): 1.22e-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/891380/cmap_HighResolution_360374401_360633601_4FGL_J2326.2+0113_daily_bin467.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.33e-03', comment='SUCCESS', energy_flux2='1.22e-05', dlogl='1.92e+00', photon_flux2='1.04e-07', job_status='DONE', time_completed='2021-09-29 19:06:58.170501', photon_index_error2='0.51', photon_index2='7.34', ts='0.80', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='8.36e-08', energy_flux_error2='1.79e-05', EG='0.82', time_epoch_completed='1632967618.17', return_code='0', job_id='891380', GAL2='0.96', EG2='0.71', return_code2='0', photon_flux_error2='1.52e-07', ts2='5.05', photon_index='2.12' WHERE bin_id='467' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:06:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 891380: <4FGL_J2326.2+0113_daily_bin467> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin467 351.575 1.2216 360374401 360633601 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 :                                   769.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             286.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   990 sec.
    Turnaround time :                            992 sec.

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

