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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1090
RA = 351.883, Dec = -32.9869
tmin = 521856001, tmax = 522115201
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='917326', job_status='RUN', time_executed='2021-09-29 20:12:13.945372', time_epoch_executed='1632971533.95' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1090'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917326

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917326/ft1_4FGL_J2327.5-3259_daily_bin1090.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917326/ft2_4FGL_J2327.5-3259_daily_bin1090.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917326/ft1_4FGL_J2327.5-3259_daily_bin1090.fits outfile=/scratch/kocevski/917326/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1090.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=521856001.0 tmax=522115201.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.72
user 3.50
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/917326/ft2_4FGL_J2327.5-3259_daily_bin1090.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/917326/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1090.fits evtable="EVENTS" outfile="/scratch/kocevski/917326/ft1_filtered_4FGL_J2327.5-3259_daily_bin1090.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.50
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917326/ft1_filtered_4FGL_J2327.5-3259_daily_bin1090.fits" evtable="EVENTS" scfile=/scratch/kocevski/917326/ft2_4FGL_J2327.5-3259_daily_bin1090.fits sctable="SC_DATA" outfile=/scratch/kocevski/917326/ltcube_521856001_522115201_4FGL_J2327.5-3259_daily_bin1090.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/917326/ft2_4FGL_J2327.5-3259_daily_bin1090.fits
.....................!
real 14.61
user 14.25
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917326/ft1_filtered_4FGL_J2327.5-3259_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/917326/ft2_4FGL_J2327.5-3259_daily_bin1090.fits sctable="SC_DATA" expcube=/scratch/kocevski/917326/ltcube_521856001_522115201_4FGL_J2327.5-3259_daily_bin1090.fits outfile=/scratch/kocevski/917326/expmap_521856001_522115201_4FGL_J2327.5-3259_daily_bin1090.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/917326/ltcube_521856001_522115201_4FGL_J2327.5-3259_daily_bin1090.fits
.....................!
real 190.17
user 184.94
sys 4.84

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

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

