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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin724
RA = 351.883, Dec = -32.9869
tmin = 426988801, tmax = 427248001
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='915730', job_status='RUN', time_executed='2021-09-29 20:07:46.039597', time_epoch_executed='1632971266.04' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='724'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915730

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915730/ft1_4FGL_J2327.5-3259_daily_bin724.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915730/ft2_4FGL_J2327.5-3259_daily_bin724.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915730/ft1_4FGL_J2327.5-3259_daily_bin724.fits outfile=/scratch/kocevski/915730/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin724.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=426988801.0 tmax=427248001.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.75
user 5.48
sys 0.26

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915730/ft2_4FGL_J2327.5-3259_daily_bin724.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/915730/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin724.fits evtable="EVENTS" outfile="/scratch/kocevski/915730/ft1_filtered_4FGL_J2327.5-3259_daily_bin724.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/915730/ft1_filtered_4FGL_J2327.5-3259_daily_bin724.fits" evtable="EVENTS" scfile=/scratch/kocevski/915730/ft2_4FGL_J2327.5-3259_daily_bin724.fits sctable="SC_DATA" outfile=/scratch/kocevski/915730/ltcube_426988801_427248001_4FGL_J2327.5-3259_daily_bin724.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/915730/ft2_4FGL_J2327.5-3259_daily_bin724.fits
.....................!
real 14.66
user 14.29
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915730/ft1_filtered_4FGL_J2327.5-3259_daily_bin724.fits evtable="EVENTS" scfile=/scratch/kocevski/915730/ft2_4FGL_J2327.5-3259_daily_bin724.fits sctable="SC_DATA" expcube=/scratch/kocevski/915730/ltcube_426988801_427248001_4FGL_J2327.5-3259_daily_bin724.fits outfile=/scratch/kocevski/915730/expmap_426988801_427248001_4FGL_J2327.5-3259_daily_bin724.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/915730/ltcube_426988801_427248001_4FGL_J2327.5-3259_daily_bin724.fits
.....................!
real 190.37
user 185.21
sys 4.85

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/915730/ft1_filtered_4FGL_J2327.5-3259_daily_bin724.fits scfile=/scratch/kocevski/915730/ft2_4FGL_J2327.5-3259_daily_bin724.fits outfile=/scratch/kocevski/915730/cmap_426988801_427248001_4FGL_J2327.5-3259_daily_bin724.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915730/ft1_filtered_4FGL_J2327.5-3259_daily_bin724.fits scfile=/scratch/kocevski/915730/ft2_4FGL_J2327.5-3259_daily_bin724.fits outfile=/scratch/kocevski/915730/cmap_HighResolution_426988801_427248001_4FGL_J2327.5-3259_daily_bin724.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.53
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.6797       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    52.505       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .18378E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10375E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10159E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10238E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    174.52       1.0000         .10000E-03   10000.    
    18 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    12.696       1.0000         .10000E-03   10000.    
    22 'Prefactor '    100.56       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    15.372       1.0000         .10000E-03   10000.    
    25 'Prefactor '    164.37       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.5198       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=   1576.314     FROM MIGRAD    STATUS=CONVERGED    653 CALLS     3344 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    77.603       -.64007E-06** at limit **
   2  Prefactor     4.6820        8.3065       -.37279E-05   -.11542E-03
   3  Prefactor     .10000E-03    33.423        .66872E-06** at limit **
   4  Prefactor     .10000E-03    20.733        .34177E-06** at limit **
   5  Prefactor     52.512        65.267       -.77694E-06   -.26468E-04
   6  Prefactor     .10000E-03    141.80        .35978E-04** at limit **
   7  Prefactor     .10000E-03    9.9183        .86437E-07** at limit **
   8  norm          .10000E-03    8.1177        .37129E-06** at limit **
   9  Prefactor     .10000E-03    17.858        .11984E-06** at limit **
  10  Prefactor     .10000E-03    7.3842        .56968E-07** at limit **
  11  norm          .10000E-03    .38920        .30422E-07** at limit **
  12  Prefactor     .10000E-03    50.940        .10316E-05** at limit **
  13  Prefactor     .10000E-03    9.5572        .13352E-06** at limit **
  14  norm          .10000E-03    6.1857        .63148E-07** at limit **
  15  norm          .10000E-03    12.792       -.41946E-06** at limit **
  16  Prefactor     .10000E-03    225.32        .34588E-05** at limit **
  17  Prefactor     174.61        140.52       -.21311E-05   -.11358E-03
  18  norm          .10000E-03    12.364        .65909E-07** at limit **
  19  norm          .10000E-03    4.9876        .71714E-07** at limit **
  20  Prefactor     .10000E-03    20.975        .38634E-07** at limit **
  21  norm          12.698        11.350        .30748E-06   -.13135E-03
  22  Prefactor     100.77        164.92       -.48434E-05   -.12241E-03
  23  Prefactor     .10000E-03    40.796        .17796E-06** at limit **
  24  Prefactor     15.375        15.872       -.43325E-07   -.37818E-04
  25  Prefactor     164.34        113.85        .17731E-05    .90827E-05
  26  Normalizat    .10000E-01    .21933        .12284E-04** at limit **
  27  Prefactor     1.5196        .18357        .41742E-06   -.10364E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 4.68205
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 52.512
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 174.612
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 12.6983
  Prefactor  = 100.77
  Prefactor  = 0.0001
  Prefactor  = 15.3748
  Prefactor  = 164.343
  Normalizat = 0.01
  Prefactor  = 1.51961
 **********
 **   18 **HESSE 
 **********

 FCN=   1576.314     FROM HESSE     STATUS=OK           472 CALLS     3816 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    77.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     4.6820        8.3335        .72217E-03   -1.5275    
   3  Prefactor     .10000E-03    33.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.757        .17661E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     52.512        65.385        .55351E-04   -1.4257    
   6  Prefactor     .10000E-03    141.13        .36563E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.9410        .12213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    17.311        .21719E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.892        .16385E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.4005        .10535E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .39340        .24126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    50.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.5748        .11988E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    6.1910        .96447E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    12.832        .13873E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    226.32        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     174.61        141.10        .15273E-03   -1.3057    
  18  norm          .10000E-03    12.457        .13600E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    5.0713        .86601E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.978        .17767E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          12.698        11.292        .11242E-03   -1.4995    
  22  Prefactor     100.77        166.01        .20046E-03   -1.3697    
  23  Prefactor     .10000E-03    40.801        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     15.375        15.859        .10216E-03   -1.4924    
  25  Prefactor     164.34        113.81        .15730E-03   -1.3137    
  26  Normalizat    .10000E-01    .48688        .10208E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     1.5196        .19055        .18407E-03   -.76992    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.4867e-09
