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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin817
RA = 351.883, Dec = -32.9869
tmin = 451094401, tmax = 451353601
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='915871', job_status='RUN', time_executed='2021-09-29 20:08:50.977120', time_epoch_executed='1632971330.98' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='817'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915871

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915871/ft1_4FGL_J2327.5-3259_daily_bin817.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915871/ft2_4FGL_J2327.5-3259_daily_bin817.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915871/ft1_4FGL_J2327.5-3259_daily_bin817.fits outfile=/scratch/kocevski/915871/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin817.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=451094401.0 tmax=451353601.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.45
user 3.21
sys 0.19

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915871/ft1_filtered_4FGL_J2327.5-3259_daily_bin817.fits" evtable="EVENTS" scfile=/scratch/kocevski/915871/ft2_4FGL_J2327.5-3259_daily_bin817.fits sctable="SC_DATA" outfile=/scratch/kocevski/915871/ltcube_451094401_451353601_4FGL_J2327.5-3259_daily_bin817.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/915871/ft2_4FGL_J2327.5-3259_daily_bin817.fits
.....................!
real 13.33
user 12.90
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915871/ft1_filtered_4FGL_J2327.5-3259_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/915871/ft2_4FGL_J2327.5-3259_daily_bin817.fits sctable="SC_DATA" expcube=/scratch/kocevski/915871/ltcube_451094401_451353601_4FGL_J2327.5-3259_daily_bin817.fits outfile=/scratch/kocevski/915871/expmap_451094401_451353601_4FGL_J2327.5-3259_daily_bin817.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/915871/ltcube_451094401_451353601_4FGL_J2327.5-3259_daily_bin817.fits
.....................!
real 189.90
user 184.91
sys 4.61

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/915871/ft1_filtered_4FGL_J2327.5-3259_daily_bin817.fits scfile=/scratch/kocevski/915871/ft2_4FGL_J2327.5-3259_daily_bin817.fits outfile=/scratch/kocevski/915871/cmap_451094401_451353601_4FGL_J2327.5-3259_daily_bin817.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/915871/ft1_filtered_4FGL_J2327.5-3259_daily_bin817.fits scfile=/scratch/kocevski/915871/ft2_4FGL_J2327.5-3259_daily_bin817.fits outfile=/scratch/kocevski/915871/cmap_HighResolution_451094401_451353601_4FGL_J2327.5-3259_daily_bin817.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915871/ft1_filtered_4FGL_J2327.5-3259_daily_bin817.fits evtable="EVENTS" scfile=/scratch/kocevski/915871/ft2_4FGL_J2327.5-3259_daily_bin817.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915871/Model_4FGL_J2327.5-3259_daily_bin817.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/915871/ft1_filtered_4FGL_J2327.5-3259_daily_bin817.fits.....................!
real 44.88
user 43.55
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    36.736       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.470       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-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 '    .10252E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .12802       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.593       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.7611       1.0000         .10000E-03   10000.    
    15 'norm      '    3.6193       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    29.103       1.0000         .10000E-03   10000.    
    21 'norm      '    .59217E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    61.378       1.0000         .10000E-03   10000.    
    23 'Prefactor '    27.411       1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.3969       1.0000         .10000E-03   10000.    
    25 'Prefactor '    29.705       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1100       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .76719       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=   5976.798     FROM MIGRAD    STATUS=CONVERGED    657 CALLS     3296 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.671       -.38118E-06** at limit **
   2  Prefactor     .10000E-03    1.0078        .49118E-07** at limit **
   3  Prefactor     .10000E-03    6.4213       -.30828E-07** at limit **
   4  Prefactor     36.737        22.608       -.17524E-06    .22046E-04
   5  Prefactor     .10000E-03    12.322        .61379E-07** at limit **
   6  Prefactor     14.469        11.895       -.63577E-07    .15274E-04
   7  Prefactor     .10000E-03    3.6429       -.10638E-06** at limit **
   8  norm          .10000E-03    2.1027       -.36575E-06** at limit **
   9  Prefactor     .10000E-03    4.5189       -.16318E-06** at limit **
  10  Prefactor     .10000E-03    8.2026       -.96150E-06** at limit **
  11  norm          .12808        .37234        .55181E-06   -.21026E-02
  12  Prefactor     14.590        44.886       -.49932E-06    .24663E-04
  13  Prefactor     .10000E-03    2.4492       -.24936E-06** at limit **
  14  norm          8.7606        5.7808        .38248E-06    .22201E-03
  15  norm          3.6184        6.4110        .86514E-06    .10169E-02
  16  Prefactor     .10000E-03    21.336        .69911E-06** at limit **
  17  Prefactor     .10000E-03    50.988        .21231E-05** at limit **
  18  norm          .10000E-03    2.4845       -.60761E-07** at limit **
  19  norm          .10000E-03    1.3007       -.95494E-06** at limit **
  20  Prefactor     29.107        27.921       -.48987E-06    .44209E-04
  21  norm          .10012E-03    26.156        .81553E-05** at limit **
  22  Prefactor     61.377        61.669       -.36524E-06    .16254E-04
  23  Prefactor     27.408        29.899       -.11433E-06    .40142E-04
  24  Prefactor     2.3953        3.6637        .94952E-06    .21795E-02
  25  Prefactor     29.703        34.790       -.11224E-05    .29991E-04
  26  Normalizat    1.1101        .16656        .11465E-05    .46384E-03
  27  Prefactor     .76710        .17873        .22080E-05    .39563E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.7371
  Prefactor  = 0.0001
  Prefactor  = 14.4686
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  norm       = 0.128077
  Prefactor  = 14.5903
  Prefactor  = 0.0001
  norm       = 8.76059
  norm       = 3.6184
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 29.107
  norm       = 0.000100123
  Prefactor  = 61.3773
  Prefactor  = 27.4084
  Prefactor  = 2.39527
  Prefactor  = 29.7025
  Normalizat = 1.11006
  Prefactor  = 0.767097
 **********
 **   18 **HESSE 
 **********

 FCN=   5976.798     FROM HESSE     STATUS=OK           492 CALLS     3788 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.680        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.0135        .75733E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.4255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     36.737        22.615        .66123E-04   -1.4495    
   5  Prefactor     .10000E-03    12.334        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.469        11.935        .10529E-03   -1.4947    
   7  Prefactor     .10000E-03    3.6623        .14413E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.1428        .10958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    4.5312        .16045E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    8.5086        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .12808        .41027        .70646E-03   -1.5636    
  12  Prefactor     14.590        44.922        .10485E-03   -1.4944    
  13  Prefactor     .10000E-03    2.4577        .11822E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.7606        5.7684        .13542E-03   -1.5116    
  15  norm          3.6184        6.7983        .10619E-02   -1.5328    
  16  Prefactor     .10000E-03    21.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    51.189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.5174        .11854E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.3451        .17240E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     29.107        27.933        .74265E-04   -1.4628    
  21  norm          .10012E-03    2.1867        .34875E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     61.377        61.696        .51216E-04   -1.4139    
  23  Prefactor     27.408        29.898        .76518E-04   -1.4660    
  24  Prefactor     2.3953        5.4000        .12388E-02   -1.5398    
  25  Prefactor     29.703        35.178        .73512E-04   -1.4617    
  26  Normalizat    1.1101        .19788        .20796E-03   -.89429    
  27  Prefactor     .76710        .21053        .26866E-03   -1.0095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.06028e-09
