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


Performing analysis on: 4FGL_J2326.2+0113_daily_bin223
RA = 351.575, Dec = 1.2216
tmin = 297129601, tmax = 297388801
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='889962', job_status='RUN', time_executed='2021-09-29 18:49:18.319743', time_epoch_executed='1632966558.32' WHERE source_name='4FGL J2326.2+0113' and cadence='daily' and bin_id='223'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/889962

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/889962/ft1_4FGL_J2326.2+0113_daily_bin223.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/889962/ft2_4FGL_J2326.2+0113_daily_bin223.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/889962/ft1_4FGL_J2326.2+0113_daily_bin223.fits outfile=/scratch/kocevski/889962/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin223.fits ra=351.575 dec=1.2216 rad=12.0 tmin=297129601.0 tmax=297388801.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.36
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/889962/ft2_4FGL_J2326.2+0113_daily_bin223.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/889962/ft1_filteredMKT_4FGL_J2326.2+0113_daily_bin223.fits evtable="EVENTS" outfile="/scratch/kocevski/889962/ft1_filtered_4FGL_J2326.2+0113_daily_bin223.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/889962/ft1_filtered_4FGL_J2326.2+0113_daily_bin223.fits" evtable="EVENTS" scfile=/scratch/kocevski/889962/ft2_4FGL_J2326.2+0113_daily_bin223.fits sctable="SC_DATA" outfile=/scratch/kocevski/889962/ltcube_297129601_297388801_4FGL_J2326.2+0113_daily_bin223.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/889962/ft2_4FGL_J2326.2+0113_daily_bin223.fits
.....................!
real 11.73
user 11.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/889962/ft1_filtered_4FGL_J2326.2+0113_daily_bin223.fits evtable="EVENTS" scfile=/scratch/kocevski/889962/ft2_4FGL_J2326.2+0113_daily_bin223.fits sctable="SC_DATA" expcube=/scratch/kocevski/889962/ltcube_297129601_297388801_4FGL_J2326.2+0113_daily_bin223.fits outfile=/scratch/kocevski/889962/expmap_297129601_297388801_4FGL_J2326.2+0113_daily_bin223.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/889962/ltcube_297129601_297388801_4FGL_J2326.2+0113_daily_bin223.fits
.....................!
real 191.72
user 186.35
sys 4.99

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/889962/ft1_filtered_4FGL_J2326.2+0113_daily_bin223.fits scfile=/scratch/kocevski/889962/ft2_4FGL_J2326.2+0113_daily_bin223.fits outfile=/scratch/kocevski/889962/cmap_297129601_297388801_4FGL_J2326.2+0113_daily_bin223.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/889962/ft1_filtered_4FGL_J2326.2+0113_daily_bin223.fits scfile=/scratch/kocevski/889962/ft2_4FGL_J2326.2+0113_daily_bin223.fits outfile=/scratch/kocevski/889962/cmap_HighResolution_297129601_297388801_4FGL_J2326.2+0113_daily_bin223.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11147E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    22.374       1.0000         .10000E-03   10000.    
     3 'Prefactor '    32.002       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10292E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10311E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    2.8732       1.0000         .10000E-03   10000.    
     9 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.1939       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.7072       1.0000         .10000E-03   10000.    
    12 'norm      '    5.9784       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.4256       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10241E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .18345E-01   1.0000         .10000E-03   10000.    
    17 'norm      '    .10175E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .13630E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    15.770       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    24.911       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    .46063       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2753       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=   5363.822     FROM MIGRAD    STATUS=CONVERGED    567 CALLS     2735 TOTAL
                     EDM=   .72E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    74.934        .40378E-05** at limit **
   2  norm          22.377        13.818        .28927E-06   -.20927E-04
   3  Prefactor     32.011        37.890        .78836E-06   -.23093E-04
   4  Prefactor     .10000E-03    26.041        .17038E-05** at limit **
   5  Prefactor     .10000E-03    27.906        .18290E-05** at limit **
   6  Prefactor     .10000E-03    30.706        .71780E-06** at limit **
   7  Prefactor     .10000E-03    8.3305        .10020E-05** at limit **
   8  norm          2.8733        1.3293        .13056E-06   -.19847E-03
   9  norm          .10000E-03    2.3082        .27866E-06** at limit **
  10  Prefactor     3.1903        14.004        .13165E-05   -.55203E-04
  11  Prefactor     1.4396        530.64        .20980E-04    .42968E-05
  12  norm          5.9811        9.6544       -.13348E-05   -.18757E-03
  13  Prefactor     2.4237        8.0419        .14612E-05   -.76139E-04
  14  Prefactor     .10000E-03    160.40        .47843E-05** at limit **
  15  Prefactor     .10000E-03    13.725        .13121E-05** at limit **
  16  Prefactor     .10000E-03    245.49        .23987E-04** at limit **
  17  norm          .10000E-03    51.480        .18326E-05** at limit **
  18  Prefactor     .10000E-03    249.93        .53417E-05** at limit **
  19  Prefactor     15.771        7.3459        .28667E-06   -.36765E-03
  20  Prefactor     .10000E-03    100.14        .67484E-05** at limit **
  21  Prefactor     24.911        24.878        .53698E-06   -.41672E-04
  22  Prefactor     .10000E-03    8.7394        .65641E-06** at limit **
  23  Normalizat    .46035        .24539        .96387E-06   -.88891E-04
  24  Prefactor     1.2755        .16772       -.16200E-05   -.89447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 22.3767
  Prefactor  = 32.0108
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.87328
  norm       = 0.0001
  Prefactor  = 3.19026
  Prefactor  = 1.43958
  norm       = 5.98109
  Prefactor  = 2.4237
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.7711
  Prefactor  = 0.0001
  Prefactor  = 24.9111
  Prefactor  = 0.0001
  Normalizat = 0.460354
  Prefactor  = 1.2755
 **********
 **   18 **HESSE 
 **********

 FCN=   5363.822     FROM HESSE     STATUS=OK           405 CALLS     3140 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    77.759        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          22.377        13.816        .84681E-04   -1.4762    
   3  Prefactor     32.011        37.879        .70830E-04   -1.4576    
   4  Prefactor     .10000E-03    26.599        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    28.449        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    30.739        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    8.4326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.8733        1.3239        .54135E-04   -1.5369    
   9  norm          .10000E-03    2.3154        .10865E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.1903        13.423        .22673E-03   -1.5351    
  11  Prefactor     1.4396        552.02        .32180E-02   -1.5468    
  12  norm          5.9811        9.4745        .16422E-03   -1.5219    
  13  Prefactor     2.4237        7.9449        .26278E-03   -1.5397    
  14  Prefactor     .10000E-03    160.92        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    25.888        .94212E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    51.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    252.07        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     15.771        7.2997        .10086E-03   -1.4913    
  20  Prefactor     .10000E-03    102.64        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     24.911        24.849        .80259E-04   -1.4709    
  22  Prefactor     .10000E-03    8.7627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .46035        .25332        .41327E-03   -1.1429    
  24  Prefactor     1.2755        .17497        .18358E-03   -.84038    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22987e-10
