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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin632
RA = 351.883, Dec = -32.9869
tmin = 403142401, tmax = 403401601
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='915585', job_status='RUN', time_executed='2021-09-29 20:08:03.387758', time_epoch_executed='1632971283.39' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='632'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915585

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915585/ft1_4FGL_J2327.5-3259_daily_bin632.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915585/ft2_4FGL_J2327.5-3259_daily_bin632.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915585/ft1_4FGL_J2327.5-3259_daily_bin632.fits outfile=/scratch/kocevski/915585/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin632.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=403142401.0 tmax=403401601.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.55
user 3.32
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915585/ft1_filtered_4FGL_J2327.5-3259_daily_bin632.fits" evtable="EVENTS" scfile=/scratch/kocevski/915585/ft2_4FGL_J2327.5-3259_daily_bin632.fits sctable="SC_DATA" outfile=/scratch/kocevski/915585/ltcube_403142401_403401601_4FGL_J2327.5-3259_daily_bin632.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/915585/ft2_4FGL_J2327.5-3259_daily_bin632.fits
.....................!
real 12.40
user 12.02
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915585/ft1_filtered_4FGL_J2327.5-3259_daily_bin632.fits evtable="EVENTS" scfile=/scratch/kocevski/915585/ft2_4FGL_J2327.5-3259_daily_bin632.fits sctable="SC_DATA" expcube=/scratch/kocevski/915585/ltcube_403142401_403401601_4FGL_J2327.5-3259_daily_bin632.fits outfile=/scratch/kocevski/915585/expmap_403142401_403401601_4FGL_J2327.5-3259_daily_bin632.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/915585/ltcube_403142401_403401601_4FGL_J2327.5-3259_daily_bin632.fits
.....................!
real 190.90
user 185.05
sys 5.54

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/915585/ft1_filtered_4FGL_J2327.5-3259_daily_bin632.fits scfile=/scratch/kocevski/915585/ft2_4FGL_J2327.5-3259_daily_bin632.fits outfile=/scratch/kocevski/915585/cmap_403142401_403401601_4FGL_J2327.5-3259_daily_bin632.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915585/ft1_filtered_4FGL_J2327.5-3259_daily_bin632.fits scfile=/scratch/kocevski/915585/ft2_4FGL_J2327.5-3259_daily_bin632.fits outfile=/scratch/kocevski/915585/cmap_HighResolution_403142401_403401601_4FGL_J2327.5-3259_daily_bin632.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915585/ft1_filtered_4FGL_J2327.5-3259_daily_bin632.fits evtable="EVENTS" scfile=/scratch/kocevski/915585/ft2_4FGL_J2327.5-3259_daily_bin632.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915585/Model_4FGL_J2327.5-3259_daily_bin632.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/915585/ft1_filtered_4FGL_J2327.5-3259_daily_bin632.fits.....................!
real 39.35
user 38.04
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .63221E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.137       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.140       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11315E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    16.401       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.7282       1.0000         .10000E-03   10000.    
     8 'norm      '    13.244       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.995       1.0000         .10000E-03   10000.    
    11 'norm      '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    48.814       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.1102       1.0000         .10000E-03   10000.    
    14 'norm      '    5.5017       1.0000         .10000E-03   10000.    
    15 'norm      '    39.332       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    53.260       1.0000         .10000E-03   10000.    
    18 'norm      '    68.582       1.0000         .10000E-03   10000.    
    19 'norm      '    .81083       1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.7140       1.0000         .10000E-03   10000.    
    21 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    94.175       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .87804E-01   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .81059       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .95601       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=   4686.509     FROM MIGRAD    STATUS=CONVERGED    705 CALLS     3397 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    475.59       -.10342E-04** at limit **
   2  Prefactor     15.131        10.138        .17365E-06    .14993E-02
   3  Prefactor     14.130        48.329       -.27291E-06    .19969E-03
   4  Prefactor     .10000E-03    36.692        .15237E-05** at limit **
   5  Prefactor     .10000E-03    19.477        .10165E-06** at limit **
   6  Prefactor     16.404        15.736        .15203E-06   -.14184E-04
   7  Prefactor     1.7297        7.1366        .81272E-05    .17319E-04
   8  norm          13.243        7.2122       -.33187E-07   -.17066E-03
   9  Prefactor     .10000E-03    6.9318        .57566E-07** at limit **
  10  Prefactor     12.984        15.918       -.55229E-06   -.98695E-04
  11  norm          .10000E-03    .88141        .12128E-06** at limit **
  12  Prefactor     48.690        75.216       -.36898E-05    .25434E-04
  13  Prefactor     1.1110        32.993        .55058E-06   -.50977E-04
  14  norm          5.5017        5.6728        .14184E-06    .15056E-04
  15  norm          39.333        17.092       -.13256E-06    .12069E-03
  16  Prefactor     .10000E-03    37.808       -.98706E-06** at limit **
  17  Prefactor     53.247        65.752       -.93302E-07    .66276E-04
  18  norm          68.578        11.400       -.41272E-06    .33017E-03
  19  norm          .81076        2.6032        .15542E-05    .92875E-03
  20  Prefactor     1.7261        138.42       -.30937E-04   -.16941E-04
  21  norm          .10000E-03    5.5324        .46305E-06** at limit **
  22  Prefactor     93.905        133.09        .15126E-04    .51497E-04
  23  Prefactor     .10000E-03    34.977       -.65244E-06** at limit **
  24  Prefactor     .10000E-03    3.2318       -.87763E-07** at limit **
  25  Prefactor     .18944E-03    124.18       -.15507E-04** at limit **
  26  Normalizat    .81057        .23876        .14809E-05    .55486E-03
  27  Prefactor     .95608        .22850       -.34321E-06    .50466E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 15.1313
  Prefactor  = 14.13
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.4043
  Prefactor  = 1.72965
  norm       = 13.2434
  Prefactor  = 0.0001
  Prefactor  = 12.9837
  norm       = 0.0001
  Prefactor  = 48.69
  Prefactor  = 1.11099
  norm       = 5.50173
  norm       = 39.3333
  Prefactor  = 0.0001
  Prefactor  = 53.2466
  norm       = 68.578
  norm       = 0.810758
  Prefactor  = 1.72605
  norm       = 0.0001
  Prefactor  = 93.9049
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000189441
  Normalizat = 0.81057
  Prefactor  = 0.956076
 **********
 **   18 **HESSE 
 **********

 FCN=   4686.509     FROM HESSE     STATUS=OK           494 CALLS     3891 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    485.70        .18860E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.131        10.191        .10295E-03   -1.4930    
   3  Prefactor     14.130        48.438        .10652E-03   -1.4956    
   4  Prefactor     .10000E-03    37.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.510        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.404        15.780        .98898E-04   -1.4898    
   7  Prefactor     1.7297        7.0799        .15970E-02   -1.5445    
   8  norm          13.243        7.1692        .11006E-03   -1.4980    
   9  Prefactor     .10000E-03    6.9325        .17595E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.984        14.815        .11112E-03   -1.4987    
  11  norm          .10000E-03    1.7462        .10542E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     48.690        75.221        .57395E-04   -1.4311    
  13  Prefactor     1.1110        28.288        .44832E-03   -1.5497    
  14  norm          5.5017        5.6734        .15965E-03   -1.5239    
  15  norm          39.333        17.094        .63911E-04   -1.4453    
  16  Prefactor     .10000E-03    37.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     53.247        66.132        .54959E-04   -1.4247    
  18  norm          68.578        11.401        .24234E-03   -1.4050    
  19  norm          .81076        2.3793        .19075E-02   -1.5528    
  20  Prefactor     1.7261        139.59        .32101E-03   -1.5445    
  21  norm          .10000E-03    5.6279        .15697E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     93.905        133.60        .20707E-03   -1.3767    
  23  Prefactor     .10000E-03    34.997        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.2400        .12012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .18944E-03    89.177        .16254       -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .81057        .28897        .28901E-03   -.99678    
  27  Prefactor     .95608        .27298        .28057E-03   -.94208    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73795e-09