This is gtbin version HEAD
real 0.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917326/ft1_filtered_4FGL_J2327.5-3259_daily_bin1090.fits scfile=/scratch/kocevski/917326/ft2_4FGL_J2327.5-3259_daily_bin1090.fits outfile=/scratch/kocevski/917326/cmap_HighResolution_521856001_522115201_4FGL_J2327.5-3259_daily_bin1090.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/917326/ft1_filtered_4FGL_J2327.5-3259_daily_bin1090.fits evtable="EVENTS" scfile=/scratch/kocevski/917326/ft2_4FGL_J2327.5-3259_daily_bin1090.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917326/Model_4FGL_J2327.5-3259_daily_bin1090.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/917326/ft1_filtered_4FGL_J2327.5-3259_daily_bin1090.fits.....................!
real 41.52
user 40.17
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    185.43       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.8038       1.0000         .10000E-03   10000.    
     3 'Prefactor '    8.7664       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10175E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    58.337       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.6729       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.9605       1.0000         .10000E-03   10000.    
    10 'Prefactor '    5.8414       1.0000         .10000E-03   10000.    
    11 'norm      '    .57175       1.0000         .10000E-03   10000.    
    12 'Prefactor '    45.129       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.0205       1.0000         .10000E-03   10000.    
    15 'norm      '    6.8694       1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.965       1.0000         .10000E-03   10000.    
    17 'Prefactor '    43.112       1.0000         .10000E-03   10000.    
    18 'norm      '    .10981E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.9676       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10140E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.1689       1.0000         .10000E-03   10000.    
    25 'Prefactor '    23.079       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .87135       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0166       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=   5256.863     FROM MIGRAD    STATUS=CONVERGED    624 CALLS     3234 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     185.42        74.641       -.79720E-05    .74533E-05
   2  Prefactor     1.7991        4.8924       -.45261E-05   -.99426E-03
   3  Prefactor     8.7760        20.494        .69870E-05    .50932E-04
   4  Prefactor     .10000E-03    31.897        .95736E-05** at limit **
   5  Prefactor     58.330        37.206       -.63794E-05   -.30697E-04
   6  Prefactor     .10000E-03    4.6641        .64598E-07** at limit **
   7  Prefactor     .10000E-03    1.8144       -.10519E-07** at limit **
   8  norm          5.6728        4.8879       -.37284E-06   -.38783E-04
   9  Prefactor     7.9650        23.867        .71395E-05    .12012E-04
  10  Prefactor     5.8350        13.524       -.40272E-05   -.23118E-03
  11  norm          .57182        .59328        .43285E-07   -.20192E-03
  12  Prefactor     45.125        49.675       -.48436E-05   -.35623E-05
  13  Prefactor     .10000E-03    5.5998       -.12707E-07** at limit **
  14  norm          3.0208        3.8346       -.54103E-06   -.26153E-04
  15  norm          6.8683        7.6682        .12423E-05   -.77643E-04
  16  Prefactor     20.969        33.432        .54828E-05    .31213E-04
  17  Prefactor     43.097        43.826       -.16986E-04    .92527E-05
  18  norm          .10000E-03    3.6408       -.43732E-06** at limit **
  19  norm          1.9677        2.5546       -.10590E-06   -.19018E-03
  20  Prefactor     .10000E-03    21.469       -.12999E-04** at limit **
  21  norm          .10000E-03    3.1845       -.21335E-06** at limit **
  22  Prefactor     .10000E-03    45.666       -.52265E-05** at limit **
  23  Prefactor     .10000E-03    19.814        .82375E-05** at limit **
  24  Prefactor     6.1677        6.6457        .86289E-06   -.14723E-03
  25  Prefactor     23.085        47.351        .10424E-04    .32301E-04
  26  Normalizat    .87158        .20296        .42901E-05   -.31747E-04
  27  Prefactor     1.0164        .20740       -.13936E-05    .19920E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 185.417
  Prefactor  = 1.79913
  Prefactor  = 8.77605
  Prefactor  = 0.0001
  Prefactor  = 58.3295
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.67283
  Prefactor  = 7.96501
  Prefactor  = 5.83501
  norm       = 0.571818
  Prefactor  = 45.1253
  Prefactor  = 0.0001
  norm       = 3.0208
  norm       = 6.86835
  Prefactor  = 20.9687
  Prefactor  = 43.0971
  norm       = 0.0001
  norm       = 1.96768
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.16771
  Prefactor  = 23.085
  Normalizat = 0.871578
  Prefactor  = 1.01645
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.863     FROM HESSE     STATUS=OK           492 CALLS     3726 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     185.42        74.617        .14825E-03   -1.2976    
   2  Prefactor     1.7991        4.8957        .22155E-03   -1.5440    
   3  Prefactor     8.7760        20.320        .13538E-03   -1.5115    
   4  Prefactor     .10000E-03    32.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     58.330        37.259        .52526E-04   -1.4179    
   6  Prefactor     .10000E-03    4.6765        .15290E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.8149        .95379E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.6728        4.8686        .12587E-03   -1.5232    
   9  Prefactor     7.9650        23.416        .14211E-03   -1.5143    
  10  Prefactor     5.8350        13.303        .16617E-03   -1.5225    
  11  norm          .57182        .57863        .46631E-04   -1.5557    
  12  Prefactor     45.125        49.695        .59681E-04   -1.4363    
  13  Prefactor     .10000E-03    5.6095        .16733E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.0208        3.8268        .15109E-03   -1.5360    
  15  norm          6.8683        7.6541        .15308E-03   -1.5184    
  16  Prefactor     20.969        33.248        .87478E-04   -1.4792    
  17  Prefactor     43.097        43.630        .61056E-04   -1.4394    
  18  norm          .10000E-03    3.6919        .26832E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.9677        2.5401        .12799E-03   -1.5427    
  20  Prefactor     .10000E-03    21.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    3.2561        .25224E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    45.672        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    19.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.1677        6.6466        .16163E-03   -1.5211    
  25  Prefactor     23.085        47.318        .83380E-04   -1.4747    
  26  Normalizat    .87158        .24369        .24867E-03   -.97466    
  27  Prefactor     1.0164        .24845        .25295E-03   -.92183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.09128e-09
