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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin642
RA = 351.883, Dec = -32.9869
tmin = 405734401, tmax = 405993601
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='915600', job_status='RUN', time_executed='2021-09-29 20:08:18.975256', time_epoch_executed='1632971298.98' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='642'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915600

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915600/ft1_4FGL_J2327.5-3259_daily_bin642.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915600/ft2_4FGL_J2327.5-3259_daily_bin642.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915600/ft1_4FGL_J2327.5-3259_daily_bin642.fits outfile=/scratch/kocevski/915600/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin642.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=405734401.0 tmax=405993601.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.52
user 3.30
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915600/ft1_filtered_4FGL_J2327.5-3259_daily_bin642.fits" evtable="EVENTS" scfile=/scratch/kocevski/915600/ft2_4FGL_J2327.5-3259_daily_bin642.fits sctable="SC_DATA" outfile=/scratch/kocevski/915600/ltcube_405734401_405993601_4FGL_J2327.5-3259_daily_bin642.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/915600/ft2_4FGL_J2327.5-3259_daily_bin642.fits
.....................!
real 12.02
user 11.68
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915600/ft1_filtered_4FGL_J2327.5-3259_daily_bin642.fits evtable="EVENTS" scfile=/scratch/kocevski/915600/ft2_4FGL_J2327.5-3259_daily_bin642.fits sctable="SC_DATA" expcube=/scratch/kocevski/915600/ltcube_405734401_405993601_4FGL_J2327.5-3259_daily_bin642.fits outfile=/scratch/kocevski/915600/expmap_405734401_405993601_4FGL_J2327.5-3259_daily_bin642.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/915600/ltcube_405734401_405993601_4FGL_J2327.5-3259_daily_bin642.fits
.....................!
real 191.25
user 185.96
sys 4.96

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/915600/ft1_filtered_4FGL_J2327.5-3259_daily_bin642.fits scfile=/scratch/kocevski/915600/ft2_4FGL_J2327.5-3259_daily_bin642.fits outfile=/scratch/kocevski/915600/cmap_405734401_405993601_4FGL_J2327.5-3259_daily_bin642.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.52
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.3557       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.047       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10179E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.6229       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.0047       1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.5397       1.0000         .10000E-03   10000.    
    10 'Prefactor '    6.2163       1.0000         .10000E-03   10000.    
    11 'norm      '    .21718       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20096       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.194       1.0000         .10000E-03   10000.    
    18 'norm      '    18.708       1.0000         .10000E-03   10000.    
    19 'norm      '    6.6487       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.9859       1.0000         .10000E-03   10000.    
    21 'norm      '    .12072E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    18.812       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.2989       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .96693       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .58973       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6746.526     FROM MIGRAD    STATUS=CONVERGED     88 CALLS     2262 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7.8216       -.47510E-05** at limit **
   2  Prefactor     9.3561        2.6150       -.10240E-05   -.18329E-02
   3  Prefactor     .10002E-03    9.6760        .11296E-04** at limit **
   4  Prefactor     23.052        1.0258        .13933E-07    .21866E-03
   5  Prefactor     .10000E-03    17.669       -.71125E-05** at limit **
   6  Prefactor     1.6229        1.1148        .12208E-05    .28405E-03
   7  Prefactor     .10000E-03    2.7814        .16483E-06** at limit **
   8  norm          4.0043        2.9736        .38511E-07    .49973E-04
   9  Prefactor     6.5427        1.0560        .47958E-06   -.26584E-03
  10  Prefactor     6.2242        1.4306        .17987E-05   -.86241E-03
  11  norm          .21696        .35231       -.82282E-07   -.58838E-03
  12  Prefactor     .10034E-03    18.706        .18406E-04** at limit **
  13  Prefactor     .18366        5.0647       -.17534E-04    .19300E-02
  14  norm          .10000E-03    1.7114       -.23607E-06** at limit **
  15  norm          .10000E-03    2.0283       -.92583E-07** at limit **
  16  Prefactor     .10013E-03    14.213       -.19442E-04** at limit **
  17  Prefactor     16.188        1.4531       -.11161E-05    .22094E-02
  18  norm          18.710        4.3898       -.34513E-05   -.94174E-03
  19  norm          6.6485        2.2402       -.68597E-06    .15117E-02
  20  Prefactor     3.9881        1.0642        .69558E-06   -.23748E-03
  21  norm          .10000E-03    4.1668        .26783E-06** at limit **
  22  Prefactor     .10274E-03    16.673        .10616E-04** at limit **
  23  Prefactor     18.814        1.0375        .25360E-06   -.50860E-03
  24  Prefactor     6.2993        1.4857       -.21417E-05   -.41267E-02
  25  Prefactor     .10095E-03    20.786       -.15563E-04** at limit **
  26  Normalizat    .96682        .16565        .33735E-05   -.46879E-05
  27  Prefactor     .58988        .17806       -.34299E-06    .31092E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 9.35607
  Prefactor  = 0.000100015
  Prefactor  = 23.0519
  Prefactor  = 0.000100005
  Prefactor  = 1.62287
  Prefactor  = 0.0001
  norm       = 4.00425
  Prefactor  = 6.54268
  Prefactor  = 6.22415
  norm       = 0.216964
  Prefactor  = 0.00010034
  Prefactor  = 0.183655
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100126
  Prefactor  = 16.1876
  norm       = 18.7104
  norm       = 6.64851
  Prefactor  = 3.98808
  norm       = 0.0001
  Prefactor  = 0.000102738
  Prefactor  = 18.8145
  Prefactor  = 6.2993
  Prefactor  = 0.000100953
  Normalizat = 0.966822
  Prefactor  = 0.589878
 **********
 **   18 **HESSE 
 **********

 FCN=   6746.526     FROM HESSE     STATUS=OK           556 CALLS     2818 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7.8358        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.3561        3.2589        .32756E-02   -1.5096    
   3  Prefactor     .10002E-03    9.7185        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.052        15.706        .20859E-02   -1.4747    
   5  Prefactor     .10000E-03    50.532        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.6229        5.6563        .83041E-02   -1.5453    
   7  Prefactor     .10000E-03    2.7645        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.0043        3.2243        .50382E-02   -1.5308    
   9  Prefactor     6.5427        11.753        .39232E-02   -1.5196    
  10  Prefactor     6.2242        9.8317        .40252E-02   -1.5209    
  11  norm          .21696        .53471        .14387E-01   -1.5615    
  12  Prefactor     .10034E-03    20.199        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .18366        10.209        .66570E-01   -1.5622    
  14  norm          .10000E-03    1.7050        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.0191        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10013E-03    14.858        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.188        25.671        .24882E-02   -1.4903    
  18  norm          18.710        4.6641        .23150E-02   -1.4843    
  19  norm          6.6485        3.6162        .38906E-02   -1.5192    
  20  Prefactor     3.9881        48.021        .50504E-02   -1.5309    
  21  norm          .10000E-03    1.7103        .35654E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10274E-03    45.632        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     18.814        20.670        .23086E-02   -1.4840    
  24  Prefactor     6.2993        3.8580        .39984E-02   -1.5206    
  25  Prefactor     .10095E-03    54.037        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .96682        .14197        .45751E-01   -.94150    
  27  Prefactor     .58988        .14938        .61646E-01   -1.0801    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57125e-07
