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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin555
RA = 351.883, Dec = -32.9869
tmin = 383184001, tmax = 383443201
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='914368', job_status='RUN', time_executed='2021-09-29 20:02:50.182067', time_epoch_executed='1632970970.18' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='555'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914368

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914368/ft1_4FGL_J2327.5-3259_daily_bin555.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914368/ft2_4FGL_J2327.5-3259_daily_bin555.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914368/ft1_4FGL_J2327.5-3259_daily_bin555.fits outfile=/scratch/kocevski/914368/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin555.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=383184001.0 tmax=383443201.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.40
user 3.16
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/914368/ft2_4FGL_J2327.5-3259_daily_bin555.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/914368/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin555.fits evtable="EVENTS" outfile="/scratch/kocevski/914368/ft1_filtered_4FGL_J2327.5-3259_daily_bin555.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/914368/ft1_filtered_4FGL_J2327.5-3259_daily_bin555.fits" evtable="EVENTS" scfile=/scratch/kocevski/914368/ft2_4FGL_J2327.5-3259_daily_bin555.fits sctable="SC_DATA" outfile=/scratch/kocevski/914368/ltcube_383184001_383443201_4FGL_J2327.5-3259_daily_bin555.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/914368/ft2_4FGL_J2327.5-3259_daily_bin555.fits
.....................!
real 11.97
user 11.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914368/ft1_filtered_4FGL_J2327.5-3259_daily_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/914368/ft2_4FGL_J2327.5-3259_daily_bin555.fits sctable="SC_DATA" expcube=/scratch/kocevski/914368/ltcube_383184001_383443201_4FGL_J2327.5-3259_daily_bin555.fits outfile=/scratch/kocevski/914368/expmap_383184001_383443201_4FGL_J2327.5-3259_daily_bin555.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/914368/ltcube_383184001_383443201_4FGL_J2327.5-3259_daily_bin555.fits
.....................!
real 189.61
user 184.99
sys 4.20

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/914368/ft1_filtered_4FGL_J2327.5-3259_daily_bin555.fits scfile=/scratch/kocevski/914368/ft2_4FGL_J2327.5-3259_daily_bin555.fits outfile=/scratch/kocevski/914368/cmap_383184001_383443201_4FGL_J2327.5-3259_daily_bin555.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/914368/ft1_filtered_4FGL_J2327.5-3259_daily_bin555.fits scfile=/scratch/kocevski/914368/ft2_4FGL_J2327.5-3259_daily_bin555.fits outfile=/scratch/kocevski/914368/cmap_HighResolution_383184001_383443201_4FGL_J2327.5-3259_daily_bin555.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/914368/ft1_filtered_4FGL_J2327.5-3259_daily_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/914368/ft2_4FGL_J2327.5-3259_daily_bin555.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/914368/Model_4FGL_J2327.5-3259_daily_bin555.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/914368/ft1_filtered_4FGL_J2327.5-3259_daily_bin555.fits....................!
real 49.47
user 48.05
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.081       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.191       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.2325       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    12.443       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.8944       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .29458E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.3992       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2716       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.968       1.0000         .10000E-03   10000.    
    14 'norm      '    .22570       1.0000         .10000E-03   10000.    
    15 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    22.938       1.0000         .10000E-03   10000.    
    17 'Prefactor '    30.018       1.0000         .10000E-03   10000.    
    18 'norm      '    6.7610       1.0000         .10000E-03   10000.    
    19 'norm      '    7.6139       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.9047       1.0000         .10000E-03   10000.    
    21 'norm      '    .10861E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    42.271       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10432E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .71221       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87862       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=   6950.372     FROM MIGRAD    STATUS=CONVERGED    683 CALLS     3353 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.079        32.861        .78972E-06    .30407E-04
   2  Prefactor     .10000E-03    .86144        .35712E-08** at limit **
   3  Prefactor     .10000E-03    4.6128       -.51230E-08** at limit **
   4  Prefactor     17.189        18.663       -.21288E-05   -.29795E-04
   5  Prefactor     .10000E-03    13.905       -.12935E-05** at limit **
   6  Prefactor     1.2318        7.6477        .23109E-05    .11047E-03
   7  Prefactor     .10000E-03    4.3598       -.18717E-06** at limit **
   8  norm          12.445        4.3166       -.75317E-08   -.10796E-03
   9  Prefactor     3.8990        9.1935        .46653E-05    .38965E-03
  10  Prefactor     .10002E-03    7.3045        .62870E-05** at limit **
  11  norm          1.3995        .60204       -.32225E-07   -.30147E-03
  12  Prefactor     1.1329        428.35        .71233E-05    .15000E-05
  13  Prefactor     14.970        8.6545        .38124E-06    .59733E-04
  14  norm          .22165        6.0854        .19498E-05   -.14045E-03
  15  norm          .10000E-03    2.5673       -.62513E-07** at limit **
  16  Prefactor     22.935        37.467        .12666E-05    .24022E-03
  17  Prefactor     30.009        31.781        .24627E-06    .11761E-05
  18  norm          6.7582        5.8439       -.51796E-07    .76797E-03
  19  norm          7.6138        2.9591       -.84845E-07    .17412E-04
  20  Prefactor     2.9037        11.243        .57114E-05    .30461E-03
  21  norm          .10000E-03    2.0046       -.19748E-05** at limit **
  22  Prefactor     .10000E-03    16.671        .17127E-05** at limit **
  23  Prefactor     42.260        32.942        .14304E-06    .19213E-04
  24  Prefactor     .10000E-03    1.8704       -.32590E-06** at limit **
  25  Prefactor     .10000E-03    22.113       -.62465E-06** at limit **
  26  Normalizat    .71244        .14118        .43721E-06    .89836E-04
  27  Prefactor     .87840        .15015       -.10221E-05    .52871E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.0794
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.1888
  Prefactor  = 0.0001
  Prefactor  = 1.23179
  Prefactor  = 0.0001
  norm       = 12.4448
  Prefactor  = 3.89905
  Prefactor  = 0.000100016
  norm       = 1.39946
  Prefactor  = 1.13288
  Prefactor  = 14.9703
  norm       = 0.221652
  norm       = 0.0001
  Prefactor  = 22.935
  Prefactor  = 30.0093
  norm       = 6.75816
  norm       = 7.61379
  Prefactor  = 2.90367
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 42.2603
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.712445
  Prefactor  = 0.878399
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.372     FROM HESSE     STATUS=OK           502 CALLS     3855 TOTAL
                     EDM=   .67E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.079        32.870        .61078E-04   -1.4394    
   2  Prefactor     .10000E-03    .87240        .75530E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.6164        .17487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.189        18.641        .96598E-04   -1.4879    
   5  Prefactor     .10000E-03    13.832        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2318        7.7789        .40485E-03   -1.5486    
   7  Prefactor     .10000E-03    12.590        .33649E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          12.445        4.2636        .92846E-04   -1.5002    
   9  Prefactor     3.8990        9.6099        .10223E-02   -1.5313    
  10  Prefactor     .10002E-03    11.865        .26639E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.3995        .58137        .35305E-04   -1.5471    
  12  Prefactor     1.1329        439.83        .39447E-02   -1.5495    
  13  Prefactor     14.970        8.5461        .51763E-03   -1.4934    
  14  norm          .22165        31.719        .33077E-02   -1.5614    
  15  norm          .10000E-03    2.5776        .13043E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     22.935        37.127        .83635E-04   -1.4750    
  17  Prefactor     30.009        31.851        .73128E-04   -1.4612    
  18  norm          6.7582        5.7725        .12797E-03   -1.5188    
  19  norm          7.6138        2.9581        .85805E-04   -1.5156    
  20  Prefactor     2.9037        12.363        .11920E-02   -1.5367    
  21  norm          .10000E-03    10.497        .20136E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    16.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     42.260        32.936        .61658E-04   -1.4407    
  24  Prefactor     .10000E-03    7.2382        .21757E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    22.179        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .71244        .16558        .22772E-03   -1.0340    
  27  Prefactor     .87840        .17838        .23201E-03   -.96900    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.67261e-08
