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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1225
RA = 351.737, Dec = -41.5089
tmin = 556848001, tmax = 557107201
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='902463', job_status='RUN', time_executed='2021-09-29 19:29:23.222432', time_epoch_executed='1632968963.22' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1225'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/902463

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/902463/ft1_4FGL_J2326.9-4130_daily_bin1225.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/902463/ft2_4FGL_J2326.9-4130_daily_bin1225.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/902463/ft1_4FGL_J2326.9-4130_daily_bin1225.fits outfile=/scratch/kocevski/902463/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1225.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=556848001.0 tmax=557107201.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.62
user 3.38
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/902463/ft1_filtered_4FGL_J2326.9-4130_daily_bin1225.fits" evtable="EVENTS" scfile=/scratch/kocevski/902463/ft2_4FGL_J2326.9-4130_daily_bin1225.fits sctable="SC_DATA" outfile=/scratch/kocevski/902463/ltcube_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.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/902463/ft2_4FGL_J2326.9-4130_daily_bin1225.fits
.....................!
real 12.67
user 12.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/902463/ft1_filtered_4FGL_J2326.9-4130_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/902463/ft2_4FGL_J2326.9-4130_daily_bin1225.fits sctable="SC_DATA" expcube=/scratch/kocevski/902463/ltcube_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.fits outfile=/scratch/kocevski/902463/expmap_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.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/902463/ltcube_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.fits
.....................!
real 191.08
user 185.67
sys 5.03

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/902463/ft1_filtered_4FGL_J2326.9-4130_daily_bin1225.fits scfile=/scratch/kocevski/902463/ft2_4FGL_J2326.9-4130_daily_bin1225.fits outfile=/scratch/kocevski/902463/cmap_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/902463/ft1_filtered_4FGL_J2326.9-4130_daily_bin1225.fits scfile=/scratch/kocevski/902463/ft2_4FGL_J2326.9-4130_daily_bin1225.fits outfile=/scratch/kocevski/902463/cmap_HighResolution_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/902463/ft1_filtered_4FGL_J2326.9-4130_daily_bin1225.fits evtable="EVENTS" scfile=/scratch/kocevski/902463/ft2_4FGL_J2326.9-4130_daily_bin1225.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/902463/Model_4FGL_J2326.9-4130_daily_bin1225.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/902463/ft1_filtered_4FGL_J2326.9-4130_daily_bin1225.fits.!
real 13.39
user 12.14
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/902463/ft1_filtered_4FGL_J2326.9-4130_daily_bin1225.fits', '/scratch/kocevski/902463/ft2_4FGL_J2326.9-4130_daily_bin1225.fits', expMap='/scratch/kocevski/902463/expmap_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.fits', expCube='/scratch/kocevski/902463/ltcube_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/902463/Model_4FGL_J2326.9-4130_daily_bin1225.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/902463/ft1_filtered_4FGL_J2326.9-4130_daily_bin1225.fits
Spacecraft file(s): /scratch/kocevski/902463/ft2_4FGL_J2326.9-4130_daily_bin1225.fits
Exposure map: /scratch/kocevski/902463/expmap_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.fits
Exposure cube: /scratch/kocevski/902463/ltcube_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/902463/Model_4FGL_J2326.9-4130_daily_bin1225.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 12.023995659

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 11.7133657487

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.6491       1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.6354       1.0000         .10000E-03   10000.    
     3 'Prefactor '    6.6531       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .12890E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.786       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10976E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0989       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15603       1.0000         .10000E-03   10000.    
     9 'Prefactor '    8.9095       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.7682       1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.2114       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3284       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.4736       1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.8139       1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.6288       1.0000         .10000E-03   10000.    
    16 'norm      '    2.1813       1.0000         .10000E-03   10000.    
    17 'norm      '    1.1737       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4592       1.0000         .10000E-03   10000.    
    19 'norm      '    7.2773       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.4645       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2501       1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.1265       1.0000         .10000E-03   10000.    
    23 'norm      '    5.6181       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.5517       1.0000         .10000E-03   10000.    
    25 'norm      '    9.3033       1.0000         .10000E-03   10000.    
    26 'norm      '    3.0118       1.0000         .10000E-03   10000.    
    27 'Prefactor '    3.0565       1.0000         .10000E-03   10000.    
    28 'Prefactor '    2.4766       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .18692E-02   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .96548E-02   1.0000         .10000E-03   10000.    
    31 'Prefactor '    5.8287       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    33 'Prefactor '    .11572E-07   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8.136259     FROM MIGRAD    STATUS=CONVERGED    300 CALLS      495 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    372.19       -.62380E-04** at limit **
   2  Prefactor     .10000E-03    353.69        .64809E-04** at limit **
   3  Prefactor     .10003E-03    423.01       -.39561E-04** at limit **
   4  Prefactor     .10000E-03    49.535       -.12290E-04** at limit **
   5  Prefactor     .10000E-03    10.495       -.95038E-05** at limit **
   6  Prefactor     .10001E-03    95.657        .28586E-04** at limit **
   7  Prefactor     .10002E-03    6942.4       -.14474E-03** at limit **
   8  Prefactor     .10000E-03    77.176        .10023E-04** at limit **
   9  Prefactor     8.9095        6764.2         .0000         .0000    
  10  Prefactor     5.7682        6793.7         .0000         .0000    
  11  Prefactor     4.2114        6811.3         .0000         .0000    
  12  Prefactor    10000.0        9407.3       -.37500E-03** at limit **
  13  Prefactor     .10001E-03    1010.7       -.54376E-05** at limit **
  14  Prefactor     6.8139        6783.2         .0000         .0000    
  15  Prefactor    10000.0        9927.4        .15038E-03** at limit **
  16  norm         10000.0        8142.9       -.28444E-02** at limit **
  17  norm         10000.0        8144.7       -.63505E-02** at limit **
  18  norm         10000.0        9217.7        .17484E-02** at limit **
  19  norm         10000.0        9989.8        .24158E-02** at limit **
  20  Prefactor    10000.0        6871.7       -.69359E-03** at limit **
  21  Prefactor    10000.0        7153.7       -.19623E-03** at limit **
  22  Prefactor    10000.0        8970.5        .45643E-02** at limit **
  23  norm         10000.0        9890.5        .52561E-03** at limit **
  24  Prefactor    10000.0        6301.9        .12370E-02** at limit **
  25  norm         10000.0        8463.3        .30554E-03** at limit **
  26  norm          .10019E-03    6956.5       -.18441E-03** at limit **
  27  Prefactor     .10004E-03    1587.4        .28569E-04** at limit **
  28  Prefactor     .10005E-03    7372.7        .30207E-03** at limit **
  29  Prefactor     .10000E-03    65.624       -.68460E-05** at limit **
  30  Prefactor     .10000E-03    116.98        .94714E-05** at limit **
  31  Prefactor     .10001E-03    400.70       -.22128E-04** at limit **
  32  Normalizat    .10000E-01    .15966        .14250E-04** at limit **
  33  Prefactor     .92548E-11    .18791       -.38487E-04** at limit **
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100019
  Prefactor  = 0.000100005
  Prefactor  = 0.000100033
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.000100024
  Prefactor  = 0.000100001
  Prefactor  = 8.90951
  Prefactor  = 5.76823
  Prefactor  = 4.21144
  Prefactor  = 10000
  Prefactor  = 0.000100007
  Prefactor  = 6.81391
  Prefactor  = 10000
  norm       = 10000
  norm       = 10000
  norm       = 10000
  norm       = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  Prefactor  = 10000
  norm       = 10000
  Prefactor  = 10000
  norm       = 10000
  norm       = 0.000100185
  Prefactor  = 0.000100041
  Prefactor  = 0.000100049
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100012
  Normalizat = 0.01
  Prefactor  = 9.25482e-12
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   8.136259     FROM HESSE     STATUS=FAILED        43 CALLS      538 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    364.93        .46663E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    330.54        .42305E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10003E-03    408.35        .38893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    48.691        .90699E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.345        .25201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10001E-03    94.178        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    6932.3        .49781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    76.273        .97751E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     498.40        489.47         .0000       -1.5111    
  10  Prefactor     5.7682        1.0038         .0000       -1.5228    
  11  Prefactor     4.2114        1.0072         .0000       -1.5298    
  12  Prefactor    10000.0        .22703       -.37500E-03   -4.7123    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10001E-03    .38877E-01   -.54376E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.8139        1.0027         .0000       -1.5186    
  15  Prefactor    10000.0        .70280E-01    .15038E-03   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm         10000.0        .12139       -.28444E-02   -4.7125    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm         10000.0        .27967       -.63505E-02   -4.7127    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm         10000.0        .19830        .17484E-02   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm         10000.0        .34543E-01    .24158E-02   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor    10000.0        .73757E-01   -.69359E-03   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor    10000.0        .34673E-01   -.19623E-03   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor    10000.0        .35280E-01    .45643E-02   -4.7125    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm         10000.0        .44883E-01    .52561E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor    10000.0        .71870E-01    .12370E-02   -4.7124    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm         10000.0        .26975E-01    .30554E-03    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10019E-03    .85457E-01   -.18441E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10004E-03    .84136E-01    .28569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10005E-03    .10546        .30207E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    .25727       -.68460E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    .20572        .94714E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10001E-03    .43237E-01   -.22128E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Normalizat    .10000E-01    .25756        .14250E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     .92548E-11    .25504       -.38487E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.9774e-10
