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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin967
RA = 351.883, Dec = -32.9869
tmin = 489974401, tmax = 490233601
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='917133', job_status='RUN', time_executed='2021-09-29 20:13:07.431051', time_epoch_executed='1632971587.43' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='967'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917133

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917133/ft1_4FGL_J2327.5-3259_daily_bin967.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917133/ft2_4FGL_J2327.5-3259_daily_bin967.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917133/ft1_4FGL_J2327.5-3259_daily_bin967.fits outfile=/scratch/kocevski/917133/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin967.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=489974401.0 tmax=490233601.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.76
user 3.49
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917133/ft1_filtered_4FGL_J2327.5-3259_daily_bin967.fits evtable="EVENTS" scfile=/scratch/kocevski/917133/ft2_4FGL_J2327.5-3259_daily_bin967.fits sctable="SC_DATA" expcube=/scratch/kocevski/917133/ltcube_489974401_490233601_4FGL_J2327.5-3259_daily_bin967.fits outfile=/scratch/kocevski/917133/expmap_489974401_490233601_4FGL_J2327.5-3259_daily_bin967.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/917133/ltcube_489974401_490233601_4FGL_J2327.5-3259_daily_bin967.fits
.....................!
real 190.47
user 185.64
sys 4.47

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/917133/ft1_filtered_4FGL_J2327.5-3259_daily_bin967.fits scfile=/scratch/kocevski/917133/ft2_4FGL_J2327.5-3259_daily_bin967.fits outfile=/scratch/kocevski/917133/cmap_489974401_490233601_4FGL_J2327.5-3259_daily_bin967.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917133/ft1_filtered_4FGL_J2327.5-3259_daily_bin967.fits scfile=/scratch/kocevski/917133/ft2_4FGL_J2327.5-3259_daily_bin967.fits outfile=/scratch/kocevski/917133/cmap_HighResolution_489974401_490233601_4FGL_J2327.5-3259_daily_bin967.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.883 yref=-32.9869 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917133/ft1_filtered_4FGL_J2327.5-3259_daily_bin967.fits evtable="EVENTS" scfile=/scratch/kocevski/917133/ft2_4FGL_J2327.5-3259_daily_bin967.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917133/Model_4FGL_J2327.5-3259_daily_bin967.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/917133/ft1_filtered_4FGL_J2327.5-3259_daily_bin967.fits.....................!
real 39.67
user 38.26
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46915E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .42723E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .27415       1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .70455E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .96415       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    18.189       1.0000         .10000E-03   10000.    
    15 'norm      '    7.4752       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10195       1.0000         .10000E-03   10000.    
    18 'norm      '    3.1291       1.0000         .10000E-03   10000.    
    19 'norm      '    .41702       1.0000         .10000E-03   10000.    
    20 'Prefactor '    8.0180       1.0000         .10000E-03   10000.    
    21 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .13871E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    49.983       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0185       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0665       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5045.185     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2880 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57845E-01    12.984        .14714E-04   -.51375E-03
   2  Prefactor     .10007E-03    49.926        .38472E-04** at limit **
   3  Prefactor     .10000E-03    13.861       -.22563E-06** at limit **
   4  Prefactor     .10000E-03    8.1850       -.31570E-07** at limit **
   5  Prefactor     .10000E-03    8.5387       -.57197E-06** at limit **
   6  Prefactor     .10000E-03    9.6184        .15969E-05** at limit **
   7  Prefactor     .26624        26.350       -.67546E-04   -.10448E-02
   8  norm          .10000E-03    2.7457       -.14105E-05** at limit **
   9  Prefactor     .10000E-03    6.3890       -.58153E-07** at limit **
  10  Prefactor     .10078E-03    21.953        .15068E-04** at limit **
  11  norm          .96217        .67698        .67378E-07   -.13211E-02
  12  Prefactor     .10004E-03    92.274       -.81881E-05** at limit **
  13  Prefactor     .10000E-03    21.189        .22775E-05** at limit **
  14  norm          18.188        2.1308        .18353E-05    .14006E-02
  15  norm          7.4754        1.1009       -.74878E-06    .99107E-04
  16  Prefactor     .10000E-03    29.455        .41853E-05** at limit **
  17  Prefactor     .10436E-03    1543.5       -.80134E-04** at limit **
  18  norm          3.1293        4.2941       -.12261E-05    .33528E-04
  19  norm          .43460        9.5026        .12354E-05   -.15103E-03
  20  Prefactor     8.0096        7.4330       -.74722E-05    .42094E-02
  21  norm          .10000E-03    2.3673       -.15690E-06** at limit **
  22  Prefactor     .10001E-03    40.287       -.25117E-04** at limit **
  23  Prefactor     .10282E-03    322.97        .31548E-04** at limit **
  24  Prefactor     .10000E-03    16.145       -.51089E-06** at limit **
  25  Prefactor     49.997        2.8800       -.23309E-06    .78572E-04
  26  Normalizat    1.0181        .23337       -.11015E-05    .19236E-04
  27  Prefactor     1.0668        .25766       -.81320E-06    .13110E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0578454
  Prefactor  = 0.000100068
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.266238
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100775
  norm       = 0.962166
  Prefactor  = 0.000100042
  Prefactor  = 0.000100001
  norm       = 18.188
  norm       = 7.47544
  Prefactor  = 0.000100005
  Prefactor  = 0.000104365
  norm       = 3.12926
  norm       = 0.434604
  Prefactor  = 8.00964
  norm       = 0.0001
  Prefactor  = 0.000100013
  Prefactor  = 0.000102819
  Prefactor  = 0.0001
  Prefactor  = 49.997
  Normalizat = 1.01812
  Prefactor  = 1.06681
 **********
 **   18 **HESSE 
 **********

 FCN=   5045.185     FROM HESSE     STATUS=OK           584 CALLS     3464 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57845E-01    75.240        .14413       -1.5660    
   2  Prefactor     .10007E-03    2.3801        .71062E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.838        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.1732        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    8.5408        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    9.4558        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .26624        6.2115        .57828E-01   -1.5605    
   8  norm          .10000E-03    2.7333        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    6.3899        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10078E-03    6.4596        .89222E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .96217        .80412        .10537E-01   -1.5512    
  12  Prefactor     .10004E-03    92.179        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    20.763        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.188        9.3582        .23478E-02   -1.4855    
  15  norm          7.4754        9.3287        .36672E-02   -1.5161    
  16  Prefactor     .10000E-03    29.498        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10436E-03    73.226        .13345       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          3.1293        5.5655        .57297E-02   -1.5354    
  19  norm          .43460        2.7472        .61751E-01   -1.5576    
  20  Prefactor     8.0096        29.551        .35399E-02   -1.5142    
  21  norm          .10000E-03    2.3424        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10001E-03    45.802        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10282E-03    323.24        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    5.6536        .55125E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     49.997        42.998        .14181E-02   -1.4293    
  26  Normalizat    1.0181        .20061        .43585E-01   -.92426    
  27  Prefactor     1.0668        .21047        .57138E-01   -.90534    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10173e-07
