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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin824
RA = 351.883, Dec = -32.9869
tmin = 452908801, tmax = 453168001
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='915881', job_status='RUN', time_executed='2021-09-29 20:08:45.507746', time_epoch_executed='1632971325.51' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='824'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915881

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915881/ft1_4FGL_J2327.5-3259_daily_bin824.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915881/ft2_4FGL_J2327.5-3259_daily_bin824.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915881/ft1_4FGL_J2327.5-3259_daily_bin824.fits outfile=/scratch/kocevski/915881/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin824.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=452908801.0 tmax=453168001.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 4.12
user 3.84
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915881/ft1_filtered_4FGL_J2327.5-3259_daily_bin824.fits" evtable="EVENTS" scfile=/scratch/kocevski/915881/ft2_4FGL_J2327.5-3259_daily_bin824.fits sctable="SC_DATA" outfile=/scratch/kocevski/915881/ltcube_452908801_453168001_4FGL_J2327.5-3259_daily_bin824.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/915881/ft2_4FGL_J2327.5-3259_daily_bin824.fits
.....................!
real 11.58
user 11.24
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915881/ft1_filtered_4FGL_J2327.5-3259_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/915881/ft2_4FGL_J2327.5-3259_daily_bin824.fits sctable="SC_DATA" expcube=/scratch/kocevski/915881/ltcube_452908801_453168001_4FGL_J2327.5-3259_daily_bin824.fits outfile=/scratch/kocevski/915881/expmap_452908801_453168001_4FGL_J2327.5-3259_daily_bin824.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/915881/ltcube_452908801_453168001_4FGL_J2327.5-3259_daily_bin824.fits
.....................!
real 190.16
user 184.97
sys 4.88

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/915881/ft1_filtered_4FGL_J2327.5-3259_daily_bin824.fits scfile=/scratch/kocevski/915881/ft2_4FGL_J2327.5-3259_daily_bin824.fits outfile=/scratch/kocevski/915881/cmap_452908801_453168001_4FGL_J2327.5-3259_daily_bin824.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.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915881/ft1_filtered_4FGL_J2327.5-3259_daily_bin824.fits scfile=/scratch/kocevski/915881/ft2_4FGL_J2327.5-3259_daily_bin824.fits outfile=/scratch/kocevski/915881/cmap_HighResolution_452908801_453168001_4FGL_J2327.5-3259_daily_bin824.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915881/ft1_filtered_4FGL_J2327.5-3259_daily_bin824.fits evtable="EVENTS" scfile=/scratch/kocevski/915881/ft2_4FGL_J2327.5-3259_daily_bin824.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915881/Model_4FGL_J2327.5-3259_daily_bin824.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/915881/ft1_filtered_4FGL_J2327.5-3259_daily_bin824.fits.....................!
real 40.19
user 38.92
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10423E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.679       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.852       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.906       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .12509E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .82144       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.2383       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.7900       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .51078E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13715E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    1.6027       1.0000         .10000E-03   10000.    
    19 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10182E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    12.130       1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.4055       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .66882       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1694       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=   5079.320     FROM MIGRAD    STATUS=CONVERGED    694 CALLS     2888 TOTAL
                     EDM=   .55E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    26.216       -.65927E-06** at limit **
   2  Prefactor     .10000E-03    1.3416        .19243E-07** at limit **
   3  Prefactor     .10000E-03    52.286       -.47123E-06** at limit **
   4  Prefactor     19.680        16.969        .39837E-08    .66406E-05
   5  Prefactor     21.855        24.083       -.47848E-07   -.28026E-04
   6  Prefactor     11.908        10.230        .30004E-07    .37497E-04
   7  Prefactor     .10000E-03    2.2222       -.17016E-07** at limit **
   8  norm          .10000E-03    2.4706       -.82127E-07** at limit **
   9  Prefactor     .10000E-03    13.348       -.10483E-06** at limit **
  10  Prefactor     .10000E-03    6.7961       -.80079E-07** at limit **
  11  norm          .82218        .60808        .31044E-07    .46213E-03
  12  Prefactor     9.2356        24.947        .21979E-06    .26235E-04
  13  Prefactor     .10000E-03    2.3574       -.12286E-07** at limit **
  14  norm          .10000E-03    1.7272       -.79019E-07** at limit **
  15  norm          1.7911        5.2297        .91671E-06    .18801E-03
  16  Prefactor     .10000E-03    117.66        .14205E-05** at limit **
  17  Prefactor     .10610E-03    81.003       -.67348E-05** at limit **
  18  norm          1.6098        3.0996        .21280E-05    .41768E-03
  19  norm          .10000E-03    2.2527       -.18101E-07** at limit **
  20  Prefactor     .10000E-03    13.176        .27411E-07** at limit **
  21  norm          .10000E-03    1.0751       -.34244E-07** at limit **
  22  Prefactor     .10000E-03    21.396        .16205E-06** at limit **
  23  Prefactor     12.127        37.360        .36983E-06    .23051E-04
  24  Prefactor     6.4057        7.1564        .28938E-06    .25325E-03
  25  Prefactor     .10000E-03    30.096        .86839E-06** at limit **
  26  Normalizat    .66879        .17870        .14540E-06    .36456E-03
  27  Prefactor     1.1696        .19213       -.11028E-06    .35761E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.6803
  Prefactor  = 21.8548
  Prefactor  = 11.9081
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.822178
  Prefactor  = 9.23556
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 1.79114
  Prefactor  = 0.0001
  Prefactor  = 0.000106096
  norm       = 1.60977
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.1273
  Prefactor  = 6.40572
  Prefactor  = 0.000100001
  Normalizat = 0.668795
  Prefactor  = 1.16956
 **********
 **   18 **HESSE 
 **********

 FCN=   5079.320     FROM HESSE     STATUS=OK           490 CALLS     3378 TOTAL
                     EDM=   .99E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.3502        .80587E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    53.261        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.680        16.966        .90288E-04   -1.4820    
   5  Prefactor     21.855        24.095        .85686E-04   -1.4773    
   6  Prefactor     11.908        10.235        .11610E-03   -1.5018    
   7  Prefactor     .10000E-03    2.2276        .10376E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    9.4425        .20076E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    13.576        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.8817        .35995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .82218        .55059        .42128E-04   -1.5527    
  12  Prefactor     9.2356        24.940        .13186E-03   -1.5100    
  13  Prefactor     .10000E-03    2.3616        .10683E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.7313        .91514E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.7911        5.1927        .26797E-03   -1.5440    
  16  Prefactor     .10000E-03    119.15        .42294E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10610E-03    56.937        .13588       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.6098        3.0899        .16726E-03   -1.5454    
  19  norm          .10000E-03    2.3599        .20878E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    13.199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.0782        .72172E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    21.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     12.127        37.340        .11502E-03   -1.5011    
  24  Prefactor     6.4057        7.2005        .15859E-03   -1.5202    
  25  Prefactor     .10000E-03    30.204        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .66879        .21050        .24578E-03   -1.0514    
  27  Prefactor     1.1696        .22676        .21553E-03   -.87273    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.88391e-10
