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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1232
RA = 351.883, Dec = -32.9869
tmin = 558662401, tmax = 558921601
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='917557', job_status='RUN', time_executed='2021-09-29 20:14:43.795245', time_epoch_executed='1632971683.8' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1232'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917557

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917557/ft1_4FGL_J2327.5-3259_daily_bin1232.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917557/ft1_4FGL_J2327.5-3259_daily_bin1232.fits outfile=/scratch/kocevski/917557/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1232.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=558662401.0 tmax=558921601.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.58
user 3.34
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.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/917557/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1232.fits evtable="EVENTS" outfile="/scratch/kocevski/917557/ft1_filtered_4FGL_J2327.5-3259_daily_bin1232.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917557/ft1_filtered_4FGL_J2327.5-3259_daily_bin1232.fits" evtable="EVENTS" scfile=/scratch/kocevski/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.fits sctable="SC_DATA" outfile=/scratch/kocevski/917557/ltcube_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.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/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.fits
.....................!
real 11.66
user 11.18
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917557/ft1_filtered_4FGL_J2327.5-3259_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.fits sctable="SC_DATA" expcube=/scratch/kocevski/917557/ltcube_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.fits outfile=/scratch/kocevski/917557/expmap_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.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/917557/ltcube_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.fits
.....................!
real 190.09
user 184.85
sys 4.89

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/917557/ft1_filtered_4FGL_J2327.5-3259_daily_bin1232.fits scfile=/scratch/kocevski/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.fits outfile=/scratch/kocevski/917557/cmap_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917557/ft1_filtered_4FGL_J2327.5-3259_daily_bin1232.fits scfile=/scratch/kocevski/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.fits outfile=/scratch/kocevski/917557/cmap_HighResolution_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917557/ft1_filtered_4FGL_J2327.5-3259_daily_bin1232.fits evtable="EVENTS" scfile=/scratch/kocevski/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917557/Model_4FGL_J2327.5-3259_daily_bin1232.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/917557/ft1_filtered_4FGL_J2327.5-3259_daily_bin1232.fits.....................!
real 21.64
user 20.40
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/917557/ft1_filtered_4FGL_J2327.5-3259_daily_bin1232.fits', '/scratch/kocevski/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.fits', expMap='/scratch/kocevski/917557/expmap_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.fits', expCube='/scratch/kocevski/917557/ltcube_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/917557/Model_4FGL_J2327.5-3259_daily_bin1232.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/917557/ft1_filtered_4FGL_J2327.5-3259_daily_bin1232.fits
Spacecraft file(s): /scratch/kocevski/917557/ft2_4FGL_J2327.5-3259_daily_bin1232.fits
Exposure map: /scratch/kocevski/917557/expmap_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.fits
Exposure cube: /scratch/kocevski/917557/ltcube_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/917557/Model_4FGL_J2327.5-3259_daily_bin1232.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) = 1264.02374032

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    222.66       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .27641E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    133.72       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .19003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10289E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.8067       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10749E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.342       1.0000         .10000E-03   10000.    
    14 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.6035       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    86.794       1.0000         .10000E-03   10000.    
    18 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    53.760       1.0000         .10000E-03   10000.    
    21 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10149E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12716E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0810       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .75906       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=   1263.713     FROM MIGRAD    STATUS=CONVERGED    673 CALLS     3331 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     223.11        352.96        .11637E-05    .23858E-04
   2  Prefactor     .77869E-01    11.557        .27922E-05   -.75925E-03
   3  Prefactor     .10000E-03    27.371       -.37894E-06** at limit **
   4  Prefactor     133.82        209.34       -.29650E-06    .97745E-05
   5  Prefactor     .10000E-03    573.59        .43319E-06** at limit **
   6  Prefactor     .10000E-03    39.445        .19365E-06** at limit **
   7  Prefactor     .10000E-03    177.09       -.14393E-06** at limit **
   8  norm          .10000E-03    4.6275        .54274E-07** at limit **
   9  Prefactor     .10000E-03    18.109        .37445E-06** at limit **
  10  Prefactor     .10000E-03    43.229        .45943E-05** at limit **
  11  norm          3.8053        3.0957       -.12948E-05   -.11509E-02
  12  Prefactor     .10000E-03    297.96        .10346E-05** at limit **
  13  Prefactor     37.425        58.731        .43538E-05   -.59394E-04
  14  norm          .10000E-03    190.36       -.11424E-05** at limit **
  15  norm          2.6551        253.02       -.33115E-05    .12559E-04
  16  Prefactor     .10000E-03    187.22        .15864E-06** at limit **
  17  Prefactor     86.906        176.99        .24092E-05    .46282E-04
  18  norm          .10000E-03    29.682        .55643E-06** at limit **
  19  norm          .10000E-03    4.3534        .10568E-05** at limit **
  20  Prefactor     53.829        54.193       -.59889E-07    .54212E-04
  21  norm          .10000E-03    17.220        .40228E-06** at limit **
  22  Prefactor     .10000E-03    234.31       -.68510E-06** at limit **
  23  Prefactor     .10000E-03    66.534       -.63805E-06** at limit **
  24  Prefactor     .10000E-03    9.4677        .89516E-07** at limit **
  25  Prefactor     .10000E-03    176.62       -.25265E-05** at limit **
  26  Normalizat    1.0789        .43120       -.48197E-05    .10182E-03
  27  Prefactor     .76009        .42135        .11370E-04    .75645E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 223.108
  Prefactor  = 0.0778693
  Prefactor  = 0.0001
  Prefactor  = 133.817
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 3.80533
  Prefactor  = 0.000100001
  Prefactor  = 37.4254
  norm       = 0.000100001
  norm       = 2.65506
  Prefactor  = 0.0001
  Prefactor  = 86.9058
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 53.8287
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Normalizat = 1.07894
  Prefactor  = 0.760095
 **********
 **   18 **HESSE 
 **********

 FCN=   1263.713     FROM HESSE     STATUS=OK           470 CALLS     3801 TOTAL
                     EDM=   .50E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     223.11        353.46        .13555E-03   -1.2709    
   2  Prefactor     .77869E-01    214.03        .18924E-02   -1.5652    
   3  Prefactor     .10000E-03    27.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     133.82        209.36        .17412E-03   -1.3389    
   5  Prefactor     .10000E-03    573.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    39.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    177.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.6324        .74685E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    18.120        .14781E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    43.731        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.8053        3.1433        .37904E-04   -1.5318    
  12  Prefactor     .10000E-03    298.10        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     37.425        59.416        .65586E-04   -1.4484    
  14  norm          .10000E-03    192.26        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.6551        249.28        .25283E-03   -1.5382    
  16  Prefactor     .10000E-03    187.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     86.906        176.90        .21562E-03   -1.3841    
  18  norm          .10000E-03    29.724        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.4001        .14383E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     53.829        54.557        .27352E-03   -1.4239    
  21  norm          .10000E-03    17.224        .14412E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    234.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    66.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.4801        .10683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    177.22        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0789        .50934        .25313E-03   -.90431    
  27  Prefactor     .76009        .46555        .29094E-03   -1.0122    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.04959e-08