Minuit parameter uncertainties:
  1  2.53371e-05
  2  13.8182
  3  37.9073
  4  6.30344e-06
  5  7.11992e-05
  6  2.69782e-05
  7  2.05458e-05
  8  1.32387
  9  3.70684e-06
  10  13.0928
  11  56.9143
  12  9.47687
  13  7.94837
  14  6.14286e-05
  15  4.00014e-06
  16  2.21773e-05
  17  5.44519e-05
  18  0.000618823
  19  7.30016
  20  0.000106948
  21  24.8595
  22  6.21472e-06
  23  0.253953
  24  0.175053
Done.

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

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  1.440e+00  5.691e+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:  1.276e+00  1.751e-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:  4.604e-01  2.540e-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: 9.72e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/889962/likelihoodResults_297129601_297388801_4FGL_J2326.2+0113_daily_bin223.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) = 5363.80831867
delta logL = 0.0139956034345

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5363.80361908
delta logL = 0.0186951947699

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1050       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8111       1.0000          .0000       10.000    
     3 'Normalizat'    .45295       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2767       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=   5363.804     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      231 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1611        626.82        .57532E-02    .81835E-04
   2  Index         2.8017        3.3792        .22577        .33006E-04
   3  Normalizat    .45271        .31290E-01    .94015E-01    .43774E-04
   4  Prefactor     1.2770        .22190E-01    .33028E-01   -.54823E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.16111
  Index      = 2.80166
  Normalizat = 0.452715
  Prefactor  = 1.277
 **********
 **   18 **HESSE 
 **********

 FCN=   5363.804     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .27E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1611        914.95        .23013E-03   -1.5352    
   2  Index         2.8017        6.5650        .10878E-01   -.45523    
   3  Normalizat    .45271        .25060        .41658E-03   -1.1466    
   4  Prefactor     1.2770        .18046        .18348E-03   -.83994    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67658e-10
Minuit parameter uncertainties:
  1  109.288
  2  12.9056
  3  0.25122
  4  0.180545
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/889962': 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) = 5363.80361304
delta logL = 0.0187012317456

Extracting fit parameters...

4FGL J2326.2+0113
   Spectrum: PowerLaw
406    Prefactor:  3.161e+00  1.093e+02  1.000e-04  1.000e+04 ( 1.000e-14)
407        Index:  2.802e+00  1.291e+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:  1.277e+00  1.805e-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:  4.527e-01  2.512e-01  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/889962/cmap_HighResolution_297129601_297388801_4FGL_J2326.2+0113_daily_bin223.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.36e-03', job_status='DONE', photon_flux_upper_limit='9.72e-08', time_completed='2021-09-29 18:59:14.758663', job_id='889962', GAL2='1.28', fit_tolerance='1e-08', EG2='0.45', EG='0.46', time_epoch_completed='1632967154.76', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.28', dlogl='1.87e-02', ts2='0.04', photon_index_error='0.00', photon_index='2.12' WHERE bin_id='223' AND source_name='4FGL J2326.2+0113' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 18:59:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0088>
Subject: Job 889962: <4FGL_J2326.2+0113_daily_bin223> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.2+0113_daily_bin223 351.575 1.2216 297129601 297388801 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 :                                   596.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             282.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            836 sec.

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

