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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1456
RA = 351.737, Dec = -41.5089
tmin = 616723201, tmax = 616982401
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='902827', job_status='RUN', time_executed='2021-09-29 19:27:11.521479', time_epoch_executed='1632968831.52' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902827

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902827/ft1_4FGL_J2326.9-4130_daily_bin1456.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902827/ft2_4FGL_J2326.9-4130_daily_bin1456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902827/ft1_4FGL_J2326.9-4130_daily_bin1456.fits outfile=/scratch/kocevski/902827/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1456.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=616723201.0 tmax=616982401.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.09
user 2.86
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/902827/ft2_4FGL_J2326.9-4130_daily_bin1456.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/902827/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1456.fits evtable="EVENTS" outfile="/scratch/kocevski/902827/ft1_filtered_4FGL_J2326.9-4130_daily_bin1456.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902827/ft1_filtered_4FGL_J2326.9-4130_daily_bin1456.fits" evtable="EVENTS" scfile=/scratch/kocevski/902827/ft2_4FGL_J2326.9-4130_daily_bin1456.fits sctable="SC_DATA" outfile=/scratch/kocevski/902827/ltcube_616723201_616982401_4FGL_J2326.9-4130_daily_bin1456.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/902827/ft2_4FGL_J2326.9-4130_daily_bin1456.fits
.....................!
real 12.52
user 12.17
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902827/ft1_filtered_4FGL_J2326.9-4130_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/902827/ft2_4FGL_J2326.9-4130_daily_bin1456.fits sctable="SC_DATA" expcube=/scratch/kocevski/902827/ltcube_616723201_616982401_4FGL_J2326.9-4130_daily_bin1456.fits outfile=/scratch/kocevski/902827/expmap_616723201_616982401_4FGL_J2326.9-4130_daily_bin1456.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/902827/ltcube_616723201_616982401_4FGL_J2326.9-4130_daily_bin1456.fits
.....................!
real 191.20
user 185.94
sys 4.93

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/902827/ft1_filtered_4FGL_J2326.9-4130_daily_bin1456.fits scfile=/scratch/kocevski/902827/ft2_4FGL_J2326.9-4130_daily_bin1456.fits outfile=/scratch/kocevski/902827/cmap_616723201_616982401_4FGL_J2326.9-4130_daily_bin1456.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902827/ft1_filtered_4FGL_J2326.9-4130_daily_bin1456.fits scfile=/scratch/kocevski/902827/ft2_4FGL_J2326.9-4130_daily_bin1456.fits outfile=/scratch/kocevski/902827/cmap_HighResolution_616723201_616982401_4FGL_J2326.9-4130_daily_bin1456.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902827/ft1_filtered_4FGL_J2326.9-4130_daily_bin1456.fits evtable="EVENTS" scfile=/scratch/kocevski/902827/ft2_4FGL_J2326.9-4130_daily_bin1456.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902827/Model_4FGL_J2326.9-4130_daily_bin1456.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/902827/ft1_filtered_4FGL_J2326.9-4130_daily_bin1456.fits.....................!
real 30.36
user 28.98
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    16.660       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10198E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    7.5360       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    17.651       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    185.07       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10062E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.045       1.0000         .10000E-03   10000.    
    12 'Prefactor '    16.229       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.4824       1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.330       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    70.083       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.0482       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .83999       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=   3277.134     FROM MIGRAD    STATUS=CONVERGED    856 CALLS     4486 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.188        .25656E-06** at limit **
   2  Prefactor     16.662        25.624        .51612E-06    .64297E-05
   3  Prefactor     .10000E-03    36.092       -.10505E-06** at limit **
   4  Prefactor     .10000E-03    12.579       -.30580E-06** at limit **
   5  Prefactor     7.5385        6.6792        .18717E-06    .79420E-05
   6  Prefactor     .10003E-03    53.308       -.11122E-04** at limit **
   7  Prefactor     17.483        159.59        .37429E-04   -.27370E-04
   8  Prefactor     .10000E-03    10.621        .35920E-07** at limit **
   9  Prefactor     185.07        97.912        .36544E-06    .22276E-05
  10  Prefactor     .10000E-03    52.424       -.22136E-05** at limit **
  11  Prefactor     13.046        21.331        .78312E-08    .11799E-05
  12  Prefactor     16.219        21.421       -.80945E-06    .39905E-04
  13  Prefactor     .10000E-03    25.489        .42591E-06** at limit **
  14  Prefactor     .10000E-03    25.679        .49609E-06** at limit **
  15  Prefactor     .10000E-03    8.3851        .28436E-06** at limit **
  16  norm          .10000E-03    8.9114       -.52716E-06** at limit **
  17  norm          .10000E-03    4.3817       -.90561E-08** at limit **
  18  norm          .10000E-03    3.4043        .60093E-07** at limit **
  19  norm          1.4808        12.690        .13054E-04   -.51799E-04
  20  Prefactor     37.325        12.930        .19034E-06    .55199E-04
  21  Prefactor     .10000E-03    22.390       -.56018E-06** at limit **
  22  Prefactor     .10000E-03    35.459        .27363E-06** at limit **
  23  norm          .10000E-03    3.1716        .11678E-06** at limit **
  24  Prefactor     .10000E-03    37.142       -.39716E-06** at limit **
  25  norm          .10000E-03    .68401       -.75358E-08** at limit **
  26  norm          .10000E-03    1.3993        .22174E-07** at limit **
  27  Prefactor     .10000E-03    2.2306       -.59954E-08** at limit **
  28  Prefactor     .10000E-03    11.088        .30924E-06** at limit **
  29  Prefactor     .10000E-03    2.6796       -.13530E-07** at limit **
  30  Prefactor     .10000E-03    3.3339       -.33717E-07** at limit **
  31  Prefactor     70.077        60.175        .79757E-06   -.62952E-05
  32  Normalizat    1.0475        .23355       -.10092E-05    .66721E-04
  33  Prefactor     .84075        .25742       -.87129E-06    .39373E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 16.6621
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.53848
  Prefactor  = 0.000100034
  Prefactor  = 17.4833
  Prefactor  = 0.0001
  Prefactor  = 185.067
  Prefactor  = 0.000100001
  Prefactor  = 13.0464
  Prefactor  = 16.2185
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.48084
  Prefactor  = 37.3252
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 70.0769
  Normalizat = 1.04751
  Prefactor  = 0.840749
 **********
 **   18 **HESSE 
 **********

 FCN=   3277.134     FROM HESSE     STATUS=OK           677 CALLS     5163 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.213        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     16.662        25.608        .98125E-04   -1.4891    
   3  Prefactor     .10000E-03    36.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     7.5385        6.6943        .13339E-03   -1.5159    
   6  Prefactor     .10003E-03    56.738        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     17.483        159.94        .95331E-04   -1.4871    
   8  Prefactor     .10000E-03    10.627        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     185.07        97.900        .14839E-03   -1.2979    
  10  Prefactor     .10000E-03    52.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.046        21.328        .11090E-03   -1.4985    
  12  Prefactor     16.219        21.379        .99420E-04   -1.4902    
  13  Prefactor     .10000E-03    25.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    25.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    8.3920        .16191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    8.9259        .16691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    4.3887        .11701E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.4142        .10315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.4808        12.748        .17622E-02   -1.5465    
  20  Prefactor     37.325        12.878        .65597E-04   -1.4485    
  21  Prefactor     .10000E-03    22.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    35.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    3.2136        .99518E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    37.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .70344        .92306E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.4011        .66131E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    2.2578        .83450E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    11.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.6877        .91493E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    3.3652        .10191E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     70.077        60.219        .47950E-04   -1.4032    
  32  Normalizat    1.0475        .27419        .22545E-03   -.91455    
  33  Prefactor     .84075        .30168        .27571E-03   -.98243    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.91172e-10
