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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin453
RA = 351.883, Dec = -32.9869
tmin = 356745601, tmax = 357004801
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='914209', job_status='RUN', time_executed='2021-09-29 20:00:49.478767', time_epoch_executed='1632970849.48' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='453'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914209

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914209/ft1_4FGL_J2327.5-3259_daily_bin453.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914209/ft2_4FGL_J2327.5-3259_daily_bin453.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914209/ft1_4FGL_J2327.5-3259_daily_bin453.fits outfile=/scratch/kocevski/914209/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin453.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=356745601.0 tmax=357004801.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.48
user 3.28
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/914209/ft2_4FGL_J2327.5-3259_daily_bin453.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/914209/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin453.fits evtable="EVENTS" outfile="/scratch/kocevski/914209/ft1_filtered_4FGL_J2327.5-3259_daily_bin453.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/914209/ft1_filtered_4FGL_J2327.5-3259_daily_bin453.fits" evtable="EVENTS" scfile=/scratch/kocevski/914209/ft2_4FGL_J2327.5-3259_daily_bin453.fits sctable="SC_DATA" outfile=/scratch/kocevski/914209/ltcube_356745601_357004801_4FGL_J2327.5-3259_daily_bin453.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/914209/ft2_4FGL_J2327.5-3259_daily_bin453.fits
.....................!
real 11.73
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914209/ft1_filtered_4FGL_J2327.5-3259_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/914209/ft2_4FGL_J2327.5-3259_daily_bin453.fits sctable="SC_DATA" expcube=/scratch/kocevski/914209/ltcube_356745601_357004801_4FGL_J2327.5-3259_daily_bin453.fits outfile=/scratch/kocevski/914209/expmap_356745601_357004801_4FGL_J2327.5-3259_daily_bin453.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/914209/ltcube_356745601_357004801_4FGL_J2327.5-3259_daily_bin453.fits
.....................!
real 189.82
user 185.13
sys 4.35

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/914209/ft1_filtered_4FGL_J2327.5-3259_daily_bin453.fits scfile=/scratch/kocevski/914209/ft2_4FGL_J2327.5-3259_daily_bin453.fits outfile=/scratch/kocevski/914209/cmap_356745601_357004801_4FGL_J2327.5-3259_daily_bin453.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/914209/ft1_filtered_4FGL_J2327.5-3259_daily_bin453.fits scfile=/scratch/kocevski/914209/ft2_4FGL_J2327.5-3259_daily_bin453.fits outfile=/scratch/kocevski/914209/cmap_HighResolution_356745601_357004801_4FGL_J2327.5-3259_daily_bin453.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/914209/ft1_filtered_4FGL_J2327.5-3259_daily_bin453.fits evtable="EVENTS" scfile=/scratch/kocevski/914209/ft2_4FGL_J2327.5-3259_daily_bin453.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/914209/Model_4FGL_J2327.5-3259_daily_bin453.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/914209/ft1_filtered_4FGL_J2327.5-3259_daily_bin453.fits.....................!
real 42.17
user 40.90
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    36.553       1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.2931       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.760       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    17.670       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.805       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.989       1.0000         .10000E-03   10000.    
    11 'norm      '    2.7576       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.1948       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.0642       1.0000         .10000E-03   10000.    
    15 'norm      '    27.360       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.0166       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    11.483       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    4.1822       1.0000         .10000E-03   10000.    
    22 'Prefactor '    35.144       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.4099       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0242       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .85034       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=   5231.327     FROM MIGRAD    STATUS=CONVERGED    629 CALLS     3224 TOTAL
                     EDM=   .81E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     36.568        36.043       -.46317E-06   -.35012E-04
   2  Prefactor     3.2943        4.7353        .29439E-07   -.19805E-04
   3  Prefactor     .10000E-03    17.774        .43830E-07** at limit **
   4  Prefactor     .10000E-03    6.2545        .52504E-07** at limit **
   5  Prefactor     11.758        20.361        .18900E-06    .27043E-05
   6  Prefactor     .10000E-03    16.821        .15144E-06** at limit **
   7  Prefactor     .10000E-03    2.7287        .20021E-09** at limit **
   8  norm          17.670        7.2728        .19089E-07    .12687E-04
   9  Prefactor     17.805        16.891        .31862E-07    .84163E-05
  10  Prefactor     14.996        15.710        .18005E-06    .12576E-04
  11  norm          2.7574        1.1333        .11414E-07   -.35927E-04
  12  Prefactor     4.1940        203.99        .24097E-05    .21047E-05
  13  Prefactor     .10000E-03    5.6799        .87908E-07** at limit **
  14  norm          5.0639        4.6878       -.57440E-07    .70438E-05
  15  norm          27.362        13.202        .14550E-06   -.72995E-05
  16  Prefactor     4.0580        154.68        .20108E-04    .10964E-05
  17  Prefactor     .10000E-03    25.403        .81743E-06** at limit **
  18  norm          11.479        7.8047       -.16430E-05   -.45611E-04
  19  norm          .10000E-03    .88198        .64069E-07** at limit **
  20  Prefactor     .10000E-03    9.4739        .16225E-06** at limit **
  21  norm          4.1817        4.5151       -.68173E-06   -.51460E-04
  22  Prefactor     35.127        86.868        .16737E-05    .13552E-04
  23  Prefactor     .10000E-03    31.274       -.58018E-06** at limit **
  24  Prefactor     1.4120        8.8736        .47692E-05   -.66802E-04
  25  Prefactor     .10000E-03    57.848        .46239E-06** at limit **
  26  Normalizat    1.0238        .21158       -.13465E-05   -.11243E-03
  27  Prefactor     .85069        .20940       -.56494E-06    .55407E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 36.5684
  Prefactor  = 3.29429
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.7582
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 17.67
  Prefactor  = 17.8055
  Prefactor  = 14.9962
  norm       = 2.75743
  Prefactor  = 4.19403
  Prefactor  = 0.0001
  norm       = 5.06395
  norm       = 27.362
  Prefactor  = 4.05803
  Prefactor  = 0.0001
  norm       = 11.4795
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.18166
  Prefactor  = 35.1268
  Prefactor  = 0.0001
  Prefactor  = 1.41196
  Prefactor  = 0.0001
  Normalizat = 1.02383
  Prefactor  = 0.850692
 **********
 **   18 **HESSE 
 **********

 FCN=   5231.327     FROM HESSE     STATUS=OK           490 CALLS     3714 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     36.568        35.977        .66288E-04   -1.4498    
   2  Prefactor     3.2943        4.7445        .17764E-03   -1.5345    
   3  Prefactor     .10000E-03    17.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.2581        .17667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.758        20.357        .11681E-03   -1.5022    
   6  Prefactor     .10000E-03    17.332        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.7338        .11668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          17.670        7.2624        .95279E-04   -1.4867    
   9  Prefactor     17.805        16.862        .94918E-04   -1.4864    
  10  Prefactor     14.996        15.904        .10345E-03   -1.4933    
  11  norm          2.7574        1.1495        .38423E-04   -1.5376    
  12  Prefactor     4.1940        204.20        .19677E-03   -1.5298    
  13  Prefactor     .10000E-03    5.6948        .16822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.0639        4.6911        .14479E-03   -1.5258    
  15  norm          27.362        13.207        .76589E-04   -1.4661    
  16  Prefactor     4.0580        158.46        .20122E-03   -1.5305    
  17  Prefactor     .10000E-03    25.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          11.479        7.8044        .11822E-03   -1.5030    
  19  norm          .10000E-03    .88395        .66335E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    9.4792        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          4.1817        4.4976        .14668E-03   -1.5299    
  22  Prefactor     35.127        86.947        .67599E-04   -1.4522    
  23  Prefactor     .10000E-03    31.230        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.4120        8.9401        .18245E-02   -1.5470    
  25  Prefactor     .10000E-03    58.018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0238        .24406        .24080E-03   -.92236    
  27  Prefactor     .85069        .24080        .27964E-03   -.97886    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96923e-10
