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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1303
RA = 351.883, Dec = -32.9869
tmin = 577065601, tmax = 577324801
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='917666', job_status='RUN', time_executed='2021-09-29 20:13:35.641220', time_epoch_executed='1632971615.64' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1303'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917666

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917666/ft1_4FGL_J2327.5-3259_daily_bin1303.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917666/ft2_4FGL_J2327.5-3259_daily_bin1303.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917666/ft1_4FGL_J2327.5-3259_daily_bin1303.fits outfile=/scratch/kocevski/917666/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1303.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=577065601.0 tmax=577324801.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.18
user 2.90
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917666/ft1_filtered_4FGL_J2327.5-3259_daily_bin1303.fits" evtable="EVENTS" scfile=/scratch/kocevski/917666/ft2_4FGL_J2327.5-3259_daily_bin1303.fits sctable="SC_DATA" outfile=/scratch/kocevski/917666/ltcube_577065601_577324801_4FGL_J2327.5-3259_daily_bin1303.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/917666/ft2_4FGL_J2327.5-3259_daily_bin1303.fits
.....................!
real 12.60
user 12.25
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917666/ft1_filtered_4FGL_J2327.5-3259_daily_bin1303.fits evtable="EVENTS" scfile=/scratch/kocevski/917666/ft2_4FGL_J2327.5-3259_daily_bin1303.fits sctable="SC_DATA" expcube=/scratch/kocevski/917666/ltcube_577065601_577324801_4FGL_J2327.5-3259_daily_bin1303.fits outfile=/scratch/kocevski/917666/expmap_577065601_577324801_4FGL_J2327.5-3259_daily_bin1303.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/917666/ltcube_577065601_577324801_4FGL_J2327.5-3259_daily_bin1303.fits
.....................!
real 192.36
user 186.11
sys 5.75

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/917666/ft1_filtered_4FGL_J2327.5-3259_daily_bin1303.fits scfile=/scratch/kocevski/917666/ft2_4FGL_J2327.5-3259_daily_bin1303.fits outfile=/scratch/kocevski/917666/cmap_577065601_577324801_4FGL_J2327.5-3259_daily_bin1303.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.883 yref=-32.9869 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917666/ft1_filtered_4FGL_J2327.5-3259_daily_bin1303.fits scfile=/scratch/kocevski/917666/ft2_4FGL_J2327.5-3259_daily_bin1303.fits outfile=/scratch/kocevski/917666/cmap_HighResolution_577065601_577324801_4FGL_J2327.5-3259_daily_bin1303.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.058       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5401       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10380E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.7943       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.1765       1.0000         .10000E-03   10000.    
     8 'norm      '    3.0050       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.1845       1.0000         .10000E-03   10000.    
    11 'norm      '    .38851       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    27.260       1.0000         .10000E-03   10000.    
    14 'norm      '    8.2827       1.0000         .10000E-03   10000.    
    15 'norm      '    .80805E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    23.165       1.0000         .10000E-03   10000.    
    18 'norm      '    3.7333       1.0000         .10000E-03   10000.    
    19 'norm      '    1.6929       1.0000         .10000E-03   10000.    
    20 'Prefactor '    46.785       1.0000         .10000E-03   10000.    
    21 'norm      '    2.2068       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.8848       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.3693       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .74156       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7476.369     FROM MIGRAD    STATUS=CONVERGED    645 CALLS     2862 TOTAL
                     EDM=   .64E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.058        28.036         .0000        .42424E-04
   2  Prefactor     1.5416        3.2460         .0000        .21698E-02
   3  Prefactor     .10012E-03    44.212         .0000    ** at limit **
   4  Prefactor     2.7919        13.234         .0000        .13262E-03
   5  Prefactor     .10000E-03    15.936         .0000    ** at limit **
   6  Prefactor     .10000E-03    10.880         .0000    ** at limit **
   7  Prefactor     1.1766        4.9717         .0000        .18662E-02
   8  norm          3.0055        2.4106         .0000       -.13739E-03
   9  Prefactor     .10000E-03    5.3346         .0000    ** at limit **
  10  Prefactor     2.1763        10.353         .0000        .61861E-03
  11  norm          .38862        .43427         .0000        .63687E-03
  12  Prefactor     .10000E-03    25.595         .0000    ** at limit **
  13  Prefactor     27.267        12.858         .0000        .49773E-03
  14  norm          8.2827        6.3958         .0000        .27544E-02
  15  norm          .10001E-03    4.5015         .0000    ** at limit **
  16  Prefactor     .10009E-03    43.250         .0000    ** at limit **
  17  Prefactor     23.166        29.271         .0000       -.68690E-03
  18  norm          3.7321        6.3710         .0000        .19138E-02
  19  norm          1.6935        3.2444         .0000        .14932E-02
  20  Prefactor     46.783        30.547         .0000        .16054E-02
  21  norm          2.2067        4.5242         .0000        .20601E-01
  22  Prefactor     .10002E-03    26.106         .0000    ** at limit **
  23  Prefactor     .10003E-03    24.315         .0000    ** at limit **
  24  Prefactor     1.8849        5.3568         .0000        .23743E-01
  25  Prefactor     .10000E-03    10.218         .0000    ** at limit **
  26  Normalizat    1.3693        .16964         .0000        .32545E-03
  27  Prefactor     .74163        .17453         .0000        .34122E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.0583
  Prefactor  = 1.54161
  Prefactor  = 0.000100117
  Prefactor  = 2.7919
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 1.17658
  norm       = 3.00545
  Prefactor  = 0.0001
  Prefactor  = 2.17632
  norm       = 0.388615
  Prefactor  = 0.000100002
  Prefactor  = 27.2668
  norm       = 8.28272
  norm       = 0.000100008
  Prefactor  = 0.000100091
  Prefactor  = 23.1664
  norm       = 3.73213
  norm       = 1.69347
  Prefactor  = 46.7829
  norm       = 2.20672
  Prefactor  = 0.000100019
  Prefactor  = 0.000100032
  Prefactor  = 1.88492
  Prefactor  = 0.000100002
  Normalizat = 1.36929
  Prefactor  = 0.741628
 **********
 **   18 **HESSE 
 **********

 FCN=   7476.369     FROM HESSE     STATUS=OK           494 CALLS     3356 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.058        28.037        .83416E-04   -1.4747    
   2  Prefactor     1.5416        3.2242        .21512E-03   -1.5460    
   3  Prefactor     .10012E-03    46.086        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     2.7919        13.201        .24339E-03   -1.5374    
   5  Prefactor     .10000E-03    15.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     1.1766        4.8914        .37246E-03   -1.5491    
   8  norm          3.0055        2.3948        .11355E-03   -1.5361    
   9  Prefactor     .10000E-03    5.3374        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.1763        9.1009        .27850E-03   -1.5413    
  11  norm          .38862        .41264        .51049E-04   -1.5583    
  12  Prefactor     .10000E-03    25.624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     27.267        12.423        .76730E-04   -1.4663    
  14  norm          8.2827        6.3490        .13930E-03   -1.5132    
  15  norm          .10001E-03    4.6865        .57826E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10009E-03    43.373        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     23.166        29.322        .83225E-04   -1.4745    
  18  norm          3.7321        6.1706        .20178E-03   -1.5322    
  19  norm          1.6935        3.2084        .20196E-03   -1.5448    
  20  Prefactor     46.783        30.406        .58621E-04   -1.4339    
  21  norm          2.2067        4.3900        .10836E-02   -1.5411    
  22  Prefactor     .10002E-03    26.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10003E-03    24.355        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.8849        5.3712        .15158E-02   -1.5433    
  25  Prefactor     .10000E-03    10.220        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3693        .20689        .21839E-03   -.81521    
  27  Prefactor     .74163        .21081        .30524E-03   -1.0192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.17039e-08
