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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin531
RA = 351.737, Dec = -41.5089
tmin = 376963201, tmax = 377222401
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='897934', job_status='RUN', time_executed='2021-09-29 19:12:53.491577', time_epoch_executed='1632967973.49' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='531'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/897934

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/897934/ft1_4FGL_J2326.9-4130_daily_bin531.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/897934/ft2_4FGL_J2326.9-4130_daily_bin531.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/897934/ft1_4FGL_J2326.9-4130_daily_bin531.fits outfile=/scratch/kocevski/897934/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin531.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=376963201.0 tmax=377222401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.56
user 4.32
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/897934/ft2_4FGL_J2326.9-4130_daily_bin531.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/897934/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin531.fits evtable="EVENTS" outfile="/scratch/kocevski/897934/ft1_filtered_4FGL_J2326.9-4130_daily_bin531.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.48
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/897934/ft1_filtered_4FGL_J2326.9-4130_daily_bin531.fits" evtable="EVENTS" scfile=/scratch/kocevski/897934/ft2_4FGL_J2326.9-4130_daily_bin531.fits sctable="SC_DATA" outfile=/scratch/kocevski/897934/ltcube_376963201_377222401_4FGL_J2326.9-4130_daily_bin531.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/897934/ft2_4FGL_J2326.9-4130_daily_bin531.fits
.....................!
real 11.60
user 11.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/897934/ft1_filtered_4FGL_J2326.9-4130_daily_bin531.fits evtable="EVENTS" scfile=/scratch/kocevski/897934/ft2_4FGL_J2326.9-4130_daily_bin531.fits sctable="SC_DATA" expcube=/scratch/kocevski/897934/ltcube_376963201_377222401_4FGL_J2326.9-4130_daily_bin531.fits outfile=/scratch/kocevski/897934/expmap_376963201_377222401_4FGL_J2326.9-4130_daily_bin531.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/897934/ltcube_376963201_377222401_4FGL_J2326.9-4130_daily_bin531.fits
.....................!
real 190.96
user 185.93
sys 4.72

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/897934/ft1_filtered_4FGL_J2326.9-4130_daily_bin531.fits scfile=/scratch/kocevski/897934/ft2_4FGL_J2326.9-4130_daily_bin531.fits outfile=/scratch/kocevski/897934/cmap_376963201_377222401_4FGL_J2326.9-4130_daily_bin531.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/897934/ft1_filtered_4FGL_J2326.9-4130_daily_bin531.fits scfile=/scratch/kocevski/897934/ft2_4FGL_J2326.9-4130_daily_bin531.fits outfile=/scratch/kocevski/897934/cmap_HighResolution_376963201_377222401_4FGL_J2326.9-4130_daily_bin531.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/897934/ft1_filtered_4FGL_J2326.9-4130_daily_bin531.fits evtable="EVENTS" scfile=/scratch/kocevski/897934/ft2_4FGL_J2326.9-4130_daily_bin531.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/897934/Model_4FGL_J2326.9-4130_daily_bin531.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/897934/ft1_filtered_4FGL_J2326.9-4130_daily_bin531.fits.....................!
real 37.24
user 36.03
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.408       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.7739       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .84149       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.642       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.887       1.0000         .10000E-03   10000.    
    14 'Prefactor '    142.23       1.0000         .10000E-03   10000.    
    15 'Prefactor '    30.971       1.0000         .10000E-03   10000.    
    16 'norm      '    9.0050       1.0000         .10000E-03   10000.    
    17 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .27216E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    14.175       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.3861       1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.398       1.0000         .10000E-03   10000.    
    23 'norm      '    .10402E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12381E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    4.0041       1.0000         .10000E-03   10000.    
    26 'norm      '    .10340E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .75396       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .35462E-01   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .33459E-02   1.0000         .10000E-03   10000.    
    31 'Prefactor '    78.524       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.3581       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .48303       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=   4562.501     FROM MIGRAD    STATUS=CONVERGED    909 CALLS     4609 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.041        .11220E-07** at limit **
   2  Prefactor     .10000E-03    21.651       -.62400E-06** at limit **
   3  Prefactor     17.410        34.821        .62870E-06    .54446E-05
   4  Prefactor     .10000E-03    8.5903       -.11746E-06** at limit **
   5  Prefactor     .10000E-03    4.5223       -.36604E-06** at limit **
   6  Prefactor     2.7735        3.0315        .44225E-07   -.10159E-03
   7  Prefactor     .10000E-03    22.218       -.19388E-06** at limit **
   8  Prefactor     .85862        8.5951        .33707E-05   -.60015E-03
   9  Prefactor     17.637        25.617       -.68191E-07    .17397E-04
  10  Prefactor     .10000E-03    12.214       -.11220E-06** at limit **
  11  Prefactor     .10000E-03    12.991        .30692E-06** at limit **
  12  Prefactor     .10000E-03    1.9978       -.28792E-07** at limit **
  13  Prefactor     10.885        29.026       -.14331E-06   -.11880E-04
  14  Prefactor     142.28        97.078        .78370E-06    .62788E-04
  15  Prefactor     30.965        21.611        .23496E-06   -.46177E-04
  16  norm          9.0045        8.7262       -.16616E-05   -.70286E-03
  17  norm          .10000E-03    3.3175        .28209E-07** at limit **
  18  norm          .10000E-03    1.6258        .10876E-06** at limit **
  19  norm          .10002E-03    8.7487       -.25408E-05** at limit **
  20  Prefactor     14.184        8.2179       -.13465E-06   -.24327E-03
  21  Prefactor     9.4648        37.013        .18083E-05   -.23026E-05
  22  Prefactor     33.408        54.682        .61140E-07    .18485E-04
  23  norm          .10000E-03    1.9197        .59072E-06** at limit **
  24  Prefactor     .10000E-03    34.029       -.62672E-06** at limit **
  25  norm          4.0041        1.6530       -.25721E-07   -.34359E-03
  26  norm          .10000E-03    2.9709        .38943E-06** at limit **
  27  Prefactor     .75414        2.9325        .16084E-05    .46279E-03
  28  Prefactor     .10000E-03    13.498       -.43604E-06** at limit **
  29  Prefactor     .10194E-03    4.9999        .84338E-06** at limit **
  30  Prefactor     .10009E-03    2.8803        .67620E-06** at limit **
  31  Prefactor     78.596        65.159       -.78599E-06   -.21003E-04
  32  Normalizat    1.3581        .22388       -.43779E-05   -.21678E-03
  33  Prefactor     .48298        .22567        .67628E-05   -.18615E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.4096
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.77347
  Prefactor  = 0.0001
  Prefactor  = 0.858622
  Prefactor  = 17.6367
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.885
  Prefactor  = 142.277
  Prefactor  = 30.9654
  norm       = 9.00447
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.000100022
  Prefactor  = 14.1843
  Prefactor  = 9.46484
  Prefactor  = 33.4081
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.00407
  norm       = 0.0001
  Prefactor  = 0.754136
  Prefactor  = 0.0001
  Prefactor  = 0.000101938
  Prefactor  = 0.000100087
  Prefactor  = 78.5955
  Normalizat = 1.35814
  Prefactor  = 0.482984
 **********
 **   18 **HESSE 
 **********

 FCN=   4562.501     FROM HESSE     STATUS=OK           705 CALLS     5314 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.050        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    21.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.410        34.712        .95994E-04   -1.4873    
   4  Prefactor     .10000E-03    8.5932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    4.5807        .14026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.7735        3.0251        .11892E-03   -1.5375    
   7  Prefactor     .10000E-03    22.239        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .85862        22.516        .29836E-02   -1.5523    
   9  Prefactor     17.637        25.607        .95355E-04   -1.4868    
  10  Prefactor     .10000E-03    12.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    13.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.9989        .93241E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     10.885        29.004        .12142E-03   -1.5048    
  14  Prefactor     142.28        96.928        .16891E-03   -1.3317    
  15  Prefactor     30.965        21.580        .71997E-04   -1.4594    
  16  norm          9.0045        8.9617        .66782E-03   -1.5108    
  17  norm          .10000E-03    3.3214        .12013E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.6262        .84114E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    24.747        .34649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     14.184        8.1834        .10639E-03   -1.4955    
  21  Prefactor     9.4648        36.868        .13081E-03   -1.5093    
  22  Prefactor     33.408        54.405        .69339E-04   -1.4551    
  23  norm          .10000E-03    1.9355        .91489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    34.515        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          4.0041        1.6463        .51241E-04   -1.5308    
  26  norm          .10000E-03    3.0104        .11355E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .75414        2.9481        .21738E-03   -1.5534    
  28  Prefactor     .10000E-03    13.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10194E-03    4.7092        .45661E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10009E-03    54.006        .20966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     78.596        65.381        .22659E-03   -1.3933    
  32  Normalizat    1.3581        .23824        .20430E-03   -.81847    
  33  Prefactor     .48298        .24205        .34740E-03   -1.1276    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.08611e-09
