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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin808
RA = 351.737, Dec = -41.5089
tmin = 448761601, tmax = 449020801
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='899357', job_status='RUN', time_executed='2021-09-29 19:18:26.211575', time_epoch_executed='1632968306.21' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='808'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/899357

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/899357/ft1_4FGL_J2326.9-4130_daily_bin808.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/899357/ft2_4FGL_J2326.9-4130_daily_bin808.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/899357/ft1_4FGL_J2326.9-4130_daily_bin808.fits outfile=/scratch/kocevski/899357/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin808.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=448761601.0 tmax=449020801.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 5.75
user 5.45
sys 0.25

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/899357/ft2_4FGL_J2326.9-4130_daily_bin808.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/899357/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin808.fits evtable="EVENTS" outfile="/scratch/kocevski/899357/ft1_filtered_4FGL_J2326.9-4130_daily_bin808.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/899357/ft1_filtered_4FGL_J2326.9-4130_daily_bin808.fits" evtable="EVENTS" scfile=/scratch/kocevski/899357/ft2_4FGL_J2326.9-4130_daily_bin808.fits sctable="SC_DATA" outfile=/scratch/kocevski/899357/ltcube_448761601_449020801_4FGL_J2326.9-4130_daily_bin808.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/899357/ft2_4FGL_J2326.9-4130_daily_bin808.fits
.....................!
real 11.65
user 11.29
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/899357/ft1_filtered_4FGL_J2326.9-4130_daily_bin808.fits evtable="EVENTS" scfile=/scratch/kocevski/899357/ft2_4FGL_J2326.9-4130_daily_bin808.fits sctable="SC_DATA" expcube=/scratch/kocevski/899357/ltcube_448761601_449020801_4FGL_J2326.9-4130_daily_bin808.fits outfile=/scratch/kocevski/899357/expmap_448761601_449020801_4FGL_J2326.9-4130_daily_bin808.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/899357/ltcube_448761601_449020801_4FGL_J2326.9-4130_daily_bin808.fits
.....................!
real 190.38
user 185.21
sys 4.77

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/899357/ft1_filtered_4FGL_J2326.9-4130_daily_bin808.fits scfile=/scratch/kocevski/899357/ft2_4FGL_J2326.9-4130_daily_bin808.fits outfile=/scratch/kocevski/899357/cmap_448761601_449020801_4FGL_J2326.9-4130_daily_bin808.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/899357/ft1_filtered_4FGL_J2326.9-4130_daily_bin808.fits scfile=/scratch/kocevski/899357/ft2_4FGL_J2326.9-4130_daily_bin808.fits outfile=/scratch/kocevski/899357/cmap_HighResolution_448761601_449020801_4FGL_J2326.9-4130_daily_bin808.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.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/899357/ft1_filtered_4FGL_J2326.9-4130_daily_bin808.fits evtable="EVENTS" scfile=/scratch/kocevski/899357/ft2_4FGL_J2326.9-4130_daily_bin808.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/899357/Model_4FGL_J2326.9-4130_daily_bin808.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/899357/ft1_filtered_4FGL_J2326.9-4130_daily_bin808.fits.....................!
real 32.61
user 30.92
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10251E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.5494       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10165E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12400E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.803       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.4208       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    62.442       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.777       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.0745       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.8007       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .55319       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .74656E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    15.772       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11488E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10110E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    134.83       1.0000         .10000E-03   10000.    
    23 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    26.208       1.0000         .10000E-03   10000.    
    25 'norm      '    6.0067       1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.1060       1.0000         .10000E-03   10000.    
    29 'Prefactor '    15.974       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10264E-03   1.0000         .10000E-03   10000.    
    32 'Normalizat'    .88572       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .90641       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=   3382.607     FROM MIGRAD    STATUS=CONVERGED   1647 CALLS     5359 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    71.830        .18142E-02** at limit **
   2  Prefactor     9.5239        29.620        .12968E-03    .62243E-05
   3  Prefactor     .10000E-03    98.875        .18142E-02** at limit **
   4  Prefactor     .10000E-03    83.149        .18142E-02** at limit **
   5  Prefactor     27.805        16.445        .75978E-04    .13057E-03
   6  Prefactor     1.4180        4.5810        .20241E-03   -.20431E-03
   7  Prefactor     .10000E-03    13.808        .18142E-02** at limit **
   8  Prefactor     .10000E-03    2.1911        .84016E-03** at limit **
   9  Prefactor     62.432        34.437        .50781E-04    .10090E-03
  10  Prefactor     .10000E-03    18.261        .18142E-02** at limit **
  11  Prefactor     12.774        25.984        .11206E-03    .95209E-04
  12  Prefactor     4.0743        4.1704        .11681E-03   -.10901E-04
  13  Prefactor     7.6738        82.615        .14357E-03    .11324E-04
  14  Prefactor     .10001E-03    121.31        .15983    ** at limit **
  15  Prefactor     .10000E-03    6.8394        .14851E-02** at limit **
  16  norm          .10000E-03    6.3780        .14342E-02** at limit **
  17  norm          .10000E-03    11.427        .56288E-01** at limit **
  18  norm          .10000E-03    2.2218        .84664E-03** at limit **
  19  norm          15.766        15.100        .10085E-03    .74061E-04
  20  Prefactor     .10000E-03    15.235        .36285E-03** at limit **
  21  Prefactor     .10000E-03    24.783        .18142E-02** at limit **
  22  Prefactor     134.83        97.145        .34682E-04    .18684E-04
  23  norm          .10000E-03    2.1489        .83167E-03** at limit **
  24  Prefactor     26.167        27.980        .78251E-04    .51576E-05
  25  norm          6.0064        2.4286        .52204E-04    .21015E-04
  26  norm          .10000E-03    2.4030        .87939E-03** at limit **
  27  Prefactor     .10000E-03    1.9752        .79690E-03** at limit **
  28  Prefactor     3.1064        34.242        .23009E-03   -.32364E-05
  29  Prefactor     15.968        12.997        .10021E-03    .84291E-04
  30  Prefactor     .10000E-03    3.6661        .10832E-02** at limit **
  31  Prefactor     .10000E-03    153.40        .18142E-02** at limit **
  32  Normalizat    .88624        .31428        .25551E-03    .22688E-03
  33  Prefactor     .90614        .31219        .26563E-03    .18655E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.5239
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 27.8049
  Prefactor  = 1.41798
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 62.4322
  Prefactor  = 0.0001
  Prefactor  = 12.7743
  Prefactor  = 4.07428
  Prefactor  = 7.67377
  Prefactor  = 0.000100014
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100001
  norm       = 0.0001
  norm       = 15.766
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 134.832
  norm       = 0.0001
  Prefactor  = 26.1674
  norm       = 6.0064
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.10643
  Prefactor  = 15.9682
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.886236
  Prefactor  = 0.906135
 **********
 **   18 **HESSE 
 **********

 FCN=   3382.607     FROM HESSE     STATUS=OK           681 CALLS     6040 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    71.832        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.5239        29.620        .51873E-05   -1.5091    
   3  Prefactor     .10000E-03    98.905        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    83.152        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     27.805        16.445        .15196E-04   -1.4653    
   6  Prefactor     1.4180        4.5790        .80964E-05   -1.5470    
   7  Prefactor     .10000E-03    13.808        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.1911        .16803E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     62.432        34.436        .10156E-04   -1.4126    
  10  Prefactor     .10000E-03    18.263        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.774        25.985        .44826E-05   -1.4993    
  12  Prefactor     4.0743        4.1704        .46722E-05   -1.5304    
  13  Prefactor     7.6738        82.616        .57428E-05   -1.5154    
  14  Prefactor     .10001E-03    122.91        .15850       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    6.8395        .29703E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    6.3781        .28684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    11.048        .57720E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.2218        .16933E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          15.766        15.100        .40341E-05   -1.4914    
  20  Prefactor     .10000E-03    15.235        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    24.784        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     134.83        97.142        .69365E-05   -1.3380    
  23  norm          .10000E-03    2.1489        .16633E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     26.167        27.980        .31300E-05   -1.4684    
  25  norm          6.0064        2.4286        .20882E-05   -1.5218    
  26  norm          .10000E-03    2.4030        .17588E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    1.9753        .15938E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.1064        34.241        .92036E-05   -1.5355    
  29  Prefactor     15.968        12.996        .40085E-05   -1.4909    
  30  Prefactor     .10000E-03    3.6664        .21664E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    153.41        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .88624        .31458        .51102E-04   -.96945    
  33  Prefactor     .90614        .31251        .53126E-04   -.95927    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60883e-10