Minuit parameter uncertainties:
  1  28.0527
  2  3.22452
  3  0.0046401
  4  12.1459
  5  0.000162114
  6  0.00042217
  7  4.79843
  8  2.39488
  9  6.7046e-05
  10  8.90299
  11  0.412642
  12  0.000482943
  13  12.4245
  14  6.34953
  15  0.000399108
  16  0.00398632
  17  29.3397
  18  6.17163
  19  3.2087
  20  30.4157
  21  4.39059
  22  0.0014225
  23  0.00177871
  24  5.37255
  25  0.000271767
  26  0.207016
  27  0.211039
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  2.317e+01  2.934e+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.416e-01  2.110e-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.369e+00  2.070e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.11
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.86e-08 +/- 2.35e-08
Energy Flux (Fixed Index): 5.08e-06 +/- 6.43e-06

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

Saving results to:
/scratch/kocevski/917666/likelihoodResults_577065601_577324801_4FGL_J2327.5-3259_daily_bin1303.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) = 7476.36883435
delta logL = 9.42236511037e-09

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7476.36883434
delta logL = 1.83117663255e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.166       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5571       1.0000          .0000       10.000    
     3 'Normalizat'    1.3693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74163       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=   7476.369     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      186 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.166        31.323        .20805E-02    .17661E-02
   2  Index         2.5577        1.0820        .23339E-01    .10213E-03
   3  Normalizat    1.3693        .16223        .49400E-01    .15808E-03
   4  Prefactor     .74164        .17203        .68983E-01    .13990E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.1664
  Index      = 2.55768
  Normalizat = 1.36928
  Prefactor  = 0.741637
 **********
 **   18 **HESSE 
 **********

 FCN=   7476.369     FROM HESSE     STATUS=OK            27 CALLS      213 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.166        30.171        .83222E-04   -1.4745    
   2  Index         2.5577        1.0464        .93357E-03   -.51033    
   3  Normalizat    1.3693        .19625        .21839E-03   -.81521    
   4  Prefactor     .74164        .20736        .30524E-03   -1.0192    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1441e-08
