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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1468
RA = 351.883, Dec = -32.9869
tmin = 619833601, tmax = 620092801
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='918841', job_status='RUN', time_executed='2021-09-29 20:16:44.440875', time_epoch_executed='1632971804.44' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1468'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/918841

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/918841/ft1_4FGL_J2327.5-3259_daily_bin1468.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/918841/ft2_4FGL_J2327.5-3259_daily_bin1468.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/918841/ft1_4FGL_J2327.5-3259_daily_bin1468.fits outfile=/scratch/kocevski/918841/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1468.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=619833601.0 tmax=620092801.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.75
user 3.22
sys 0.51

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/918841/ft2_4FGL_J2327.5-3259_daily_bin1468.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/918841/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1468.fits evtable="EVENTS" outfile="/scratch/kocevski/918841/ft1_filtered_4FGL_J2327.5-3259_daily_bin1468.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.51
user 0.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/918841/ft1_filtered_4FGL_J2327.5-3259_daily_bin1468.fits" evtable="EVENTS" scfile=/scratch/kocevski/918841/ft2_4FGL_J2327.5-3259_daily_bin1468.fits sctable="SC_DATA" outfile=/scratch/kocevski/918841/ltcube_619833601_620092801_4FGL_J2327.5-3259_daily_bin1468.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/918841/ft2_4FGL_J2327.5-3259_daily_bin1468.fits
.....................!
real 12.04
user 11.67
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/918841/ft1_filtered_4FGL_J2327.5-3259_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/918841/ft2_4FGL_J2327.5-3259_daily_bin1468.fits sctable="SC_DATA" expcube=/scratch/kocevski/918841/ltcube_619833601_620092801_4FGL_J2327.5-3259_daily_bin1468.fits outfile=/scratch/kocevski/918841/expmap_619833601_620092801_4FGL_J2327.5-3259_daily_bin1468.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/918841/ltcube_619833601_620092801_4FGL_J2327.5-3259_daily_bin1468.fits
.....................!
real 189.90
user 185.07
sys 4.50

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/918841/ft1_filtered_4FGL_J2327.5-3259_daily_bin1468.fits scfile=/scratch/kocevski/918841/ft2_4FGL_J2327.5-3259_daily_bin1468.fits outfile=/scratch/kocevski/918841/cmap_619833601_620092801_4FGL_J2327.5-3259_daily_bin1468.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.39
sys 0.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/918841/ft1_filtered_4FGL_J2327.5-3259_daily_bin1468.fits evtable="EVENTS" scfile=/scratch/kocevski/918841/ft2_4FGL_J2327.5-3259_daily_bin1468.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/918841/Model_4FGL_J2327.5-3259_daily_bin1468.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/918841/ft1_filtered_4FGL_J2327.5-3259_daily_bin1468.fits.....................!
real 38.77
user 37.31
sys 1.33

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.350       1.0000         .10000E-03   10000.    
     4 'Prefactor '    21.633       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    7.5108       1.0000         .10000E-03   10000.    
     8 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.093       1.0000         .10000E-03   10000.    
    11 'norm      '    1.3897       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    3.1708       1.0000         .10000E-03   10000.    
    20 'Prefactor '    52.976       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    67.969       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    3.2183       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .95692       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87213       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=   4546.739     FROM MIGRAD    STATUS=CONVERGED    626 CALLS     3223 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    23.246       -.81626E-05** at limit **
   2  Prefactor     .10000E-03    .85231        .18521E-07** at limit **
   3  Prefactor     11.350        13.229       -.33266E-06    .10531E-04
   4  Prefactor     21.631        22.532       -.11957E-05    .25003E-04
   5  Prefactor     .10000E-03    44.092       -.10085E-04** at limit **
   6  Prefactor     .10000E-03    5.1458       -.34634E-06** at limit **
   7  Prefactor     7.5109        11.541       -.14134E-05   -.26034E-04
   8  norm          .10000E-03    3.0409        .16029E-06** at limit **
   9  Prefactor     .10000E-03    7.1021        .13440E-05** at limit **
  10  Prefactor     18.061        15.127       -.28793E-05    .26685E-03
  11  norm          1.3909        1.1477        .42730E-06   -.68738E-03
  12  Prefactor     .10000E-03    29.125        .12385E-04** at limit **
  13  Prefactor     .10000E-03    9.3870       -.43405E-05** at limit **
  14  norm          .10000E-03    1.6945       -.61724E-07** at limit **
  15  norm          .10000E-03    3.4156        .19072E-06** at limit **
  16  Prefactor     .10000E-03    22.446       -.10780E-04** at limit **
  17  Prefactor     .10000E-03    11.584        .59771E-05** at limit **
  18  norm          .10000E-03    3.2565       -.51654E-06** at limit **
  19  norm          3.1709        3.0786        .11946E-06   -.75041E-04
  20  Prefactor     52.974        34.282       -.91121E-06    .18586E-04
  21  norm          .10000E-03    1.8085       -.98146E-07** at limit **
  22  Prefactor     67.897        93.008       -.80833E-04   -.20211E-05
  23  Prefactor     .10000E-03    29.177        .12905E-04** at limit **
  24  Prefactor     3.2177        5.9029       -.11670E-05   -.41981E-03
  25  Prefactor     .10000E-03    25.600        .89107E-06** at limit **
  26  Normalizat    .95707        .18822        .40464E-05    .29415E-04
  27  Prefactor     .87202        .20311        .18812E-05    .16296E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.3499
  Prefactor  = 21.6314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.51086
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 18.0612
  norm       = 1.39085
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.17086
  Prefactor  = 52.9737
  norm       = 0.0001
  Prefactor  = 67.8975
  Prefactor  = 0.0001
  Prefactor  = 3.21771
  Prefactor  = 0.0001
  Normalizat = 0.95707
  Prefactor  = 0.872022
 **********
 **   18 **HESSE 
 **********

 FCN=   4546.739     FROM HESSE     STATUS=OK           480 CALLS     3703 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    23.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .85362        .60787E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     11.350        13.229        .11892E-03   -1.5034    
   4  Prefactor     21.631        22.531        .86118E-04   -1.4777    
   5  Prefactor     .10000E-03    44.225        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.1682        .14937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     7.5109        11.545        .14634E-03   -1.5160    
   8  norm          .10000E-03    3.0679        .11455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.1051        .17542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     18.061        16.369        .94161E-04   -1.4858    
  11  norm          1.3909        1.2258        .44400E-04   -1.5472    
  12  Prefactor     .10000E-03    29.137        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    9.4189        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6956        .85723E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.4302        .12169E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    22.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.589        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.3270        .11872E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          3.1709        3.0692        .11210E-03   -1.5352    
  20  Prefactor     52.974        34.276        .55105E-04   -1.4251    
  21  norm          .10000E-03    1.8236        .88528E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     67.897        93.130        .24343E-03   -1.4058    
  23  Prefactor     .10000E-03    29.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.2177        5.9039        .20979E-03   -1.5349    
  25  Prefactor     .10000E-03    25.661        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .95707        .22841        .22101E-03   -.94483    
  27  Prefactor     .87202        .24588        .25271E-03   -.97126    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.26334e-10
