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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1623
RA = 351.737, Dec = -41.5089
tmin = 660009601, tmax = 660268801
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='501289', job_status='RUN', time_executed='2021-12-08 09:34:14.008552', time_epoch_executed='1638984854.01' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/501289

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/501289/ft1_4FGL_J2326.9-4130_daily_bin1623.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/501289/ft2_4FGL_J2326.9-4130_daily_bin1623.fits


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

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

Done.
real 4.86
user 4.62
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/501289/ft1_filtered_4FGL_J2326.9-4130_daily_bin1623.fits" evtable="EVENTS" scfile=/scratch/kocevski/501289/ft2_4FGL_J2326.9-4130_daily_bin1623.fits sctable="SC_DATA" outfile=/scratch/kocevski/501289/ltcube_660009601_660268801_4FGL_J2326.9-4130_daily_bin1623.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/501289/ft2_4FGL_J2326.9-4130_daily_bin1623.fits
.....................!
real 14.04
user 13.65
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/501289/ft1_filtered_4FGL_J2326.9-4130_daily_bin1623.fits evtable="EVENTS" scfile=/scratch/kocevski/501289/ft2_4FGL_J2326.9-4130_daily_bin1623.fits sctable="SC_DATA" expcube=/scratch/kocevski/501289/ltcube_660009601_660268801_4FGL_J2326.9-4130_daily_bin1623.fits outfile=/scratch/kocevski/501289/expmap_660009601_660268801_4FGL_J2326.9-4130_daily_bin1623.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/501289/ltcube_660009601_660268801_4FGL_J2326.9-4130_daily_bin1623.fits
.....................!
real 193.63
user 187.84
sys 5.26

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/501289/ft1_filtered_4FGL_J2326.9-4130_daily_bin1623.fits scfile=/scratch/kocevski/501289/ft2_4FGL_J2326.9-4130_daily_bin1623.fits outfile=/scratch/kocevski/501289/cmap_660009601_660268801_4FGL_J2326.9-4130_daily_bin1623.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.56
user 0.38
sys 0.16

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/501289/ft1_filtered_4FGL_J2326.9-4130_daily_bin1623.fits evtable="EVENTS" scfile=/scratch/kocevski/501289/ft2_4FGL_J2326.9-4130_daily_bin1623.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/501289/Model_4FGL_J2326.9-4130_daily_bin1623.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/501289/ft1_filtered_4FGL_J2326.9-4130_daily_bin1623.fits.....................!
real 30.82
user 29.47
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2697       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.543       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.9640       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.639       1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.224       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    41.155       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.4310       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10121E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    12.859       1.0000         .10000E-03   10000.    
    17 'norm      '    .58646E-02   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.094       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    8.2607       1.0000         .10000E-03   10000.    
    23 'norm      '    6.2947       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10035E-02   1.0000         .10000E-03   10000.    
    25 'norm      '    .44690       1.0000         .10000E-03   10000.    
    26 'norm      '    .11581E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    28.124       1.0000         .10000E-03   10000.    
    29 'Prefactor '    5.4972       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    35.838       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .39500       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.3125       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=   3443.737     FROM MIGRAD    STATUS=CONVERGED    884 CALLS     4646 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2657        50.981        .42719E-06    .14574E-04
   2  Prefactor     33.532        31.307        .18739E-06    .45782E-04
   3  Prefactor     .10000E-03    19.669       -.31267E-07** at limit **
   4  Prefactor     .10000E-03    19.018        .15832E-07** at limit **
   5  Prefactor     5.9636        6.3389        .35082E-07   -.16005E-04
   6  Prefactor     10.639        5.9543        .32307E-07    .15635E-04
   7  Prefactor     22.233        45.095       -.11505E-06   -.60504E-04
   8  Prefactor     .10000E-03    8.1955        .13614E-06** at limit **
   9  Prefactor     .10000E-03    18.859        .41321E-07** at limit **
  10  Prefactor     .10000E-03    9.2175        .11089E-07** at limit **
  11  Prefactor     41.140        25.188        .15705E-06    .59297E-04
  12  Prefactor     8.4316        9.9184        .89904E-07   -.20890E-04
  13  Prefactor     .10001E-03    78.784       -.71170E-06** at limit **
  14  Prefactor     .10000E-03    39.429        .38979E-06** at limit **
  15  Prefactor     .10000E-03    17.470       -.32123E-06** at limit **
  16  norm          12.857        13.723        .88368E-07   -.26789E-04
  17  norm          .10007E-03    112.87       -.20122E-04** at limit **
  18  norm          .10000E-03    2.0483        .17445E-07** at limit **
  19  norm          .10000E-03    8.8244        .34571E-06** at limit **
  20  Prefactor     10.117        13.745       -.23511E-05   -.43215E-03
  21  Prefactor     .10000E-03    42.781        .29875E-06** at limit **
  22  Prefactor     8.2288        49.240        .18635E-05    .12683E-03
  23  norm          6.2949        5.1069       -.12990E-06   -.65293E-04
  24  Prefactor     .10000E-03    68.400        .13223E-06** at limit **
  25  norm          .44648        1.8580        .14162E-05    .60619E-03
  26  norm          .10000E-03    5.2765        .96752E-06** at limit **
  27  Prefactor     .10000E-03    2.5835       -.11212E-06** at limit **
  28  Prefactor     28.138        28.733       -.12742E-05   -.20774E-03
  29  Prefactor     5.4825        12.030       -.16704E-05    .97227E-04
  30  Prefactor     .10000E-03    3.8191        .28875E-06** at limit **
  31  Prefactor     35.913        107.23        .24368E-05   -.14418E-03
  32  Normalizat    .39508        .23472       -.14379E-06   -.14861E-03
  33  Prefactor     1.3125        .24792       -.56651E-06   -.13085E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.26574
  Prefactor  = 33.5319
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.96357
  Prefactor  = 10.6386
  Prefactor  = 22.2331
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 41.1398
  Prefactor  = 8.43162
  Prefactor  = 0.000100007
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 12.8573
  norm       = 0.000100067
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 10.1169
  Prefactor  = 0.0001
  Prefactor  = 8.22881
  norm       = 6.29491
  Prefactor  = 0.000100001
  norm       = 0.446478
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 28.138
  Prefactor  = 5.48252
  Prefactor  = 0.0001
  Prefactor  = 35.9134
  Normalizat = 0.395085
  Prefactor  = 1.31254
 **********
 **   18 **HESSE 
 **********

 FCN=   3443.737     FROM HESSE     STATUS=OK           691 CALLS     5337 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2657        51.040        .16031E-03   -1.5207    
   2  Prefactor     33.532        31.258        .69189E-04   -1.4549    
   3  Prefactor     .10000E-03    19.679        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     5.9636        6.3384        .14772E-03   -1.5220    
   6  Prefactor     10.639        5.9501        .10186E-03   -1.5056    
   7  Prefactor     22.233        45.150        .84966E-04   -1.4765    
   8  Prefactor     .10000E-03    8.3196        .16401E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.2230        .17402E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     41.140        25.179        .62485E-04   -1.4424    
  12  Prefactor     8.4316        9.9186        .13806E-03   -1.5127    
  13  Prefactor     .10001E-03    79.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    39.477        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    17.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          12.857        13.720        .11170E-03   -1.4991    
  17  norm          .10007E-03    110.18        .37330E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.0488        .82020E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    9.0369        .17024E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.117        12.694        .12612E-03   -1.5072    
  21  Prefactor     .10000E-03    42.890        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     8.2288        49.807        .13949E-03   -1.5134    
  23  norm          6.2949        4.9417        .11069E-03   -1.5206    
  24  Prefactor     .10000E-03    69.314        .41520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .44648        1.8545        .12095E-03   -1.5574    
  26  norm          .10000E-03    9.8965        .25085E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    2.6026        .91752E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     28.138        28.647        .75545E-04   -1.4647    
  29  Prefactor     5.4825        12.173        .85684E-03   -1.5240    
  30  Prefactor     .10000E-03    3.8731        .11182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     35.913        108.61        .66943E-04   -1.4509    
  32  Normalizat    .39508        .26141        .33010E-03   -1.1756    
  33  Prefactor     1.3125        .28282        .21377E-03   -.82935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.48326e-09
