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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1091
RA = 351.737, Dec = -41.5089
tmin = 522115201, tmax = 522374401
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='901018', job_status='RUN', time_executed='2021-09-29 19:23:31.458120', time_epoch_executed='1632968611.46' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1091'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/901018

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/901018/ft1_4FGL_J2326.9-4130_daily_bin1091.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/901018/ft2_4FGL_J2326.9-4130_daily_bin1091.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/901018/ft1_4FGL_J2326.9-4130_daily_bin1091.fits outfile=/scratch/kocevski/901018/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1091.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=522115201.0 tmax=522374401.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.71
user 3.51
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/901018/ft1_filtered_4FGL_J2326.9-4130_daily_bin1091.fits" evtable="EVENTS" scfile=/scratch/kocevski/901018/ft2_4FGL_J2326.9-4130_daily_bin1091.fits sctable="SC_DATA" outfile=/scratch/kocevski/901018/ltcube_522115201_522374401_4FGL_J2326.9-4130_daily_bin1091.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/901018/ft2_4FGL_J2326.9-4130_daily_bin1091.fits
.....................!
real 11.79
user 11.44
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/901018/ft1_filtered_4FGL_J2326.9-4130_daily_bin1091.fits evtable="EVENTS" scfile=/scratch/kocevski/901018/ft2_4FGL_J2326.9-4130_daily_bin1091.fits sctable="SC_DATA" expcube=/scratch/kocevski/901018/ltcube_522115201_522374401_4FGL_J2326.9-4130_daily_bin1091.fits outfile=/scratch/kocevski/901018/expmap_522115201_522374401_4FGL_J2326.9-4130_daily_bin1091.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/901018/ltcube_522115201_522374401_4FGL_J2326.9-4130_daily_bin1091.fits
.....................!
real 189.97
user 185.18
sys 4.49

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/901018/ft1_filtered_4FGL_J2326.9-4130_daily_bin1091.fits scfile=/scratch/kocevski/901018/ft2_4FGL_J2326.9-4130_daily_bin1091.fits outfile=/scratch/kocevski/901018/cmap_522115201_522374401_4FGL_J2326.9-4130_daily_bin1091.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/901018/ft1_filtered_4FGL_J2326.9-4130_daily_bin1091.fits scfile=/scratch/kocevski/901018/ft2_4FGL_J2326.9-4130_daily_bin1091.fits outfile=/scratch/kocevski/901018/cmap_HighResolution_522115201_522374401_4FGL_J2326.9-4130_daily_bin1091.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/901018/ft1_filtered_4FGL_J2326.9-4130_daily_bin1091.fits evtable="EVENTS" scfile=/scratch/kocevski/901018/ft2_4FGL_J2326.9-4130_daily_bin1091.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/901018/Model_4FGL_J2326.9-4130_daily_bin1091.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/901018/ft1_filtered_4FGL_J2326.9-4130_daily_bin1091.fits.....................!
real 35.29
user 34.00
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    74.146       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.0883       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.4174       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.608       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10695E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.9264       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .33614E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.314       1.0000         .10000E-03   10000.    
    12 'Prefactor '    6.4742       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    23.586       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .46639       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    9.4606       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    17.347       1.0000         .10000E-03   10000.    
    23 'norm      '    7.9650       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10677E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10047       1.0000         .10000E-03   10000.    
    26 'norm      '    1.6093       1.0000         .10000E-03   10000.    
    27 'Prefactor '    4.7473       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    6.6604       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    14.981       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .74332       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.0424       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=   4298.556     FROM MIGRAD    STATUS=CONVERGED    888 CALLS     4592 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     74.170        53.275       -.13789E-05   -.22568E-03
   2  Prefactor     2.0985        29.566       -.31432E-06    .36137E-04
   3  Prefactor     3.4333        118.15       -.10978E-05   -.20966E-04
   4  Prefactor     .10000E-03    13.483        .74638E-06** at limit **
   5  Prefactor     10.613        7.6052        .14704E-06    .33561E-04
   6  Prefactor     .10000E-03    3.9532        .75855E-06** at limit **
   7  Prefactor     .10001E-03    49.715       -.32270E-05** at limit **
   8  Prefactor     8.9286        8.5238       -.81162E-06    .31424E-03
   9  Prefactor     .10000E-03    9.2571        .11840E-07** at limit **
  10  Prefactor     .10003E-03    138.70       -.29087E-04** at limit **
  11  Prefactor     16.316        17.117        .14238E-06    .40612E-04
  12  Prefactor     6.4644        8.6026       -.23186E-06    .56428E-04
  13  Prefactor     .10000E-03    30.975        .20377E-05** at limit **
  14  Prefactor     23.590        50.484       -.41112E-06   -.51423E-05
  15  Prefactor     .43273        26.272        .85473E-05   -.17792E-03
  16  norm          .10000E-03    4.3152       -.14749E-07** at limit **
  17  norm          .10000E-03    2.2511        .52060E-07** at limit **
  18  norm          .10000E-03    1.7132       -.10616E-07** at limit **
  19  norm          .10000E-03    4.0923       -.34252E-06** at limit **
  20  Prefactor     9.4596        8.0655       -.38727E-06   -.53654E-04
  21  Prefactor     .10000E-03    37.603        .21795E-05** at limit **
  22  Prefactor     17.381        54.783       -.36609E-05   -.14507E-03
  23  norm          7.9667        5.5075        .23751E-06    .14239E-04
  24  Prefactor     .10000E-03    25.500       -.10855E-05** at limit **
  25  norm          .10081        1.5693        .99641E-06    .41581E-03
  26  norm          1.6104        4.2358       -.34811E-06   -.17931E-04
  27  Prefactor     4.7490        4.1344       -.45806E-07    .44343E-04
  28  Prefactor     .10000E-03    12.479       -.44408E-06** at limit **
  29  Prefactor     6.6661        8.4985        .31138E-06    .10194E-03
  30  Prefactor     .10000E-03    1.4838        .39340E-07** at limit **
  31  Prefactor     14.990        53.976       -.83593E-06   -.32884E-04
  32  Normalizat    .74309        .22070       -.30059E-05   -.20981E-03
  33  Prefactor     1.0421        .21668        .23479E-05    .12066E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 74.1696
  Prefactor  = 2.09847
  Prefactor  = 3.43334
  Prefactor  = 0.0001
  Prefactor  = 10.6126
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  Prefactor  = 8.92864
  Prefactor  = 0.0001
  Prefactor  = 0.000100028
  Prefactor  = 16.3156
  Prefactor  = 6.46442
  Prefactor  = 0.000100003
  Prefactor  = 23.5897
  Prefactor  = 0.432726
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 9.45959
  Prefactor  = 0.000100004
  Prefactor  = 17.3811
  norm       = 7.96673
  Prefactor  = 0.000100001
  norm       = 0.100812
  norm       = 1.61041
  Prefactor  = 4.749
  Prefactor  = 0.0001
  Prefactor  = 6.66613
  Prefactor  = 0.0001
  Prefactor  = 14.9904
  Normalizat = 0.743093
  Prefactor  = 1.04214
 **********
 **   18 **HESSE 
 **********

 FCN=   4298.556     FROM HESSE     STATUS=OK           699 CALLS     5291 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     74.170        53.613        .23314E-03   -1.3983    
   2  Prefactor     2.0985        29.310        .28569E-03   -1.5418    
   3  Prefactor     3.4333        116.65        .21883E-03   -1.5337    
   4  Prefactor     .10000E-03    13.534        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     10.613        7.6137        .12301E-03   -1.5056    
   6  Prefactor     .10000E-03    4.1295        .25535E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10001E-03    50.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.9286        8.5682        .67077E-03   -1.5110    
   9  Prefactor     .10000E-03    9.2655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10003E-03    159.42        .61764E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.316        17.145        .99162E-04   -1.4900    
  12  Prefactor     6.4644        8.5757        .15773E-03   -1.5199    
  13  Prefactor     .10000E-03    31.264        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     23.590        50.482        .82480E-04   -1.4736    
  15  Prefactor     .43273        174.79        .43093E-02   -1.5576    
  16  norm          .10000E-03    4.3166        .13302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    2.2514        .96065E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.7133        .83802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.1020        .12951E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.4596        7.9141        .13029E-03   -1.5093    
  21  Prefactor     .10000E-03    37.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     17.381        55.232        .96162E-04   -1.4874    
  23  norm          7.9667        5.4703        .11519E-03   -1.5143    
  24  Prefactor     .10000E-03    25.884        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10081        3.3112        .13139E-02   -1.5644    
  26  norm          1.6104        4.1623        .19978E-03   -1.5454    
  27  Prefactor     4.7490        4.0951        .11483E-03   -1.5272    
  28  Prefactor     .10000E-03    12.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     6.6661        8.4881        .15549E-03   -1.5192    
  30  Prefactor     .10000E-03    1.4961        .77963E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     14.990        53.912        .10348E-03   -1.4933    
  32  Normalizat    .74309        .25684        .24638E-03   -1.0222    
  33  Prefactor     1.0421        .25758        .23432E-03   -.91338    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.7576e-09
