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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1584
RA = 351.737, Dec = -41.5089
tmin = 649900801, tmax = 650160001
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='904654', job_status='RUN', time_executed='2021-09-29 19:30:59.789181', time_epoch_executed='1632969059.79' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1584'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904654

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904654/ft1_4FGL_J2326.9-4130_daily_bin1584.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904654/ft2_4FGL_J2326.9-4130_daily_bin1584.fits


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

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

Done.
real 5.08
user 4.82
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904654/ft1_filtered_4FGL_J2326.9-4130_daily_bin1584.fits" evtable="EVENTS" scfile=/scratch/kocevski/904654/ft2_4FGL_J2326.9-4130_daily_bin1584.fits sctable="SC_DATA" outfile=/scratch/kocevski/904654/ltcube_649900801_650160001_4FGL_J2326.9-4130_daily_bin1584.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/904654/ft2_4FGL_J2326.9-4130_daily_bin1584.fits
.....................!
real 11.89
user 11.52
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904654/ft1_filtered_4FGL_J2326.9-4130_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/904654/ft2_4FGL_J2326.9-4130_daily_bin1584.fits sctable="SC_DATA" expcube=/scratch/kocevski/904654/ltcube_649900801_650160001_4FGL_J2326.9-4130_daily_bin1584.fits outfile=/scratch/kocevski/904654/expmap_649900801_650160001_4FGL_J2326.9-4130_daily_bin1584.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/904654/ltcube_649900801_650160001_4FGL_J2326.9-4130_daily_bin1584.fits
.....................!
real 192.90
user 187.16
sys 5.38

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/904654/ft1_filtered_4FGL_J2326.9-4130_daily_bin1584.fits scfile=/scratch/kocevski/904654/ft2_4FGL_J2326.9-4130_daily_bin1584.fits outfile=/scratch/kocevski/904654/cmap_649900801_650160001_4FGL_J2326.9-4130_daily_bin1584.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.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/904654/ft1_filtered_4FGL_J2326.9-4130_daily_bin1584.fits evtable="EVENTS" scfile=/scratch/kocevski/904654/ft2_4FGL_J2326.9-4130_daily_bin1584.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904654/Model_4FGL_J2326.9-4130_daily_bin1584.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/904654/ft1_filtered_4FGL_J2326.9-4130_daily_bin1584.fits.....................!
real 37.00
user 35.72
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.865       1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.238       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.915       1.0000         .10000E-03   10000.    
     5 'Prefactor '    28.168       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .34852E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.347       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.1994       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    44.351       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    19.410       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.0783       1.0000         .10000E-03   10000.    
    16 'norm      '    1.1917       1.0000         .10000E-03   10000.    
    17 'norm      '    .10032E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10713E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    10.630       1.0000         .10000E-03   10000.    
    22 'Prefactor '    91.519       1.0000         .10000E-03   10000.    
    23 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    47.383       1.0000         .10000E-03   10000.    
    25 'norm      '    .10899E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .70051E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    93.011       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .61628       1.0000         .10000E-01   10.000    
    33 'Prefactor '    1.2176       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=   4653.227     FROM MIGRAD    STATUS=CONVERGED    870 CALLS     4557 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.853        53.907        .16698E-05   -.23357E-05
   2  Prefactor     22.229        20.051        .55509E-06    .24574E-04
   3  Prefactor     .10000E-03    32.443        .35092E-06** at limit **
   4  Prefactor     13.903        26.062        .15391E-05   -.38409E-05
   5  Prefactor     28.171        11.391       -.14266E-06    .87435E-05
   6  Prefactor     .10000E-03    1.9451       -.71323E-07** at limit **
   7  Prefactor     10.345        35.894        .48281E-06    .60234E-06
   8  Prefactor     4.2046        6.8807        .16808E-05    .28396E-04
   9  Prefactor     .10000E-03    18.712        .52094E-06** at limit **
  10  Prefactor     .10000E-03    8.2988       -.98501E-07** at limit **
  11  Prefactor     44.357        22.441       -.22489E-06    .58856E-05
  12  Prefactor     .10000E-03    3.7750       -.13805E-06** at limit **
  13  Prefactor     19.409        31.834       -.86525E-07    .28608E-05
  14  Prefactor     .10000E-03    30.909       -.56406E-06** at limit **
  15  Prefactor     8.0733        13.813       -.25323E-07    .56486E-04
  16  norm          1.1841        24.130        .46758E-06    .45006E-07
  17  norm          .10000E-03    4.4609       -.65899E-07** at limit **
  18  norm          .10000E-03    1.9147        .54359E-07** at limit **
  19  norm          .10000E-03    3.7096        .10795E-06** at limit **
  20  Prefactor     .10000E-03    6.3150       -.11041E-06** at limit **
  21  Prefactor     10.638        20.606       -.65956E-06    .12184E-05
  22  Prefactor     91.539        62.119       -.15287E-05    .74547E-05
  23  norm          .10000E-03    2.3105        .14841E-06** at limit **
  24  Prefactor     47.373        19.456        .36045E-06    .13677E-03
  25  norm          .10000E-03    .79427       -.19451E-06** at limit **
  26  norm          .10000E-03    1.9544        .14670E-07** at limit **
  27  Prefactor     .10000E-03    2.3313       -.22878E-06** at limit **
  28  Prefactor     .10000E-03    19.983       -.40763E-06** at limit **
  29  Prefactor     .10000E-03    2.4647        .14865E-06** at limit **
  30  Prefactor     .10000E-03    1.7914       -.95335E-07** at limit **
  31  Prefactor     93.046        72.618       -.29655E-05    .81739E-05
  32  Normalizat    .61562        .20323       -.12195E-05    .10159E-03
  33  Prefactor     1.2182        .21529        .97777E-06    .81954E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.8531
  Prefactor  = 22.2294
  Prefactor  = 0.0001
  Prefactor  = 13.9033
  Prefactor  = 28.1712
  Prefactor  = 0.000100004
  Prefactor  = 10.3446
  Prefactor  = 4.20461
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 44.3574
  Prefactor  = 0.0001
  Prefactor  = 19.4085
  Prefactor  = 0.0001
  Prefactor  = 8.07327
  norm       = 1.18412
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.6378
  Prefactor  = 91.539
  norm       = 0.0001
  Prefactor  = 47.3734
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 93.0464
  Normalizat = 0.615618
  Prefactor  = 1.21817
 **********
 **   18 **HESSE 
 **********

 FCN=   4653.227     FROM HESSE     STATUS=OK           693 CALLS     5250 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.853        53.784        .62705E-04   -1.4429    
   2  Prefactor     22.229        20.027        .84939E-04   -1.4765    
   3  Prefactor     .10000E-03    32.514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.903        26.040        .10737E-03   -1.4962    
   5  Prefactor     28.171        11.398        .75486E-04   -1.4646    
   6  Prefactor     .10000E-03    29.226        .18108E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.345        35.731        .12456E-03   -1.5065    
   8  Prefactor     4.2046        6.8888        .98329E-03   -1.5298    
   9  Prefactor     .10000E-03    18.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.3052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     44.357        22.443        .60201E-04   -1.4375    
  12  Prefactor     .10000E-03    3.7959        .12941E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     19.409        31.848        .90910E-04   -1.4827    
  14  Prefactor     .10000E-03    30.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.0733        13.667        .14106E-03   -1.5140    
  16  norm          1.1841        24.577        .41708E-03   -1.5490    
  17  norm          .10000E-03    4.4917        .14067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.9156        .92145E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    3.7202        .12832E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.3513        .16692E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     10.638        20.533        .12289E-03   -1.5056    
  22  Prefactor     91.539        62.183        .42006E-04   -1.3792    
  23  norm          .10000E-03    2.3280        .10094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     47.373        19.210        .58251E-04   -1.4330    
  25  norm          .10000E-03    1.1681        .11368E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.9842        .93066E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    11.165        .19517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    20.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    2.4715        .10461E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    1.8059        .89133E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     93.046        72.707        .20835E-03   -1.3776    
  32  Normalizat    .61562        .23644        .28004E-03   -1.0732    
  33  Prefactor     1.2182        .25756        .23195E-03   -.85774    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.04563e-10
