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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1507
RA = 351.883, Dec = -32.9869
tmin = 629942401, tmax = 630201601
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='918904', job_status='RUN', time_executed='2021-09-29 20:17:09.491499', time_epoch_executed='1632971829.49' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1507'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/918904

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/918904/ft1_4FGL_J2327.5-3259_daily_bin1507.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/918904/ft2_4FGL_J2327.5-3259_daily_bin1507.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/918904/ft1_4FGL_J2327.5-3259_daily_bin1507.fits outfile=/scratch/kocevski/918904/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1507.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=629942401.0 tmax=630201601.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 4.73
user 4.48
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/918904/ft1_filtered_4FGL_J2327.5-3259_daily_bin1507.fits" evtable="EVENTS" scfile=/scratch/kocevski/918904/ft2_4FGL_J2327.5-3259_daily_bin1507.fits sctable="SC_DATA" outfile=/scratch/kocevski/918904/ltcube_629942401_630201601_4FGL_J2327.5-3259_daily_bin1507.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/918904/ft2_4FGL_J2327.5-3259_daily_bin1507.fits
.....................!
real 11.78
user 11.44
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/918904/ft1_filtered_4FGL_J2327.5-3259_daily_bin1507.fits evtable="EVENTS" scfile=/scratch/kocevski/918904/ft2_4FGL_J2327.5-3259_daily_bin1507.fits sctable="SC_DATA" expcube=/scratch/kocevski/918904/ltcube_629942401_630201601_4FGL_J2327.5-3259_daily_bin1507.fits outfile=/scratch/kocevski/918904/expmap_629942401_630201601_4FGL_J2327.5-3259_daily_bin1507.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/918904/ltcube_629942401_630201601_4FGL_J2327.5-3259_daily_bin1507.fits
.....................!
real 192.13
user 187.49
sys 4.28

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/918904/ft1_filtered_4FGL_J2327.5-3259_daily_bin1507.fits scfile=/scratch/kocevski/918904/ft2_4FGL_J2327.5-3259_daily_bin1507.fits outfile=/scratch/kocevski/918904/cmap_629942401_630201601_4FGL_J2327.5-3259_daily_bin1507.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.39
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/918904/ft1_filtered_4FGL_J2327.5-3259_daily_bin1507.fits evtable="EVENTS" scfile=/scratch/kocevski/918904/ft2_4FGL_J2327.5-3259_daily_bin1507.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/918904/Model_4FGL_J2327.5-3259_daily_bin1507.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/918904/ft1_filtered_4FGL_J2327.5-3259_daily_bin1507.fits.....................!
real 49.68
user 48.39
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    16.322       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.583       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.1144       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.6732       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7118       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.595       1.0000         .10000E-03   10000.    
    14 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.494       1.0000         .10000E-03   10000.    
    16 'Prefactor '    25.658       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.688       1.0000         .10000E-03   10000.    
    18 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.9303       1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.575       1.0000         .10000E-03   10000.    
    21 'norm      '    1.0269       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .20251E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .78748       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .79245       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=   6867.838     FROM MIGRAD    STATUS=CONVERGED    649 CALLS     2848 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.340        .36337E-06** at limit **
   2  Prefactor     .10000E-03    1.1509        .60097E-07** at limit **
   3  Prefactor     16.325        13.677        .30511E-07   -.55814E-05
   4  Prefactor     25.584        15.832        .38603E-06    .25744E-03
   5  Prefactor     .10000E-03    23.800       -.67525E-06** at limit **
   6  Prefactor     7.1141        7.1751       -.12687E-07   -.59005E-04
   7  Prefactor     .10000E-03    2.8733       -.27602E-07** at limit **
   8  norm          1.6731        2.0778       -.56740E-07   -.45521E-03
   9  Prefactor     .10000E-03    3.1102        .84934E-08** at limit **
  10  Prefactor     .10000E-03    6.8867        .44927E-06** at limit **
  11  norm          1.7116        .62943       -.80649E-07   -.50386E-02
  12  Prefactor     .10000E-03    11.036       -.21434E-06** at limit **
  13  Prefactor     16.595        10.439       -.44140E-06   -.91455E-03
  14  norm          .10000E-03    2.6105       -.83301E-06** at limit **
  15  norm          11.494        6.6016        .15611E-07    .42786E-05
  16  Prefactor     25.649        22.651       -.94314E-08    .16787E-03
  17  Prefactor     13.690        29.604       -.41877E-06   -.26849E-04
  18  norm          .10000E-03    1.2556       -.82793E-06** at limit **
  19  norm          3.9304        2.7546       -.10370E-07   -.10719E-03
  20  Prefactor     29.571        23.229        .87032E-07   -.39750E-04
  21  norm          1.0287        1.7722        .17968E-05   -.13370E-02
  22  Prefactor     .10000E-03    16.526        .27865E-06** at limit **
  23  Prefactor     .10000E-03    33.813        .72220E-06** at limit **
  24  Prefactor     .10000E-03    2.2774        .16211E-05** at limit **
  25  Prefactor     .10000E-03    7.9628       -.16700E-06** at limit **
  26  Normalizat    .78745        .13505        .10585E-05   -.73741E-04
  27  Prefactor     .79253        .14519       -.13373E-05   -.21192E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.3248
  Prefactor  = 25.5835
  Prefactor  = 0.0001
  Prefactor  = 7.1141
  Prefactor  = 0.0001
  norm       = 1.67307
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.71159
  Prefactor  = 0.0001
  Prefactor  = 16.5951
  norm       = 0.000100001
  norm       = 11.4941
  Prefactor  = 25.6495
  Prefactor  = 13.6904
  norm       = 0.000100001
  norm       = 3.93045
  Prefactor  = 29.5709
  norm       = 1.02869
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.787454
  Prefactor  = 0.792534
 **********
 **   18 **HESSE 
 **********

 FCN=   6867.838     FROM HESSE     STATUS=OK           484 CALLS     3332 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.381        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.1757        .17331E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     16.325        13.661        .99137E-04   -1.4900    
   4  Prefactor     25.584        15.868        .79200E-04   -1.4696    
   5  Prefactor     .10000E-03    23.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.1141        7.1803        .15039E-03   -1.5174    
   7  Prefactor     .10000E-03    2.8863        .13718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.6731        2.0648        .12783E-03   -1.5449    
   9  Prefactor     .10000E-03    3.1116        .14270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.0143        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7116        .64293        .34258E-04   -1.5446    
  12  Prefactor     .10000E-03    11.036        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.595        10.712        .98317E-04   -1.4893    
  14  norm          .10000E-03    2.7693        .26397E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.494        6.5995        .11816E-03   -1.5030    
  16  Prefactor     25.649        22.853        .79084E-04   -1.4695    
  17  Prefactor     13.690        29.671        .10826E-03   -1.4968    
  18  norm          .10000E-03    1.3355        .92827E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.9304        2.7494        .10793E-03   -1.5311    
  20  Prefactor     29.571        23.219        .73673E-04   -1.4620    
  21  norm          1.0287        1.9483        .88564E-02   -1.5505    
  22  Prefactor     .10000E-03    16.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    33.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.0918        .21568E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    7.9624        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .78745        .15775        .21274E-03   -1.0054    
  27  Prefactor     .79253        .16991        .23686E-03   -1.0000    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.95593e-09