Minuit parameter uncertainties:
  1  4.17407
  2  0.000801905
  3  1.98296e-05
  4  2.41336e-05
  5  3.95641e-06
  6  0.000208465
  7  2.57178
  8  5.96298e-05
  9  4.8717e-05
  10  0.00447572
  11  0.804133
  12  0.00394298
  13  0.000238883
  14  9.35895
  15  9.33047
  16  0.000734511
  17  0.0357984
  18  5.56643
  19  2.18523
  20  29.6055
  21  1.88041e-05
  22  0.00155751
  23  0.0607006
  24  1.85263e-06
  25  43.025
  26  0.200756
  27  0.21063
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.044e-04  3.580e-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.067e+00  2.106e-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.018e+00  2.008e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.00e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917133/likelihoodResults_489974401_490233601_4FGL_J2327.5-3259_daily_bin967.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) = 5045.18509673
delta logL = -2.89267336484e-06

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5045.18509673
delta logL = -2.8913063943e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .96357E-02   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5570       1.0000          .0000       10.000    
     3 'Normalizat'    1.0181       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0668       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=   5045.184     FROM MIGRAD    STATUS=CONVERGED    201 CALLS      385 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.8099        482.02        .18143E-02   -.23549E-04
   2  Index         2.2784        3.4225        .24954E-01    .27025E-05
   3  Normalizat    1.0175        .23208        .23578E-03    .44938E-04
   4  Prefactor     1.0661        .25552        .25274E-03    .13360E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.80993
  Index      = 2.27837
  Normalizat = 1.01751
  Prefactor  = 1.06612
 **********
 **   18 **HESSE 
 **********

 FCN=   5045.184     FROM HESSE     STATUS=OK            25 CALLS      410 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.8099        379.88        .72570E-04   -1.5373    
   2  Index         2.2784        3.1487        .99818E-03   -.57559    
   3  Normalizat    1.0175        .23249        .94313E-05   -.92446    
   4  Prefactor     1.0661        .25551        .10110E-04   -.90557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08579e-10
Minuit parameter uncertainties:
  1  65.7728
  2  3.5615
  3  0.232723
  4  0.255804
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917133': 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) = 5045.18416385
delta logL = 0.000929989495489

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  2.810e+00  6.577e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.278e+00  3.562e+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.066e+00  2.558e-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.018e+00  2.327e-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/917133/cmap_HighResolution_489974401_490233601_4FGL_J2327.5-3259_daily_bin967.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.00e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-29 20:24:31.595997', job_id='917133', GAL2='1.07', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632972271.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='9.30e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='967' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:24:31 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 917133: <4FGL_J2327.5-3259_daily_bin967> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin967> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:22 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:10:24 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:10:24 2021
Terminated at Wed Sep 29 20:24:32 2021
Results reported at Wed Sep 29 20:24:32 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin967 351.883 -32.9869 489974401 490233601 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 :                                   675.09 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             296.60 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            850 sec.

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