Minuit parameter uncertainties:
  1  53.6483
  2  15.6941
  3  40.1095
  4  0.000152646
  5  7.61444
  6  7.17341e-05
  7  0.00131022
  8  8.56934
  9  2.71112e-06
  10  0.00421203
  11  17.1504
  12  8.57735
  13  0.000641593
  14  50.5738
  15  17.4433
  16  4.16256e-06
  17  3.97292e-06
  18  1.07362e-06
  19  2.12241e-05
  20  7.91496
  21  0.000748676
  22  55.3948
  23  5.47061
  24  0.000360807
  25  1.15503
  26  4.16307
  27  4.09536
  28  8.19732e-05
  29  8.48959
  30  8.65308e-07
  31  54.0876
  32  0.257255
  33  0.257891
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  7.487e-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.042e+00  2.579e-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.431e-01  2.573e-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.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/901018/likelihoodResults_522115201_522374401_4FGL_J2326.9-4130_daily_bin1091.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) = 4298.55603002
delta logL = -0.000125458261209

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4298.55590497
delta logL = -4.08993400924e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .34394E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.7812       1.0000          .0000       10.000    
     3 'Normalizat'    .74309       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0421       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=   4298.556     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      243 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .97814E-01    .91082E-01** at limit **
   2  Index         3.7820        5.4979        .50000       -.30173E-05
   3  Normalizat    .74310        .59923E-03    .42863E-01    .22154E-03
   4  Prefactor     1.0421        .66839E-03    .40393E-01    .14720E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.782
  Normalizat = 0.7431
  Prefactor  = 1.04213
 **********
 **   18 **HESSE 
 **********

 FCN=   4298.556     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      278 TOTAL
                     EDM=   .38E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    187.54        .29941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.7820        6.0562        .50000       -.24608    
   3  Normalizat    .74310        .62451E-02    .24639E-03   -1.0222    
   4  Prefactor     1.0421        .69685E-02    .23432E-03   -.91338    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.75739e-08
Minuit parameter uncertainties:
  1  0.00055987
  2  307.037
  3  0.00624513
  4  0.00696848
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/901018': 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) = 4298.55590374
delta logL = 8.15196472104e-07

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  5.599e-04  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.782e+00  3.070e+02  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.042e+00  6.968e-03  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.431e-01  6.245e-03  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/901018/cmap_HighResolution_522115201_522374401_4FGL_J2326.9-4130_daily_bin1091.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.22e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-29 19:36:43.712797', job_id='901018', GAL2='1.04', fit_tolerance='1e-08', EG2='0.74', EG='0.74', time_epoch_completed='1632969403.71', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='8.15e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1091' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:36:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0204>
Subject: Job 901018: <4FGL_J2326.9-4130_daily_bin1091> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1091 351.737 -41.5089 522115201 522374401 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 :                                   741.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.82 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   963 sec.
    Turnaround time :                            966 sec.

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