Minuit parameter uncertainties:
  1  6.17348e-05
  2  0.000155825
  3  34.7526
  4  1.1148e-05
  5  2.41995e-05
  6  3.02528
  7  4.35495e-05
  8  8.7969
  9  25.6228
  10  1.7272e-05
  11  6.32666e-05
  12  1.92839e-06
  13  29.0411
  14  97.0367
  15  21.5857
  16  8.963
  17  1.26624e-06
  18  4.88632e-06
  19  0.00149007
  20  8.18406
  21  36.9572
  22  54.4859
  23  3.03695e-05
  24  0.000163234
  25  1.64636
  26  2.3124e-05
  27  2.94871
  28  0.0001003
  29  0.00604196
  30  0.00432817
  31  65.4411
  32  0.238437
  33  0.242571
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  9.465e+00  3.696e+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.830e-01  2.426e-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.358e+00  2.384e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 1.25e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.88e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/897934/likelihoodResults_376963201_377222401_4FGL_J2326.9-4130_daily_bin531.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) = 4561.79239995
delta logL = 0.708500761434

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4561.7737926
delta logL = 0.727108112407

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10638       1.0000         .10000E-03   10000.    
     2 'Index     '    6.4410       1.0000          .0000       10.000    
     3 'Normalizat'    1.2954       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53066       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.

 FCN=   4561.774     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      337 TOTAL
                     EDM=   .22E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10528        1.9170        .46394E-02    .91224E-02
   2  Index         6.4468        3.3368        .16084        .33640E-03
   3  Normalizat    1.2953        .44108E-01    .47099E-01   -.12804E-03
   4  Prefactor     .53078        .47161E-01    .75083E-01   -.15487E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.105279
  Index      = 6.44681
  Normalizat = 1.29527
  Prefactor  = 0.530779
 **********
 **   18 **HESSE 
 **********

 FCN=   4561.774     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      370 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10528        5.1102        .21440E-03   -1.5643    
   2  Index         6.4468        8.1165        .59727E-02    .29356    
   3  Normalizat    1.2953        .17263        .20820E-03   -.83708    
   4  Prefactor     .53078        .17980        .33246E-03   -1.1058    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.76266e-09
