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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1463
RA = 351.737, Dec = -41.5089
tmin = 618537601, tmax = 618796801
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='902839', job_status='RUN', time_executed='2021-09-29 19:26:05.955168', time_epoch_executed='1632968765.96' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1463'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902839

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902839/ft1_4FGL_J2326.9-4130_daily_bin1463.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902839/ft1_4FGL_J2326.9-4130_daily_bin1463.fits outfile=/scratch/kocevski/902839/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1463.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=618537601.0 tmax=618796801.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.73
user 3.50
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.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/902839/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1463.fits evtable="EVENTS" outfile="/scratch/kocevski/902839/ft1_filtered_4FGL_J2326.9-4130_daily_bin1463.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/902839/ft1_filtered_4FGL_J2326.9-4130_daily_bin1463.fits" evtable="EVENTS" scfile=/scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits sctable="SC_DATA" outfile=/scratch/kocevski/902839/ltcube_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.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/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits
.....................!
real 11.93
user 11.57
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902839/ft1_filtered_4FGL_J2326.9-4130_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits sctable="SC_DATA" expcube=/scratch/kocevski/902839/ltcube_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.fits outfile=/scratch/kocevski/902839/expmap_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.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/902839/ltcube_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.fits
.....................!
real 191.31
user 185.85
sys 5.14

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 183 point sources and 0 extended sources

