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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin493
RA = 351.883, Dec = -32.9869
tmin = 367113601, tmax = 367372801
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='914272', job_status='RUN', time_executed='2021-09-29 20:03:49.421434', time_epoch_executed='1632971029.42' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='493'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914272

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

Retrieving the FT1 file...

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

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

Retrieving 50 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914272/ft1_4FGL_J2327.5-3259_daily_bin493.fits


Retrieving the FT1 file...

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

Retrieving 50 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914272/ft2_4FGL_J2327.5-3259_daily_bin493.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914272/ft1_4FGL_J2327.5-3259_daily_bin493.fits outfile=/scratch/kocevski/914272/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin493.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=367113601.0 tmax=367372801.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 5.24
user 4.97
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/914272/ft1_filtered_4FGL_J2327.5-3259_daily_bin493.fits" evtable="EVENTS" scfile=/scratch/kocevski/914272/ft2_4FGL_J2327.5-3259_daily_bin493.fits sctable="SC_DATA" outfile=/scratch/kocevski/914272/ltcube_367113601_367372801_4FGL_J2327.5-3259_daily_bin493.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/914272/ft2_4FGL_J2327.5-3259_daily_bin493.fits
.....................!
real 11.49
user 11.13
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914272/ft1_filtered_4FGL_J2327.5-3259_daily_bin493.fits evtable="EVENTS" scfile=/scratch/kocevski/914272/ft2_4FGL_J2327.5-3259_daily_bin493.fits sctable="SC_DATA" expcube=/scratch/kocevski/914272/ltcube_367113601_367372801_4FGL_J2327.5-3259_daily_bin493.fits outfile=/scratch/kocevski/914272/expmap_367113601_367372801_4FGL_J2327.5-3259_daily_bin493.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/914272/ltcube_367113601_367372801_4FGL_J2327.5-3259_daily_bin493.fits
.....................!
real 191.08
user 185.95
sys 4.76

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/914272/ft1_filtered_4FGL_J2327.5-3259_daily_bin493.fits scfile=/scratch/kocevski/914272/ft2_4FGL_J2327.5-3259_daily_bin493.fits outfile=/scratch/kocevski/914272/cmap_367113601_367372801_4FGL_J2327.5-3259_daily_bin493.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.56
user 0.37
sys 0.15

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

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

This is gtbin version HEAD
real 0.53
user 0.36
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15418E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.5900       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    3.2950       1.0000         .10000E-03   10000.    
     6 'Prefactor '    19.097       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .21163       1.0000         .10000E-03   10000.    
    10 'Prefactor '    54.981       1.0000         .10000E-03   10000.    
    11 'norm      '    2.1209       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .12702E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10060E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    32.288       1.0000         .10000E-03   10000.    
    18 'norm      '    7.3312       1.0000         .10000E-03   10000.    
    19 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.2704       1.0000         .10000E-03   10000.    
    25 'Prefactor '    48.386       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1738       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .75271       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=   3730.439     FROM MIGRAD    STATUS=CONVERGED   1149 CALLS     3868 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    177.99        .20449E-02** at limit **
   2  Prefactor     1.5913        3.8882        .18062E-03    .13281E-04
   3  Prefactor     .10000E-03    10.018        .18142E-02** at limit **
   4  Prefactor     .10000E-03    8.0507        .16926E-02** at limit **
   5  Prefactor     3.3115        158.07        .22305E-03   -.73652E-05
   6  Prefactor     19.106        19.717        .91651E-04   -.40934E-05
   7  Prefactor     .10000E-03    5.4242        .13877E-02** at limit **
   8  norm          .10000E-03    2.3594        .91503E-03** at limit **
   9  Prefactor     .19948        69.916        .85784E-01    .10291E-03
  10  Prefactor     55.009        28.629        .54097E-04    .19124E-04
  11  norm          2.1212        1.4412        .45820E-04    .23025E-03
  12  Prefactor     .10000E-03    32.760        .18142E-02** at limit **
  13  Prefactor     .10000E-03    45.736        .36285E-03** at limit **
  14  norm          .10000E-03    3.1527        .10584E-02** at limit **
  15  norm          .10000E-03    4.6693        .12878E-02** at limit **
  16  Prefactor     .10000E-03    63.215        .18142E-02** at limit **
  17  Prefactor     32.284        71.251        .70518E-04   -.31437E-05
  18  norm          7.3364        6.6465        .70669E-03    .21517E-04
  19  norm          .10000E-03    6.5786        .20946E-02** at limit **
  20  Prefactor     .10000E-03    15.339        .18142E-02** at limit **
  21  norm          .10000E-03    2.6809        .97421E-03** at limit **
  22  Prefactor     .10000E-03    53.814        .18142E-02** at limit **
  23  Prefactor     .10000E-03    31.399        .18142E-02** at limit **
  24  Prefactor     8.2723        9.0075        .13940E-03   -.30541E-04
  25  Prefactor     48.402        55.890        .57647E-04   -.28142E-04
  26  Normalizat    1.1732        .31073        .23911E-03    .91290E-05
  27  Prefactor     .75304        .28979        .29787E-03   -.12520E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 1.59128
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.31154
  Prefactor  = 19.1063
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.199476
  Prefactor  = 55.0087
  norm       = 2.1212
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 32.2835
  norm       = 7.33636
  norm       = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.27231
  Prefactor  = 48.4018
  Normalizat = 1.17317
  Prefactor  = 0.753042
 **********
 **   18 **HESSE 
 **********

 FCN=   3730.439     FROM HESSE     STATUS=OK           472 CALLS     4340 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    178.04        .40898E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.5913        3.8877        .72247E-05   -1.5456    
   3  Prefactor     .10000E-03    10.018        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    8.0507        .33852E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     3.3115        157.99        .89218E-05   -1.5344    
   6  Prefactor     19.106        19.715        .36661E-05   -1.4833    
   7  Prefactor     .10000E-03    5.4245        .27754E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.3594        .18301E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .19948        61.872        .90792E-01   -1.5619    
  10  Prefactor     55.009        28.272        .21639E-05   -1.4223    
  11  norm          2.1212        1.4413        .18328E-05   -1.5417    
  12  Prefactor     .10000E-03    32.761        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    45.738        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.1527        .21168E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.6694        .25755E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    63.219        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     32.284        71.220        .28207E-05   -1.4571    
  18  norm          7.3364        6.6453        .28268E-04   -1.5166    
  19  norm          .10000E-03    6.6082        .41892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    15.339        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    2.6810        .19484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    53.815        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    31.399        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.2723        9.0071        .55762E-05   -1.5133    
  25  Prefactor     48.402        55.887        .11529E-04   -1.4315    
  26  Normalizat    1.1732        .31088        .95642E-05   -.87436    
  27  Prefactor     .75304        .29002        .11915E-04   -1.0148    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.98707e-10
