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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin575
RA = 351.575, Dec = 1.2216
tmin = 388368001, tmax = 388627201
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='891548', job_status='RUN', time_executed='2021-09-29 18:53:02.532319', time_epoch_executed='1632966782.53' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='575'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/891548

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/891548/ft1_4FGL_J2326.2+0113_daily_bin575.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/891548/ft2_4FGL_J2326.2+0113_daily_bin575.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/891548/ft1_4FGL_J2326.2+0113_daily_bin575.fits outfile=/scratch/kocevski/891548/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin575.fits ra=351.575 dec=1.2216 rad=12.0 tmin=388368001.0 tmax=388627201.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 4.44
user 4.15
sys 0.27

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/891548/ft1_filtered_4FGL_J2326.2+0113_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/891548/ft2_4FGL_J2326.2+0113_daily_bin575.fits sctable="SC_DATA" expcube=/scratch/kocevski/891548/ltcube_388368001_388627201_4FGL_J2326.2+0113_daily_bin575.fits outfile=/scratch/kocevski/891548/expmap_388368001_388627201_4FGL_J2326.2+0113_daily_bin575.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/891548/ltcube_388368001_388627201_4FGL_J2326.2+0113_daily_bin575.fits
.....................!
real 192.61
user 187.11
sys 5.17

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/891548/ft1_filtered_4FGL_J2326.2+0113_daily_bin575.fits scfile=/scratch/kocevski/891548/ft2_4FGL_J2326.2+0113_daily_bin575.fits outfile=/scratch/kocevski/891548/cmap_388368001_388627201_4FGL_J2326.2+0113_daily_bin575.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.575 yref=1.2216 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/891548/ft1_filtered_4FGL_J2326.2+0113_daily_bin575.fits scfile=/scratch/kocevski/891548/ft2_4FGL_J2326.2+0113_daily_bin575.fits outfile=/scratch/kocevski/891548/cmap_HighResolution_388368001_388627201_4FGL_J2326.2+0113_daily_bin575.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/891548/ft1_filtered_4FGL_J2326.2+0113_daily_bin575.fits evtable="EVENTS" scfile=/scratch/kocevski/891548/ft2_4FGL_J2326.2+0113_daily_bin575.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/891548/Model_4FGL_J2326.2+0113_daily_bin575.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/891548/ft1_filtered_4FGL_J2326.2+0113_daily_bin575.fits.....................!
real 77.34
user 75.96
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .62865E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.506       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .57746       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.0647       1.0000         .10000E-03   10000.    
     8 'norm      '    11.551       1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.932       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.022       1.0000         .10000E-03   10000.    
    12 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    14.722       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10910E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.8814       1.0000         .10000E-03   10000.    
    20 'Prefactor '    82.629       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10213E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.335       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.1117       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .79138       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=   7600.288     FROM MIGRAD    STATUS=CONVERGED    570 CALLS     2388 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.9038       -.13222E-06** at limit **
   2  norm          .11302E-03    5.3944        .17791E-05** at limit **
   3  Prefactor     10.494        27.734       -.26441E-05   -.26162E-06
   4  Prefactor     .64846        6.9970       -.13453E-05   -.21790E-03
   5  Prefactor     .10000E-03    10.779       -.13939E-05** at limit **
   6  Prefactor     .10000E-03    41.507        .75167E-06** at limit **
   7  Prefactor     3.0646        6.2230        .10851E-05   -.14634E-03
   8  norm          11.551        1.6769        .30149E-08    .90958E-03
   9  norm          .10000E-03    2.4487       -.28818E-07** at limit **
  10  Prefactor     14.928        11.259        .91556E-06    .26941E-04
  11  Prefactor     11.018        27.163        .25912E-06   -.42928E-05
  12  norm          .10000E-03    5.4608       -.75885E-07** at limit **
  13  Prefactor     .10000E-03    4.2415       -.60933E-07** at limit **
  14  Prefactor     .10000E-03    79.350       -.27704E-04** at limit **
  15  Prefactor     .10000E-03    4.3314        .71324E-07** at limit **
  16  Prefactor     14.712        19.861        .84775E-06   -.17678E-05
  17  norm          .10000E-03    9.5199        .31929E-06** at limit **
  18  Prefactor     .10005E-03    222.45       -.16194E-03** at limit **
  19  Prefactor     1.8777        3.9899       -.59356E-06   -.84968E-03
  20  Prefactor     82.607        39.408       -.73906E-05    .15208E-04
  21  Prefactor     .10000E-03    11.508        .13638E-05** at limit **
  22  Prefactor     29.326        18.299        .40380E-07    .47277E-04
  23  Normalizat    1.1121        .19293        .14524E-05    .23866E-03
  24  Prefactor     .79126        .12383        .19844E-07    .36947E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.00011302
  Prefactor  = 10.4939
  Prefactor  = 0.648461
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.06456
  norm       = 11.5507
  norm       = 0.0001
  Prefactor  = 14.9276
  Prefactor  = 11.0181
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.7122
  norm       = 0.0001
  Prefactor  = 0.000100055
  Prefactor  = 1.87773
  Prefactor  = 82.6069
  Prefactor  = 0.0001
  Prefactor  = 29.3259
  Normalizat = 1.11208
  Prefactor  = 0.791261
 **********
 **   18 **HESSE 
 **********

 FCN=   7600.288     FROM HESSE     STATUS=OK           403 CALLS     2791 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.9406        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .11302E-03    7.9832        .67126E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.494        27.759        .12361E-03   -1.5060    
   4  Prefactor     .64846        27.677        .44322E-02   -1.5547    
   5  Prefactor     .10000E-03    10.847        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    41.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.0646        6.1964        .23172E-03   -1.5358    
   8  norm          11.551        1.6778        .40622E-04   -1.5028    
   9  norm          .10000E-03    2.4586        .13309E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.928        11.238        .10365E-03   -1.4935    
  11  Prefactor     11.018        27.156        .12067E-03   -1.5044    
  12  norm          .10000E-03    5.5246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    4.2919        .17522E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    79.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.3430        .17703E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     14.712        19.844        .10439E-03   -1.4941    
  17  norm          .10000E-03    9.5325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10005E-03    221.79        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.8777        3.9733        .23885E-03   -1.5434    
  20  Prefactor     82.607        39.537        .44188E-04   -1.3888    
  21  Prefactor     .10000E-03    11.544        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     29.326        18.367        .73972E-04   -1.4624    
  23  Normalizat    1.1121        .22797        .28673E-03   -.89365    
  24  Prefactor     .79126        .14609        .22362E-03   -1.0005    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.68045e-09
