/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 97 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 = 7415
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2327.5+0939_daily_bin15
RA = 351.896, Dec = 9.6543
tmin = 243216001, tmax = 243475201
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='904706', job_status='RUN', time_executed='2021-09-29 19:32:20.417125', time_epoch_executed='1632969140.42' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='15'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/904706

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

Retrieving the FT1 file...

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

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

Retrieving 44 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/904706/ft1_4FGL_J2327.5+0939_daily_bin15.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/904706/ft1_4FGL_J2327.5+0939_daily_bin15.fits outfile=/scratch/kocevski/904706/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin15.fits ra=351.896 dec=9.6543 rad=12.0 tmin=243216001.0 tmax=243475201.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 1.12
user 0.94
sys 0.15

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.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/904706/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin15.fits evtable="EVENTS" outfile="/scratch/kocevski/904706/ft1_filtered_4FGL_J2327.5+0939_daily_bin15.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.42
user 0.28
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/904706/ft1_filtered_4FGL_J2327.5+0939_daily_bin15.fits" evtable="EVENTS" scfile=/scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits sctable="SC_DATA" outfile=/scratch/kocevski/904706/ltcube_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.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/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits
.....................!
real 10.33
user 10.01
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/904706/ft1_filtered_4FGL_J2327.5+0939_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits sctable="SC_DATA" expcube=/scratch/kocevski/904706/ltcube_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.fits outfile=/scratch/kocevski/904706/expmap_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.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/904706/ltcube_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.fits
.....................!
real 151.18
user 147.17
sys 3.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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2327.5+0939 @ 351.896 9.6543

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/904706/ft1_filtered_4FGL_J2327.5+0939_daily_bin15.fits scfile=/scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits outfile=/scratch/kocevski/904706/cmap_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.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.896 yref=9.6543 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.47
user 0.32
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/904706/ft1_filtered_4FGL_J2327.5+0939_daily_bin15.fits scfile=/scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits outfile=/scratch/kocevski/904706/cmap_HighResolution_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.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.896 yref=9.6543 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.48
user 0.32
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/904706/ft1_filtered_4FGL_J2327.5+0939_daily_bin15.fits evtable="EVENTS" scfile=/scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/904706/Model_4FGL_J2327.5+0939_daily_bin15.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/904706/ft1_filtered_4FGL_J2327.5+0939_daily_bin15.fits.....................!
real 98.56
user 97.33
sys 0.98

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/904706/ft1_filtered_4FGL_J2327.5+0939_daily_bin15.fits', '/scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits', expMap='/scratch/kocevski/904706/expmap_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.fits', expCube='/scratch/kocevski/904706/ltcube_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/904706/Model_4FGL_J2327.5+0939_daily_bin15.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2327.5+0939'

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  8.298e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.682e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
411         beta:  1.276e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/904706/ft1_filtered_4FGL_J2327.5+0939_daily_bin15.fits
Spacecraft file(s): /scratch/kocevski/904706/ft2_4FGL_J2327.5+0939_daily_bin15.fits
Exposure map: /scratch/kocevski/904706/expmap_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.fits
Exposure cube: /scratch/kocevski/904706/ltcube_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/904706/Model_4FGL_J2327.5+0939_daily_bin15.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) = 10582.5874887

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10083E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.5824       1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.0420       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.616       1.0000         .10000E-03   10000.    
     5 'Prefactor '    8.9529       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    18.785       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.8913       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    26.093       1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.307       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    23.891       1.0000         .10000E-03   10000.    
    16 'norm      '    16.765       1.0000         .10000E-03   10000.    
    17 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .18131       1.0000         .10000E-03   10000.    
    19 'Prefactor '    26.040       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .33104       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1384       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .70862       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10582.58     FROM MIGRAD    STATUS=CONVERGED    515 CALLS     2764 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.581        .99742E-07** at limit **
   2  Prefactor     3.5829        13.836       -.10383E-05   -.86719E-04
   3  Prefactor     9.0420        .47303       -.55186E-08    .64052E-03
   4  Prefactor     23.625        30.694       -.82661E-05    .67922E-05
   5  Prefactor     8.9533        6.2936        .21980E-07   -.11767E-04
   6  Prefactor     .10000E-03    6.1560       -.10657E-07** at limit **
   7  Prefactor     18.785        15.290        .34531E-05    .16672E-04
   8  Prefactor     .10000E-03    3.5774        .58777E-07** at limit **
   9  Prefactor     .10000E-03    3.9099        .21702E-06** at limit **
  10  Prefactor     2.8908        15.876       -.63091E-05   -.11118E-03
  11  Prefactor     .10000E-03    27.877       -.44324E-06** at limit **
  12  norm          26.098        11.430       -.41296E-06    .63611E-04
  13  Prefactor     14.303        9.2562        .18699E-05    .48232E-04
  14  Prefactor     .10000E-03    3.5808       -.20872E-07** at limit **
  15  Prefactor     23.893        27.300       -.17200E-04    .21312E-04
  16  norm          16.765        14.108        .28591E-06    .22076E-04
  17  norm          .10000E-03    4.5888       -.32210E-08** at limit **
  18  Prefactor     .71962E-01    29.731       -.99046E-06    .10070E-03
  19  Prefactor     26.030        28.635        .10332E-05    .73476E-04
  20  Prefactor     .33051        3.0619       -.14675E-05   -.36625E-03
  21  Normalizat    1.1383        .19819        .22672E-05    .14138E-03
  22  Prefactor     .70862        .11289        .69328E-06    .28890E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.58287
  Prefactor  = 9.04196
  Prefactor  = 23.6251
  Prefactor  = 8.95329
  Prefactor  = 0.0001
  Prefactor  = 18.7845
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.89076
  Prefactor  = 0.0001
  norm       = 26.0978
  Prefactor  = 14.3033
  Prefactor  = 0.0001
  Prefactor  = 23.8929
  norm       = 16.7647
  norm       = 0.0001
  Prefactor  = 0.0719616
  Prefactor  = 26.0301
  Prefactor  = 0.330515
  Normalizat = 1.13832
  Prefactor  = 0.708622
 **********
 **   18 **HESSE 
 **********

 FCN=   10582.58     FROM HESSE     STATUS=OK           360 CALLS     3124 TOTAL
                     EDM=   .71E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.594        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.5829        13.840        .21351E-03   -1.5329    
   3  Prefactor     9.0420        .47359        .15488E-04   -1.5106    
   4  Prefactor     23.625        30.768        .82426E-04   -1.4735    
   5  Prefactor     8.9533        6.2937        .13395E-03   -1.5109    
   6  Prefactor     .10000E-03    6.1819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     18.785        15.283        .92410E-04   -1.4841    
   8  Prefactor     .10000E-03    3.6105        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.9299        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     2.8908        16.081        .23900E-03   -1.5368    
  11  Prefactor     .10000E-03    27.930        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          26.098        11.423        .78423E-04   -1.4686    
  13  Prefactor     14.303        9.2643        .10589E-03   -1.4951    
  14  Prefactor     .10000E-03    3.5885        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     23.893        27.249        .81952E-04   -1.4730    
  16  norm          16.765        14.109        .97819E-04   -1.4889    
  17  norm          .10000E-03    4.5897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .71962E-01    29.118        .14288       -1.5654    
  19  Prefactor     26.030        28.857        .78504E-04   -1.4687    
  20  Prefactor     .33051        11.134        .34830E-02   -1.5593    
  21  Normalizat    1.1383        .23442        .34592E-03   -.88531    
  22  Prefactor     .70862        .13233        .26108E-03   -1.0319    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.09271e-10
