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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin895
RA = 351.883, Dec = -32.9869
tmin = 471312001, tmax = 471571201
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='915990', job_status='RUN', time_executed='2021-09-29 20:09:12.212348', time_epoch_executed='1632971352.21' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='895'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915990

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915990/ft1_4FGL_J2327.5-3259_daily_bin895.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915990/ft1_4FGL_J2327.5-3259_daily_bin895.fits outfile=/scratch/kocevski/915990/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin895.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=471312001.0 tmax=471571201.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.03
user 4.80
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.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/915990/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin895.fits evtable="EVENTS" outfile="/scratch/kocevski/915990/ft1_filtered_4FGL_J2327.5-3259_daily_bin895.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/915990/ft1_filtered_4FGL_J2327.5-3259_daily_bin895.fits" evtable="EVENTS" scfile=/scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits sctable="SC_DATA" outfile=/scratch/kocevski/915990/ltcube_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.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/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits
.....................!
real 11.70
user 11.33
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915990/ft1_filtered_4FGL_J2327.5-3259_daily_bin895.fits evtable="EVENTS" scfile=/scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits sctable="SC_DATA" expcube=/scratch/kocevski/915990/ltcube_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.fits outfile=/scratch/kocevski/915990/expmap_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.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/915990/ltcube_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.fits
.....................!
real 190.88
user 185.48
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 190 point sources and 0 extended sources

