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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin508
RA = 351.883, Dec = -32.9869
tmin = 371001601, tmax = 371260801
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='914296', job_status='RUN', time_executed='2021-09-29 20:04:48.201067', time_epoch_executed='1632971088.2' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='508'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914296

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914296/ft1_4FGL_J2327.5-3259_daily_bin508.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914296/ft2_4FGL_J2327.5-3259_daily_bin508.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914296/ft1_4FGL_J2327.5-3259_daily_bin508.fits outfile=/scratch/kocevski/914296/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin508.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=371001601.0 tmax=371260801.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 6.46
user 6.19
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/914296/ft1_filtered_4FGL_J2327.5-3259_daily_bin508.fits" evtable="EVENTS" scfile=/scratch/kocevski/914296/ft2_4FGL_J2327.5-3259_daily_bin508.fits sctable="SC_DATA" outfile=/scratch/kocevski/914296/ltcube_371001601_371260801_4FGL_J2327.5-3259_daily_bin508.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/914296/ft2_4FGL_J2327.5-3259_daily_bin508.fits
.....................!
real 11.38
user 11.04
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914296/ft1_filtered_4FGL_J2327.5-3259_daily_bin508.fits evtable="EVENTS" scfile=/scratch/kocevski/914296/ft2_4FGL_J2327.5-3259_daily_bin508.fits sctable="SC_DATA" expcube=/scratch/kocevski/914296/ltcube_371001601_371260801_4FGL_J2327.5-3259_daily_bin508.fits outfile=/scratch/kocevski/914296/expmap_371001601_371260801_4FGL_J2327.5-3259_daily_bin508.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/914296/ltcube_371001601_371260801_4FGL_J2327.5-3259_daily_bin508.fits
.....................!
real 191.49
user 186.91
sys 4.22

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/914296/ft1_filtered_4FGL_J2327.5-3259_daily_bin508.fits scfile=/scratch/kocevski/914296/ft2_4FGL_J2327.5-3259_daily_bin508.fits outfile=/scratch/kocevski/914296/cmap_371001601_371260801_4FGL_J2327.5-3259_daily_bin508.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/914296/ft1_filtered_4FGL_J2327.5-3259_daily_bin508.fits scfile=/scratch/kocevski/914296/ft2_4FGL_J2327.5-3259_daily_bin508.fits outfile=/scratch/kocevski/914296/cmap_HighResolution_371001601_371260801_4FGL_J2327.5-3259_daily_bin508.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    13.695       1.0000         .10000E-03   10000.    
     5 'Prefactor '    27.952       1.0000         .10000E-03   10000.    
     6 'Prefactor '    17.117       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    8.5087       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10101E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.9116       1.0000         .10000E-03   10000.    
    11 'norm      '    1.5873       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    13.317       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    16.313       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.6280       1.0000         .10000E-03   10000.    
    17 'Prefactor '    47.286       1.0000         .10000E-03   10000.    
    18 'norm      '    1.9822       1.0000         .10000E-03   10000.    
    19 'norm      '    6.0892       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.7032       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0626       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .84399       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=   3814.294     FROM MIGRAD    STATUS=CONVERGED    624 CALLS     3319 TOTAL
                     EDM=   .90E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.391       -.43879E-05** at limit **
   2  Prefactor     .10000E-03    3.9760       -.11102E-05** at limit **
   3  Prefactor     .10000E-03    12.564       -.83243E-07** at limit **
   4  Prefactor     13.696        30.135        .19446E-06   -.10144E-05
   5  Prefactor     27.952        38.080        .28280E-06    .31588E-05
   6  Prefactor     17.118        15.184       -.14006E-06    .11299E-04
   7  Prefactor     .10000E-03    3.0366        .35847E-07** at limit **
   8  norm          8.5085        6.3866       -.15872E-05    .42488E-04
   9  Prefactor     .10000E-03    26.367       -.64838E-05** at limit **
  10  Prefactor     9.9145        10.367        .23617E-06    .17690E-03
  11  norm          1.5873        1.0494        .10807E-06    .27298E-03
  12  Prefactor     .10000E-03    57.436       -.82584E-05** at limit **
  13  Prefactor     13.316        15.052       -.83299E-08    .47478E-04
  14  norm          .10000E-03    2.8785        .38282E-06** at limit **
  15  norm          16.312        15.104        .15612E-05   -.10411E-03
  16  Prefactor     5.6045        94.973       -.69646E-04   -.17957E-03
  17  Prefactor     47.272        76.593       -.18925E-04   -.84269E-05
  18  norm          1.9836        5.6466        .41994E-05   -.65670E-03
  19  norm          6.0887        5.3209       -.37839E-05   -.21095E-03
  20  Prefactor     .10000E-03    22.545        .60638E-05** at limit **
  21  norm          .10016E-03    3.8987        .33773E-05** at limit **
  22  Prefactor     .10000E-03    54.996        .53372E-05** at limit **
  23  Prefactor     .10000E-03    23.679       -.16203E-05** at limit **
  24  Prefactor     .10000E-03    2.6505        .34457E-06** at limit **
  25  Prefactor     5.7187        102.89        .47488E-04    .22538E-05
  26  Normalizat    1.0625        .24477        .53220E-05   -.46249E-03
  27  Prefactor     .84416        .24242       -.19397E-05   -.17470E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 13.6958
  Prefactor  = 27.9521
  Prefactor  = 17.1181
  Prefactor  = 0.0001
  norm       = 8.50849
  Prefactor  = 0.0001
  Prefactor  = 9.91448
  norm       = 1.5873
  Prefactor  = 0.0001
  Prefactor  = 13.3158
  norm       = 0.0001
  norm       = 16.3119
  Prefactor  = 5.60446
  Prefactor  = 47.2718
  norm       = 1.98359
  norm       = 6.08875
  Prefactor  = 0.0001
  norm       = 0.000100159
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.7187
  Normalizat = 1.06246
  Prefactor  = 0.844162
 **********
 **   18 **HESSE 
 **********

 FCN=   3814.294     FROM HESSE     STATUS=OK           490 CALLS     3809 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.390        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.0425        .12026E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.569        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.696        30.137        .10824E-03   -1.4968    
   5  Prefactor     27.952        38.067        .75777E-04   -1.4650    
   6  Prefactor     17.118        15.190        .96806E-04   -1.4880    
   7  Prefactor     .10000E-03    3.0411        .10511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          8.5085        6.3792        .12490E-03   -1.5124    
   9  Prefactor     .10000E-03    26.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.9145        10.346        .12728E-03   -1.5078    
  11  norm          1.5873        1.0472        .43089E-04   -1.5456    
  12  Prefactor     .10000E-03    57.476        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.316        15.074        .10976E-03   -1.4978    
  14  norm          .10000E-03    2.8824        .10230E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.312        15.090        .99164E-04   -1.4900    
  16  Prefactor     5.6045        91.976        .16933E-03   -1.5234    
  17  Prefactor     47.272        76.742        .58310E-04   -1.4332    
  18  norm          1.9836        5.3722        .19421E-03   -1.5426    
  19  norm          6.0887        5.3189        .12743E-03   -1.5214    
  20  Prefactor     .10000E-03    22.579        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10016E-03    31.645        .22474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    54.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    23.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.6537        .98159E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     5.7187        103.33        .16820E-03   -1.5230    
  26  Normalizat    1.0625        .28708        .23982E-03   -.90966    
  27  Prefactor     .84416        .28321        .27954E-03   -.98120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.43483e-09