Minuit parameter uncertainties:
  1  2.60652e-06
  2  13.8527
  3  0.473594
  4  30.7886
  5  6.29416
  6  2.411e-06
  7  15.2862
  8  1.08288e-05
  9  4.25098e-05
  10  13.6416
  11  2.46594e-05
  12  11.4235
  13  9.26518
  14  4.12986e-06
  15  27.263
  16  14.1116
  17  1.66231e-06
  18  2.89447
  19  28.872
  20  3.8369
  21  0.234636
  22  0.132389
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  2.610e+01  1.142e+01  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.682e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
411         beta:  1.276e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  7.086e-01  1.324e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  1.138e+00  2.346e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.94
Ra Dec: 351.896 9.654
Photon Index (Fixed Index): 2.68 +/- 0.00
Photon Flux (Fixed Index): 1.42e-07 +/- 6.19e-08
Energy Flux (Fixed Index): 3.52e-05 +/- 1.54e-05

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) = 10581.4203519
delta logL = 1.15784298516

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 10581.3440353
delta logL = 1.23415959571

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    29.066       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0035       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1964       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68870       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10581.34     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      212 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          29.066        15.766        .18578E-02    .28758E-02
   2  alpha         2.0034        .44662        .38578       -.17567E-04
   3  Normalizat    1.1964        .18620        .76665E-01    .16964E-04
   4  Prefactor     .68871        .11273        .42251E-01    .25854E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 29.0664
  alpha      = 2.00344
  Normalizat = 1.19644
  Prefactor  = 0.688707
 **********
 **   18 **HESSE 
 **********

 FCN=   10581.34     FROM HESSE     STATUS=OK            31 CALLS      243 TOTAL
                     EDM=   .48E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          29.066        13.743        .74312E-04   -1.4629    
   2  alpha         2.0034        .45190        .14575E-01   -.19995    
   3  Normalizat    1.1964        .21692        .33931E-03   -.86713    
   4  Prefactor     .68871        .13083        .26468E-03   -1.0397    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.82697e-09
Minuit parameter uncertainties:
  1  13.7449
  2  0.454498
  3  0.217083
  4  0.130885
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/904706': 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) = 10581.3440353
delta logL = 1.23415962454

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  2.907e+01  1.374e+01  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.003e+00  4.545e-01  0.000e+00  5.000e+00 ( 1.000e+00)
411         beta:  1.276e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  6.887e-01  1.309e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  1.196e+00  2.171e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.24
Ra Dec: 351.896 9.654
Photon Index (Free Index): 2.00 +/- 0.45
Photon Flux (Free Index): 8.23e-08 +/- 5.60e-08
Energy Flux (Free Index): 3.94e-05 +/- 1.78e-05

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/904706/cmap_HighResolution_243216001_243475201_4FGL_J2327.5+0939_daily_bin15.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='3.94e-05', photon_flux_error='6.19e-08', dlogl='1.23e+00', energy_flux='3.52e-05', photon_flux2='8.23e-08', job_status='DONE', time_completed='2021-09-29 19:43:26.101733', photon_index_error2='0.45', photon_index2='2.00', ts='13.94', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='1.78e-05', EG='1.14', time_epoch_completed='1632969806.1', return_code='0', job_id='904706', GAL2='0.69', EG2='1.20', return_code2='0', energy_flux_error='1.54e-05', photon_flux_error2='5.60e-08', ts2='16.24', photon_index='2.68' WHERE bin_id='15' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:43:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 904706: <4FGL_J2327.5+0939_daily_bin15> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin15> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:30:32 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:30:34 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:30:34 2021
Terminated at Wed Sep 29 19:43:26 2021
Results reported at Wed Sep 29 19:43:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin15 351.896 9.6543 243216001 243475201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2327.5+0939 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   664.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   772 sec.
    Turnaround time :                            774 sec.

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

