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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin163
RA = 351.883, Dec = -32.9869
tmin = 281577601, tmax = 281836801
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='912692', job_status='RUN', time_executed='2021-09-29 19:57:48.004615', time_epoch_executed='1632970668.0' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='163'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912692

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912692/ft1_4FGL_J2327.5-3259_daily_bin163.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912692/ft2_4FGL_J2327.5-3259_daily_bin163.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912692/ft1_4FGL_J2327.5-3259_daily_bin163.fits outfile=/scratch/kocevski/912692/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin163.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=281577601.0 tmax=281836801.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.62
user 3.41
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/912692/ft2_4FGL_J2327.5-3259_daily_bin163.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/912692/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin163.fits evtable="EVENTS" outfile="/scratch/kocevski/912692/ft1_filtered_4FGL_J2327.5-3259_daily_bin163.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/912692/ft1_filtered_4FGL_J2327.5-3259_daily_bin163.fits" evtable="EVENTS" scfile=/scratch/kocevski/912692/ft2_4FGL_J2327.5-3259_daily_bin163.fits sctable="SC_DATA" outfile=/scratch/kocevski/912692/ltcube_281577601_281836801_4FGL_J2327.5-3259_daily_bin163.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/912692/ft2_4FGL_J2327.5-3259_daily_bin163.fits
.....................!
real 12.14
user 11.78
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912692/ft1_filtered_4FGL_J2327.5-3259_daily_bin163.fits evtable="EVENTS" scfile=/scratch/kocevski/912692/ft2_4FGL_J2327.5-3259_daily_bin163.fits sctable="SC_DATA" expcube=/scratch/kocevski/912692/ltcube_281577601_281836801_4FGL_J2327.5-3259_daily_bin163.fits outfile=/scratch/kocevski/912692/expmap_281577601_281836801_4FGL_J2327.5-3259_daily_bin163.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/912692/ltcube_281577601_281836801_4FGL_J2327.5-3259_daily_bin163.fits
.....................!
real 192.51
user 186.40
sys 5.74

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/912692/ft1_filtered_4FGL_J2327.5-3259_daily_bin163.fits scfile=/scratch/kocevski/912692/ft2_4FGL_J2327.5-3259_daily_bin163.fits outfile=/scratch/kocevski/912692/cmap_281577601_281836801_4FGL_J2327.5-3259_daily_bin163.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/912692/ft1_filtered_4FGL_J2327.5-3259_daily_bin163.fits scfile=/scratch/kocevski/912692/ft2_4FGL_J2327.5-3259_daily_bin163.fits outfile=/scratch/kocevski/912692/cmap_HighResolution_281577601_281836801_4FGL_J2327.5-3259_daily_bin163.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.55
user 0.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/912692/ft1_filtered_4FGL_J2327.5-3259_daily_bin163.fits evtable="EVENTS" scfile=/scratch/kocevski/912692/ft2_4FGL_J2327.5-3259_daily_bin163.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912692/Model_4FGL_J2327.5-3259_daily_bin163.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/912692/ft1_filtered_4FGL_J2327.5-3259_daily_bin163.fits.....................!
real 49.15
user 47.78
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2420       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    54.641       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.2691       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .16465       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.1246       1.0000         .10000E-03   10000.    
    11 'norm      '    2.1355       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10245E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.8363       1.0000         .10000E-03   10000.    
    14 'norm      '    4.6622       1.0000         .10000E-03   10000.    
    15 'norm      '    11.389       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .15707E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    37.295       1.0000         .10000E-03   10000.    
    18 'norm      '    2.6145       1.0000         .10000E-03   10000.    
    19 'norm      '    3.3304       1.0000         .10000E-03   10000.    
    20 'Prefactor '    38.410       1.0000         .10000E-03   10000.    
    21 'norm      '    6.8629       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10139E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.9081       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    7.4641       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .76914       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .75413       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=   6703.025     FROM MIGRAD    STATUS=CONVERGED   1197 CALLS     3430 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    52.142        .18142E-02** at limit **
   2  Prefactor     4.2422        3.0665        .11060E-03    .22100E-04
   3  Prefactor     .10000E-03    22.704        .18142E-02** at limit **
   4  Prefactor     .10000E-03    19.158        .18142E-02** at limit **
   5  Prefactor     54.640        28.550        .54263E-04   -.78775E-05
   6  Prefactor     .10000E-03    11.764        .36285E-02** at limit **
   7  Prefactor     .10000E-03    2.5551        .12754E-02** at limit **
   8  norm          4.2669        3.3056        .59500E-03    .56738E-03
   9  Prefactor     .23026        359.51        .45739E-02    .10626E-03
  10  Prefactor     9.1027        13.032        .13268E-03    .82471E-03
  11  norm          2.1352        .92320        .34321E-04    .34241E-02
  12  Prefactor     .10000E-03    50.057        .18142E-02** at limit **
  13  Prefactor     7.8352        9.6684        .14324E-03    .34620E-03
  14  norm          4.6624        3.7248        .13507E-03   -.34258E-04
  15  norm          11.390        6.1521        .11871E-03   -.96727E-05
  16  Prefactor     .10000E-03    71.441        .10837    ** at limit **
  17  Prefactor     37.294        26.576        .65627E-04   -.57166E-05
  18  norm          2.6140        5.7251        .19192E-03   -.11741E-03
  19  norm          3.3302        2.3338        .10023E-03    .17921E-04
  20  Prefactor     38.417        22.534        .64671E-04    .19513E-04
  21  norm          6.8636        4.3693        .11926E-03   -.74353E-04
  22  Prefactor     .10000E-03    90.375        .18142E-02** at limit **
  23  Prefactor     3.9196        18.900        .20409E-03   -.11420E-04
  24  Prefactor     .10000E-03    1.6917        .10351E-02** at limit **
  25  Prefactor     7.4619        38.015        .14680E-03    .44918E-05
  26  Normalizat    .76916        .17502        .22004E-03    .13986E-03
  27  Prefactor     .75412        .18206        .24486E-03    .63144E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Prefactor  = 4.24221
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 54.6403
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.26687
  Prefactor  = 0.230264
  Prefactor  = 9.10273
  norm       = 2.13521
  Prefactor  = 0.000100001
  Prefactor  = 7.83523
  norm       = 4.66242
  norm       = 11.3899
  Prefactor  = 0.0001
  Prefactor  = 37.2939
  norm       = 2.61403
  norm       = 3.33021
  Prefactor  = 38.4173
  norm       = 6.86363
  Prefactor  = 0.0001
  Prefactor  = 3.91961
  Prefactor  = 0.0001
  Prefactor  = 7.46188
  Normalizat = 0.769157
  Prefactor  = 0.754124
 **********
 **   18 **HESSE 
 **********

 FCN=   6703.025     FROM HESSE     STATUS=OK           474 CALLS     3904 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    52.163        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.2422        3.0659        .44241E-05   -1.5296    
   3  Prefactor     .10000E-03    22.711        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.170        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     54.640        28.550        .10853E-04   -1.4228    
   6  Prefactor     .10000E-03    11.854        .72569E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.5553        .25509E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.2669        3.2812        .23800E-04   -1.5295    
   9  Prefactor     .23026        292.67        .18296E-02   -1.5612    
  10  Prefactor     9.1027        12.250        .53072E-05   -1.5104    
  11  norm          2.1352        .92193        .13728E-05   -1.5416    
  12  Prefactor     .10000E-03    50.063        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     7.8352        9.6599        .57296E-05   -1.5148    
  14  norm          4.6624        3.7246        .54026E-05   -1.5276    
  15  norm          11.390        6.1521        .47484E-05   -1.5033    
  16  Prefactor     .10000E-03    64.693        .11378       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     37.294        26.575        .26251E-05   -1.4486    
  18  norm          2.6140        5.6785        .76766E-05   -1.5385    
  19  norm          3.3302        2.3338        .40093E-05   -1.5343    
  20  Prefactor     38.417        22.535        .25868E-05   -1.4468    
  21  norm          6.8636        4.3683        .47705E-05   -1.5184    
  22  Prefactor     .10000E-03    90.387        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     3.9196        18.901        .81634E-05   -1.5312    
  24  Prefactor     .10000E-03    1.6919        .20702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     7.4619        38.004        .58719E-05   -1.5162    
  26  Normalizat    .76916        .17447        .88016E-05   -1.0122    
  27  Prefactor     .75412        .18165        .97943E-05   -1.0144    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.45765e-10