Minuit parameter uncertainties:
  1  0.00528495
  2  0.00248949
  3  0.00736292
  4  0.000306176
  5  9.39028e-05
  6  0.00147466
  7  0.0205905
  8  0.000539186
  9  1.00158
  10  1.00381
  11  1.00723
  12  0.00188528
  13  3.31519e-05
  14  1.00272
  15  0.000515915
  16  0.00222574
  17  0.0159422
  18  0.000701311
  19  0.000379191
  20  0.00135912
  21  0.000236434
  22  0.00124699
  23  0.000574214
  24  0.00071581
  25  6.10528e-05
  26  0.000251709
  27  0.000117939
  28  0.00014326
  29  1.08858e-05
  30  1.36793e-05
  31  4.53652e-05
  32  3.72933e-07
  33  3.08592e-06
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 8.13625877188

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e+04  2.364e-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:  9.255e-12  3.086e-06  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.000e-02  3.729e-07  1.000e-02  1.000e+01 ( 1.000e+00)

calc_int error: parameter max 10000.0 is not large enough
delta logLike = 3.32997309727e-08

TS (Fixed Index): 0.07
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: -1.00e+00 ph cm-2 s-1
Energy Flux Upper Limit: -7.91e+04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/902463/likelihoodResults_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.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): 0
logL (Free Index) = 0.154775826096
delta logL = 7.98148294579

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 0.154659634729
delta logL = 7.98159913716

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Index     '    10.000       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=   .1546596     FROM MIGRAD    STATUS=CONVERGED     11 CALLS       55 TOTAL
                     EDM=   .62E-17    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1    Index       10.000        .31529        .63834E-02** at limit **
                               ERR DEF=  .500    