Minuit parameter uncertainties:
  1  1.70639e-06
  2  0.0203934
  3  27.7928
  4  8.47647
  5  6.07376e-06
  6  0.000101843
  7  6.19767
  8  1.67778
  9  3.15366e-06
  10  11.2394
  11  27.1865
  12  2.05912e-05
  13  1.25519e-05
  14  2.31139e-05
  15  1.43783e-05
  16  19.8527
  17  2.32934e-05
  18  0.00699955
  19  3.97382
  20  39.5498
  21  3.10633e-05
  22  18.3703
  23  0.228176
  24  0.146165
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.102e+01  2.719e+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:  7.913e-01  1.462e-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.112e+00  2.282e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/891548/likelihoodResults_388368001_388627201_4FGL_J2326.2+0113_daily_bin575.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) = 7600.26903828
delta logL = 0.0187506450102

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7600.26356291
delta logL = 0.024226016656

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2985       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3804       1.0000          .0000       10.000    
     3 'Normalizat'    1.1100       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79181       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=   7600.264     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      240 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2856        27.907        .13917E-03   -.60365E-03
   2  Index         2.3844        1.3613        .96642E-02   -.27400E-03
   3  Normalizat    1.1102        .21509        .28692E-03    .52301E-03
   4  Prefactor     .79167        .14464        .22356E-03    .57963E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.28557
  Index      = 2.38442
  Normalizat = 1.11022
  Prefactor  = 0.791669
 **********
 **   18 **HESSE 
 **********

 FCN=   7600.264     FROM HESSE     STATUS=OK            23 CALLS      263 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2856        24.692        .27833E-04   -1.5132    
   2  Index         2.3844        1.2096        .38657E-03   -.55050    
   3  Normalizat    1.1102        .21522        .57383E-04   -.89424    
   4  Prefactor     .79167        .14473        .44711E-04   -1.0004    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.2995e-09
Minuit parameter uncertainties:
  1  24.7221
  2  1.22645
  3  0.215394
  4  0.144802
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/891548': 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) = 7600.26355385
delta logL = 0.0242350761991

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  8.286e+00  2.472e+01  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.384e+00  1.226e+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:  7.917e-01  1.448e-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.110e+00  2.154e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.22
Ra Dec: 351.575 1.222

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/891548/cmap_HighResolution_388368001_388627201_4FGL_J2326.2+0113_daily_bin575.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.43e-03', job_status='DONE', photon_flux_upper_limit='5.85e-08', time_completed='2021-09-29 19:04:52.414361', job_id='891548', GAL2='0.79', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1632967492.41', return_code2='0', ts='0.22', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='2.42e-02', ts2='0.27', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='575' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:04:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0080>
Subject: Job 891548: <4FGL_J2326.2+0113_daily_bin575> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin575 351.575 1.2216 388368001 388627201 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 :                                   709.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            851 sec.

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

