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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1106
RA = 351.737, Dec = -41.5089
tmin = 526003201, tmax = 526262401
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='901042', job_status='RUN', time_executed='2021-09-29 19:23:20.659751', time_epoch_executed='1632968600.66' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1106'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/901042

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/901042/ft1_4FGL_J2326.9-4130_daily_bin1106.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/901042/ft1_4FGL_J2326.9-4130_daily_bin1106.fits outfile=/scratch/kocevski/901042/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1106.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=526003201.0 tmax=526262401.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.86
user 3.59
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.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/901042/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1106.fits evtable="EVENTS" outfile="/scratch/kocevski/901042/ft1_filtered_4FGL_J2326.9-4130_daily_bin1106.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.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/901042/ft1_filtered_4FGL_J2326.9-4130_daily_bin1106.fits" evtable="EVENTS" scfile=/scratch/kocevski/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.fits sctable="SC_DATA" outfile=/scratch/kocevski/901042/ltcube_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.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/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.fits
.....................!
real 11.69
user 11.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/901042/ft1_filtered_4FGL_J2326.9-4130_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.fits sctable="SC_DATA" expcube=/scratch/kocevski/901042/ltcube_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.fits outfile=/scratch/kocevski/901042/expmap_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.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/901042/ltcube_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.fits
.....................!
real 190.96
user 186.08
sys 4.53

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/901042/ft1_filtered_4FGL_J2326.9-4130_daily_bin1106.fits scfile=/scratch/kocevski/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.fits outfile=/scratch/kocevski/901042/cmap_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.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.55
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/901042/ft1_filtered_4FGL_J2326.9-4130_daily_bin1106.fits scfile=/scratch/kocevski/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.fits outfile=/scratch/kocevski/901042/cmap_HighResolution_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/901042/ft1_filtered_4FGL_J2326.9-4130_daily_bin1106.fits evtable="EVENTS" scfile=/scratch/kocevski/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/901042/Model_4FGL_J2326.9-4130_daily_bin1106.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/901042/ft1_filtered_4FGL_J2326.9-4130_daily_bin1106.fits.....................!
real 41.33
user 39.91
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/901042/ft1_filtered_4FGL_J2326.9-4130_daily_bin1106.fits', '/scratch/kocevski/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.fits', expMap='/scratch/kocevski/901042/expmap_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.fits', expCube='/scratch/kocevski/901042/ltcube_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/901042/Model_4FGL_J2326.9-4130_daily_bin1106.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/901042/ft1_filtered_4FGL_J2326.9-4130_daily_bin1106.fits
Spacecraft file(s): /scratch/kocevski/901042/ft2_4FGL_J2326.9-4130_daily_bin1106.fits
Exposure map: /scratch/kocevski/901042/expmap_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.fits
Exposure cube: /scratch/kocevski/901042/ltcube_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/901042/Model_4FGL_J2326.9-4130_daily_bin1106.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) = 5400.91589781

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.136       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.535       1.0000         .10000E-03   10000.    
     3 'Prefactor '    37.390       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.6093       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7312       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.1580       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.477       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.2733       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.438       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10231E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.151       1.0000         .10000E-03   10000.    
    17 'norm      '    3.4584       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.9229       1.0000         .10000E-03   10000.    
    21 'Prefactor '    48.559       1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.469       1.0000         .10000E-03   10000.    
    23 'norm      '    .14890E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.2440       1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    1.7627       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    18.776       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    27.168       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .81111       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .87473       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=   5400.905     FROM MIGRAD    STATUS=CONVERGED    856 CALLS     4517 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.119        45.110       -.42009E-05   -.52463E-04
   2  Prefactor     12.535        15.653        .11217E-06   -.94604E-05
   3  Prefactor     37.391        47.056        .52222E-06   -.37452E-05
   4  Prefactor     .10000E-03    19.464       -.10128E-05** at limit **
   5  Prefactor     7.6085        7.3373        .25165E-06    .78808E-05
   6  Prefactor     2.7314        2.6712        .98222E-07   -.20350E-04
   7  Prefactor     .10000E-03    30.941        .14740E-05** at limit **
   8  Prefactor     7.1581        5.4812        .13708E-06   -.55497E-05
   9  Prefactor     .10000E-03    21.037        .41703E-06** at limit **
  10  Prefactor     .10000E-03    5.1816        .61096E-08** at limit **
  11  Prefactor     18.478        13.403        .18253E-06   -.16165E-04
  12  Prefactor     7.2738        6.2475        .17202E-06   -.38064E-04
  13  Prefactor     16.436        22.854       -.10529E-06   -.12532E-04
  14  Prefactor     .10000E-03    21.163        .33865E-06** at limit **
  15  Prefactor     .10000E-03    33.696       -.12880E-05** at limit **
  16  norm          10.151        8.8734       -.33473E-06   -.51801E-05
  17  norm          3.4570        4.0704       -.40845E-07    .12902E-04
  18  norm          .10000E-03    2.3390        .14084E-06** at limit **
  19  norm          .10000E-03    3.5082        .91258E-07** at limit **
  20  Prefactor     5.9216        5.3134       -.34894E-06   -.12171E-04
  21  Prefactor     48.577        31.541       -.49957E-06   -.22550E-03
  22  Prefactor     22.476        29.501        .11896E-05    .21953E-04
  23  norm          .10003E-03    2.8067        .11402E-05** at limit **
  24  Prefactor     9.2427        12.267        .19241E-05   -.42232E-04
  25  norm          .10000E-03    .25333       -.21082E-07** at limit **
  26  norm          1.7641        4.1071       -.32803E-06   -.44957E-03
  27  Prefactor     .10000E-03    2.1778       -.57385E-08** at limit **
  28  Prefactor     18.774        16.427       -.36969E-07   -.13738E-04
  29  Prefactor     .10000E-03    1.8977        .39997E-07** at limit **
  30  Prefactor     .10000E-03    1.3175       -.42006E-08** at limit **
  31  Prefactor     27.172        42.094        .95339E-06    .96713E-05
  32  Normalizat    .81097        .16959       -.16538E-05   -.20181E-03
  33  Prefactor     .87478        .18009        .35758E-06   -.25914E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1188
  Prefactor  = 12.5346
  Prefactor  = 37.3909
  Prefactor  = 0.0001
  Prefactor  = 7.60851
  Prefactor  = 2.7314
  Prefactor  = 0.0001
  Prefactor  = 7.15806
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.478
  Prefactor  = 7.27376
  Prefactor  = 16.4355
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1513
  norm       = 3.45702
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 5.92158
  Prefactor  = 48.5773
  Prefactor  = 22.4758
  norm       = 0.000100027
  Prefactor  = 9.2427
  norm       = 0.0001
  norm       = 1.76413
  Prefactor  = 0.0001
  Prefactor  = 18.774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.1723
  Normalizat = 0.810972
  Prefactor  = 0.874781
 **********
 **   18 **HESSE 
 **********

 FCN=   5400.905     FROM HESSE     STATUS=OK           697 CALLS     5214 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.119        45.696        .11052E-03   -1.4983    
   2  Prefactor     12.535        15.643        .11314E-03   -1.5000    
   3  Prefactor     37.391        47.113        .65544E-04   -1.4484    
   4  Prefactor     .10000E-03    19.500        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.6085        7.3438        .14538E-03   -1.5156    
   6  Prefactor     2.7314        2.6681        .11441E-03   -1.5377    
   7  Prefactor     .10000E-03    31.195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.1581        5.4788        .14510E-03   -1.5173    
   9  Prefactor     .10000E-03    21.272        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    5.1863        .16338E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.478        13.406        .93177E-04   -1.4848    
  12  Prefactor     7.2738        6.2452        .14873E-03   -1.5169    
  13  Prefactor     16.436        22.862        .98787E-04   -1.4897    
  14  Prefactor     .10000E-03    21.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    34.679        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.151        8.8696        .62881E-03   -1.5071    
  17  norm          3.4570        4.0681        .15672E-03   -1.5336    
  18  norm          .10000E-03    2.3561        .10973E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.5304        .13443E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.9216        5.3017        .14426E-03   -1.5221    
  21  Prefactor     48.577        31.482        .57545E-04   -1.4313    
  22  Prefactor     22.476        29.539        .84502E-04   -1.4759    
  23  norm          .10003E-03    13.125        .20645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     9.2427        12.239        .65908E-03   -1.5100    
  25  norm          .10000E-03    .25587        .36076E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          1.7641        4.0201        .20372E-03   -1.5442    
  27  Prefactor     .10000E-03    2.2222        .10569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     18.774        16.412        .92433E-04   -1.4841    
  29  Prefactor     .10000E-03    1.9094        .98839E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    1.3258        .82339E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     27.172        42.100        .76859E-04   -1.4665    
  32  Normalizat    .81097        .19869        .22488E-03   -.99663    
  33  Prefactor     .87478        .21313        .24427E-03   -.97028    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.24409e-09
