/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 148 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 = 29
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2327.5-3259_daily_bin588
RA = 351.883, Dec = -32.9869
tmin = 391737601, tmax = 391996801
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='915517', job_status='RUN', time_executed='2021-09-29 20:07:52.950717', time_epoch_executed='1632971272.95' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='588'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915517

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915517/ft1_4FGL_J2327.5-3259_daily_bin588.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915517/ft2_4FGL_J2327.5-3259_daily_bin588.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915517/ft1_4FGL_J2327.5-3259_daily_bin588.fits outfile=/scratch/kocevski/915517/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin588.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=391737601.0 tmax=391996801.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.47
user 3.07
sys 0.39

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915517/ft1_filtered_4FGL_J2327.5-3259_daily_bin588.fits" evtable="EVENTS" scfile=/scratch/kocevski/915517/ft2_4FGL_J2327.5-3259_daily_bin588.fits sctable="SC_DATA" outfile=/scratch/kocevski/915517/ltcube_391737601_391996801_4FGL_J2327.5-3259_daily_bin588.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/915517/ft2_4FGL_J2327.5-3259_daily_bin588.fits
.....................!
real 11.84
user 11.52
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915517/ft1_filtered_4FGL_J2327.5-3259_daily_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/915517/ft2_4FGL_J2327.5-3259_daily_bin588.fits sctable="SC_DATA" expcube=/scratch/kocevski/915517/ltcube_391737601_391996801_4FGL_J2327.5-3259_daily_bin588.fits outfile=/scratch/kocevski/915517/expmap_391737601_391996801_4FGL_J2327.5-3259_daily_bin588.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/915517/ltcube_391737601_391996801_4FGL_J2327.5-3259_daily_bin588.fits
.....................!
real 189.94
user 184.83
sys 4.74

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/915517/ft1_filtered_4FGL_J2327.5-3259_daily_bin588.fits scfile=/scratch/kocevski/915517/ft2_4FGL_J2327.5-3259_daily_bin588.fits outfile=/scratch/kocevski/915517/cmap_391737601_391996801_4FGL_J2327.5-3259_daily_bin588.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.883 yref=-32.9869 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915517/ft1_filtered_4FGL_J2327.5-3259_daily_bin588.fits scfile=/scratch/kocevski/915517/ft2_4FGL_J2327.5-3259_daily_bin588.fits outfile=/scratch/kocevski/915517/cmap_HighResolution_391737601_391996801_4FGL_J2327.5-3259_daily_bin588.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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915517/ft1_filtered_4FGL_J2327.5-3259_daily_bin588.fits evtable="EVENTS" scfile=/scratch/kocevski/915517/ft2_4FGL_J2327.5-3259_daily_bin588.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915517/Model_4FGL_J2327.5-3259_daily_bin588.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/915517/ft1_filtered_4FGL_J2327.5-3259_daily_bin588.fits.....................!
real 46.89
user 45.41
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    26.214       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.156       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    33.993       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.725       1.0000         .10000E-03   10000.    
    11 'norm      '    .10695E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10145E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.120       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10407E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.8007       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .83921       1.0000         .10000E-03   10000.    
    21 'norm      '    3.4683       1.0000         .10000E-03   10000.    
    22 'Prefactor '    40.722       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.3492       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0021       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .64788       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=   6366.685     FROM MIGRAD    STATUS=CONVERGED    677 CALLS     3279 TOTAL
                     EDM=   .16E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.133        .16078E-05** at limit **
   2  Prefactor     .10000E-03    .75116       -.31412E-08** at limit **
   3  Prefactor     .10000E-03    4.0860        .70098E-07** at limit **
   4  Prefactor     26.212        19.235        .36906E-06   -.79855E-05
   5  Prefactor     11.150        31.564       -.63998E-05    .41989E-04
   6  Prefactor     .10000E-03    11.184        .24322E-05** at limit **
   7  Prefactor     .10000E-03    2.4831        .17940E-07** at limit **
   8  norm          33.992        7.1974        .45303E-06   -.28917E-03
   9  Prefactor     .10000E-03    8.0017       -.13332E-06** at limit **
  10  Prefactor     12.717        9.0793       -.71190E-06   -.12707E-03
  11  norm          .10000E-03    .38847        .16514E-07** at limit **
  12  Prefactor     .10000E-03    47.017        .72091E-06** at limit **
  13  Prefactor     .10000E-03    5.7488        .95803E-07** at limit **
  14  norm          .10000E-03    2.3661        .13036E-07** at limit **
  15  norm          .10000E-03    3.7384       -.39434E-06** at limit **
  16  Prefactor     20.134        25.600       -.25039E-05   -.13182E-03
  17  Prefactor     .10000E-03    6.8281        .78812E-07** at limit **
  18  norm          .10000E-03    2.3003        .59654E-06** at limit **
  19  norm          2.8001        2.3920       -.13567E-07    .12787E-03
  20  Prefactor     .74514        23.079       -.15943E-05    .33499E-04
  21  norm          3.4689        3.1387        .44953E-07   -.33995E-03
  22  Prefactor     40.713        57.299       -.38391E-05    .69971E-04
  23  Prefactor     .10000E-03    12.423       -.38610E-05** at limit **
  24  Prefactor     5.3467        4.7296       -.11294E-05   -.10463E-03
  25  Prefactor     .10000E-03    31.491       -.69909E-06** at limit **
  26  Normalizat    1.0022        .14622        .12571E-05   -.84885E-04
  27  Prefactor     .64775        .15186       -.25416E-06    .49646E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.2122
  Prefactor  = 11.1502
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 33.9924
  Prefactor  = 0.0001
  Prefactor  = 12.7173
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 20.1343
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.80011
  Prefactor  = 0.745137
  norm       = 3.46892
  Prefactor  = 40.713
  Prefactor  = 0.0001
  Prefactor  = 5.3467
  Prefactor  = 0.0001
  Normalizat = 1.00216
  Prefactor  = 0.647746
 **********
 **   18 **HESSE 
 **********

 FCN=   6366.685     FROM HESSE     STATUS=OK           488 CALLS     3767 TOTAL
                     EDM=   .62E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .75495        .67515E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.0873        .15752E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     26.212        19.227        .78243E-04   -1.4684    
   5  Prefactor     11.150        31.508        .11995E-03   -1.5040    
   6  Prefactor     .10000E-03    11.294        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.4973        .12279E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          33.992        7.1898        .68731E-04   -1.4541    
   9  Prefactor     .10000E-03    8.0281        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.717        8.5508        .11229E-03   -1.4995    
  11  norm          .10000E-03    2.7828        .88083E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    47.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    5.8088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.4295        .23922E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.7835        .15063E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.134        24.337        .89292E-04   -1.4810    
  17  Prefactor     .10000E-03    6.8291        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.7377        .21529E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.8001        2.4020        .10640E-03   -1.5373    
  20  Prefactor     .74514        249.78        .68538E-02   -1.5535    
  21  norm          3.4689        3.1185        .12520E-03   -1.5335    
  22  Prefactor     40.713        56.942        .62815E-04   -1.4431    
  23  Prefactor     .10000E-03    12.306        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     5.3467        4.8247        .15614E-03   -1.5245    
  25  Prefactor     .10000E-03    31.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0022        .17681        .20247E-03   -.92958    
  27  Prefactor     .64775        .18201        .26889E-03   -1.0561    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15339e-10
