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


Performing analysis on: 4FGL_J2326.9-4130_daily_bin1627
RA = 351.737, Dec = -41.5089
tmin = 661046401, tmax = 661305601
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='252704', job_status='RUN', time_executed='2021-12-16 00:40:39.995514', time_epoch_executed='1639644040.0' WHERE source_name='4FGL J2326.9-4130' and cadence='daily' and bin_id='1627'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/252704

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/252704/ft1_4FGL_J2326.9-4130_daily_bin1627.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/252704/ft2_4FGL_J2326.9-4130_daily_bin1627.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/252704/ft1_4FGL_J2326.9-4130_daily_bin1627.fits outfile=/scratch/kocevski/252704/ft1_filteredMKT_4FGL_J2326.9-4130_daily_bin1627.fits ra=351.737 dec=-41.5089 rad=12.0 tmin=661046401.0 tmax=661305601.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.55
user 3.33
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/252704/ft1_filtered_4FGL_J2326.9-4130_daily_bin1627.fits" evtable="EVENTS" scfile=/scratch/kocevski/252704/ft2_4FGL_J2326.9-4130_daily_bin1627.fits sctable="SC_DATA" outfile=/scratch/kocevski/252704/ltcube_661046401_661305601_4FGL_J2326.9-4130_daily_bin1627.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/252704/ft2_4FGL_J2326.9-4130_daily_bin1627.fits
.....................!
real 12.17
user 11.81
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/252704/ft1_filtered_4FGL_J2326.9-4130_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/252704/ft2_4FGL_J2326.9-4130_daily_bin1627.fits sctable="SC_DATA" expcube=/scratch/kocevski/252704/ltcube_661046401_661305601_4FGL_J2326.9-4130_daily_bin1627.fits outfile=/scratch/kocevski/252704/expmap_661046401_661305601_4FGL_J2326.9-4130_daily_bin1627.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/252704/ltcube_661046401_661305601_4FGL_J2326.9-4130_daily_bin1627.fits
.....................!
real 191.10
user 185.74
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/252704/ft1_filtered_4FGL_J2326.9-4130_daily_bin1627.fits scfile=/scratch/kocevski/252704/ft2_4FGL_J2326.9-4130_daily_bin1627.fits outfile=/scratch/kocevski/252704/cmap_661046401_661305601_4FGL_J2326.9-4130_daily_bin1627.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/252704/ft1_filtered_4FGL_J2326.9-4130_daily_bin1627.fits scfile=/scratch/kocevski/252704/ft2_4FGL_J2326.9-4130_daily_bin1627.fits outfile=/scratch/kocevski/252704/cmap_HighResolution_661046401_661305601_4FGL_J2326.9-4130_daily_bin1627.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/252704/ft1_filtered_4FGL_J2326.9-4130_daily_bin1627.fits evtable="EVENTS" scfile=/scratch/kocevski/252704/ft2_4FGL_J2326.9-4130_daily_bin1627.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/252704/Model_4FGL_J2326.9-4130_daily_bin1627.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/252704/ft1_filtered_4FGL_J2326.9-4130_daily_bin1627.fits.....................!
real 38.43
user 37.18
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.7287       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .28433E-02   1.0000         .10000E-03   10000.    
     5 'Prefactor '    4.3743       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11646E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.9500       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .17362E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.595       1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.758       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    59.710       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.060       1.0000         .10000E-03   10000.    
    16 'norm      '    1.3090       1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    3.3703       1.0000         .10000E-03   10000.    
    19 'norm      '    19.051       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    27.273       1.0000         .10000E-03   10000.    
    22 'Prefactor '    9.8631       1.0000         .10000E-03   10000.    
    23 'norm      '    3.1492       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .63596       1.0000         .10000E-03   10000.    
    26 'norm      '    7.8459       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    26.168       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .59583E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10294E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    81.098       1.0000         .10000E-03   10000.    
    32 'Normalizat'    .93738       1.0000         .10000E-01   10.000    
    33 'Prefactor '    .72568       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5081.714     FROM MIGRAD    STATUS=CONVERGED   1629 CALLS     5433 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.057        .18142E-02** at limit **
   2  Prefactor     .10000E-03    5.1056        .15728E-02** at limit **
   3  Prefactor     5.7549        48.774        .16782E-03   -.96198E-05
   4  Prefactor     .10115E-03    54.984        .10168    ** at limit **
   5  Prefactor     4.3451        9.7019        .19258E-03    .29270E-03
   6  Prefactor     .10000E-03    2.0343        .19567E-03** at limit **
   7  Prefactor     .10002E-03    84.707        .18142E-02** at limit **
   8  Prefactor     4.9504        6.2224        .18077E-03    .39810E-04
   9  Prefactor     .10000E-03    72.786        .36285E-03** at limit **
  10  Prefactor     17.612        24.921        .95482E-04    .28100E-04
  11  Prefactor     12.761        16.287        .11214E-03    .60420E-04
  12  Prefactor     .10000E-03    7.9029        .36285E-03** at limit **
  13  Prefactor     59.711        45.788        .51922E-04    .45105E-05
  14  Prefactor     .10000E-03    22.369        .18142E-02** at limit **
  15  Prefactor     14.060        12.525        .10682E-03   -.16731E-03
  16  norm          1.3080        6.8609        .36627E-03   -.29180E-03
  17  norm          .10000E-03    2.0043        .98500E-03** at limit **
  18  norm          3.3702        3.9258        .14389E-03    .95602E-05
  19  norm          19.048        10.267        .91764E-04    .22176E-04
  20  Prefactor     .10000E-03    1.6097        .88228E-03** at limit **
  21  Prefactor     27.284        31.693        .76711E-04   -.13634E-04
  22  Prefactor     9.8611        36.842        .12759E-03    .15325E-04
  23  norm          3.1485        3.5847        .12695E-03   -.32239E-04
  24  Prefactor     .10000E-03    4.3473        .14497E-02** at limit **
  25  norm          .63667        .88765        .82515E-03    .16630E-02
  26  norm          7.8450        4.0993        .99061E-04   -.12831E-03
  27  Prefactor     .10000E-03    4.0619        .20636E-02** at limit **
  28  Prefactor     26.214        18.966        .78311E-04   -.59666E-04
  29  Prefactor     .10026E-03    26.482        .24744E-02** at limit **
  30  Prefactor     .10000E-03    2.1373        .19940E-03** at limit **
  31  Prefactor     81.054        62.349        .22300E-03   -.15014E-03
  32  Normalizat    .93733        .21448        .21314E-03   -.47845E-04
  33  Prefactor     .72580        .21965        .26568E-03    .25371E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.75488
  Prefactor  = 0.000101148
  Prefactor  = 4.34509
  Prefactor  = 0.0001
  Prefactor  = 0.000100022
  Prefactor  = 4.95045
  Prefactor  = 0.0001
  Prefactor  = 17.6124
  Prefactor  = 12.7606
  Prefactor  = 0.0001
  Prefactor  = 59.7106
  Prefactor  = 0.0001
  Prefactor  = 14.0605
  norm       = 1.30799
  norm       = 0.0001
  norm       = 3.3702
  norm       = 19.0485
  Prefactor  = 0.0001
  Prefactor  = 27.2836
  Prefactor  = 9.86115
  norm       = 3.14853
  Prefactor  = 0.0001
  norm       = 0.636666
  norm       = 7.84499
  Prefactor  = 0.0001
  Prefactor  = 26.2138
  Prefactor  = 0.000100258
  Prefactor  = 0.0001
  Prefactor  = 81.0537
  Normalizat = 0.937334
  Prefactor  = 0.725803
 **********
 **   18 **HESSE 
 **********

 FCN=   5081.714     FROM HESSE     STATUS=OK           673 CALLS     6106 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.058        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.1057        .31456E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.7549        48.780        .67126E-05   -1.5228    
   4  Prefactor     .10115E-03    50.293        .10689       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     4.3451        9.6373        .77030E-05   -1.5291    
   6  Prefactor     .10000E-03    2.0343        .39133E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10002E-03    84.733        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.9504        6.2222        .72307E-05   -1.5263    
   9  Prefactor     .10000E-03    72.789        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.612        24.919        .38193E-05   -1.4868    
  11  Prefactor     12.761        16.288        .44858E-05   -1.4993    
  12  Prefactor     .10000E-03    7.9033        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     59.711        45.788        .10384E-04   -1.4161    
  14  Prefactor     .10000E-03    22.370        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.060        12.521        .42727E-05   -1.4958    
  16  norm          1.3080        6.8605        .14651E-04   -1.5479    
  17  norm          .10000E-03    2.0043        .19700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.3702        3.9257        .57556E-05   -1.5341    
  19  norm          19.048        10.267        .36706E-05   -1.4835    
  20  Prefactor     .10000E-03    1.6097        .17646E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     27.284        31.691        .30684E-05   -1.4663    
  22  Prefactor     9.8611        36.846        .51038E-05   -1.5080    
  23  norm          3.1485        3.5842        .50779E-05   -1.5353    
  24  Prefactor     .10000E-03    4.3476        .28993E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .63667        .88664        .33006E-04   -1.5548    
  26  norm          7.8450        4.0993        .39624E-05   -1.5148    
  27  Prefactor     .10000E-03    4.0709        .41272E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     26.214        18.961        .31325E-05   -1.4684    
  29  Prefactor     .10026E-03    26.722        .49489E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    2.1373        .39879E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     81.054        62.310        .89199E-05   -1.3905    
  32  Normalizat    .93733        .21468        .85256E-05   -.95160    
  33  Prefactor     .72580        .21990        .10627E-04   -1.0252    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14709e-08