Minuit parameter uncertainties:
  1  0.00155579
  2  10.1921
  3  48.5728
  4  0.000207149
  5  1.20547e-05
  6  15.7842
  7  7
  8  7.16965
  9  3.40503e-06
  10  14.8192
  11  6.49052e-06
  12  75.368
  13  11.2175
  14  5.67391
  15  17.0958
  16  0.000194604
  17  66.2238
  18  11.4014
  19  2.37954
  20  31.1187
  21  3.41361e-05
  22  134.03
  23  1.25104e-05
  24  4.52326e-06
  25  0.178884
  26  0.289516
  27  0.273369
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  5.325e+01  6.622e+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:  9.561e-01  2.734e-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:  8.106e-01  2.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.16
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.27e-08 +/- 5.30e-08
Energy Flux (Fixed Index): 1.17e-05 +/- 1.45e-05

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

Saving results to:
/scratch/kocevski/915585/likelihoodResults_403142401_403401601_4FGL_J2327.5-3259_daily_bin632.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) = 4685.75138541
delta logL = 0.757870199359

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4685.7462038
delta logL = 0.763051813773

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.972       1.0000         .10000E-03   10000.    
     2 'Index     '    3.7406       1.0000          .0000       10.000    
     3 'Normalizat'    .71405       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0189       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=   4685.746     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      296 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.966        53.146        .73183E-04   -.26636E-03
   2  Index         3.7411        1.2041        .52795E-02   -.13897E-03
   3  Normalizat    .71437        .26857        .30587E-03   -.35674E-03
   4  Prefactor     1.0185        .27130        .27278E-03   -.26520E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.9656
  Index      = 3.7411
  Normalizat = 0.714369
  Prefactor  = 1.01849
 **********
 **   18 **HESSE 
 **********

 FCN=   4685.746     FROM HESSE     STATUS=OK            25 CALLS      321 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.966        43.354        .14637E-04   -1.4613    
   2  Index         3.7411        .98279        .21118E-03   -.25452    
   3  Normalizat    .71437        .26861        .12235E-04   -1.0333    
   4  Prefactor     1.0185        .27116        .54557E-04   -.92116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.47156e-10