Minuit parameter uncertainties:
  1  0.000605094
  2  3.06601
  3  1.37434e-05
  4  1.60858e-05
  5  28.5567
  6  2.61959e-05
  7  6.12999e-07
  8  3.28131
  9  16.4961
  10  12.2537
  11  0.921937
  12  0.00052774
  13  9.66183
  14  3.72479
  15  6.15245
  16  0.000157953
  17  26.5833
  18  5.67966
  19  2.33389
  20  22.5399
  21  4.36851
  22  0.000116565
  23  17.2231
  24  1.92167e-06
  25  33.7135
  26  0.174594
  27  0.18179
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.729e+01  2.658e+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:  7.541e-01  1.818e-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:  7.692e-01  1.746e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.16
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 2.99e-08 +/- 2.13e-08
Energy Flux (Fixed Index): 8.17e-06 +/- 5.82e-06

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) = 6701.20125945
delta logL = 1.82384700088

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6701.10461637
delta logL = 1.92049007827

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    48.824       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6352       1.0000          .0000       10.000    
     3 'Normalizat'    .79286       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73367       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=   6701.105     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      208 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     48.846        33.785        .45215E-05   -.43946E-03
   2  Index         1.6357        .39696        .31583E-04    .57820E-04
   3  Normalizat    .79283        .13408       -.76210E-06   -.25668E-03
   4  Prefactor     .73375        .14855        .17488E-06   -.20467E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 48.8459
  Index      = 1.63573
  Normalizat = 0.792825
  Prefactor  = 0.733751
 **********
 **   18 **HESSE 
 **********

 FCN=   6701.105     FROM HESSE     STATUS=OK            31 CALLS      239 TOTAL
                     EDM=   .42E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     48.846        33.589        .28695E-03   -1.4309    
   2  Index         1.6357        .39278        .70711E-02   -.73806    
   3  Normalizat    .79283        .15774        .21688E-03   -1.0034    
   4  Prefactor     .73375        .17479        .24754E-03   -1.0222    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.19547e-10