Minuit parameter uncertainties:
  1  356.926
  2  8.1891
  3  7.66882e-05
  4  210.541
  5  0.000474341
  6  9.53094e-05
  7  0.00026362
  8  6.95699e-06
  9  4.89942e-05
  10  0.000688496
  11  3.14345
  12  0.00120859
  13  59.5105
  14  0.000895415
  15  51.6753
  16  6.97383e-05
  17  177.987
  18  2.453e-05
  19  2.73715e-05
  20  54.6074
  21  3.29251e-05
  22  7.21224e-05
  23  0.000136582
  24  9.63616e-06
  25  0.00140234
  26  0.511673
  27  0.467974
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  8.691e+01  1.780e+02  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:  7.601e-01  4.680e-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:  1.079e+00  5.117e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.31
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 4.24e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.31e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917557/likelihoodResults_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.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) = 1263.35491499
delta logL = 0.358196653253

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1263.27423829
delta logL = 0.43887335296

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    158.43       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7263       1.0000          .0000       10.000    
     3 'Normalizat'    1.1285       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .69538       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=   1263.274     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      211 TOTAL
                     EDM=   .31E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     158.50        199.43        .75395E-05   -.31293E-04
   2  Index         1.7260        .67935        .26061E-04    .10198E-04
   3  Normalizat    1.1284        .38296       -.39657E-06    .62618E-04
   4  Prefactor     .69538        .37904       -.92187E-07    .56630E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 158.499
  Index      = 1.72603
  Normalizat = 1.12842
  Prefactor  = 0.695381
 **********
 **   18 **HESSE 
 **********

 FCN=   1263.274     FROM HESSE     STATUS=OK            29 CALLS      240 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     158.50        197.83        .16017E-03   -1.3183    
   2  Index         1.7260        .67291        .54279E-02   -.71391    
   3  Normalizat    1.1284        .44962        .24784E-03   -.88845    
   4  Prefactor     .69538        .44382        .30166E-03   -1.0371    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.67093e-11
Minuit parameter uncertainties:
  1  198.667
  2  0.676518
  3  0.451162
  4  0.446099
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917557': 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) = 1263.27423811
delta logL = 0.438873535485

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.585e+02  1.987e+02  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.726e+00  6.765e-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:  6.954e-01  4.461e-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:  1.128e+00  4.512e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.21
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 1.73 +/- 0.68
Photon Flux (Free Index): 5.64e-08 +/- 8.07e-08
Energy Flux (Free Index): 8.47e-05 +/- 1.49e-04

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/917557/cmap_HighResolution_558662401_558921601_4FGL_J2327.5-3259_daily_bin1232.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.31e-02', comment='SUCCESS', energy_flux2='8.47e-05', dlogl='4.39e-01', photon_flux2='5.64e-08', job_status='DONE', time_completed='2021-09-29 20:23:21.402349', photon_index_error2='0.68', photon_index2='1.73', ts='0.31', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='4.24e-07', energy_flux_error2='1.49e-04', EG='1.08', time_epoch_completed='1632972201.4', return_code='0', job_id='917557', GAL2='0.70', EG2='1.13', return_code2='0', photon_flux_error2='8.07e-08', ts2='1.21', photon_index='2.56' WHERE bin_id='1232' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:23:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 917557: <4FGL_J2327.5-3259_daily_bin1232> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1232> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:59 2021
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:11: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:11:01 2021
Terminated at Wed Sep 29 20:23:22 2021
Results reported at Wed Sep 29 20:23:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1232 351.883 -32.9869 558662401 558921601 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 :                                   405.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             207.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   740 sec.
    Turnaround time :                            743 sec.

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