Minuit parameter uncertainties:
  1  3.73643e-05
  2  6.32396e-07
  3  13.232
  4  22.5402
  5  8.40425e-05
  6  1.33297e-05
  7  11.5481
  8  1.39759e-05
  9  2.21341e-05
  10  16.3735
  11  1.2258
  12  5.57859e-05
  13  6.00302e-05
  14  3.1538e-06
  15  1.41036e-05
  16  9.08035e-05
  17  1.5247e-06
  18  3.58144e-05
  19  3.06935
  20  34.2885
  21  1.20379e-05
  22  93.3308
  23  9.20036e-05
  24  5.90498
  25  1.11949e-05
  26  0.228646
  27  0.246188
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.525e-06  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:  8.720e-01  2.462e-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:  9.571e-01  2.286e-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: 4.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.69e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/918841/likelihoodResults_619833601_620092801_4FGL_J2327.5-3259_daily_bin1468.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) = 4546.73988265
delta logL = -0.000410384362112

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4546.73947221
delta logL = 5.53336576559e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5329       1.0000          .0000       10.000    
     3 'Normalizat'    .95708       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87201       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=   4546.739     FROM MIGRAD    STATUS=CONVERGED    103 CALLS      254 TOTAL
                     EDM=   .55E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    58.236        .18142E-01** at limit **
   2  Index         1.9209        8.3125        .50000       -.90040E-08
   3  Normalizat    .95707        .82188E-02    .22101E-03   -.19428E-03
   4  Prefactor     .87202        .90598E-02    .25271E-03   -.16726E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.92089
  Normalizat = 0.957071
  Prefactor  = 0.872018
 **********
 **   18 **HESSE 
 **********

 FCN=   4546.739     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      283 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    376.09        .26937E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9209        9.0061        .50000       -.66343    
   3  Normalizat    .95707        .21417E-01    .44202E-04   -.94483    
   4  Prefactor     .87202        .23609E-01    .10108E-04   -.97126    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.60593e-11
Minuit parameter uncertainties:
  1  0.000115187
  2  980.64
  3  0.0214173
  4  0.0236091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/918841': 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): 102
logL (Free Index) = 4546.73947094
delta logL = 1.32981313072e-06

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.152e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.921e+00  9.806e+02  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  8.720e-01  2.361e-02  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:  9.571e-01  2.142e-02  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/918841/cmap_HighResolution_619833601_620092801_4FGL_J2327.5-3259_daily_bin1468.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.69e-03', job_status='DONE', photon_flux_upper_limit='4.73e-08', time_completed='2021-09-29 20:27:42.988912', job_id='918841', GAL2='0.87', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1632972462.99', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='1.33e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1468' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:27:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 918841: <4FGL_J2327.5-3259_daily_bin1468> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1468> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:15:24 2021
Job was executed on host(s) <bullet0085>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:15:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 20:15:25 2021
Terminated at Wed Sep 29 20:27:43 2021
Results reported at Wed Sep 29 20:27:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1468 351.883 -32.9869 619833601 620092801 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 :                                   647.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             261.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   738 sec.
    Turnaround time :                            739 sec.

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