Setting source of interest to:
4FGL J2327.5-3259 @ 351.883 -32.9869

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/915990/ft1_filtered_4FGL_J2327.5-3259_daily_bin895.fits scfile=/scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits outfile=/scratch/kocevski/915990/cmap_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.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.883 yref=-32.9869 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915990/ft1_filtered_4FGL_J2327.5-3259_daily_bin895.fits scfile=/scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits outfile=/scratch/kocevski/915990/cmap_HighResolution_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.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.883 yref=-32.9869 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915990/ft1_filtered_4FGL_J2327.5-3259_daily_bin895.fits evtable="EVENTS" scfile=/scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915990/Model_4FGL_J2327.5-3259_daily_bin895.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/915990/ft1_filtered_4FGL_J2327.5-3259_daily_bin895.fits.....................!
real 41.42
user 40.07
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/915990/ft1_filtered_4FGL_J2327.5-3259_daily_bin895.fits', '/scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits', expMap='/scratch/kocevski/915990/expmap_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.fits', expCube='/scratch/kocevski/915990/ltcube_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/915990/Model_4FGL_J2327.5-3259_daily_bin895.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2327.5-3259'

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  7.111e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/915990/ft1_filtered_4FGL_J2327.5-3259_daily_bin895.fits
Spacecraft file(s): /scratch/kocevski/915990/ft2_4FGL_J2327.5-3259_daily_bin895.fits
Exposure map: /scratch/kocevski/915990/expmap_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.fits
Exposure cube: /scratch/kocevski/915990/ltcube_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/915990/Model_4FGL_J2327.5-3259_daily_bin895.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) = 5394.58081815

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    66.332       1.0000         .10000E-03   10000.    
     2 'Prefactor '    2.9844       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11149E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.236       1.0000         .10000E-03   10000.    
     7 'Prefactor '    5.6746       1.0000         .10000E-03   10000.    
     8 'norm      '    1.6078       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10101E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    71.116       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.6254       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    113.30       1.0000         .10000E-03   10000.    
    18 'norm      '    8.9562       1.0000         .10000E-03   10000.    
    19 'norm      '    .62068       1.0000         .10000E-03   10000.    
    20 'Prefactor '    24.651       1.0000         .10000E-03   10000.    
    21 'norm      '    4.4659       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .58121       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3663       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5394.533     FROM MIGRAD    STATUS=CONVERGED    665 CALLS     3317 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     66.325        51.939       -.63184E-05    .20125E-04
   2  Prefactor     2.9838        3.3635       -.10531E-05    .26368E-04
   3  Prefactor     .10000E-03    16.375       -.44824E-05** at limit **
   4  Prefactor     .10000E-03    8.0768       -.92302E-06** at limit **
   5  Prefactor     .10000E-03    79.291        .80627E-04** at limit **
   6  Prefactor     34.236        14.542        .74953E-06    .63825E-05
   7  Prefactor     5.6751        7.7838       -.45807E-06   -.33913E-03
   8  norm          1.6076        2.1253       -.38831E-06   -.44608E-05
   9  Prefactor     .10000E-03    5.3714        .14421E-06** at limit **
  10  Prefactor     .10000E-03    3.9823        .16873E-06** at limit **
  11  norm          .10000E-03    .26418       -.28826E-06** at limit **
  12  Prefactor     71.008        67.889       -.98175E-04   -.68476E-04
  13  Prefactor     .10000E-03    3.7952       -.43482E-06** at limit **
  14  norm          .10000E-03    2.1264        .11262E-07** at limit **
  15  norm          6.6258        6.5229        .33376E-06    .93356E-04
  16  Prefactor     .10000E-03    9.3660        .12762E-05** at limit **
  17  Prefactor     113.30        56.574       -.55107E-05    .64558E-04
  18  norm          8.9557        4.1659       -.25278E-06    .34385E-04
  19  norm          .62507        3.2627       -.33567E-05   -.51647E-04
  20  Prefactor     24.646        24.576       -.88082E-06    .28062E-03
  21  norm          4.4649        4.2124       -.94193E-06   -.24547E-03
  22  Prefactor     .10000E-03    127.08       -.63794E-04** at limit **
  23  Prefactor     .10000E-03    21.259        .69942E-05** at limit **
  24  Prefactor     .10000E-03    4.4668       -.77825E-06** at limit **
  25  Prefactor     .10000E-03    48.403       -.30076E-04** at limit **
  26  Normalizat    .58137        .18744        .12087E-04    .17351E-03
  27  Prefactor     1.3661        .20104        .26914E-05    .35113E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 66.3251
  Prefactor  = 2.98377
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 34.2358
  Prefactor  = 5.67513
  norm       = 1.60765
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 71.008
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 6.62583
  Prefactor  = 0.0001
  Prefactor  = 113.296
  norm       = 8.95569
  norm       = 0.625066
  Prefactor  = 24.6464
  norm       = 4.46489
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.581374
  Prefactor  = 1.36615
 **********
 **   18 **HESSE 
 **********

 FCN=   5394.533     FROM HESSE     STATUS=OK           486 CALLS     3803 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     66.325        51.970        .24639E-03   -1.4077    
   2  Prefactor     2.9838        3.3600        .13704E-03   -1.5362    
   3  Prefactor     .10000E-03    16.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.0891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    80.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.236        14.551        .68487E-04   -1.4537    
   7  Prefactor     5.6751        7.7765        .16863E-03   -1.5231    
   8  norm          1.6076        2.1008        .11922E-03   -1.5454    
   9  Prefactor     .10000E-03    5.3865        .16620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    4.0419        .14288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.3753        .72823E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     71.008        68.086        .23802E-03   -1.4021    
  13  Prefactor     .10000E-03    3.8122        .13970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.1353        .10456E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.6258        6.5211        .15590E-03   -1.5193    
  16  Prefactor     .10000E-03    9.3709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     113.30        56.640        .37793E-04   -1.3575    
  18  norm          8.9557        4.1625        .97090E-04   -1.5109    
  19  norm          .62507        6.0643        .24226E-02   -1.5550    
  20  Prefactor     24.646        24.439        .80681E-04   -1.4715    
  21  norm          4.4649        4.2038        .13865E-03   -1.5285    
  22  Prefactor     .10000E-03    127.80        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    21.268        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    4.5430        .15151E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    48.638        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .58137        .21997        .29710E-03   -1.0878    
  27  Prefactor     1.3661        .23820        .22761E-03   -.81361    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.22012e-08