Minuit parameter uncertainties:
  1  0.000588255
  2  8.33555
  3  0.000222595
  4  4.25901e-05
  5  65.4749
  6  0.0010323
  7  3.58024e-05
  8  6.89918e-05
  9  3.26888e-05
  10  1.42782e-05
  11  1.50627e-06
  12  0.000494251
  13  5.04172e-06
  14  1.65407e-05
  15  5.79032e-05
  16  0.00172536
  17  141.374
  18  0.00014582
  19  1.13046e-05
  20  4.93954e-05
  21  11.2943
  22  166.789
  23  0.000139376
  24  15.8633
  25  113.964
  26  2.8024e-05
  27  0.190644
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.746e+02  1.414e+02  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.520e+00  1.906e-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.000e-02  2.802e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.32
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.40e-07 +/- 1.13e-07
Energy Flux (Fixed Index): 3.83e-05 +/- 3.10e-05

TS (Fixed Index): 2.32
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 3.88e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915730/likelihoodResults_426988801_427248001_4FGL_J2327.5-3259_daily_bin724.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) = 1575.10579013
delta logL = 1.20847845838

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1575.07529878
delta logL = 1.23896980637

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.509       1.0000         .10000E-03   10000.    
     2 'Index     '    4.8488       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5113       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1575.075     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      329 TOTAL
                     EDM=   .76E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.540        240.98        .77505E-04    .44625E-03
   2  Index         4.8473        7.2444        .28226E-02    .13234E-03
   3  Normalizat    .10000E-01    .23383        .92827E-02** at limit **
   4  Prefactor     1.5115        .18554        .18347E-03   -.22509E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.5399
  Index      = 4.84729
  Normalizat = 0.01
  Prefactor  = 1.51148
 **********
 **   18 **HESSE 
 **********

 FCN=   1575.075     FROM HESSE     STATUS=OK            23 CALLS      352 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.540        93.706        .31002E-05   -1.5059    
   2  Index         4.8473        3.2990        .11290E-03   -.30547E-01
   3  Normalizat    .10000E-01    .23817        .18565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.5115        .17828        .73388E-05   -.77219    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.01225e-10
Minuit parameter uncertainties:
  1  62.9858
  2  3.60308
  3  1.06168e-05
  4  0.178356
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915730': 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) = 1575.07529702
delta logL = 1.23897156465

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.054e+01  6.299e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  4.847e+00  3.603e+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.511e+00  1.784e-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.000e-02  1.062e-05  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.80
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 4.85 +/- 3.60
Photon Flux (Free Index): 2.59e-07 +/- 1.63e-07
Energy Flux (Free Index): 3.49e-05 +/- 2.60e-05

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/915730/cmap_HighResolution_426988801_427248001_4FGL_J2327.5-3259_daily_bin724.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.03e-02', comment='SUCCESS', photon_flux='1.40e-07', energy_flux2='3.49e-05', photon_flux_error='1.13e-07', dlogl='1.24e+00', energy_flux='3.83e-05', photon_flux2='2.59e-07', job_status='DONE', time_completed='2021-09-29 20:15:17.620967', photon_index_error2='3.60', photon_index2='4.85', ts='2.32', fit_tolerance='1e-08', GAL='1.52', photon_index_error='0.00', photon_flux_upper_limit='3.88e-07', energy_flux_error2='2.60e-05', EG='0.01', time_epoch_completed='1632971717.62', return_code='0', job_id='915730', GAL2='1.51', EG2='0.01', return_code2='0', energy_flux_error='3.10e-05', photon_flux_error2='1.63e-07', ts2='4.80', photon_index='2.56' WHERE bin_id='724' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:15:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0236>
Subject: Job 915730: <4FGL_J2327.5-3259_daily_bin724> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin724 351.883 -32.9869 426988801 427248001 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 :                                   440.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             259.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   580 sec.
    Turnaround time :                            583 sec.

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