Minuit parameter uncertainties:
  1  53.8476
  2  20.0326
  3  1.69477e-05
  4  26.0608
  5  11.3993
  6  0.000677935
  7  35.8051
  8  6.89005
  9  9.66095e-06
  10  1.55264e-06
  11  22.4472
  12  1.4452e-06
  13  31.8757
  14  7.74171e-06
  15  13.6719
  16  10.7938
  17  7.42491e-07
  18  2.11085e-06
  19  4.78967e-06
  20  1.29819e-05
  21  20.5471
  22  62.2271
  23  6.79705e-06
  24  19.2123
  25  1.90263e-06
  26  1.41068e-06
  27  0.000258792
  28  2.94737e-06
  29  9.02374e-06
  30  2.61263e-06
  31  72.7771
  32  0.23683
  33  0.257829
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.064e+01  2.055e+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:  1.218e+00  2.578e-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:  6.156e-01  2.368e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.39
Ra Dec: 351.737 -41.509
Photon Flux Upper Limit: 9.33e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.38e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/904654/likelihoodResults_649900801_650160001_4FGL_J2326.9-4130_daily_bin1584.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) = 4653.164755
delta logL = 0.0626098484317

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4653.16257886
delta logL = 0.064785985981

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    16.671       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2748       1.0000          .0000       10.000    
     3 'Normalizat'    .62114       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2128       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=   4653.163     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      272 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     16.671        1963.4        .24523E-02    .27829E-04
   2  Index         2.2749        7.2694        .24415        .16665E-04
   3  Normalizat    .62111        .95366E-01    .63022E-01    .55688E-04
   4  Prefactor     1.2129        .92726E-01    .52552E-01    .28627E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 16.6712
  Index      = 2.27494
  Normalizat = 0.621108
  Prefactor  = 1.21288
 **********
 **   18 **HESSE 
 **********

 FCN=   4653.163     FROM HESSE     STATUS=OK            33 CALLS      305 TOTAL
                     EDM=   .38E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     16.671        31.035        .98092E-04   -1.4891    
   2  Index         2.2749        1.2513        .15068E-01   -.57640    
   3  Normalizat    .62111        .22210        .27884E-03   -1.0709    
   4  Prefactor     1.2129        .25230        .23234E-03   -.85936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.83956e-10
Minuit parameter uncertainties:
  1  31.0653
  2  1.2707
  3  0.222416
  4  0.252554
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904654': 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) = 4653.16257885
delta logL = 0.0647860023682

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  1.667e+01  3.107e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.275e+00  1.271e+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.213e+00  2.526e-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:  6.211e-01  2.224e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.39
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/904654/cmap_HighResolution_649900801_650160001_4FGL_J2326.9-4130_daily_bin1584.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.38e-03', job_status='DONE', photon_flux_upper_limit='9.33e-08', time_completed='2021-09-29 19:44:14.933005', job_id='904654', GAL2='1.21', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1632969854.93', return_code2='0', ts='0.39', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='6.48e-02', ts2='0.51', photon_index_error='0.00', photon_index='2.78' WHERE bin_id='1584' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:44:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 904654: <4FGL_J2326.9-4130_daily_bin1584> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1584> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:30:27 2021
Job was executed on host(s) <bullet0236>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:30:28 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:30:28 2021
Terminated at Wed Sep 29 19:44:15 2021
Results reported at Wed Sep 29 19:44:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1584 351.737 -41.5089 649900801 650160001 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 :                                   784.48 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             290.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   827 sec.
    Turnaround time :                            828 sec.

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

