/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 113 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 = 7468
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2327.5-3259_daily_bin286
RA = 351.883, Dec = -32.9869
tmin = 313459201, tmax = 313718401
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='912873', job_status='RUN', time_executed='2021-09-29 19:57:47.679970', time_epoch_executed='1632970667.68' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='286'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912873

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912873/ft1_4FGL_J2327.5-3259_daily_bin286.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912873/ft2_4FGL_J2327.5-3259_daily_bin286.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912873/ft1_4FGL_J2327.5-3259_daily_bin286.fits outfile=/scratch/kocevski/912873/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin286.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=313459201.0 tmax=313718401.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.38
user 3.14
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/912873/ft2_4FGL_J2327.5-3259_daily_bin286.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/912873/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin286.fits evtable="EVENTS" outfile="/scratch/kocevski/912873/ft1_filtered_4FGL_J2327.5-3259_daily_bin286.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.51
user 0.33
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912873/ft1_filtered_4FGL_J2327.5-3259_daily_bin286.fits" evtable="EVENTS" scfile=/scratch/kocevski/912873/ft2_4FGL_J2327.5-3259_daily_bin286.fits sctable="SC_DATA" outfile=/scratch/kocevski/912873/ltcube_313459201_313718401_4FGL_J2327.5-3259_daily_bin286.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/912873/ft2_4FGL_J2327.5-3259_daily_bin286.fits
.....................!
real 14.68
user 14.32
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912873/ft1_filtered_4FGL_J2327.5-3259_daily_bin286.fits evtable="EVENTS" scfile=/scratch/kocevski/912873/ft2_4FGL_J2327.5-3259_daily_bin286.fits sctable="SC_DATA" expcube=/scratch/kocevski/912873/ltcube_313459201_313718401_4FGL_J2327.5-3259_daily_bin286.fits outfile=/scratch/kocevski/912873/expmap_313459201_313718401_4FGL_J2327.5-3259_daily_bin286.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/912873/ltcube_313459201_313718401_4FGL_J2327.5-3259_daily_bin286.fits
.....................!
real 190.74
user 185.08
sys 5.26

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/912873/ft1_filtered_4FGL_J2327.5-3259_daily_bin286.fits scfile=/scratch/kocevski/912873/ft2_4FGL_J2327.5-3259_daily_bin286.fits outfile=/scratch/kocevski/912873/cmap_313459201_313718401_4FGL_J2327.5-3259_daily_bin286.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/912873/ft1_filtered_4FGL_J2327.5-3259_daily_bin286.fits scfile=/scratch/kocevski/912873/ft2_4FGL_J2327.5-3259_daily_bin286.fits outfile=/scratch/kocevski/912873/cmap_HighResolution_313459201_313718401_4FGL_J2327.5-3259_daily_bin286.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/912873/ft1_filtered_4FGL_J2327.5-3259_daily_bin286.fits evtable="EVENTS" scfile=/scratch/kocevski/912873/ft2_4FGL_J2327.5-3259_daily_bin286.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912873/Model_4FGL_J2327.5-3259_daily_bin286.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/912873/ft1_filtered_4FGL_J2327.5-3259_daily_bin286.fits.....................!
real 48.97
user 47.63
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .26554       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10343E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.543       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10557E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6759       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10176E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    9.0159       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.728       1.0000         .10000E-03   10000.    
    11 'norm      '    .92655       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.364       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.1272       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    3.9716       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15593E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.1449       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.8637       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .95462       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10836E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1380       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .62074       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=   6407.871     FROM MIGRAD    STATUS=CONVERGED    654 CALLS     2817 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.454       -.48268E-08** at limit **
   2  Prefactor     .26487        1.4928        .11270E-06   -.30315E-05
   3  Prefactor     .10000E-03    4.9173        .14943E-08** at limit **
   4  Prefactor     10.548        16.216        .10598E-07   -.90418E-05
   5  Prefactor     .10000E-03    12.919       -.89596E-07** at limit **
   6  Prefactor     1.6579        18.308        .20943E-05    .15376E-04
   7  Prefactor     .10000E-03    4.6543       -.74491E-08** at limit **
   8  norm          9.0121        4.5065        .20520E-07   -.44596E-04
   9  Prefactor     .10000E-03    6.2312       -.23702E-07** at limit **
  10  Prefactor     10.731        9.3681       -.35315E-06   -.65003E-04
  11  norm          .92680        .57778       -.18199E-07   -.21016E-03
  12  Prefactor     19.311        29.108       -.35797E-06   -.87611E-04
  13  Prefactor     4.1267        5.3129        .16880E-05    .15921E-03
  14  norm          .10000E-03    1.1686        .19884E-07** at limit **
  15  norm          3.9870        7.1458        .45734E-06    .41625E-04
  16  Prefactor     .10000E-03    40.672        .70305E-06** at limit **
  17  Prefactor     6.1382        44.136        .34115E-06   -.41470E-05
  18  norm          .10000E-03    1.2986        .97017E-07** at limit **
  19  norm          .10000E-03    1.0595        .10452E-06** at limit **
  20  Prefactor     6.8663        15.494        .22644E-06   -.71844E-05
  21  norm          .10000E-03    1.5047        .10523E-06** at limit **
  22  Prefactor     .10000E-03    17.624        .10634E-06** at limit **
  23  Prefactor     .86662        21.273       -.19999E-05    .20894E-03
  24  Prefactor     .10000E-03    1.0561        .14820E-07** at limit **
  25  Prefactor     .10000E-03    22.735       -.87766E-07** at limit **
  26  Normalizat    1.1381        .15089       -.15745E-06   -.59890E-04
  27  Prefactor     .62072        .15674       -.52328E-06   -.39424E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.264874
  Prefactor  = 0.0001
  Prefactor  = 10.5476
  Prefactor  = 0.0001
  Prefactor  = 1.65789
  Prefactor  = 0.0001
  norm       = 9.0121
  Prefactor  = 0.0001
  Prefactor  = 10.7309
  norm       = 0.926799
  Prefactor  = 19.3105
  Prefactor  = 4.12666
  norm       = 0.0001
  norm       = 3.98704
  Prefactor  = 0.0001
  Prefactor  = 6.13823
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 6.86626
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.866624
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.13806
  Prefactor  = 0.62072
 **********
 **   18 **HESSE 
 **********

 FCN=   6407.871     FROM HESSE     STATUS=OK           490 CALLS     3307 TOTAL
                     EDM=   .20E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .26487        6.1851        .18445E-02   -1.5605    
   3  Prefactor     .10000E-03    4.9188        .17335E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.548        16.203        .12339E-03   -1.5058    
   5  Prefactor     .10000E-03    12.936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6579        18.513        .32551E-03   -1.5450    
   7  Prefactor     .10000E-03    4.6905        .16864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          9.0121        4.5001        .10883E-03   -1.5107    
   9  Prefactor     .10000E-03    6.2404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     10.731        9.5078        .12232E-03   -1.5053    
  11  norm          .92680        .57901        .39733E-04   -1.5515    
  12  Prefactor     19.311        29.233        .91017E-04   -1.4829    
  13  Prefactor     4.1267        5.3360        .98768E-03   -1.5302    
  14  norm          .10000E-03    1.1695        .84510E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          3.9870        7.1347        .20239E-03   -1.5309    
  16  Prefactor     .10000E-03    41.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.1382        44.137        .16195E-03   -1.5212    
  18  norm          .10000E-03    1.3100        .89061E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.7602        .15954E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.8663        15.425        .15314E-03   -1.5184    
  21  norm          .10000E-03    1.5211        .95882E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    17.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .86662        116.54        .68013E-02   -1.5522    
  24  Prefactor     .10000E-03    1.0591        .80328E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    22.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.1381        .17786        .19389E-03   -.88539    
  27  Prefactor     .62072        .18448        .27600E-03   -1.0672    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.02158e-08
