/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 88 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 = 7425
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1210
RA = 351.737, Dec = -41.5089
tmin = 552960001, tmax = 553219201
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='901224', job_status='RUN', time_executed='2021-09-29 19:22:40.945640', time_epoch_executed='1632968560.95' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1210'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/901224

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/901224/ft1_4FGL_J2326.9-4130_daily_bin1210.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/901224/ft2_4FGL_J2326.9-4130_daily_bin1210.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/901224/ft1_4FGL_J2326.9-4130_daily_bin1210.fits outfile=/scratch/kocevski/901224/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1210.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=552960001.0 tmax=553219201.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 2.80
user 2.61
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/901224/ft1_filtered_4FGL_J2326.9-4130_daily_bin1210.fits" evtable="EVENTS" scfile=/scratch/kocevski/901224/ft2_4FGL_J2326.9-4130_daily_bin1210.fits sctable="SC_DATA" outfile=/scratch/kocevski/901224/ltcube_552960001_553219201_4FGL_J2326.9-4130_daily_bin1210.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/901224/ft2_4FGL_J2326.9-4130_daily_bin1210.fits
.....................!
real 12.05
user 11.69
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/901224/ft1_filtered_4FGL_J2326.9-4130_daily_bin1210.fits evtable="EVENTS" scfile=/scratch/kocevski/901224/ft2_4FGL_J2326.9-4130_daily_bin1210.fits sctable="SC_DATA" expcube=/scratch/kocevski/901224/ltcube_552960001_553219201_4FGL_J2326.9-4130_daily_bin1210.fits outfile=/scratch/kocevski/901224/expmap_552960001_553219201_4FGL_J2326.9-4130_daily_bin1210.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/901224/ltcube_552960001_553219201_4FGL_J2326.9-4130_daily_bin1210.fits
.....................!
real 192.43
user 187.08
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/901224/ft1_filtered_4FGL_J2326.9-4130_daily_bin1210.fits scfile=/scratch/kocevski/901224/ft2_4FGL_J2326.9-4130_daily_bin1210.fits outfile=/scratch/kocevski/901224/cmap_552960001_553219201_4FGL_J2326.9-4130_daily_bin1210.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/901224/ft1_filtered_4FGL_J2326.9-4130_daily_bin1210.fits scfile=/scratch/kocevski/901224/ft2_4FGL_J2326.9-4130_daily_bin1210.fits outfile=/scratch/kocevski/901224/cmap_HighResolution_552960001_553219201_4FGL_J2326.9-4130_daily_bin1210.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.710       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.6104       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10093E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.3897       1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.069       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8091       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.788       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5049       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    31.943       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    18.020       1.0000         .10000E-03   10000.    
    17 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.6502       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5693       1.0000         .10000E-03   10000.    
    21 'Prefactor '    4.3447       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.6227       1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.5617       1.0000         .10000E-03   10000.    
    25 'norm      '    .81661       1.0000         .10000E-03   10000.    
    26 'norm      '    1.8058       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10354E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    6.7132       1.0000         .10000E-03   10000.    
    30 'Prefactor '    3.3215       1.0000         .10000E-03   10000.    
    31 'Prefactor '    17.277       1.0000         .10000E-03   10000.    
    32 'Normalizat'    1.2192       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .54432       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=   4792.209     FROM MIGRAD    STATUS=CONVERGED    924 CALLS     4622 TOTAL
                     EDM=   .28E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.698        54.839        .10694E-05   -.48834E-05
   2  Prefactor     9.6027        26.581       -.12776E-05   -.19161E-05
   3  Prefactor     .10000E-03    77.357        .17848E-05** at limit **
   4  Prefactor     .10000E-03    44.634        .11629E-06** at limit **
   5  Prefactor     1.3880        5.1513        .34913E-06   -.45031E-05
   6  Prefactor     16.067        8.4147       -.54974E-07    .28073E-04
   7  Prefactor     .10000E-03    88.554       -.56057E-06** at limit **
   8  Prefactor     .10000E-03    2.5092        .87363E-08** at limit **
   9  Prefactor     7.8126        20.494       -.10051E-06   -.12441E-05
  10  Prefactor     .10000E-03    34.059       -.33330E-06** at limit **
  11  Prefactor     33.792        20.992       -.92397E-07   -.37136E-05
  12  Prefactor     1.5058        13.389        .67777E-07    .66664E-05
  13  Prefactor     .10000E-03    16.503        .69585E-08** at limit **
  14  Prefactor     31.709        82.638        .79532E-05   -.13133E-04
  15  Prefactor     .10000E-03    6.8027        .23491E-08** at limit **
  16  norm          18.019        13.824        .67600E-07    .32527E-05
  17  norm          .10000E-03    6.2515        .14477E-07** at limit **
  18  norm          3.6498        3.6566        .10583E-06    .44578E-04
  19  norm          .10000E-03    2.6349       -.26424E-07** at limit **
  20  Prefactor     6.5685        6.3102       -.37960E-07    .12680E-05
  21  Prefactor     4.2935        87.880       -.12061E-04   -.10033E-04
  22  Prefactor     .10000E-03    42.472        .85629E-06** at limit **
  23  norm          5.6230        5.4370        .94930E-06    .12029E-03
  24  Prefactor     3.5603        13.494        .51079E-06    .73701E-05
  25  norm          .81586        .95571        .32211E-07    .55963E-04
  26  norm          1.8052        2.9619        .26320E-06    .89926E-04
  27  Prefactor     .10000E-03    1.3098        .82351E-08** at limit **
  28  Prefactor     .10000E-03    53.643       -.12033E-05** at limit **
  29  Prefactor     6.7106        7.4740        .18494E-06   -.10460E-04
  30  Prefactor     3.3205        5.6392        .16365E-05   -.24304E-05
  31  Prefactor     17.275        44.629        .41211E-06   -.21462E-05
  32  Normalizat    1.2193        .21145       -.19310E-05    .75192E-04
  33  Prefactor     .54433        .21005        .21328E-05    .45612E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.6985
  Prefactor  = 9.60267
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.38805
  Prefactor  = 16.0674
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.81264
  Prefactor  = 0.0001
  Prefactor  = 33.7917
  Prefactor  = 1.50577
  Prefactor  = 0.0001
  Prefactor  = 31.709
  Prefactor  = 0.0001
  norm       = 18.0194
  norm       = 0.0001
  norm       = 3.6498
  norm       = 0.0001
  Prefactor  = 6.56849
  Prefactor  = 4.29347
  Prefactor  = 0.0001
  norm       = 5.62302
  Prefactor  = 3.56035
  norm       = 0.815858
  norm       = 1.80521
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.71061
  Prefactor  = 3.32046
  Prefactor  = 17.2749
  Normalizat = 1.21932
  Prefactor  = 0.544326
 **********
 **   18 **HESSE 
 **********

 FCN=   4792.209     FROM HESSE     STATUS=OK           703 CALLS     5325 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.698        54.873        .69018E-04   -1.4546    
   2  Prefactor     9.6027        26.676        .12927E-03   -1.5088    
   3  Prefactor     .10000E-03    78.131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    44.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.3880        5.1120        .28611E-03   -1.5472    
   6  Prefactor     16.067        8.4063        .99912E-04   -1.4906    
   7  Prefactor     .10000E-03    88.675        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.5110        .10709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     7.8126        20.481        .14349E-03   -1.5149    
  10  Prefactor     .10000E-03    34.249        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.792        21.006        .68939E-04   -1.4545    
  12  Prefactor     1.5058        13.303        .34889E-03   -1.5463    
  13  Prefactor     .10000E-03    16.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     31.709        82.119        .70896E-04   -1.4581    
  15  Prefactor     .10000E-03    6.8424        .17631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          18.019        13.824        .94350E-04   -1.4859    
  17  norm          .10000E-03    6.3109        .16858E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.6498        3.6626        .12826E-03   -1.5326    
  19  norm          .10000E-03    2.6376        .10974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.5685        6.2481        .14444E-03   -1.5195    
  21  Prefactor     4.2935        88.615        .19325E-03   -1.5294    
  22  Prefactor     .10000E-03    42.564        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.6230        5.3967        .12919E-03   -1.5234    
  24  Prefactor     3.5603        13.307        .21415E-03   -1.5331    
  25  norm          .81586        .90194        .68829E-03   -1.5527    
  26  norm          1.8052        2.9264        .14496E-03   -1.5439    
  27  Prefactor     .10000E-03    1.3278        .77323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    55.135        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     6.7106        7.4812        .15487E-03   -1.5190    
  30  Prefactor     3.3205        5.6619        .87949E-03   -1.5344    
  31  Prefactor     17.275        44.536        .96357E-04   -1.4876    
  32  Normalizat    1.2193        .23800        .20410E-03   -.86008    
  33  Prefactor     .54433        .23535        .31801E-03   -1.0998    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.34786e-10