Minuit parameter uncertainties:
  1  35.998
  2  4.74499
  3  2.14118e-05
  4  4.42797e-08
  5  20.3692
  6  1.64905e-06
  7  6.51863e-07
  8  7.26273
  9  16.8663
  10  15.909
  11  1.14946
  12  58.7417
  13  2.88958e-06
  14  4.69147
  15  13.2082
  16  50.8607
  17  8.72373e-05
  18  7.80509
  19  2.36186e-07
  20  2.25288e-06
  21  4.49795
  22  87.2628
  23  0.00011415
  24  7.10708
  25  6.26049e-05
  26  0.24433
  27  0.241098
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  8.724e-05  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:  8.507e-01  2.411e-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.024e+00  2.443e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/914209/likelihoodResults_356745601_357004801_4FGL_J2327.5-3259_daily_bin453.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) = 5231.32764918
delta logL = -0.000187849808754

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5231.32746179
delta logL = -4.56459019915e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10199E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.5921       1.0000          .0000       10.000    
     3 'Normalizat'    1.0238       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .85069       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=   5231.327     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      273 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10527E-03    155.52        .18142E-01** at limit **
   2  Index         3.1187        6.0096        .20000        .22500E-05
   3  Normalizat    1.0238        .11876E-01    .24080E-03   -.32576E-05
   4  Prefactor     .85069        .12753E-01    .27964E-03   -.36183E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000105266
  Index      = 3.1187
  Normalizat = 1.02384
  Prefactor  = 0.850689
 **********
 **   18 **HESSE 
 **********

 FCN=   5231.327     FROM HESSE     STATUS=NOT POSDEF    23 CALLS      296 TOTAL
                     EDM=   .10E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10527E-03    2141.3        .34385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1187        6.0501        .80000E-02   -.38576    
   3  Normalizat    1.0238        .51126E-01    .96321E-05   -.92236    
   4  Prefactor     .85069        .54885E-01    .11186E-04   -.97886    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.00862e-07
Minuit parameter uncertainties:
  1  0.220796
  2  9846.76
  3  0.0511283
  4  0.0548886
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914209': 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): 102
logL (Free Index) = 5231.32746154
delta logL = -2.0650895749e-07

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.053e-04  2.208e-01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.119e+00  9.847e+03  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:  8.507e-01  5.489e-02  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.024e+00  5.113e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/914209/cmap_HighResolution_356745601_357004801_4FGL_J2327.5-3259_daily_bin453.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.98e-03', job_status='DONE', photon_flux_upper_limit='7.66e-08', time_completed='2021-09-29 20:12:28.782928', job_id='914209', GAL2='0.85', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632971548.78', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='-2.07e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='453' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:12:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 914209: <4FGL_J2327.5-3259_daily_bin453> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin453> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:00:36 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:00:37 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:00:37 2021
Terminated at Wed Sep 29 20:12:29 2021
Results reported at Wed Sep 29 20:12:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin453 351.883 -32.9869 356745601 357004801 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 :                                   696.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            713 sec.

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

