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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1145
RA = 351.737, Dec = -41.5089
tmin = 536112001, tmax = 536371201
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='901120', job_status='RUN', time_executed='2021-09-29 19:21:13.403878', time_epoch_executed='1632968473.4' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1145'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/901120

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/901120/ft1_4FGL_J2326.9-4130_daily_bin1145.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/901120/ft2_4FGL_J2326.9-4130_daily_bin1145.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/901120/ft1_4FGL_J2326.9-4130_daily_bin1145.fits outfile=/scratch/kocevski/901120/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1145.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=536112001.0 tmax=536371201.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.54
user 3.32
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/901120/ft1_filtered_4FGL_J2326.9-4130_daily_bin1145.fits" evtable="EVENTS" scfile=/scratch/kocevski/901120/ft2_4FGL_J2326.9-4130_daily_bin1145.fits sctable="SC_DATA" outfile=/scratch/kocevski/901120/ltcube_536112001_536371201_4FGL_J2326.9-4130_daily_bin1145.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/901120/ft2_4FGL_J2326.9-4130_daily_bin1145.fits
.....................!
real 12.33
user 11.98
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/901120/ft1_filtered_4FGL_J2326.9-4130_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/901120/ft2_4FGL_J2326.9-4130_daily_bin1145.fits sctable="SC_DATA" expcube=/scratch/kocevski/901120/ltcube_536112001_536371201_4FGL_J2326.9-4130_daily_bin1145.fits outfile=/scratch/kocevski/901120/expmap_536112001_536371201_4FGL_J2326.9-4130_daily_bin1145.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/901120/ltcube_536112001_536371201_4FGL_J2326.9-4130_daily_bin1145.fits
.....................!
real 193.30
user 186.75
sys 6.08

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/901120/ft1_filtered_4FGL_J2326.9-4130_daily_bin1145.fits scfile=/scratch/kocevski/901120/ft2_4FGL_J2326.9-4130_daily_bin1145.fits outfile=/scratch/kocevski/901120/cmap_536112001_536371201_4FGL_J2326.9-4130_daily_bin1145.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/901120/ft1_filtered_4FGL_J2326.9-4130_daily_bin1145.fits scfile=/scratch/kocevski/901120/ft2_4FGL_J2326.9-4130_daily_bin1145.fits outfile=/scratch/kocevski/901120/cmap_HighResolution_536112001_536371201_4FGL_J2326.9-4130_daily_bin1145.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.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/901120/ft1_filtered_4FGL_J2326.9-4130_daily_bin1145.fits evtable="EVENTS" scfile=/scratch/kocevski/901120/ft2_4FGL_J2326.9-4130_daily_bin1145.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/901120/Model_4FGL_J2326.9-4130_daily_bin1145.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/901120/ft1_filtered_4FGL_J2326.9-4130_daily_bin1145.fits.....................!
real 36.45
user 35.21
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.767       1.0000         .10000E-03   10000.    
     3 'Prefactor '    20.274       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.940       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.348       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5107       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .72774       1.0000         .10000E-03   10000.    
    11 'Prefactor '    6.6680       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10132E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    123.16       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .96714E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    6.5969       1.0000         .10000E-03   10000.    
    18 'norm      '    8.9569       1.0000         .10000E-03   10000.    
    19 'norm      '    5.1607       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.0990       1.0000         .10000E-03   10000.    
    22 'Prefactor '    76.373       1.0000         .10000E-03   10000.    
    23 'norm      '    6.7192       1.0000         .10000E-03   10000.    
    24 'Prefactor '    13.130       1.0000         .10000E-03   10000.    
    25 'norm      '    2.5260       1.0000         .10000E-03   10000.    
    26 'norm      '    6.2735       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.3820       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10428E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .11033E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    104.58       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.2792       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .47943       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=   4178.624     FROM MIGRAD    STATUS=CONVERGED    869 CALLS     4557 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    30.237        .39012E-07** at limit **
   2  Prefactor     29.762        27.124       -.39936E-07   -.26078E-05
   3  Prefactor     20.279        54.480       -.20075E-06    .81143E-05
   4  Prefactor     .10000E-03    16.334       -.19186E-07** at limit **
   5  Prefactor     10.939        9.4583        .66602E-06    .10667E-03
   6  Prefactor     17.347        6.1611       -.75994E-07   -.12652E-04
   7  Prefactor     .10000E-03    38.201        .19382E-06** at limit **
   8  Prefactor     3.5104        5.3147        .14564E-06    .17530E-04
   9  Prefactor     .10000E-03    28.676        .35751E-06** at limit **
  10  Prefactor     .70409        22.856       -.34942E-07    .21605E-04
  11  Prefactor     6.6651        25.103       -.48788E-07    .54094E-05
  12  Prefactor     .10000E-03    5.0361        .16166E-06** at limit **
  13  Prefactor     .10000E-03    34.991        .10685E-06** at limit **
  14  Prefactor     123.17        96.380       -.36431E-06    .16861E-04
  15  Prefactor     .10000E-03    8.9708        .84878E-07** at limit **
  16  norm          .10004E-03    14.972        .18080E-05** at limit **
  17  norm          6.5955        8.8318        .29315E-06   -.13597E-04
  18  norm          8.9583        8.2436       -.14005E-06   -.12949E-03
  19  norm          5.1587        8.2012        .18409E-06    .75912E-06
  20  Prefactor     .10000E-03    4.7854       -.29897E-07** at limit **
  21  Prefactor     3.0777        241.56        .11362E-04    .68328E-05
  22  Prefactor     76.330        65.715       -.60653E-06   -.58887E-04
  23  norm          6.7256        9.4274       -.12139E-05   -.20356E-03
  24  Prefactor     13.133        18.019       -.22544E-06   -.82689E-04
  25  norm          2.5262        1.3862       -.16785E-07   -.93623E-04
  26  norm          6.2740        5.0288       -.18049E-06   -.94024E-04
  27  Prefactor     3.3831        3.6697        .10474E-06    .13929E-04
  28  Prefactor     .10000E-03    115.92        .11144E-05** at limit **
  29  Prefactor     .10000E-03    6.5497       -.87827E-06** at limit **
  30  Prefactor     .10000E-03    2.3657        .82354E-07** at limit **
  31  Prefactor     104.55        92.401       -.73576E-07   -.19566E-04
  32  Normalizat    1.2795        .26037        .25779E-05   -.23376E-03
  33  Prefactor     .47926        .25778       -.53292E-05   -.79463E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 29.7617
  Prefactor  = 20.2793
  Prefactor  = 0.0001
  Prefactor  = 10.9392
  Prefactor  = 17.3474
  Prefactor  = 0.0001
  Prefactor  = 3.5104
  Prefactor  = 0.0001
  Prefactor  = 0.704086
  Prefactor  = 6.66509
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 123.174
  Prefactor  = 0.0001
  norm       = 0.00010004
  norm       = 6.59548
  norm       = 8.9583
  norm       = 5.15866
  Prefactor  = 0.0001
  Prefactor  = 3.07766
  Prefactor  = 76.3295
  norm       = 6.72562
  Prefactor  = 13.1331
  norm       = 2.52619
  norm       = 6.27396
  Prefactor  = 3.38314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 104.547
  Normalizat = 1.27945
  Prefactor  = 0.479261
 **********
 **   18 **HESSE 
 **********

 FCN=   4178.624     FROM HESSE     STATUS=OK           703 CALLS     5260 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    30.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     29.762        27.103        .73435E-04   -1.4616    
   3  Prefactor     20.279        54.493        .88953E-04   -1.4807    
   4  Prefactor     .10000E-03    16.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.939        9.6070        .60564E-03   -1.5046    
   6  Prefactor     17.347        6.1586        .91390E-04   -1.4875    
   7  Prefactor     .10000E-03    38.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     3.5104        5.3133        .17740E-03   -1.5333    
   9  Prefactor     .10000E-03    28.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .70409        197.80        .58163E-02   -1.5540    
  11  Prefactor     6.6651        25.146        .15540E-03   -1.5192    
  12  Prefactor     .10000E-03    5.0882        .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    35.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     123.17        96.222        .36268E-04   -1.3484    
  15  Prefactor     .10000E-03    8.9951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10004E-03    53.711        .44738E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          6.5955        8.8249        .15624E-03   -1.5194    
  18  norm          8.9583        8.2811        .13392E-03   -1.5109    
  19  norm          5.1587        8.1927        .17697E-03   -1.5254    
  20  Prefactor     .10000E-03    4.7943        .13784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     3.0777        242.27        .23036E-03   -1.5357    
  22  Prefactor     76.330        65.719        .22974E-03   -1.3958    
  23  norm          6.7256        9.3007        .15480E-03   -1.5189    
  24  Prefactor     13.133        17.887        .11054E-03   -1.4983    
  25  norm          2.5262        1.3845        .52475E-04   -1.5390    
  26  norm          6.2740        5.0184        .12096E-03   -1.5207    
  27  Prefactor     3.3831        3.6555        .12269E-03   -1.5340    
  28  Prefactor     .10000E-03    118.52        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    6.6070        .16096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    2.3816        .97057E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     104.55        92.329        .19660E-03   -1.3659    
  32  Normalizat    1.2795        .28713        .21813E-03   -.84182    
  33  Prefactor     .47926        .27352        .35604E-03   -1.1294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17639e-09