Minuit parameter uncertainties:
  1  2.06411e-06
  2  25.6252
  3  1.57979e-05
  4  7.90203e-06
  5  6.69492
  6  0.00278933
  7  106.138
  8  1.94008e-05
  9  97.9861
  10  0.000351691
  11  21.3406
  12  21.3889
  13  1.48347e-05
  14  1.62929e-05
  15  4.41415e-06
  16  1.05115e-05
  17  3.07238e-07
  18  5.08292e-07
  19  8.69193
  20  12.8785
  21  2.12245e-05
  22  2.66533e-06
  23  1.43458e-06
  24  6.16546e-06
  25  5.54463e-07
  26  3.45886e-07
  27  1.76048e-06
  28  3.28412e-06
  29  6.94707e-07
  30  3.78077e-06
  31  60.2712
  32  0.27456
  33  0.302279
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  2.122e-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:  8.407e-01  3.023e-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.048e+00  2.746e-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.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902827/likelihoodResults_616723201_616982401_4FGL_J2326.9-4130_daily_bin1456.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) = 3277.13395614
delta logL = -0.000212368124721

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3277.13374665
delta logL = -2.87513103103e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10608E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.4875       1.0000          .0000       10.000    
     3 'Normalizat'    1.0475       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84075       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=   3277.134     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      268 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .12101E-03    11.519        .18142E-01** at limit **
   2  Index         3.1274        8.3305        .50000        .19664E-04
   3  Normalizat    1.0475        .47465E-02    .22545E-03    .23081E-03
   4  Prefactor     .84076        .52843E-02    .27571E-03    .36636E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000121009
  Index      = 3.12736
  Normalizat = 1.04751
  Prefactor  = 0.840756
 **********
 **   18 **HESSE 
 **********

 FCN=   3277.134     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      297 TOTAL
                     EDM=   .75E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .12101E-03    214.13        .21963E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1274        6.3931        .50000       -.38389    
   3  Normalizat    1.0475        .20679E-01    .45090E-04   -.91456    
   4  Prefactor     .84076        .23022E-01    .55142E-04   -.98243    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.50898e-08
Minuit parameter uncertainties:
  1  0.134628
  2  968.493
  3  0.0206794
  4  0.0230223
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902827': 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) = 3277.13374541
delta logL = -1.64165203387e-06

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.210e-04  1.346e-01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.127e+00  9.685e+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:  8.408e-01  2.302e-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:  1.048e+00  2.068e-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/902827/cmap_HighResolution_616723201_616982401_4FGL_J2326.9-4130_daily_bin1456.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.25e-03', job_status='DONE', photon_flux_upper_limit='1.04e-07', time_completed='2021-09-29 19:39:06.798350', job_id='902827', GAL2='0.84', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1632969546.8', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.84', dlogl='-1.64e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1456' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:39:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0110>
Subject: Job 902827: <4FGL_J2326.9-4130_daily_bin1456> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1456 351.737 -41.5089 616723201 616982401 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 :                                   634.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            801 sec.

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