Minuit parameter uncertainties:
  1  32.8841
  2  1.2776e-07
  3  1.43504e-07
  4  18.6478
  5  0.0001308
  6  6.19189
  7  1.60664e-05
  8  4.26373
  9  9.61367
  10  0.000862007
  11  0.581373
  12  44.9788
  13  8.54677
  14  5.30475
  15  5.55547e-06
  16  37.1648
  17  31.8693
  18  5.77301
  19  2.95816
  20  11.9868
  21  0.000418863
  22  1.69746e-05
  23  32.9501
  24  8.01481e-06
  25  6.6987e-06
  26  0.165695
  27  0.178499
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.001e+01  3.187e+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:  8.784e-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:  7.124e-01  1.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.21
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 2.41e-08 +/- 2.55e-08
Energy Flux (Fixed Index): 6.57e-06 +/- 6.98e-06

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

Saving results to:
/scratch/kocevski/914368/likelihoodResults_383184001_383443201_4FGL_J2327.5-3259_daily_bin555.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) = 6950.21402948
delta logL = 0.158320652321

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6950.19719859
delta logL = 0.175151540541

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.637       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4062       1.0000          .0000       10.000    
     3 'Normalizat'    .69231       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89535       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=   6950.197     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      307 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.604        531.35        .10847E-03   -.52407E-06
   2  Index         3.4090        6.1228        .75305E-02    .20699E-04
   3  Normalizat    .69046        .20530        .23106E-03    .74853E-03
   4  Prefactor     .89739        .22527        .22983E-03   -.91595E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.6037
  Index      = 3.40902
  Normalizat = 0.690458
  Prefactor  = 0.897393
 **********
 **   18 **HESSE 
 **********

 FCN=   6950.197     FROM HESSE     STATUS=OK            25 CALLS      332 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.604        36.269        .43386E-05   -1.4970    
   2  Index         3.4090        1.8921        .30122E-03   -.32383    
   3  Normalizat    .69046        .16169        .46211E-04   -1.0427    
   4  Prefactor     .89739        .17837        .45965E-04   -.96232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03652e-08