Minuit parameter uncertainties:
  1  74.6551
  2  4.89676
  3  20.336
  4  8.25969e-05
  5  37.274
  6  4.38775e-06
  7  1.66063e-06
  8  4.86895
  9  23.4429
  10  13.3098
  11  0.57864
  12  49.7409
  13  4.59616e-06
  14  3.82715
  15  7.65522
  16  33.2772
  17  43.6621
  18  7.52315e-05
  19  2.54023
  20  2.71863e-06
  21  3.87374e-05
  22  1.88198e-05
  23  3.59983e-05
  24  6.64736
  25  47.3951
  26  0.243993
  27  0.248729
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  4.310e+01  4.366e+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:  1.016e+00  2.487e-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:  8.716e-01  2.440e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.54
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 3.45e-08 +/- 3.50e-08
Energy Flux (Fixed Index): 9.44e-06 +/- 9.56e-06

TS (Fixed Index): 1.54
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.96e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917326/likelihoodResults_521856001_522115201_4FGL_J2327.5-3259_daily_bin1090.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) = 5256.86066061
delta logL = 0.00196261635301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5256.86002453
delta logL = 0.00259869535694

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.624       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6305       1.0000          .0000       10.000    
     3 'Normalizat'    .86836       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0189       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=   5256.860     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      221 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     41.624        1171.8        .15533E-02    .92686E-04
   2  Index         2.6305        6.0863        .23101        .46084E-04
   3  Normalizat    .86840        .73708E-01    .44496E-01    .12957E-04
   4  Prefactor     1.0188        .66684E-01    .42254E-01    .79237E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 41.624
  Index      = 2.63046
  Normalizat = 0.868399
  Prefactor  = 1.01884
 **********
 **   18 **HESSE 
 **********

 FCN=   5256.860     FROM HESSE     STATUS=OK            31 CALLS      252 TOTAL
                     EDM=   .38E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     41.624        49.201        .62133E-04   -1.4417    
   2  Index         2.6305        1.0596        .94963E-02   -.49372    
   3  Normalizat    .86840        .22615        .24908E-03   -.97580    
   4  Prefactor     1.0188        .24332        .25269E-03   -.92104    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.82078e-11
Minuit parameter uncertainties:
  1  49.2494
  2  1.07008
  3  0.226395
  4  0.243585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917326': 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) = 5256.86002452
delta logL = 0.00259870773243

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  4.162e+01  4.925e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.630e+00  1.070e+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:  1.019e+00  2.436e-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:  8.684e-01  2.264e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.53
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 2.63 +/- 1.07
Photon Flux (Free Index): 3.66e-08 +/- 4.49e-08
Energy Flux (Free Index): 9.33e-06 +/- 9.51e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/917326/cmap_HighResolution_521856001_522115201_4FGL_J2327.5-3259_daily_bin1090.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.96e-03', comment='SUCCESS', photon_flux='3.45e-08', energy_flux2='9.33e-06', photon_flux_error='3.50e-08', dlogl='2.60e-03', energy_flux='9.44e-06', photon_flux2='3.66e-08', job_status='DONE', time_completed='2021-09-29 20:24:46.840079', photon_index_error2='1.07', photon_index2='2.63', ts='1.54', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='9.51e-06', EG='0.87', time_epoch_completed='1632972286.84', return_code='0', job_id='917326', GAL2='1.02', EG2='0.87', return_code2='0', energy_flux_error='9.56e-06', photon_flux_error2='4.49e-08', ts2='1.53', photon_index='2.56' WHERE bin_id='1090' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:24:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 917326: <4FGL_J2327.5-3259_daily_bin1090> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1090 351.883 -32.9869 521856001 522115201 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 :                                   697.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             281.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            848 sec.

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