Minuit parameter uncertainties:
  1  0.000134121
  2  3.25898
  3  0.000773418
  4  15.7093
  5  0.000972
  6  5.65813
  7  5.53391e-06
  8  3.22445
  9  11.7571
  10  9.8342
  11  0.534724
  12  0.00524051
  13  2.7383
  14  2.29761e-06
  15  7.4672e-06
  16  0.00273335
  17  25.6882
  18  4.66418
  19  3.61634
  20  27.7049
  21  1.8758e-05
  22  0.0223726
  23  20.6781
  24  3.85812
  25  0.0143676
  26  0.142025
  27  0.149478
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.619e+01  2.569e+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:  5.899e-01  1.495e-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:  9.668e-01  1.420e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/915600/likelihoodResults_405734401_405993601_4FGL_J2327.5-3259_daily_bin642.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) = 6746.52357848
delta logL = 0.00238894916311

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6746.52297476
delta logL = 0.00299267367791

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.319       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6616       1.0000          .0000       10.000    
     3 'Normalizat'    .96500       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .59128       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.

 FCN=   6746.523     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      243 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.319        606.03        .25583E-02    .39923E-03
   2  Index         2.6616        6.3301        .35193        .54622E-04
   3  Normalizat    .96506        .31724E-01    .45727E-01    .37090E-05
   4  Prefactor     .59122        .32362E-01    .61582E-01    .27176E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.3189
  Index      = 2.66156
  Normalizat = 0.965057
  Prefactor  = 0.591221
 **********
 **   18 **HESSE 
 **********

 FCN=   6746.523     FROM HESSE     STATUS=OK            31 CALLS      274 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.319        28.386        .10233E-03   -1.4925    
   2  Index         2.6616        1.4134        .10724E-01   -.48667    
   3  Normalizat    .96506        .16545        .20034E-03   -.94210    
   4  Prefactor     .59122        .17830        .27245E-03   -1.0796    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.85301e-10
Minuit parameter uncertainties:
  1  28.4108
  2  1.43871
  3  0.165537
  4  0.178472
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915600': 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) = 6746.5229747
delta logL = 0.00299273391011

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.532e+01  2.841e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.662e+00  1.439e+00  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:  5.912e-01  1.785e-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:  9.651e-01  1.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/915600/cmap_HighResolution_405734401_405993601_4FGL_J2327.5-3259_daily_bin642.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', job_status='DONE', photon_flux_upper_limit='6.77e-08', time_completed='2021-09-29 20:20:34.410006', job_id='915600', GAL2='0.59', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1632972034.41', return_code2='0', ts='0.59', comment='SUCCESS', return_code='0', GAL='0.59', dlogl='2.99e-03', ts2='0.60', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='642' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:20:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 915600: <4FGL_J2327.5-3259_daily_bin642> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin642> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:05:23 2021
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:05:25 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:05:25 2021
Terminated at Wed Sep 29 20:20:35 2021
Results reported at Wed Sep 29 20:20:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin642 351.883 -32.9869 405734401 405993601 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 :                                   735.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             294.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            912 sec.

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