Minuit parameter uncertainties:
  1  4.71851e-05
  2  8.23778e-07
  3  33.5461
  4  0.0152117
  5  9.64075
  6  1.66514e-05
  7  0.00271015
  8  6.22301
  9  0.0001823
  10  24.9338
  11  16.2935
  12  3.67762e-05
  13  45.8151
  14  7.56491e-05
  15  12.5234
  16  5.992
  17  2.35327e-06
  18  3.92599
  19  10.2679
  20  6.82038e-06
  21  31.7101
  22  36.9311
  23  3.58443
  24  1.9219e-05
  25  0.886663
  26  4.09942
  27  3.25617e-05
  28  18.9651
  29  0.0052511
  30  1.34006e-05
  31  62.3608
  32  0.214879
  33  0.22016
Done.

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

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.728e+01  3.171e+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:  7.258e-01  2.202e-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:  9.373e-01  2.149e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.21
Ra Dec: 351.737 -41.509
Photon Index (Fixed Index): 2.78 +/- 0.00
Photon Flux (Fixed Index): 3.57e-08 +/- 4.15e-08
Energy Flux (Fixed Index): 8.12e-06 +/- 9.44e-06

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

Saving results to:
/scratch/kocevski/252704/likelihoodResults_661046401_661305601_4FGL_J2326.9-4130_daily_bin1627.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) = 5081.71309816
delta logL = 0.000480597212118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5081.71259058
delta logL = 0.00098817021717

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.491       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7312       1.0000          .0000       10.000    
     3 'Normalizat'    .93862       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72507       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5081.713     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      248 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.523        43.088        .75058E-04   -.13683E-03
   2  Index         2.7310        1.0925        .79194E-02   -.39432E-04
   3  Normalizat    .93843        .19672        .21303E-03   -.56568E-05
   4  Prefactor     .72489        .21675        .26582E-03   -.16893E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.5228
  Index      = 2.73097
  Normalizat = 0.938429
  Prefactor  = 0.72489
 **********
 **   18 **HESSE 
 **********

 FCN=   5081.713     FROM HESSE     STATUS=OK            25 CALLS      273 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.523        40.127        .15012E-04   -1.4639    
   2  Index         2.7310        1.0178        .31678E-03   -.47103    
   3  Normalizat    .93843        .19676        .85212E-05   -.95123    
   4  Prefactor     .72489        .21680        .10633E-04   -1.0256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.49776e-11