Minuit parameter uncertainties:
  1  43.3996
  2  0.989671
  3  0.269107
  4  0.271528
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915585': 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) = 4685.7462017
delta logL = 0.763053911043

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  2.997e+01  4.340e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.741e+00  9.897e-01  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.018e+00  2.715e-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:  7.144e-01  2.691e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.89
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 3.74 +/- 0.99
Photon Flux (Free Index): 1.28e-07 +/- 1.01e-07
Energy Flux (Free Index): 2.01e-05 +/- 1.50e-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/915585/cmap_HighResolution_403142401_403401601_4FGL_J2327.5-3259_daily_bin632.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.31e-02', comment='SUCCESS', photon_flux='4.27e-08', energy_flux2='2.01e-05', photon_flux_error='5.30e-08', dlogl='7.63e-01', energy_flux='1.17e-05', photon_flux2='1.28e-07', job_status='DONE', time_completed='2021-09-29 20:19:18.750860', photon_index_error2='0.99', photon_index2='3.74', ts='1.16', fit_tolerance='1e-08', GAL='0.96', photon_index_error='0.00', photon_flux_upper_limit='1.68e-07', energy_flux_error2='1.50e-05', EG='0.81', time_epoch_completed='1632971958.75', return_code='0', job_id='915585', GAL2='1.02', EG2='0.71', return_code2='0', energy_flux_error='1.45e-05', photon_flux_error2='1.01e-07', ts2='2.89', photon_index='2.56' WHERE bin_id='632' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:19:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0049>
Subject: Job 915585: <4FGL_J2327.5-3259_daily_bin632> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin632 351.883 -32.9869 403142401 403401601 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 :                                   673.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            837 sec.

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

