/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 129 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 = 7434
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2327.5-3259_daily_bin189
RA = 351.883, Dec = -32.9869
tmin = 288316801, tmax = 288576001
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='912730', job_status='RUN', time_executed='2021-09-29 19:57:51.514573', time_epoch_executed='1632970671.51' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='189'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912730

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912730/ft1_4FGL_J2327.5-3259_daily_bin189.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912730/ft2_4FGL_J2327.5-3259_daily_bin189.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912730/ft1_4FGL_J2327.5-3259_daily_bin189.fits outfile=/scratch/kocevski/912730/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin189.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=288316801.0 tmax=288576001.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.57
user 3.35
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912730/ft1_filtered_4FGL_J2327.5-3259_daily_bin189.fits" evtable="EVENTS" scfile=/scratch/kocevski/912730/ft2_4FGL_J2327.5-3259_daily_bin189.fits sctable="SC_DATA" outfile=/scratch/kocevski/912730/ltcube_288316801_288576001_4FGL_J2327.5-3259_daily_bin189.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/912730/ft2_4FGL_J2327.5-3259_daily_bin189.fits
.....................!
real 11.81
user 11.44
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912730/ft1_filtered_4FGL_J2327.5-3259_daily_bin189.fits evtable="EVENTS" scfile=/scratch/kocevski/912730/ft2_4FGL_J2327.5-3259_daily_bin189.fits sctable="SC_DATA" expcube=/scratch/kocevski/912730/ltcube_288316801_288576001_4FGL_J2327.5-3259_daily_bin189.fits outfile=/scratch/kocevski/912730/expmap_288316801_288576001_4FGL_J2327.5-3259_daily_bin189.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/912730/ltcube_288316801_288576001_4FGL_J2327.5-3259_daily_bin189.fits
.....................!
real 190.21
user 185.30
sys 4.56

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/912730/ft1_filtered_4FGL_J2327.5-3259_daily_bin189.fits scfile=/scratch/kocevski/912730/ft2_4FGL_J2327.5-3259_daily_bin189.fits outfile=/scratch/kocevski/912730/cmap_288316801_288576001_4FGL_J2327.5-3259_daily_bin189.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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/912730/ft1_filtered_4FGL_J2327.5-3259_daily_bin189.fits scfile=/scratch/kocevski/912730/ft2_4FGL_J2327.5-3259_daily_bin189.fits outfile=/scratch/kocevski/912730/cmap_HighResolution_288316801_288576001_4FGL_J2327.5-3259_daily_bin189.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/912730/ft1_filtered_4FGL_J2327.5-3259_daily_bin189.fits evtable="EVENTS" scfile=/scratch/kocevski/912730/ft2_4FGL_J2327.5-3259_daily_bin189.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912730/Model_4FGL_J2327.5-3259_daily_bin189.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/912730/ft1_filtered_4FGL_J2327.5-3259_daily_bin189.fits.....................!
real 35.97
user 34.68
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .60280E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.019       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2124       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-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      '    2.2925       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    66.462       1.0000         .10000E-03   10000.    
    18 'norm      '    .29451       1.0000         .10000E-03   10000.    
    19 'norm      '    .60537E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    5.1151       1.0000         .10000E-03   10000.    
    21 'norm      '    2.8738       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10631E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.984       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1395       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1068       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=   3991.498     FROM MIGRAD    STATUS=CONVERGED    677 CALLS     3318 TOTAL
                     EDM=   .85E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    76.787       -.11638E-04** at limit **
   2  Prefactor     .10000E-03    3.2581        .78537E-06** at limit **
   3  Prefactor     .10000E-03    10.925        .24262E-05** at limit **
   4  Prefactor     .10000E-03    19.471        .57622E-06** at limit **
   5  Prefactor     .10000E-03    197.48       -.27074E-05** at limit **
   6  Prefactor     15.020        17.405       -.16862E-05    .31219E-04
   7  Prefactor     .10000E-03    2.4049        .17842E-07** at limit **
   8  norm          .10000E-03    1.8577       -.41307E-07** at limit **
   9  Prefactor     .10000E-03    7.2784       -.48518E-07** at limit **
  10  Prefactor     .10000E-03    9.4293       -.13191E-05** at limit **
  11  norm          1.2122        .81292       -.18617E-06    .25546E-03
  12  Prefactor     .10000E-03    91.491        .28119E-04** at limit **
  13  Prefactor     .10000E-03    11.327       -.20274E-05** at limit **
  14  norm          .10000E-03    4.0771       -.20072E-07** at limit **
  15  norm          2.2938        24.899       -.25766E-05   -.94198E-04
  16  Prefactor     .10000E-03    42.986        .18283E-04** at limit **
  17  Prefactor     66.454        74.344       -.62757E-05    .54602E-04
  18  norm          .28934        3.4012       -.13753E-05   -.62224E-04
  19  norm          .10005E-03    2.7479       -.11203E-05** at limit **
  20  Prefactor     5.1218        82.268        .15082E-05    .60538E-04
  21  norm          2.8744        3.0029       -.77311E-07    .19479E-03
  22  Prefactor     .10000E-03    322.27       -.51010E-04** at limit **
  23  Prefactor     .10000E-03    54.231       -.22071E-04** at limit **
  24  Prefactor     .10000E-03    9.0072        .18024E-05** at limit **
  25  Prefactor     12.932        102.68       -.95139E-04    .16970E-04
  26  Normalizat    1.1394        .24336        .71053E-05    .15298E-03
  27  Prefactor     1.1068        .24305        .89265E-06    .40688E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 15.0199
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.21215
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.29382
  Prefactor  = 0.0001
  Prefactor  = 66.4544
  norm       = 0.289341
  norm       = 0.000100047
  Prefactor  = 5.12181
  norm       = 2.87439
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100003
  Prefactor  = 12.9316
  Normalizat = 1.13936
  Prefactor  = 1.10675
 **********
 **   18 **HESSE 
 **********

 FCN=   3991.498     FROM HESSE     STATUS=OK           478 CALLS     3796 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    76.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.3063        .11143E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.940        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    19.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    206.32        .37866E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.020        17.462        .10335E-03   -1.4933    
   7  Prefactor     .10000E-03    2.4051        .95689E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.8629        .84080E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.2862        .16645E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.5099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2122        .80538        .44390E-04   -1.5488    
  12  Prefactor     .10000E-03    91.472        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.383        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.0930        .12445E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.2938        24.567        .27110E-03   -1.5405    
  16  Prefactor     .10000E-03    43.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     66.454        74.174        .49230E-04   -1.4076    
  18  norm          .28934        17.913        .21933E-02   -1.5600    
  19  norm          .10005E-03    31.072        .19752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.1218        79.112        .17777E-03   -1.5255    
  21  norm          2.8744        3.0179        .10837E-03   -1.5369    
  22  Prefactor     .10000E-03    323.23        .20722E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    53.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    9.2637        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     12.932        103.56        .11116E-03   -1.4989    
  26  Normalizat    1.1394        .30195        .24779E-03   -.88498    
  27  Prefactor     1.1068        .30234        .26606E-03   -.89251    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33108e-08