Minuit parameter uncertainties:
  1  1.83451e-05
  2  27.1145
  3  54.6267
  4  1.22643e-05
  5  9.60831
  6  6.15882
  7  5.26246e-05
  8  5.31398
  9  5.66318e-05
  10  23.6803
  11  25.1858
  12  8.86536e-06
  13  2.05543e-05
  14  96.345
  15  1.23392e-07
  16  0.00293374
  17  8.82668
  18  8.28217
  19  8.19445
  20  2.26624e-06
  21  54.8427
  22  65.7814
  23  9.30271
  24  17.8946
  25  1.38448
  26  5.01872
  27  3.65572
  28  5.20058e-05
  29  1.66725e-05
  30  2.00844e-06
  31  92.4564
  32  0.287487
  33  0.274272
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.078e+00  5.484e+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:  4.793e-01  2.743e-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:  1.279e+00  2.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 1.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.10e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/901120/likelihoodResults_536112001_536371201_4FGL_J2326.9-4130_daily_bin1145.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) = 4178.62176679
delta logL = 0.00225186547232

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4178.61986756
delta logL = 0.00415109550886

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.3507       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4002       1.0000          .0000       10.000    
     3 'Normalizat'    1.2803       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .47754       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=   4178.620     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      279 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.3442        127.58        .15928E-03   -.19843E-04
   2  Index         2.4039        2.9699        .14577E-01    .27178E-04
   3  Normalizat    1.2799        .25861        .21808E-03   -.62605E-03
   4  Prefactor     .47794        .26871        .35646E-03   -.36837E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.34419
  Index      = 2.40391
  Normalizat = 1.2799
  Prefactor  = 0.477942
 **********
 **   18 **HESSE 
 **********

 FCN=   4178.620     FROM HESSE     STATUS=OK            23 CALLS      302 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.3442        122.28        .63710E-05   -1.5204    
   2  Index         2.4039        2.9222        .58310E-03   -.54594    
   3  Normalizat    1.2799        .25884        .43615E-04   -.84168    
   4  Prefactor     .47794        .26881        .14258E-04   -1.1300    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.67797e-10
