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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1586
RA = 351.737, Dec = -41.5089
tmin = 650419201, tmax = 650678401
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='904657', job_status='RUN', time_executed='2021-09-29 19:30:53.310267', time_epoch_executed='1632969053.31' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1586'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904657

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904657/ft1_4FGL_J2326.9-4130_daily_bin1586.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904657/ft2_4FGL_J2326.9-4130_daily_bin1586.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904657/ft1_4FGL_J2326.9-4130_daily_bin1586.fits outfile=/scratch/kocevski/904657/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1586.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=650419201.0 tmax=650678401.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 2.98
user 2.76
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904657/ft1_filtered_4FGL_J2326.9-4130_daily_bin1586.fits" evtable="EVENTS" scfile=/scratch/kocevski/904657/ft2_4FGL_J2326.9-4130_daily_bin1586.fits sctable="SC_DATA" outfile=/scratch/kocevski/904657/ltcube_650419201_650678401_4FGL_J2326.9-4130_daily_bin1586.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/904657/ft2_4FGL_J2326.9-4130_daily_bin1586.fits
.....................!
real 9.90
user 9.58
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904657/ft1_filtered_4FGL_J2326.9-4130_daily_bin1586.fits evtable="EVENTS" scfile=/scratch/kocevski/904657/ft2_4FGL_J2326.9-4130_daily_bin1586.fits sctable="SC_DATA" expcube=/scratch/kocevski/904657/ltcube_650419201_650678401_4FGL_J2326.9-4130_daily_bin1586.fits outfile=/scratch/kocevski/904657/expmap_650419201_650678401_4FGL_J2326.9-4130_daily_bin1586.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/904657/ltcube_650419201_650678401_4FGL_J2326.9-4130_daily_bin1586.fits
.....................!
real 151.84
user 148.21
sys 3.32

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/904657/ft1_filtered_4FGL_J2326.9-4130_daily_bin1586.fits scfile=/scratch/kocevski/904657/ft2_4FGL_J2326.9-4130_daily_bin1586.fits outfile=/scratch/kocevski/904657/cmap_650419201_650678401_4FGL_J2326.9-4130_daily_bin1586.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.47
user 0.30
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904657/ft1_filtered_4FGL_J2326.9-4130_daily_bin1586.fits scfile=/scratch/kocevski/904657/ft2_4FGL_J2326.9-4130_daily_bin1586.fits outfile=/scratch/kocevski/904657/cmap_HighResolution_650419201_650678401_4FGL_J2326.9-4130_daily_bin1586.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.47
user 0.31
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/904657/ft1_filtered_4FGL_J2326.9-4130_daily_bin1586.fits evtable="EVENTS" scfile=/scratch/kocevski/904657/ft2_4FGL_J2326.9-4130_daily_bin1586.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904657/Model_4FGL_J2326.9-4130_daily_bin1586.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/904657/ft1_filtered_4FGL_J2326.9-4130_daily_bin1586.fits.....................!
real 28.16
user 27.15
sys 0.96

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    27.462       1.0000         .10000E-03   10000.    
     4 'Prefactor '    47.275       1.0000         .10000E-03   10000.    
     5 'Prefactor '    13.935       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11533E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.293       1.0000         .10000E-03   10000.    
     9 'Prefactor '    14.513       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.298       1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.1710       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    9.0697       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    24.927       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .19043E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.537       1.0000         .10000E-03   10000.    
    23 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    29.715       1.0000         .10000E-03   10000.    
    25 'norm      '    1.7998       1.0000         .10000E-03   10000.    
    26 'norm      '    3.4520       1.0000         .10000E-03   10000.    
    27 'Prefactor '    2.5326       1.0000         .10000E-03   10000.    
    28 'Prefactor '    28.188       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .11116E-02   1.0000         .10000E-03   10000.    
    30 'Prefactor '    4.2366       1.0000         .10000E-03   10000.    
    31 'Prefactor '    46.973       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .79998       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0905       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=   4263.253     FROM MIGRAD    STATUS=CONVERGED    919 CALLS     4641 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.751       -.48453E-06** at limit **
   2  Prefactor     .10000E-03    10.239        .11892E-06** at limit **
   3  Prefactor     27.467        58.311        .25351E-05    .43634E-04
   4  Prefactor     47.264        37.239        .20334E-05    .17315E-03
   5  Prefactor     13.937        11.260       -.20968E-06   -.17183E-04
   6  Prefactor     .10005E-03    3.2876        .11201E-05** at limit **
   7  Prefactor     .10000E-03    21.142        .91427E-06** at limit **
   8  Prefactor     13.292        8.7391        .38072E-06   -.17185E-03
   9  Prefactor     14.504        30.452        .39454E-05    .13304E-03
  10  Prefactor     .10000E-03    9.0738        .15338E-06** at limit **
  11  Prefactor     46.300        24.975        .16713E-06   -.24179E-04
  12  Prefactor     7.1682        10.453        .38361E-05   -.23222E-03
  13  Prefactor     .10000E-03    12.735       -.10116E-06** at limit **
  14  Prefactor     .10000E-03    36.819       -.89416E-06** at limit **
  15  Prefactor     .10000E-03    47.783        .32288E-05** at limit **
  16  norm          9.0695        11.648        .30357E-06    .39815E-04
  17  norm          .10000E-03    2.4410       -.38017E-07** at limit **
  18  norm          .10000E-03    2.3929       -.27599E-07** at limit **
  19  norm          24.926        14.333        .24066E-06    .15582E-04
  20  Prefactor     .10000E-03    23.244       -.60696E-05** at limit **
  21  Prefactor     .10000E-03    58.336       -.42278E-05** at limit **
  22  Prefactor     17.548        50.142       -.77338E-06   -.23435E-04
  23  norm          .10000E-03    3.2177       -.11954E-06** at limit **
  24  Prefactor     29.744        24.490       -.11145E-06    .27356E-04
  25  norm          1.7997        1.7258        .27968E-06    .26200E-03
  26  norm          3.4515        4.3334        .11240E-06    .58451E-04
  27  Prefactor     2.5325        4.8432        .42591E-06   -.29535E-04
  28  Prefactor     28.180        29.756        .13189E-05    .16005E-03
  29  Prefactor     .10025E-03    5.4617       -.12705E-06** at limit **
  30  Prefactor     4.2352        6.2155        .59798E-06   -.24555E-04
  31  Prefactor     47.294        83.451       -.83654E-05    .11257E-03
  32  Normalizat    .79990        .24246       -.37210E-05   -.57057E-04
  33  Prefactor     1.0907        .23820        .31915E-07   -.14140E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.4673
  Prefactor  = 47.2635
  Prefactor  = 13.9373
  Prefactor  = 0.000100048
  Prefactor  = 0.0001
  Prefactor  = 13.2923
  Prefactor  = 14.5039
  Prefactor  = 0.0001
  Prefactor  = 46.3005
  Prefactor  = 7.16824
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  norm       = 9.06951
  norm       = 0.0001
  norm       = 0.0001
  norm       = 24.9261
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 17.5478
  norm       = 0.0001
  Prefactor  = 29.744
  norm       = 1.79973
  norm       = 3.45152
  Prefactor  = 2.53246
  Prefactor  = 28.1796
  Prefactor  = 0.000100254
  Prefactor  = 4.23523
  Prefactor  = 47.2935
  Normalizat = 0.799901
  Prefactor  = 1.09068
 **********
 **   18 **HESSE 
 **********

 FCN=   4263.253     FROM HESSE     STATUS=OK           697 CALLS     5338 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     27.467        58.415        .76447E-04   -1.4659    
   4  Prefactor     47.264        37.451        .29159E-03   -1.4332    
   5  Prefactor     13.937        11.282        .10730E-03   -1.4961    
   6  Prefactor     .10005E-03    14.533        .21963E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.292        8.7189        .10986E-03   -1.4979    
   9  Prefactor     14.504        30.677        .10514E-03   -1.4946    
  10  Prefactor     .10000E-03    9.0783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     46.300        24.978        .58927E-04   -1.4346    
  12  Prefactor     7.1682        10.354        .74896E-03   -1.5172    
  13  Prefactor     .10000E-03    12.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    36.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    49.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          9.0695        11.652        .13308E-03   -1.5106    
  17  norm          .10000E-03    2.4412        .99628E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.3981        .98637E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          24.926        14.326        .80234E-04   -1.4709    
  20  Prefactor     .10000E-03    23.131        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    58.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.548        50.171        .95640E-04   -1.4870    
  23  norm          .10000E-03    3.2640        .11407E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     29.744        24.263        .73499E-04   -1.4617    
  25  norm          1.7997        1.6940        .74325E-04   -1.5440    
  26  norm          3.4515        4.3138        .14598E-03   -1.5336    
  27  Prefactor     2.5325        4.7809        .17199E-03   -1.5390    
  28  Prefactor     28.180        29.698        .75459E-04   -1.4646    
  29  Prefactor     .10025E-03    23.173        .27632E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     4.2352        6.2086        .18227E-03   -1.5296    
  31  Prefactor     47.294        81.283        .58504E-04   -1.4331    
  32  Normalizat    .79990        .28802        .27250E-03   -1.0007    
  33  Prefactor     1.0907        .28799        .25914E-03   -.89765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47793e-08