Setting source of interest to:
4FGL J2326.9-4130 @ 351.737 -41.5089

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/902839/ft1_filtered_4FGL_J2326.9-4130_daily_bin1463.fits scfile=/scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits outfile=/scratch/kocevski/902839/cmap_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.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.737 yref=-41.5089 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902839/ft1_filtered_4FGL_J2326.9-4130_daily_bin1463.fits scfile=/scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits outfile=/scratch/kocevski/902839/cmap_HighResolution_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.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.737 yref=-41.5089 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.56
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902839/ft1_filtered_4FGL_J2326.9-4130_daily_bin1463.fits evtable="EVENTS" scfile=/scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902839/Model_4FGL_J2326.9-4130_daily_bin1463.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/902839/ft1_filtered_4FGL_J2326.9-4130_daily_bin1463.fits.....................!
real 34.25
user 33.05
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/902839/ft1_filtered_4FGL_J2326.9-4130_daily_bin1463.fits', '/scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits', expMap='/scratch/kocevski/902839/expmap_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.fits', expCube='/scratch/kocevski/902839/ltcube_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/902839/Model_4FGL_J2326.9-4130_daily_bin1463.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2326.9-4130'

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  7.129e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/902839/ft1_filtered_4FGL_J2326.9-4130_daily_bin1463.fits
Spacecraft file(s): /scratch/kocevski/902839/ft2_4FGL_J2326.9-4130_daily_bin1463.fits
Exposure map: /scratch/kocevski/902839/expmap_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.fits
Exposure cube: /scratch/kocevski/902839/ltcube_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/902839/Model_4FGL_J2326.9-4130_daily_bin1463.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) = 3798.08945971

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3209       1.0000         .10000E-03   10000.    
     2 'Prefactor '    10.103       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    20.034       1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.6901       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4319       1.0000         .10000E-03   10000.    
     7 'Prefactor '    24.187       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.678       1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.940       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.831       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    9.3622       1.0000         .10000E-03   10000.    
    16 'norm      '    12.252       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10036E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    12.731       1.0000         .10000E-03   10000.    
    20 'Prefactor '    18.739       1.0000         .10000E-03   10000.    
    21 'Prefactor '    132.47       1.0000         .10000E-03   10000.    
    22 'Prefactor '    114.19       1.0000         .10000E-03   10000.    
    23 'norm      '    .10181E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10037E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .78689       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .88599       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3797.980     FROM MIGRAD    STATUS=CONVERGED    844 CALLS     4606 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3215        63.032        .45619E-06   -.37974E-05
   2  Prefactor     10.101        17.519        .24385E-06    .17066E-05
   3  Prefactor     .10000E-03    14.102       -.46477E-07** at limit **
   4  Prefactor     20.031        30.829       -.18943E-06   -.13374E-04
   5  Prefactor     9.6912        11.739        .40586E-06   -.55829E-05
   6  Prefactor     7.4318        6.3567        .24862E-06    .76189E-06
   7  Prefactor     24.184        47.300       -.14004E-06   -.61450E-05
   8  Prefactor     .10000E-03    9.6011       -.66034E-06** at limit **
   9  Prefactor     .10000E-03    11.153        .22751E-06** at limit **
  10  Prefactor     14.697        29.673        .74080E-06    .54196E-04
  11  Prefactor     44.942        26.420        .16283E-06   -.39727E-05
  12  Prefactor     .10000E-03    14.283       -.24242E-06** at limit **
  13  Prefactor     24.829        51.973       -.13498E-06   -.76926E-05
  14  Prefactor     .10000E-03    53.525       -.68423E-06** at limit **
  15  Prefactor     9.3614        16.802        .24316E-05    .25407E-04
  16  norm          12.252        12.442        .24394E-07   -.47003E-05
  17  norm          .10000E-03    3.1530       -.40634E-07** at limit **
  18  norm          .10000E-03    6.0805        .21980E-05** at limit **
  19  norm          12.731        10.789        .34839E-06   -.29642E-04
  20  Prefactor     18.739        9.5876       -.59467E-08   -.43761E-05
  21  Prefactor     132.51        54.825       -.52759E-06   -.10047E-03
  22  Prefactor     114.22        84.341        .10757E-05    .43252E-04
  23  norm          .10000E-03    5.7593        .33340E-05** at limit **
  24  Prefactor     .10000E-03    22.238       -.11371E-06** at limit **
  25  norm          .10000E-03    .48624       -.10589E-06** at limit **
  26  norm          .10000E-03    4.5155        .18476E-05** at limit **
  27  Prefactor     .10000E-03    1.7383       -.13719E-06** at limit **
  28  Prefactor     .10000E-03    45.248       -.27307E-06** at limit **
  29  Prefactor     .10000E-03    5.9507       -.18304E-06** at limit **
  30  Prefactor     .10000E-03    2.5106       -.78753E-07** at limit **
  31  Prefactor     .10000E-03    44.386        .33085E-06** at limit **
  32  Normalizat    .78661        .24316       -.39122E-05   -.42551E-05
  33  Prefactor     .88626        .24475        .29130E-05   -.15539E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.32152
  Prefactor  = 10.1011
  Prefactor  = 0.0001
  Prefactor  = 20.0311
  Prefactor  = 9.69122
  Prefactor  = 7.43177
  Prefactor  = 24.1839
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.697
  Prefactor  = 44.9417
  Prefactor  = 0.0001
  Prefactor  = 24.8293
  Prefactor  = 0.000100001
  Prefactor  = 9.36135
  norm       = 12.2519
  norm       = 0.0001
  norm       = 0.0001
  norm       = 12.7306
  Prefactor  = 18.7386
  Prefactor  = 132.512
  Prefactor  = 114.222
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.786609
  Prefactor  = 0.886257
 **********
 **   18 **HESSE 
 **********

 FCN=   3797.980     FROM HESSE     STATUS=OK           691 CALLS     5297 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3215        63.013        .14824E-03   -1.5167    
   2  Prefactor     10.101        17.518        .12607E-03   -1.5072    
   3  Prefactor     .10000E-03    14.105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.031        30.830        .89484E-04   -1.4813    
   5  Prefactor     9.6912        11.752        .12873E-03   -1.5085    
   6  Prefactor     7.4318        6.3639        .13287E-03   -1.5163    
   7  Prefactor     24.184        47.278        .81449E-04   -1.4724    
   8  Prefactor     .10000E-03    9.8405        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.159        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.697        29.643        .10454E-03   -1.4941    
  11  Prefactor     44.942        26.426        .59807E-04   -1.4366    
  12  Prefactor     .10000E-03    14.570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     24.829        51.964        .80389E-04   -1.4711    
  14  Prefactor     .10000E-03    53.578        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     9.3614        16.818        .65489E-03   -1.5096    
  16  norm          12.252        12.441        .11444E-03   -1.5008    
  17  norm          .10000E-03    3.1626        .10687E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    6.1724        .14818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          12.731        10.783        .56133E-03   -1.4994    
  20  Prefactor     18.739        9.5824        .92523E-04   -1.4842    
  21  Prefactor     132.51        55.190        .17493E-03   -1.3401    
  22  Prefactor     114.22        84.585        .37648E-04   -1.3566    
  23  norm          .10000E-03    5.8804        .14456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    22.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .49314        .41864E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    4.6000        .12789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.7596        .79302E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    46.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    6.0701        .14670E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    2.5314        .95295E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    44.439        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .78661        .27569        .25156E-03   -1.0057    
  33  Prefactor     .88626        .27932        .25698E-03   -.96623    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.22812e-10