Minuit parameter uncertainties:
  1  5.34639e-05
  2  6.94933e-08
  3  8.7103e-07
  4  19.2316
  5  31.5546
  6  0.000109195
  7  2.06899e-06
  8  7.18995
  9  6.23573e-07
  10  8.5516
  11  5.70291e-06
  12  5.52272e-05
  13  6.37721e-06
  14  2.57955e-06
  15  3.38082e-06
  16  24.3485
  17  2.2647e-06
  18  5.86785e-05
  19  2.40211
  20  27.3993
  21  3.11864
  22  57.0183
  23  0.000114521
  24  4.825
  25  9.97966e-05
  26  0.176913
  27  0.182176
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.265e-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:  6.477e-01  1.822e-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.002e+00  1.769e-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: 3.10e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915517/likelihoodResults_391737601_391996801_4FGL_J2327.5-3259_daily_bin588.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) = 6366.68545206
delta logL = -0.000695150789397

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6366.68475684
delta logL = 6.03131411481e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5414       1.0000          .0000       10.000    
     3 'Normalizat'    1.0022       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64774       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=   6366.685     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      259 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.237        .18142E-01** at limit **
   2  Index         1.9614        7.1047        .50000        .16428E-06
   3  Normalizat    1.0022        .75063E-02    .20247E-03   -.12139E-03
   4  Prefactor     .64775        .82032E-02    .26889E-03   -.82700E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.96137
  Normalizat = 1.00216
  Prefactor  = 0.647745
 **********
 **   18 **HESSE 
 **********

 FCN=   6366.685     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      288 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    297.81        .22664E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9614        6.8194        .50000       -.65319    
   3  Normalizat    1.0022        .21495E-01    .40493E-04   -.92958    
   4  Prefactor     .64775        .23490E-01    .10756E-04   -1.0561    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.15288e-10
Minuit parameter uncertainties:
  1  0.000255189
  2  1094.68
  3  0.0214951
  4  0.0234907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915517': 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) = 6366.68475549
delta logL = 1.41034161061e-06

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.552e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.961e+00  1.095e+03  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:  6.477e-01  2.349e-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:  1.002e+00  2.150e-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/915517/cmap_HighResolution_391737601_391996801_4FGL_J2327.5-3259_daily_bin588.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-03', job_status='DONE', photon_flux_upper_limit='3.10e-08', time_completed='2021-09-29 20:21:15.014000', job_id='915517', GAL2='0.65', fit_tolerance='1e-08', EG2='1.00', EG='1.00', time_epoch_completed='1632972075.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='1.41e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='588' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:21:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 915517: <4FGL_J2327.5-3259_daily_bin588> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin588 351.883 -32.9869 391737601 391996801 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 :                                   793.06 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             256.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   958 sec.
    Turnaround time :                            960 sec.

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