Minuit parameter uncertainties:
  1  54.9554
  2  26.7095
  3  0.000144053
  4  2.05469e-05
  5  5.11365
  6  8.40688
  7  7.71109e-05
  8  7.77485e-07
  9  20.4994
  10  1.51969e-06
  11  21.0102
  12  8.95371
  13  5.20336e-07
  14  82.4143
  15  1.99109e-07
  16  13.8263
  17  4.37691e-06
  18  3.66285
  19  3.01398e-07
  20  6.24872
  21  39.0769
  22  2.24164e-05
  23  5.39717
  24  13.3181
  25  0.901954
  26  2.92659
  27  3.63748e-07
  28  7.70375e-05
  29  7.48223
  30  5.6628
  31  44.622
  32  0.238214
  33  0.235776
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  4.293e+00  3.908e+01  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:  5.443e-01  2.358e-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.219e+00  2.382e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 1.14e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/901224/likelihoodResults_552960001_553219201_4FGL_J2326.9-4130_daily_bin1210.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) = 4792.18882265
delta logL = 0.0198204101043

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4792.18811891
delta logL = 0.0205241454196

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.7095       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4474       1.0000          .0000       10.000    
     3 'Normalizat'    1.2103       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55008       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=   4792.188     FROM MIGRAD    STATUS=CONVERGED     65 CALLS      306 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.7556        198.25        .52419E-02    .17519E-03
   2  Index         3.4465        1.4973        .50000        .20190E-04
   3  Normalizat    1.2106        .16132E-01    .34644E-01    .87391E-04
   4  Prefactor     .54993        .17500E-01    .71485E-01    .22538E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.75561
  Index      = 3.44647
  Normalizat = 1.21056
  Prefactor  = 0.549934
 **********
 **   18 **HESSE 
 **********

 FCN=   4792.188     FROM HESSE     STATUS=OK            31 CALLS      337 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.7556        47.873        .20967E-03   -1.5320    
   2  Index         3.4465        3.6317        .59862E-02   -.31593    
   3  Normalizat    1.2106        .22103        .20471E-03   -.86277    
   4  Prefactor     .54993        .23288        .31646E-03   -1.0974    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.53431e-11
Minuit parameter uncertainties:
  1  26.8435
  2  4.13349
  3  0.221201
  4  0.233291
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/901224': 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) = 4792.18811155
delta logL = 0.0205315111416

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  3.756e+00  2.684e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  3.446e+00  4.133e+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:  5.499e-01  2.333e-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.211e+00  2.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/901224/cmap_HighResolution_552960001_553219201_4FGL_J2326.9-4130_daily_bin1210.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.00e-03', job_status='DONE', photon_flux_upper_limit='1.14e-07', time_completed='2021-09-29 19:36:45.799017', job_id='901224', GAL2='0.55', fit_tolerance='1e-08', EG2='1.21', EG='1.22', time_epoch_completed='1632969405.8', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='2.05e-02', ts2='0.06', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1210' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:36:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0041>
Subject: Job 901224: <4FGL_J2326.9-4130_daily_bin1210> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1210> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:20:56 2021
Job was executed on host(s) <bullet0041>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:20:57 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 19:20:57 2021
Terminated at Wed Sep 29 19:36:46 2021
Results reported at Wed Sep 29 19:36:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1210 351.737 -41.5089 552960001 553219201 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 :                                   801.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             250.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   949 sec.
    Turnaround time :                            950 sec.

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