Minuit parameter uncertainties:
  1  1.47206e-05
  2  0.000128462
  3  7.20148e-05
  4  30.1702
  5  38.1002
  6  15.1936
  7  9.08743e-07
  8  6.37968
  9  5.8701e-05
  10  10.3477
  11  1.04723
  12  3.89012e-05
  13  15.0779
  14  3.53841e-05
  15  15.093
  16  45.4905
  17  76.9032
  18  5.37353
  19  5.31934
  20  9.59584e-05
  21  0.00449032
  22  1.54749e-05
  23  7.55992e-05
  24  2.70507e-05
  25  48.7148
  26  0.287505
  27  0.283704
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  4.727e+01  7.690e+01  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.442e-01  2.837e-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.062e+00  2.875e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.49
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 1.70e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.33e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/914296/likelihoodResults_371001601_371260801_4FGL_J2327.5-3259_daily_bin508.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): 0
logL (Free Index) = 3813.74772077
delta logL = 0.54660801356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3813.68156027
delta logL = 0.61276851458

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.8323       1.0000         .10000E-03   10000.    
     2 'Index     '    4.1895       1.0000          .0000       10.000    
     3 'Normalizat'    1.0001       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89315       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=   3813.682     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      282 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.8207        383.52        .12779E-03   -.92252E-04
   2  Index         4.1904        7.0615        .54850E-02   -.76754E-04
   3  Normalizat    1.0004        .26088        .24603E-03    .67353E-03
   4  Prefactor     .89291        .27268        .27257E-03    .70541E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.82069
  Index      = 4.19044
  Normalizat = 1.00039
  Prefactor  = 0.892908
 **********
 **   18 **HESSE 
 **********

 FCN=   3813.682     FROM HESSE     STATUS=OK            25 CALLS      307 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.8207        30.780        .51118E-05   -1.5081    
   2  Index         4.1904        1.8845        .21940E-03   -.16263    
   3  Normalizat    1.0004        .27473        .49206E-04   -.93017    
   4  Prefactor     .89291        .28408        .54514E-04   -.96389    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.65169e-09
Minuit parameter uncertainties:
  1  30.8301
  2  1.93365
  3  0.275118
  4  0.284555
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914296': 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) = 3813.68155951
delta logL = 0.612769276799

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  9.821e+00  3.083e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  4.190e+00  1.934e+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:  8.929e-01  2.846e-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.000e+00  2.751e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.80
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 4.19 +/- 1.93
Photon Flux (Free Index): 8.41e-08 +/- 7.64e-08
Energy Flux (Free Index): 1.22e-05 +/- 1.15e-05

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/914296/cmap_HighResolution_371001601_371260801_4FGL_J2327.5-3259_daily_bin508.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.33e-02', comment='SUCCESS', energy_flux2='1.22e-05', dlogl='6.13e-01', photon_flux2='8.41e-08', job_status='DONE', time_completed='2021-09-29 20:14:52.825036', photon_index_error2='1.93', photon_index2='4.19', ts='0.49', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', photon_flux_upper_limit='1.70e-07', energy_flux_error2='1.15e-05', EG='1.06', time_epoch_completed='1632971692.83', return_code='0', job_id='914296', GAL2='0.89', EG2='1.00', return_code2='0', photon_flux_error2='7.64e-08', ts2='1.80', photon_index='2.56' WHERE bin_id='508' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:14:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 914296: <4FGL_J2327.5-3259_daily_bin508> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin508> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:00:43 2021
Job was executed on host(s) <bullet0224>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:00:44 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:00:44 2021
Terminated at Wed Sep 29 20:14:53 2021
Results reported at Wed Sep 29 20:14:53 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin508 351.883 -32.9869 371001601 371260801 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 :                                   602.33 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             223.81 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   849 sec.
    Turnaround time :                            850 sec.

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