Minuit parameter uncertainties:
  1  1.4664
  2  7.51848
  3  0.172702
  4  0.179993
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/897934': 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): 102
logL (Free Index) = 4561.77379152
delta logL = 0.727109197343

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.053e-01  1.466e+00  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  6.447e+00  7.518e+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:  5.308e-01  1.800e-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.295e+00  1.727e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.60
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 6.45 +/- 7.52
Photon Flux (Free Index): 6.09e-08 +/- 6.46e-08
Energy Flux (Free Index): 7.43e-06 +/- 9.25e-06

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/897934/cmap_HighResolution_376963201_377222401_4FGL_J2326.9-4130_daily_bin531.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.88e-03', comment='SUCCESS', energy_flux2='7.43e-06', dlogl='7.27e-01', photon_flux2='6.09e-08', job_status='DONE', time_completed='2021-09-29 19:25:49.433877', photon_index_error2='7.52', photon_index2='6.45', ts='0.08', fit_tolerance='1e-08', GAL='0.48', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='9.25e-06', EG='1.36', time_epoch_completed='1632968749.43', return_code='0', job_id='897934', GAL2='0.53', EG2='1.30', return_code2='102', photon_flux_error2='6.46e-08', ts2='1.60', photon_index='2.78' WHERE bin_id='531' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:25:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 897934: <4FGL_J2326.9-4130_daily_bin531> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin531> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:10:46 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:10: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:10:48 2021
Terminated at Wed Sep 29 19:25:50 2021
Results reported at Wed Sep 29 19:25:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin531 351.737 -41.5089 376963201 377222401 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 :                                   772.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             305.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   901 sec.
    Turnaround time :                            904 sec.

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