Minuit parameter uncertainties:
  1  4.84763e-05
  2  3.45914e-06
  3  58.5367
  4  37.4696
  5  11.2835
  6  0.00166744
  7  0.000109616
  8  8.71974
  9  30.7104
  10  1.0644e-05
  11  24.984
  12  10.3569
  13  6.51418e-06
  14  0.000154383
  15  0.000894236
  16  11.6552
  17  4.64114e-07
  18  2.56129e-06
  19  14.3276
  20  0.000175931
  21  0.000590407
  22  50.2924
  23  1.52308e-05
  24  24.2715
  25  1.69405
  26  4.31414
  27  4.78162
  28  29.7134
  29  0.00485
  30  6.2095
  31  81.4746
  32  0.288571
  33  0.288397
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  5.904e-04  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:  1.091e+00  2.884e-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.999e-01  2.886e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/904657/likelihoodResults_650419201_650678401_4FGL_J2326.9-4130_daily_bin1586.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4263.25294929
delta logL = -8.0842341049e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4263.25286751
delta logL = 9.33161572902e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10567E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.4355       1.0000          .0000       10.000    
     3 'Normalizat'    .79990       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0907       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=   4263.251     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      305 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .35759        35.220        .55298E-01    .38863E-03
   2  Index         3.9155        6.8260        .37354        .29380E-04
   3  Normalizat    .79663        .11972E-01    .43609E-01   -.17011E-04
   4  Prefactor     1.0927        .13165E-01    .58554E-01   -.22015E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.357587
  Index      = 3.91554
  Normalizat = 0.796628
  Prefactor  = 1.09272
 **********
 **   18 **HESSE 
 **********

 FCN=   4263.251     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      338 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .35759        7225.0        .32745E-02   -1.5588    
   2  Index         3.9155        7.0259        .28290E-01   -.21863    
   3  Normalizat    .79663        .16994        .27303E-03   -1.0019    
   4  Prefactor     1.0927        .13196        .25893E-03   -.89700    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.05986e-08
Minuit parameter uncertainties:
  1  88.0447
  2  87.8359
  3  0.170054
  4  0.132003
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904657': 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) = 4263.25141529
delta logL = 0.00145315779901

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.576e-01  8.804e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.916e+00  8.784e+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:  1.093e+00  1.320e-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.966e-01  1.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/904657/cmap_HighResolution_650419201_650678401_4FGL_J2326.9-4130_daily_bin1586.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.14e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-29 19:40:45.645622', job_id='904657', GAL2='1.09', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1632969645.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.45e-03', ts2='0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1586' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:40:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 904657: <4FGL_J2326.9-4130_daily_bin1586> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1586> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:30:27 2021
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:30:28 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:30:28 2021
Terminated at Wed Sep 29 19:40:46 2021
Results reported at Wed Sep 29 19:40:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1586 351.737 -41.5089 650419201 650678401 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 :                                   582.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             287.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   617 sec.
    Turnaround time :                            619 sec.

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