Minuit parameter uncertainties:
  1  45.8179
  2  15.6484
  3  47.1602
  4  5.30856e-05
  5  7.34464
  6  2.66824
  7  0.000129062
  8  5.47914
  9  4.88675e-05
  10  2.5584e-06
  11  13.4081
  12  6.24574
  13  22.8739
  14  3.06599e-05
  15  8.27926e-06
  16  8.87071
  17  4.06846
  18  1.76049e-06
  19  2.45773e-06
  20  5.3021
  21  31.493
  22  29.5579
  23  0.00118535
  24  12.242
  25  2.73436e-08
  26  4.02071
  27  3.70182e-06
  28  16.4163
  29  1.77803e-06
  30  1.91803e-06
  31  42.1456
  32  0.198869
  33  0.213338
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  4.858e+01  3.149e+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.748e-01  2.133e-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.110e-01  1.989e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.72
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 6.36e-08 +/- 4.12e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 9.38e-06

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) = 5400.3324073
delta logL = 0.572415546553

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5400.25700037
delta logL = 0.647822477536

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    65.215       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0739       1.0000          .0000       10.000    
     3 'Normalizat'    .85120       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84543       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=   5400.257     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      270 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     65.232        45.044        .24848E-03    .32027E-05
   2  Index         2.0742        .59040        .78321E-02    .43750E-05
   3  Normalizat    .85090        .18942        .22009E-03    .79548E-04
   4  Prefactor     .84591        .21115        .24789E-03   -.40037E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 65.2322
  Index      = 2.07422
  Normalizat = 0.850899
  Prefactor  = 0.845905
 **********
 **   18 **HESSE 
 **********

 FCN=   5400.257     FROM HESSE     STATUS=OK            25 CALLS      295 TOTAL
                     EDM=   .67E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     65.232        45.281        .99392E-05   -1.4091    
   2  Index         2.0742        .59318        .31328E-03   -.62507    
   3  Normalizat    .85090        .18963        .88037E-05   -.98208    
   4  Prefactor     .84591        .21137        .99157E-05   -.98058    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.70115e-11