Minuit parameter uncertainties:
  1  8.27295e-05
  2  3.83806e-06
  3  1.63887e-05
  4  22.6204
  5  6.78505e-06
  6  11.9372
  7  1.43854e-05
  8  4.33746e-05
  9  4.25957e-05
  10  0.000312762
  11  0.410279
  12  45.0265
  13  2.51689e-05
  14  5.76875
  15  6.79977
  16  8.91866e-05
  17  0.000287403
  18  3.25263e-05
  19  1.50073e-05
  20  27.9458
  21  0.0010357
  22  61.7603
  23  29.914
  24  5.4011
  25  35.2023
  26  0.198017
  27  0.210753
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.874e-04  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.671e-01  2.108e-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.110e+00  1.980e-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: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915871/likelihoodResults_451094401_451353601_4FGL_J2327.5-3259_daily_bin817.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): 102
logL (Free Index) = 5976.79829195
delta logL = -9.29937959881e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5976.79819903
delta logL = -7.12734617991e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4965       1.0000          .0000       10.000    
     3 'Normalizat'    1.1101       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76710       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=   5976.798     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      231 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8592.7        .90712E-02** at limit **
   2  Index         2.5210        5.1847        .50000       -.45784E-05
   3  Normalizat    1.1101        .95693E-01    .37605E-01    .41676E-04
   4  Prefactor     .76710        .10417        .43288E-01    .40942E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100003
  Index      = 2.52103
  Normalizat = 1.11006
  Prefactor  = 0.767096
 **********
 **   18 **HESSE 
 **********

 FCN=   5976.798     FROM HESSE     STATUS=OK            33 CALLS      264 TOTAL
                     EDM=   .62E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    54.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5210        6.2603        .50000       -.51875    
   3  Normalizat    1.1101        .18804        .20796E-03   -.89429    
   4  Prefactor     .76710        .20652        .26866E-03   -1.0095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.19066e-11
Minuit parameter uncertainties:
  1  0.000787256
  2  4.6182
  3  0.188157
  4  0.206728
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915871': 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) = 5976.79819899
delta logL = -3.7815880205e-08

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  7.873e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.521e+00  4.618e+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:  7.671e-01  2.067e-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.110e+00  1.882e-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/915871/cmap_HighResolution_451094401_451353601_4FGL_J2327.5-3259_daily_bin817.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.24e-03', job_status='DONE', photon_flux_upper_limit='6.71e-08', time_completed='2021-09-29 20:21:19.517146', job_id='915871', GAL2='0.77', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1632972079.52', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='-3.78e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='817' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:21:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 915871: <4FGL_J2327.5-3259_daily_bin817> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin817 351.883 -32.9869 451094401 451353601 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 :                                   745.18 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             276.97 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   929 sec.
    Turnaround time :                            932 sec.

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

