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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin837
RA = 351.883, Dec = -32.9869
tmin = 456278401, tmax = 456537601
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='915902', job_status='RUN', time_executed='2021-09-29 20:09:17.074192', time_epoch_executed='1632971357.07' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='837'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915902

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915902/ft1_4FGL_J2327.5-3259_daily_bin837.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915902/ft2_4FGL_J2327.5-3259_daily_bin837.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915902/ft1_4FGL_J2327.5-3259_daily_bin837.fits outfile=/scratch/kocevski/915902/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin837.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=456278401.0 tmax=456537601.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 5.03
user 4.80
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915902/ft1_filtered_4FGL_J2327.5-3259_daily_bin837.fits" evtable="EVENTS" scfile=/scratch/kocevski/915902/ft2_4FGL_J2327.5-3259_daily_bin837.fits sctable="SC_DATA" outfile=/scratch/kocevski/915902/ltcube_456278401_456537601_4FGL_J2327.5-3259_daily_bin837.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/915902/ft2_4FGL_J2327.5-3259_daily_bin837.fits
.....................!
real 12.04
user 11.72
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915902/ft1_filtered_4FGL_J2327.5-3259_daily_bin837.fits evtable="EVENTS" scfile=/scratch/kocevski/915902/ft2_4FGL_J2327.5-3259_daily_bin837.fits sctable="SC_DATA" expcube=/scratch/kocevski/915902/ltcube_456278401_456537601_4FGL_J2327.5-3259_daily_bin837.fits outfile=/scratch/kocevski/915902/expmap_456278401_456537601_4FGL_J2327.5-3259_daily_bin837.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/915902/ltcube_456278401_456537601_4FGL_J2327.5-3259_daily_bin837.fits
.....................!
real 190.40
user 185.06
sys 5.04

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/915902/ft1_filtered_4FGL_J2327.5-3259_daily_bin837.fits scfile=/scratch/kocevski/915902/ft2_4FGL_J2327.5-3259_daily_bin837.fits outfile=/scratch/kocevski/915902/cmap_456278401_456537601_4FGL_J2327.5-3259_daily_bin837.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915902/ft1_filtered_4FGL_J2327.5-3259_daily_bin837.fits scfile=/scratch/kocevski/915902/ft2_4FGL_J2327.5-3259_daily_bin837.fits outfile=/scratch/kocevski/915902/cmap_HighResolution_456278401_456537601_4FGL_J2327.5-3259_daily_bin837.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/915902/ft1_filtered_4FGL_J2327.5-3259_daily_bin837.fits evtable="EVENTS" scfile=/scratch/kocevski/915902/ft2_4FGL_J2327.5-3259_daily_bin837.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915902/Model_4FGL_J2327.5-3259_daily_bin837.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/915902/ft1_filtered_4FGL_J2327.5-3259_daily_bin837.fits.....................!
real 38.89
user 37.58
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0225       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9647       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.6579       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.755       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10166E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.6415       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.697       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    8.0707       1.0000         .10000E-03   10000.    
    19 'norm      '    1.7960       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.238       1.0000         .10000E-03   10000.    
    21 'norm      '    .10069E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10243E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0073       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .53042       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=   4844.901     FROM MIGRAD    STATUS=CONVERGED    676 CALLS     3295 TOTAL
                     EDM=   .32E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0022        183.97        .37748E-05   -.16685E-05
   2  Prefactor     1.9648        2.5095       -.15506E-06    .30637E-05
   3  Prefactor     2.6588        17.090        .60014E-05   -.80818E-05
   4  Prefactor     11.754        21.958       -.28957E-06   -.43667E-04
   5  Prefactor     .10000E-03    43.698        .41569E-05** at limit **
   6  Prefactor     5.6436        10.309        .27824E-06   -.97509E-05
   7  Prefactor     .10000E-03    2.5353        .84297E-09** at limit **
   8  norm          .10000E-03    1.1061       -.10758E-08** at limit **
   9  Prefactor     .10000E-03    3.6793        .90915E-07** at limit **
  10  Prefactor     .10000E-03    2.8649        .72325E-08** at limit **
  11  norm          .10000E-03    .13472        .17934E-08** at limit **
  12  Prefactor     40.699        46.085       -.98654E-07   -.88572E-05
  13  Prefactor     .10000E-03    3.7352       -.94420E-07** at limit **
  14  norm          .10000E-03    4.2477        .87903E-07** at limit **
  15  norm          .10000E-03    2.5486        .10248E-07** at limit **
  16  Prefactor     .10000E-03    50.235       -.38136E-05** at limit **
  17  Prefactor     .10000E-03    30.286       -.63695E-06** at limit **
  18  norm          8.0631        4.0738        .19858E-06    .45047E-03
  19  norm          1.7959        2.6911        .71066E-07   -.10527E-04
  20  Prefactor     23.241        27.490        .15326E-06   -.65994E-05
  21  norm          .10000E-03    2.5580        .44303E-08** at limit **
  22  Prefactor     .10000E-03    200.82        .16170E-05** at limit **
  23  Prefactor     .10000E-03    12.071        .92167E-07** at limit **
  24  Prefactor     .10000E-03    5.3229        .18773E-07** at limit **
  25  Prefactor     .10000E-03    10.298       -.65666E-07** at limit **
  26  Normalizat    1.0072        .14650        .20830E-07   -.64564E-05
  27  Prefactor     .53049        .15449       -.63522E-06   -.19565E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.00218
  Prefactor  = 1.9648
  Prefactor  = 2.65877
  Prefactor  = 11.7542
  Prefactor  = 0.0001
  Prefactor  = 5.64356
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 40.6992
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.06307
  norm       = 1.79585
  Prefactor  = 23.2408
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.0072
  Prefactor  = 0.530487
 **********
 **   18 **HESSE 
 **********

 FCN=   4844.901     FROM HESSE     STATUS=OK           486 CALLS     3781 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0022        186.07        .29097E-03   -1.5425    
   2  Prefactor     1.9648        2.4972        .11729E-03   -1.5428    
   3  Prefactor     2.6588        17.103        .12501E-02   -1.5382    
   4  Prefactor     11.754        21.993        .11684E-03   -1.5022    
   5  Prefactor     .10000E-03    43.827        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.6436        10.345        .16913E-03   -1.5233    
   7  Prefactor     .10000E-03    2.5389        .10824E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.1107        .71476E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    3.6847        .13039E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    2.8941        .11499E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .14048        .49803E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     40.699        46.106        .62834E-04   -1.4431    
  13  Prefactor     .10000E-03    3.7582        .13133E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.3362        .27874E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.5621        .10851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    50.469        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    30.426        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          8.0631        3.9721        .93396E-04   -1.5140    
  19  norm          1.7959        2.6595        .13012E-03   -1.5440    
  20  Prefactor     23.241        27.449        .83094E-04   -1.4743    
  21  norm          .10000E-03    6.7824        .21072E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    201.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.5408        .31310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    10.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0072        .17792        .17876E-03   -.92790    
  27  Prefactor     .53049        .18527        .26093E-03   -1.1060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.43569e-10