Minuit parameter uncertainties:
  1  30.1909
  2  1.05673
  3  0.19636
  4  0.207579
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917666': 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) = 7476.36883418
delta logL = 1.77986294148e-07

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  2.317e+01  3.019e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.558e+00  1.057e+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:  7.416e-01  2.076e-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.369e+00  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.11
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 2.56 +/- 1.06
Photon Flux (Free Index): 1.86e-08 +/- 2.98e-08
Energy Flux (Free Index): 5.08e-06 +/- 6.42e-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/917666/cmap_HighResolution_577065601_577324801_4FGL_J2327.5-3259_daily_bin1303.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.28e-03', comment='SUCCESS', photon_flux='1.86e-08', energy_flux2='5.08e-06', photon_flux_error='2.35e-08', dlogl='1.78e-07', energy_flux='5.08e-06', photon_flux2='1.86e-08', job_status='DONE', time_completed='2021-09-29 20:27:28.583640', photon_index_error2='1.06', photon_index2='2.56', ts='1.11', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='8.05e-08', energy_flux_error2='6.42e-06', EG='1.37', time_epoch_completed='1632972448.58', return_code='0', job_id='917666', GAL2='0.74', EG2='1.37', return_code2='0', energy_flux_error='6.43e-06', photon_flux_error2='2.98e-08', ts2='1.11', photon_index='2.56' WHERE bin_id='1303' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:27:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0034>
Subject: Job 917666: <4FGL_J2327.5-3259_daily_bin1303> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1303> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:11:08 2021
Job was executed on host(s) <bullet0034>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:11:10 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:11:10 2021
Terminated at Wed Sep 29 20:27:29 2021
Results reported at Wed Sep 29 20:27:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1303 351.883 -32.9869 577065601 577324801 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 :                                   824.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   978 sec.
    Turnaround time :                            981 sec.

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