Minuit parameter uncertainties:
  1  40.1647
  2  1.02684
  3  0.196907
  4  0.217058
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/252704': 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) = 5081.71258313
delta logL = 0.000995627693555

Extracting fit parameters...

4FGL J2326.9-4130
   Spectrum: PowerLaw
435    Prefactor:  2.852e+01  4.016e+01  1.000e-04  1.000e+04 ( 1.000e-13)
436        Index:  2.731e+00  1.027e+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:  7.249e-01  2.171e-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:  9.384e-01  1.969e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.23
Ra Dec: 351.737 -41.509
Photon Index (Free Index): 2.73 +/- 1.03
Photon Flux (Free Index): 3.50e-08 +/- 3.97e-08
Energy Flux (Free Index): 8.23e-06 +/- 8.87e-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/252704/cmap_HighResolution_661046401_661305601_4FGL_J2326.9-4130_daily_bin1627.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.21e-03', comment='SUCCESS', photon_flux='3.57e-08', energy_flux2='8.23e-06', photon_flux_error='4.15e-08', dlogl='9.96e-04', energy_flux='8.12e-06', photon_flux2='3.50e-08', job_status='DONE', time_completed='2021-12-16 00:55:30.892252', photon_index_error2='1.03', photon_index2='2.73', ts='1.21', fit_tolerance='1e-08', GAL='0.73', photon_index_error='0.00', photon_flux_upper_limit='1.16e-07', energy_flux_error2='8.87e-06', EG='0.94', time_epoch_completed='1639644930.89', return_code='0', job_id='252704', GAL2='0.72', EG2='0.94', return_code2='0', energy_flux_error='9.44e-06', photon_flux_error2='3.97e-08', ts2='1.23', photon_index='2.78' WHERE bin_id='1627' AND source_name='4FGL J2326.9-4130' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec 16 00:55:30 PST 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0302>
Subject: Job 252704: <4FGL_J2326.9-4130_daily_bin1627> in cluster <slac> Done

Job <4FGL_J2326.9-4130_daily_bin1627> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Thu Dec 16 00:40:13 2021
Job was executed on host(s) <bullet0302>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec 16 00:40:15 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec 16 00:40:15 2021
Terminated at Thu Dec 16 00:55:31 2021
Results reported at Thu Dec 16 00:55:31 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2326.9-4130_daily_bin1627 351.737 -41.5089 661046401 661305601 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 :                                   893.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