Minuit parameter uncertainties:
  1  38.7266
  2  2.49737
  3  13.4923
  4  22.0079
  5  6.56152e-05
  6  10.3484
  7  6.16097e-08
  8  1.83731e-07
  9  3.66079e-07
  10  7.74029e-07
  11  1.04605e-07
  12  46.1459
  13  1.59264e-06
  14  4.68738e-07
  15  7.49757e-07
  16  0.000106535
  17  1.75673e-05
  18  3.97222
  19  2.65964
  20  27.4643
  21  2.83744e-05
  22  6.40699e-05
  23  2.01347e-07
  24  6.80474e-07
  25  2.36119e-07
  26  0.178026
  27  0.185481
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.757e-05  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:  5.305e-01  1.855e-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.007e+00  1.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/915902/likelihoodResults_456278401_456537601_4FGL_J2327.5-3259_daily_bin837.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) = 4844.90098284
delta logL = -0.000156559208335

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4844.90082639
delta logL = -1.1600968719e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10225E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.7867       1.0000          .0000       10.000    
     3 'Normalizat'    1.0072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53049       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=   4844.901     FROM MIGRAD    STATUS=CONVERGED     59 CALLS      239 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    9.0089        .52899E-01** at limit **
   2  Index         3.8004        6.8969        .50000       -.54737E-05
   3  Normalizat    1.0072        .44998E-02    .46257E-01    .49088E-03
   4  Prefactor     .53049        .49138E-02    .58981E-01    .23107E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100017
  Index      = 3.80043
  Normalizat = 1.0072
  Prefactor  = 0.530486
 **********
 **   18 **HESSE 
 **********

 FCN=   4844.901     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    72.366        .31998E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.8004        6.8126        .50000       -.24228    
   3  Normalizat    1.0072        .16831        .17876E-03   -.92790    
   4  Prefactor     .53049        .18329        .26093E-03   -1.1060    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15467e-09
Minuit parameter uncertainties:
  1  0.00222555
  2  7.73737
  3  0.1684
  4  0.183497
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915902': 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) = 4844.90082633
delta logL = -5.70489646634e-08

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.226e-03  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.800e+00  7.737e+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:  5.305e-01  1.835e-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.007e+00  1.684e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.883 -32.987

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/915902/cmap_HighResolution_456278401_456537601_4FGL_J2327.5-3259_daily_bin837.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2021-09-29 20:20:41.281020', job_id='915902', GAL2='0.53', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1632972041.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.53', dlogl='-5.70e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='837' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:20:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 915902: <4FGL_J2327.5-3259_daily_bin837> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin837 351.883 -32.9869 456278401 456537601 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 :                                   682.34 sec.
    Max Memory :                                 1186 MB
    Average Memory :                             269.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   889 sec.
    Turnaround time :                            891 sec.

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