Minuit parameter uncertainties:
  1  55.837
  2  3.21778
  3  0.259103
  4  0.269523
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/901120': 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) = 4178.61986583
delta logL = 0.00415281988626

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  6.344e+00  5.584e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.404e+00  3.218e+00  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:  4.779e-01  2.695e-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:  1.280e+00  2.591e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.01
Ra Dec: 351.737 -41.509

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/901120/cmap_HighResolution_536112001_536371201_4FGL_J2326.9-4130_daily_bin1145.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.10e-02', job_status='DONE', photon_flux_upper_limit='1.39e-07', time_completed='2021-09-29 19:33:49.276956', job_id='901120', GAL2='0.48', fit_tolerance='1e-08', EG2='1.28', EG='1.28', time_epoch_completed='1632969229.28', return_code2='0', ts='0.01', comment='SUCCESS', return_code='0', GAL='0.48', dlogl='4.15e-03', ts2='0.01', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1145' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:33:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0206>
Subject: Job 901120: <4FGL_J2326.9-4130_daily_bin1145> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1145> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:20:47 2021
Job was executed on host(s) <bullet0206>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:20:49 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:49 2021
Terminated at Wed Sep 29 19:33:50 2021
Results reported at Wed Sep 29 19:33:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1145 351.737 -41.5089 536112001 536371201 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 :                                   735.16 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            783 sec.

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