Minuit parameter uncertainties:
  1  3.18663e-05
  2  2.55971
  3  1.15467e-07
  4  16.2097
  5  3.86108e-06
  6  11.0841
  7  2.54595e-06
  8  4.50028
  9  8.25599e-07
  10  9.50914
  11  0.579015
  12  29.2547
  13  5.33664
  14  2.50954e-07
  15  7.13618
  16  0.000145299
  17  32.9536
  18  1.33372e-06
  19  3.80733e-06
  20  15.4339
  21  1.91789e-06
  22  4.15013e-05
  23  20.1384
  24  5.78862e-07
  25  2.29395e-05
  26  0.177949
  27  0.184663
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  6.138e+00  3.295e+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:  6.207e-01  1.847e-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.138e+00  1.779e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.04
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 7.01e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.47e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/912873/likelihoodResults_313459201_313718401_4FGL_J2327.5-3259_daily_bin286.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) = 6407.65284732
delta logL = 0.218385813146

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6407.62332227
delta logL = 0.247910855685

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.385       1.0000         .10000E-03   10000.    
     2 'Index     '    1.5140       1.0000          .0000       10.000    
     3 'Normalizat'    1.1462       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61104       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=   6407.623     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      219 TOTAL
                     EDM=   .50E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 20.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.406        25.808        .26900E-04   -.35358E-03
   2  Index         1.5152        .98843        .15451E-03    .54931E-04
   3  Normalizat    1.1461        .14323       -.10341E-05   -.80384E-03
   4  Prefactor     .61121        .15553       -.33581E-06   -.56205E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.4059
  Index      = 1.51517
  Normalizat = 1.14609
  Prefactor  = 0.611214
 **********
 **   18 **HESSE 
 **********

 FCN=   6407.623     FROM HESSE     STATUS=OK            27 CALLS      246 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.406        24.345        .11873E-03   -1.5032    
   2  Index         1.5152        .93314        .12247E-01   -.77116    
   3  Normalizat    1.1461        .16748        .19326E-03   -.88286    
   4  Prefactor     .61121        .18157        .27785E-03   -1.0712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.08492e-10
Minuit parameter uncertainties:
  1  24.3664
  2  0.944005
  3  0.16756
  4  0.18174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912873': 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) = 6407.62332114
delta logL = 0.247911992605

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.141e+01  2.437e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.515e+00  9.440e-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.112e-01  1.817e-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.146e+00  1.676e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.04
Ra Dec: 351.883 -32.987

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/912873/cmap_HighResolution_313459201_313718401_4FGL_J2327.5-3259_daily_bin286.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.47e-03', job_status='DONE', photon_flux_upper_limit='7.01e-08', time_completed='2021-09-29 20:10:28.347873', job_id='912873', GAL2='0.61', fit_tolerance='1e-08', EG2='1.15', EG='1.14', time_epoch_completed='1632971428.35', return_code2='0', ts='0.04', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='2.48e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='286' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:10:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 912873: <4FGL_J2327.5-3259_daily_bin286> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin286> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:55:43 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:55:45 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:55:45 2021
Terminated at Wed Sep 29 20:10:28 2021
Results reported at Wed Sep 29 20:10:28 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin286 351.883 -32.9869 313459201 313718401 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 :                                   755.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             300.74 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            885 sec.

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