Minuit parameter uncertainties:
  1  45.3045
  2  0.595318
  3  0.189775
  4  0.211578
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/901042': 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) = 5400.25699723
delta logL = 0.647825613682

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  6.523e+01  4.530e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.074e+00  5.953e-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.459e-01  2.116e-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.509e-01  1.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.99
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 2.07 +/- 0.60
Photon Flux (Free Index): 3.55e-08 +/- 3.61e-08
Energy Flux (Free Index): 2.06e-05 +/- 1.84e-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/901042/cmap_HighResolution_526003201_526262401_4FGL_J2326.9-4130_daily_bin1106.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.36e-08', energy_flux2='2.06e-05', photon_flux_error='4.12e-08', dlogl='6.48e-01', energy_flux='1.45e-05', photon_flux2='3.55e-08', job_status='DONE', time_completed='2021-09-29 19:36:31.392509', photon_index_error2='0.60', photon_index2='2.07', ts='5.72', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', energy_flux_error2='1.84e-05', EG='0.81', time_epoch_completed='1632969391.39', return_code='0', job_id='901042', GAL2='0.85', EG2='0.85', return_code2='0', energy_flux_error='9.38e-06', photon_flux_error2='3.61e-08', ts2='6.99', photon_index='2.78' WHERE bin_id='1106' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:36:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 901042: <4FGL_J2326.9-4130_daily_bin1106> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1106> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:20:40 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:20:42 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:20:42 2021
Terminated at Wed Sep 29 19:36:32 2021
Results reported at Wed Sep 29 19:36:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1106 351.737 -41.5089 526003201 526262401 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 :                                   748.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             268.43 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            952 sec.

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