Minuit parameter uncertainties:
  1  0.000147272
  2  0.000138423
  3  8.85488e-05
  4  5.52909e-05
  5  0.00188055
  6  17.4676
  7  1.97057e-06
  8  5.07518e-06
  9  1.15461e-05
  10  4.9213e-05
  11  0.805392
  12  0.000321315
  13  4.65864e-05
  14  5.85879e-06
  15  15.0211
  16  0.000115578
  17  74.2772
  18  4.5539
  19  0.00241521
  20  40.3222
  21  3.01809
  22  9.61563e-05
  23  0.000757693
  24  0.000327402
  25  73.3643
  26  0.302408
  27  0.302809
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  6.645e+01  7.428e+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.107e+00  3.028e-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.139e+00  3.024e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.25
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 5.33e-08 +/- 5.95e-08
Energy Flux (Fixed Index): 1.46e-05 +/- 1.63e-05

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

Saving results to:
/scratch/kocevski/912730/likelihoodResults_288316801_288576001_4FGL_J2327.5-3259_daily_bin189.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) = 3991.40070144
delta logL = 0.0974513790252

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3991.39799405
delta logL = 0.100158776267

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    53.380       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9518       1.0000          .0000       10.000    
     3 'Normalizat'    1.1168       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1229       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=   3991.398     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      294 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     53.419        73.153        .54897E-04    .53036E-04
   2  Index         2.9526        .96506        .76710E-02    .23790E-03
   3  Normalizat    1.1167        .29187        .24993E-03    .12437E-03
   4  Prefactor     1.1227        .30390        .26439E-03   -.11410E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 53.4186
  Index      = 2.95255
  Normalizat = 1.1167
  Prefactor  = 1.12275
 **********
 **   18 **HESSE 
 **********

 FCN=   3991.398     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .52E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     53.419        69.484        .10979E-04   -1.4245    
   2  Index         2.9526        .91612        .15342E-02   -.42189    
   3  Normalizat    1.1167        .29214        .49986E-04   -.89217    
   4  Prefactor     1.1227        .30408        .52877E-04   -.88743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.19571e-10
Minuit parameter uncertainties:
  1  69.5901
  2  0.922397
  3  0.292565
  4  0.304556
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912730': 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) = 3991.3979922
delta logL = 0.100160620852

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  5.342e+01  6.959e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.953e+00  9.224e-01  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.123e+00  3.046e-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.117e+00  2.926e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.46
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 2.95 +/- 0.92
Photon Flux (Free Index): 7.21e-08 +/- 7.76e-08
Energy Flux (Free Index): 1.47e-05 +/- 1.46e-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/912730/cmap_HighResolution_288316801_288576001_4FGL_J2327.5-3259_daily_bin189.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.44e-02', comment='SUCCESS', photon_flux='5.33e-08', energy_flux2='1.47e-05', photon_flux_error='5.95e-08', dlogl='1.00e-01', energy_flux='1.46e-05', photon_flux2='7.21e-08', job_status='DONE', time_completed='2021-09-29 20:07:58.332527', photon_index_error2='0.92', photon_index2='2.95', ts='1.25', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.85e-07', energy_flux_error2='1.46e-05', EG='1.14', time_epoch_completed='1632971278.33', return_code='0', job_id='912730', GAL2='1.12', EG2='1.12', return_code2='0', energy_flux_error='1.63e-05', photon_flux_error2='7.76e-08', ts2='1.46', photon_index='2.56' WHERE bin_id='189' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:07:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 912730: <4FGL_J2327.5-3259_daily_bin189> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin189> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:55:32 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:55:34 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 19:55:34 2021
Terminated at Wed Sep 29 20:07:59 2021
Results reported at Wed Sep 29 20:07:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin189 351.883 -32.9869 288316801 288576001 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 :                                   603.09 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             292.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   744 sec.
    Turnaround time :                            747 sec.

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