Minuit parameter uncertainties:
  1  43.0188
  2  17.527
  3  7.68228e-06
  4  30.8544
  5  11.7552
  6  6.36446
  7  47.3508
  8  2.75031e-05
  9  4.0978e-05
  10  29.6729
  11  26.4325
  12  2.9392e-06
  13  52.0585
  14  0.000400218
  15  16.8269
  16  12.4437
  17  3.51959e-06
  18  1.55332e-05
  19  10.7846
  20  9.58318
  21  55.2114
  22  84.6741
  23  1.71961e-05
  24  2.93646e-05
  25  5.31137e-07
  26  1.06515e-05
  27  1.8374e-06
  28  0.000212911
  29  1.36362e-05
  30  3.24376e-06
  31  0.000297737
  32  0.27618
  33  0.279769
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.325e+02  5.521e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.777e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.863e-01  2.798e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.866e-01  2.762e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.34
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 1.74e-07 +/- 7.22e-08
Energy Flux (Fixed Index): 3.95e-05 +/- 1.64e-05

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) = 3797.7786564
delta logL = 0.2008988713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3797.77828307
delta logL = 0.201272198005

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    172.37       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4823       1.0000          .0000       10.000    
     3 'Normalizat'    .82322       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85257       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+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=   3797.778     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      293 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     172.43        90.317        .15366E-03    .32923E-05
   2  Index         2.4826        .44345        .43491E-02    .23912E-03
   3  Normalizat    .82323        .26120        .24652E-03    .18493E-04
   4  Prefactor     .85247        .27708        .13059E-02   -.12305E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 172.429
  Index      = 2.48258
  Normalizat = 0.823233
  Prefactor  = 0.852466
 **********
 **   18 **HESSE 
 **********

 FCN=   3797.778     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .93E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     172.43        88.612        .61466E-05   -1.3074    
   2  Index         2.4826        .43488        .86982E-03   -.52763    
   3  Normalizat    .82323        .26200        .98606E-05   -.99213    
   4  Prefactor     .85247        .27793        .52237E-04   -.97822    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.27334e-12
Minuit parameter uncertainties:
  1  88.6804
  2  0.435615
  3  0.262404
  4  0.278386
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902839': 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) = 3797.77828176
delta logL = 0.201273505626

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.724e+02  8.868e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.483e+00  4.356e-01  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  8.525e-01  2.784e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.232e-01  2.624e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.51
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 2.48 +/- 0.44
Photon Flux (Free Index): 1.52e-07 +/- 7.48e-08
Energy Flux (Free Index): 4.49e-05 +/- 2.16e-05

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/902839/cmap_HighResolution_618537601_618796801_4FGL_J2326.9-4130_daily_bin1463.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.74e-07', energy_flux2='4.49e-05', photon_flux_error='7.22e-08', dlogl='2.01e-01', energy_flux='3.95e-05', photon_flux2='1.52e-07', job_status='DONE', time_completed='2021-09-29 19:37:01.665101', photon_index_error2='0.44', photon_index2='2.48', ts='10.34', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', energy_flux_error2='2.16e-05', EG='0.79', time_epoch_completed='1632969421.67', return_code='0', job_id='902839', GAL2='0.85', EG2='0.82', return_code2='0', energy_flux_error='1.64e-05', photon_flux_error2='7.48e-08', ts2='10.51', photon_index='2.78' WHERE bin_id='1463' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:37:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 902839: <4FGL_J2326.9-4130_daily_bin1463> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1463> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:25:47 2021
Job was executed on host(s) <bullet0112>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:25:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 19:25:48 2021
Terminated at Wed Sep 29 19:37:02 2021
Results reported at Wed Sep 29 19:37:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1463 351.737 -41.5089 618537601 618796801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2326.9-4130 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   620.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             333.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            675 sec.

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