Minuit parameter uncertainties:
  1  33.6021
  2  0.393519
  3  0.157836
  4  0.174924
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912692': 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) = 6701.1046152
delta logL = 1.92049125384

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  4.885e+01  3.360e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.636e+00  3.935e-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:  7.338e-01  1.749e-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:  7.928e-01  1.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.03
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 1.64 +/- 0.39
Photon Flux (Free Index): 1.66e-08 +/- 1.27e-08
Energy Flux (Free Index): 3.34e-05 +/- 3.59e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/912692/cmap_HighResolution_281577601_281836801_4FGL_J2327.5-3259_daily_bin163.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.99e-08', energy_flux2='3.34e-05', photon_flux_error='2.13e-08', dlogl='1.92e+00', energy_flux='8.17e-06', photon_flux2='1.66e-08', job_status='DONE', time_completed='2021-09-29 20:09:59.842122', photon_index_error2='0.39', photon_index2='1.64', ts='4.16', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', energy_flux_error2='3.59e-05', EG='0.77', time_epoch_completed='1632971399.84', return_code='0', job_id='912692', GAL2='0.73', EG2='0.79', return_code2='0', energy_flux_error='5.82e-06', photon_flux_error2='1.27e-08', ts2='8.03', photon_index='2.56' WHERE bin_id='163' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:09:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0057>
Subject: Job 912692: <4FGL_J2327.5-3259_daily_bin163> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin163 351.883 -32.9869 281577601 281836801 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 :                                   729.32 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             261.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   869 sec.
    Turnaround time :                            870 sec.

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