Minuit parameter uncertainties:
  1  0.000911999
  2  3.88831
  3  1.62576e-05
  4  7.79214e-06
  5  45.8746
  6  19.722
  7  4.3982e-06
  8  7.78599e-07
  9  7.03179
  10  28.2792
  11  1.44131
  12  4.1004e-05
  13  7.55228e-06
  14  9.21263e-07
  15  4.13262e-06
  16  7.71036e-05
  17  71.408
  18  6.64601
  19  0.000130895
  20  2.46634e-05
  21  1.03123e-06
  22  0.000125352
  23  6.52618e-05
  24  9.0086
  25  55.948
  26  0.311369
  27  0.290607
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.228e+01  7.141e+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:  7.530e-01  2.906e-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.173e+00  3.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/914272/likelihoodResults_367113601_367372801_4FGL_J2327.5-3259_daily_bin493.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) = 3729.71991306
delta logL = 0.718970172944

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3729.70957027
delta logL = 0.729312959123

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.066       1.0000         .10000E-03   10000.    
     2 'Index     '    4.2282       1.0000          .0000       10.000    
     3 'Normalizat'    1.0867       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81145       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=   3729.710     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      335 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.126        412.37        .60217E-03   -.10045E-03
   2  Index         4.2255        7.1010        .53111E-02   -.20527E-04
   3  Normalizat    1.0870        .26251        .24681E-03   -.45533E-04
   4  Prefactor     .81090        .26115        .28800E-03   -.43303E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.1259
  Index      = 4.22548
  Normalizat = 1.08703
  Prefactor  = 0.810897
 **********
 **   18 **HESSE 
 **********

 FCN=   3729.710     FROM HESSE     STATUS=OK            25 CALLS      360 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.126        35.620        .24087E-04   -1.5041    
   2  Index         4.2255        1.8999        .21244E-03   -.15553    
   3  Normalizat    1.0870        .28833        .98724E-05   -.90169    
   4  Prefactor     .81090        .28800        .11520E-04   -.99328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.80492e-11
Minuit parameter uncertainties:
  1  35.6884
  2  1.95021
  3  0.288745
  4  0.288539
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914272': 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) = 3729.70956619
delta logL = 0.729317041255

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.113e+01  3.569e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  4.225e+00  1.950e+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.109e-01  2.885e-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.087e+00  2.887e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.82
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 4.23 +/- 1.95
Photon Flux (Free Index): 1.01e-07 +/- 9.04e-08
Energy Flux (Free Index): 1.46e-05 +/- 1.37e-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/914272/cmap_HighResolution_367113601_367372801_4FGL_J2327.5-3259_daily_bin493.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.23e-02', comment='SUCCESS', energy_flux2='1.46e-05', dlogl='7.29e-01', photon_flux2='1.01e-07', job_status='DONE', time_completed='2021-09-29 20:14:12.685542', photon_index_error2='1.95', photon_index2='4.23', ts='0.25', fit_tolerance='1e-08', GAL='0.75', photon_index_error='0.00', photon_flux_upper_limit='1.57e-07', energy_flux_error2='1.37e-05', EG='1.17', time_epoch_completed='1632971652.69', return_code='0', job_id='914272', GAL2='0.81', EG2='1.09', return_code2='0', photon_flux_error2='9.04e-08', ts2='1.82', photon_index='2.56' WHERE bin_id='493' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:14:12 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 914272: <4FGL_J2327.5-3259_daily_bin493> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin493 351.883 -32.9869 367113601 367372801 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 :                                   622.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             223.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            812 sec.

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