Minuit parameter uncertainties:
  1  1.63472e-05
  2  29.6656
  3  0.000226873
  4  0.000372826
  5  16.4473
  6  4.58012
  7  4.21747e-05
  8  2.6664e-05
  9  34.4472
  10  0.000101986
  11  26.0078
  12  4.17066
  13  50.4466
  14  0.00267179
  15  2.22476e-05
  16  2.6577e-06
  17  0.000206716
  18  6.74459e-07
  19  15.1032
  20  0.000101044
  21  1.24707e-05
  22  97.2575
  23  2.51488e-06
  24  27.9939
  25  2.42864
  26  1.60575e-07
  27  9.61565e-06
  28  20.6415
  29  12.9986
  30  1.58981e-05
  31  0.000196625
  32  0.315229
  33  0.313135
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  1.247e-05  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:  9.061e-01  3.131e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.862e-01  3.152e-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.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/899357/likelihoodResults_448761601_449020801_4FGL_J2326.9-4130_daily_bin808.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) = 3382.60725457
delta logL = -0.00019216746341

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3382.60706386
delta logL = -1.46399088408e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10158E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.6417       1.0000          .0000       10.000    
     3 'Normalizat'    .88623       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90614       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=   3382.607     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      270 TOTAL
                     EDM=   .84E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10750E-03    8.1804        .18142E-01** at limit **
   2  Index         3.4368        8.0177        .50000        .11360E-04
   3  Normalizat    .88623        .39363E-02    .25551E-03    .12281E-04
   4  Prefactor     .90614        .41574E-02    .26564E-03   -.57562E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000107496
  Index      = 3.43681
  Normalizat = 0.886235
  Prefactor  = 0.906135
 **********
 **   18 **HESSE 
 **********

 FCN=   3382.607     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      299 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10750E-03    199.08        .23440E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.4368        6.9553        .50000       -.31797    
   3  Normalizat    .88623        .19547E-01    .10220E-04   -.96946    
   4  Prefactor     .90614        .20645E-01    .10626E-04   -.95927    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.74419e-08
Minuit parameter uncertainties:
  1  0.0775174
  2  970.647
  3  0.019547
  4  0.0206449
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/899357': 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) = 3382.60706349
delta logL = -1.08918357e-06

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.075e-04  7.752e-02  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.437e+00  9.706e+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:  9.061e-01  2.064e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.862e-01  1.955e-02  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/899357/cmap_HighResolution_448761601_449020801_4FGL_J2326.9-4130_daily_bin808.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.30e-07', time_completed='2021-09-29 19:29:48.839275', job_id='899357', GAL2='0.91', fit_tolerance='1e-08', EG2='0.89', EG='0.89', time_epoch_completed='1632968988.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='-1.09e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='808' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:29:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 899357: <4FGL_J2326.9-4130_daily_bin808> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin808 351.737 -41.5089 448761601 449020801 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 :                                   680.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   856 sec.
    Turnaround time :                            858 sec.

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