Minuit parameter uncertainties:
  1  3.33575e-05
  2  4.01222e-06
  3  13.6639
  4  15.8711
  5  0.000170516
  6  7.18113
  7  3.105e-07
  8  2.06488
  9  4.47463e-06
  10  4.67501e-05
  11  0.642933
  12  2.79426e-06
  13  10.7128
  14  9.4105e-05
  15  6.59995
  16  22.8604
  17  29.7028
  18  6.67345e-05
  19  2.7495
  20  23.2263
  21  1.94838
  22  1.10828e-05
  23  6.57526e-05
  24  2.6546e-05
  25  3.48717e-06
  26  0.157843
  27  0.170023
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.369e+01  2.970e+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.925e-01  1.700e-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.875e-01  1.578e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/918904/likelihoodResults_629942401_630201601_4FGL_J2327.5-3259_daily_bin1507.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) = 6867.80745049
delta logL = 0.0304314057621

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6867.00875132
delta logL = 0.829130573121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21662E-03   1.0000         .10000E-03   10000.    
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .73663       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83724       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=   6867.009     FROM MIGRAD    STATUS=CONVERGED     80 CALLS      365 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21671E-03    .17869E-03    .22958E-03** at limit **
   2  Index        10.0000        .71633        .50000    ** at limit **
   3  Normalizat    .73667        .13229        .42777E-01   -.19113E-04
   4  Prefactor     .83722        .14582        .44200E-01   -.92376E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000216711
  Index      = 10
  Normalizat = 0.736673
  Prefactor  = 0.837221
 **********
 **   18 **HESSE 
 **********

 FCN=   6867.009     FROM HESSE     STATUS=OK            35 CALLS      400 TOTAL
                     EDM=   .22E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21671E-03    .20012E-03    .13274E-05   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        .94080        .42543        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .73667        .15839        .21917E-03   -1.0246    
   4  Prefactor     .83722        .17416        .23113E-03   -.98371    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.20422e-12
Minuit parameter uncertainties:
  1  0.000200117
  2  3.45804e-07
  3  0.158487
  4  0.174278
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/918904': 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) = 6867.00875102
delta logL = 0.829130876037

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  2.167e-04  2.001e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.000e+01  3.458e-07  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.372e-01  1.743e-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.367e-01  1.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.04
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 3.91e-08 +/- 3.49e-08
Energy Flux (Free Index): 4.36e-06 +/- 3.93e-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/918904/cmap_HighResolution_629942401_630201601_4FGL_J2327.5-3259_daily_bin1507.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.36e-03', comment='SUCCESS', energy_flux2='4.36e-06', dlogl='8.29e-01', photon_flux2='3.91e-08', job_status='DONE', time_completed='2021-09-29 20:31:08.852420', photon_index_error2='0.00', photon_index2='10.00', ts='0.26', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='6.86e-08', energy_flux_error2='3.93e-06', EG='0.79', time_epoch_completed='1632972668.85', return_code='0', job_id='918904', GAL2='0.84', EG2='0.74', return_code2='0', photon_flux_error2='3.49e-08', ts2='2.04', photon_index='2.56' WHERE bin_id='1507' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:31:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0036>
Subject: Job 918904: <4FGL_J2327.5-3259_daily_bin1507> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1507 351.883 -32.9869 629942401 630201601 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 :                                   815.41 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             269.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   938 sec.
    Turnaround time :                            940 sec.

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