Minuit parameter uncertainties:
  1  52.0055
  2  3.36023
  3  6.17655e-05
  4  2.20739e-05
  5  0.000182591
  6  14.5521
  7  7.7779
  8  2.10091
  9  2.90057e-05
  10  5.73161e-05
  11  3.32786e-05
  12  68.1605
  13  3.60655e-05
  14  3.76091e-06
  15  6.52181
  16  1.10077e-05
  17  56.6671
  18  4.16267
  19  3.89408
  20  24.4488
  21  4.20409
  22  0.000454144
  23  6.7606e-05
  24  8.05677e-05
  25  0.000330146
  26  0.220296
  27  0.238392
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.133e+02  5.667e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.366e+00  2.384e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  5.814e-01  2.203e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.93
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 9.08e-08 +/- 4.54e-08
Energy Flux (Fixed Index): 2.48e-05 +/- 1.24e-05

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) = 5394.45997999
delta logL = 0.0732471084439

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5394.45439062
delta logL = 0.0788364780137

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    96.667       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7712       1.0000          .0000       10.000    
     3 'Normalizat'    .56403       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3802       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+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=   5394.454     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      292 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     96.711        69.797        .20441E-03    .27085E-04
   2  Index         2.7716        .58967        .52551E-02    .35877E-03
   3  Normalizat    .56423        .21554        .30124E-03   -.30342E-04
   4  Prefactor     1.3798        .23971        .22666E-03    .35832E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 96.7106
  Index      = 2.77164
  Normalizat = 0.564227
  Prefactor  = 1.37977
 **********
 **   18 **HESSE 
 **********

 FCN=   5394.454     FROM HESSE     STATUS=OK            25 CALLS      317 TOTAL
                     EDM=   .30E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     96.711        66.758        .81765E-05   -1.3738    
   2  Index         2.7716        .56361        .10510E-02   -.46192    
   3  Normalizat    .56423        .21547        .12050E-04   -1.0953    
   4  Prefactor     1.3798        .23967        .45332E-04   -.80965    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01651e-11
Minuit parameter uncertainties:
  1  66.8095
  2  0.565115
  3  0.215794
  4  0.239868
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915990': 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) = 5394.45438621
delta logL = 0.0788408849658

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  9.671e+01  6.681e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.772e+00  5.651e-01  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.380e+00  2.399e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  5.642e-01  2.158e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.10
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 2.77 +/- 0.57
Photon Flux (Free Index): 1.02e-07 +/- 5.52e-08
Energy Flux (Free Index): 2.33e-05 +/- 1.17e-05

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/915990/cmap_HighResolution_471312001_471571201_4FGL_J2327.5-3259_daily_bin895.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.08e-08', energy_flux2='2.33e-05', photon_flux_error='4.54e-08', dlogl='7.88e-02', energy_flux='2.48e-05', photon_flux2='1.02e-07', job_status='DONE', time_completed='2021-09-29 20:20:00.038079', photon_index_error2='0.57', photon_index2='2.77', ts='7.93', fit_tolerance='1e-08', GAL='1.37', photon_index_error='0.00', energy_flux_error2='1.17e-05', EG='0.58', time_epoch_completed='1632972000.04', return_code='0', job_id='915990', GAL2='1.38', EG2='0.56', return_code2='0', energy_flux_error='1.24e-05', photon_flux_error2='5.52e-08', ts2='8.10', photon_index='2.56' WHERE bin_id='895' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:20:00 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 915990: <4FGL_J2327.5-3259_daily_bin895> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin895> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:05:59 2021
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:06:01 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 20:06:01 2021
Terminated at Wed Sep 29 20:20:00 2021
Results reported at Wed Sep 29 20:20:00 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin895 351.883 -32.9869 471312001 471571201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2327.5-3259 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   645.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             273.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   839 sec.
    Turnaround time :                            841 sec.

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