Minuit parameter uncertainties:
  1  35.8076
  2  31.2737
  3  9.58926e-05
  4  4.87229e-05
  5  6.33915
  6  5.95038
  7  45.2189
  8  4.61867e-06
  9  3.37057e-05
  10  6.9356e-06
  11  25.1854
  12  9.92052
  13  0.00144292
  14  0.000355063
  15  8.53957e-05
  16  13.7233
  17  0.00543569
  18  1.03943e-06
  19  3.69775e-05
  20  12.697
  21  6.98819e-05
  22  40.5399
  23  4.94199
  24  0.000586859
  25  1.81976
  26  0.000316006
  27  7.09603e-06
  28  28.6608
  29  12.1782
  30  1.08805e-05
  31  109.22
  32  0.262217
  33  0.283152
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  6.988e-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:  1.313e+00  2.832e-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:  3.951e-01  2.622e-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.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.43e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/501289/likelihoodResults_660009601_660268801_4FGL_J2326.9-4130_daily_bin1623.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) = 3443.73662211
delta logL = -0.000110996211788

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3443.7365112
delta logL = -9.11995812203e-08

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 'Index     '    2.7099       1.0000          .0000       10.000    
     3 'Normalizat'    .39509       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3125       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=   3443.737     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      244 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7478.0        .90712E-02** at limit **
   2  Index         2.7329        5.5840        .50000       -.54725E-05
   3  Normalizat    .39509        .79043E-01    .74542E-01    .33220E-04
   4  Prefactor     1.3125        .89464E-01    .48358E-01    .10795E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.73286
  Normalizat = 0.395087
  Prefactor  = 1.31253
 **********
 **   18 **HESSE 
 **********

 FCN=   3443.737     FROM HESSE     STATUS=OK            33 CALLS      277 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    60.064        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.7329        6.3480        .50000       -.47061    
   3  Normalizat    .39509        .24011        .33010E-03   -1.1756    
   4  Prefactor     1.3125        .27432        .21376E-03   -.82935    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.87113e-11
Minuit parameter uncertainties:
  1  7.49306e-05
  2  5.44426
  3  0.24074
  4  0.274618
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/501289': 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): 0
logL (Free Index) = 3443.73651117
delta logL = -5.56933628104e-08

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e-04  7.493e-05  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.733e+00  5.444e+00  0.000e+00  1.000e+01 (-1.000e+00)
437        Scale:  7.113e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  1.313e+00  2.746e-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:  3.951e-01  2.407e-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/501289/cmap_HighResolution_660009601_660268801_4FGL_J2326.9-4130_daily_bin1623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.43e-03', job_status='DONE', photon_flux_upper_limit='1.19e-07', time_completed='2021-12-08 09:45:17.787825', job_id='501289', GAL2='1.31', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1638985517.79', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.31', dlogl='-5.57e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1623' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec  8 09:45:17 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 501289: <4FGL_J2326.9-4130_daily_bin1623> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1623> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Dec  8 09:30:15 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec  8 09:30:45 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec  8 09:30:45 2021
Terminated at Wed Dec  8 09:45:18 2021
Results reported at Wed Dec  8 09:45:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1623 351.737 -41.5089 660009601 660268801 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 :                                   663.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             260.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   873 sec.
    Turnaround time :                            903 sec.

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