Minuit parameter uncertainties:
  1  0.000332669
  2  2.73274e-07
  3  0.000315999
  4  16.9706
  5  24.1059
  6  10.2369
  7  9.34484e-07
  8  2.06636e-05
  9  2.28486e-05
  10  5.35376e-06
  11  0.550591
  12  24.968
  13  4.76815e-07
  14  9.84712e-06
  15  5.19405
  16  5.31154e-05
  17  0.0372947
  18  3.09023
  19  1.60725e-07
  20  1.44822e-05
  21  5.04901e-06
  22  7.58136e-05
  23  37.4118
  24  7.2015
  25  0.000351397
  26  0.210753
  27  0.22695
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.170e+00  2.270e-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:  6.688e-01  2.108e-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: 8.98e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.01e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915881/likelihoodResults_452908801_453168001_4FGL_J2327.5-3259_daily_bin824.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) = 5079.32048443
delta logL = -7.41248095437e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5079.32048443
delta logL = -7.41065923648e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96362E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5571       1.0000          .0000       10.000    
     3 'Normalizat'    .66879       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1696       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5079.309     FROM MIGRAD    STATUS=CONVERGED    219 CALLS      397 TOTAL
                     EDM=   .58E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2773        70.248        .18142E-02   -.43269E-04
   2  Index         3.0833        2.5947        .93585E-02    .67677E-05
   3  Normalizat    .66091        .20236        .24718E-03    .45781E-03
   4  Prefactor     1.1733        .22354        .21525E-03    .35365E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.27732
  Index      = 3.08328
  Normalizat = 0.660912
  Prefactor  = 1.1733
 **********
 **   18 **HESSE 
 **********

 FCN=   5079.309     FROM HESSE     STATUS=OK            27 CALLS      424 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2773        58.382        .72570E-04   -1.5294    
   2  Index         3.0833        2.3941        .37434E-03   -.39341    
   3  Normalizat    .66091        .20241        .49436E-04   -1.0546    
   4  Prefactor     1.1733        .22379        .43050E-04   -.87157    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.38281e-10
Minuit parameter uncertainties:
  1  31.6421
  2  2.51691
  3  0.202637
  4  0.223969
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915881': 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) = 5079.30927654
delta logL = 0.0112004789044

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.173e+00  2.240e-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:  6.609e-01  2.026e-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/915881/cmap_HighResolution_452908801_453168001_4FGL_J2327.5-3259_daily_bin824.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.01e-03', job_status='DONE', photon_flux_upper_limit='8.98e-08', time_completed='2021-09-29 20:19:53.477879', job_id='915881', GAL2='1.17', fit_tolerance='1e-08', EG2='0.66', EG='0.67', time_epoch_completed='1632971993.48', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='1.12e-02', ts2='0.02', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='824' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:19:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 915881: <4FGL_J2327.5-3259_daily_bin824> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin824> 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) <bullet0104>, 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:19:54 2021
Results reported at Wed Sep 29 20:19:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin824 351.883 -32.9869 452908801 453168001 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 :                                   666.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             301.26 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            846 sec.

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