Final values: 
  Index      = 10
 **********
 **   18 **HESSE 
 **********

 FCN=   .1546596     FROM HESSE     STATUS=OK             5 CALLS       60 TOTAL
                     EDM=   .62E-17    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1    Index       10.000        .31529        .63834E-02    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.21491e-18
Minuit parameter uncertainties:
  1  1.5888e-09
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/902463': 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) = 0.154659634729
delta logL = 7.98159913716

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.000e+04  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13) fixed
436        Index:  1.000e+01  1.589e-09  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:  4.057e-10  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
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.000e-02  0.000e+00  1.000e-02  1.000e+01 ( 1.000e+00) fixed


TS (Free Index): 16.04
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 3.80e+00 +/- 1.08e-08
Energy Flux (Free Index): 4.25e+02 +/- 1.21e-06

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/902463/cmap_HighResolution_556848001_557107201_4FGL_J2326.9-4130_daily_bin1225.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='-7.91e+04', comment='SUCCESS', energy_flux2='4.25e+02', dlogl='7.98e+00', photon_flux2='3.80e+00', job_status='DONE', time_completed='2021-09-29 19:34:50.809838', photon_index_error2='0.00', photon_index2='10.00', ts='0.07', fit_tolerance='1e-08', GAL='0.00', photon_index_error='0.00', photon_flux_upper_limit='-1.00e+00', energy_flux_error2='1.21e-06', EG='0.01', time_epoch_completed='1632969290.81', return_code='101', job_id='902463', GAL2='0.00', EG2='0.01', return_code2='0', photon_flux_error2='1.08e-08', ts2='16.04', photon_index='2.78' WHERE bin_id='1225' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:34:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 902463: <4FGL_J2326.9-4130_daily_bin1225> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1225> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:25:13 2021
Job was executed on host(s) <bullet0084>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:25:15 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:15 2021
Terminated at Wed Sep 29 19:34:51 2021
Results reported at Wed Sep 29 19:34:51 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1225 351.737 -41.5089 556848001 557107201 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 :                                   324.28 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             348.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   576 sec.
    Turnaround time :                            578 sec.

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