Minuit parameter uncertainties:
  1  36.3273
  2  1.94634
  3  0.161801
  4  0.178487
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914368': 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) = 6950.19712722
delta logL = 0.175222910721

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.360e+01  3.633e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.409e+00  1.946e+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:  8.974e-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:  6.905e-01  1.618e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.59
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 3.41 +/- 1.95
Photon Flux (Free Index): 3.52e-08 +/- 3.52e-08
Energy Flux (Free Index): 6.01e-06 +/- 5.75e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/914368/cmap_HighResolution_383184001_383443201_4FGL_J2327.5-3259_daily_bin555.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-03', comment='SUCCESS', photon_flux='2.41e-08', energy_flux2='6.01e-06', photon_flux_error='2.55e-08', dlogl='1.75e-01', energy_flux='6.57e-06', photon_flux2='3.52e-08', job_status='DONE', time_completed='2021-09-29 20:17:16.144590', photon_index_error2='1.95', photon_index2='3.41', ts='1.21', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='8.01e-08', energy_flux_error2='5.75e-06', EG='0.71', time_epoch_completed='1632971836.14', return_code='0', job_id='914368', GAL2='0.90', EG2='0.69', return_code2='0', energy_flux_error='6.98e-06', photon_flux_error2='3.52e-08', ts2='1.59', photon_index='2.56' WHERE bin_id='555' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:17:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 914368: <4FGL_J2327.5-3259_daily_bin555> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin555 351.883 -32.9869 383184001 383443201 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 :                                   862.19 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             309.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   986 sec.
    Turnaround time :                            987 sec.

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

