/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 18 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 = 7655
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2327.5-3259_daily_bin272
RA = 351.883, Dec = -32.9869
tmin = 309830401, tmax = 310089601
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='912852', job_status='RUN', time_executed='2021-09-29 19:56:08.712790', time_epoch_executed='1632970568.71' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='272'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912852

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912852/ft1_4FGL_J2327.5-3259_daily_bin272.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912852/ft2_4FGL_J2327.5-3259_daily_bin272.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912852/ft1_4FGL_J2327.5-3259_daily_bin272.fits outfile=/scratch/kocevski/912852/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin272.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=309830401.0 tmax=310089601.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.48
user 3.27
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912852/ft1_filtered_4FGL_J2327.5-3259_daily_bin272.fits" evtable="EVENTS" scfile=/scratch/kocevski/912852/ft2_4FGL_J2327.5-3259_daily_bin272.fits sctable="SC_DATA" outfile=/scratch/kocevski/912852/ltcube_309830401_310089601_4FGL_J2327.5-3259_daily_bin272.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/912852/ft2_4FGL_J2327.5-3259_daily_bin272.fits
.....................!
real 14.60
user 14.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912852/ft1_filtered_4FGL_J2327.5-3259_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/912852/ft2_4FGL_J2327.5-3259_daily_bin272.fits sctable="SC_DATA" expcube=/scratch/kocevski/912852/ltcube_309830401_310089601_4FGL_J2327.5-3259_daily_bin272.fits outfile=/scratch/kocevski/912852/expmap_309830401_310089601_4FGL_J2327.5-3259_daily_bin272.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/912852/ltcube_309830401_310089601_4FGL_J2327.5-3259_daily_bin272.fits
.....................!
real 189.84
user 185.36
sys 4.18

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/912852/ft1_filtered_4FGL_J2327.5-3259_daily_bin272.fits scfile=/scratch/kocevski/912852/ft2_4FGL_J2327.5-3259_daily_bin272.fits outfile=/scratch/kocevski/912852/cmap_309830401_310089601_4FGL_J2327.5-3259_daily_bin272.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.13

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/912852/ft1_filtered_4FGL_J2327.5-3259_daily_bin272.fits evtable="EVENTS" scfile=/scratch/kocevski/912852/ft2_4FGL_J2327.5-3259_daily_bin272.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912852/Model_4FGL_J2327.5-3259_daily_bin272.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/912852/ft1_filtered_4FGL_J2327.5-3259_daily_bin272.fits.....................!
real 46.29
user 45.05
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.809       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    19.876       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8952       1.0000         .10000E-03   10000.    
     5 'Prefactor '    64.585       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8894       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.973       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.6515       1.0000         .10000E-03   10000.    
    11 'norm      '    .26763       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10048E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.3626       1.0000         .10000E-03   10000.    
    14 'norm      '    7.3449       1.0000         .10000E-03   10000.    
    15 'norm      '    21.373       1.0000         .10000E-03   10000.    
    16 'Prefactor '    17.762       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0295       1.0000         .10000E-03   10000.    
    18 'norm      '    .14251E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    5.0451       1.0000         .10000E-03   10000.    
    20 'Prefactor '    27.607       1.0000         .10000E-03   10000.    
    21 'norm      '    .98056E-02   1.0000         .10000E-03   10000.    
    22 'Prefactor '    33.349       1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.9516       1.0000         .10000E-03   10000.    
    24 'Prefactor '    7.4993       1.0000         .10000E-03   10000.    
    25 'Prefactor '    24.374       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .82636       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .73906       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=   6131.269     FROM MIGRAD    STATUS=CONVERGED    654 CALLS     3341 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.803        37.709       -.13041E-04    .10595E-03
   2  Prefactor     .10000E-03    1.2638        .23275E-07** at limit **
   3  Prefactor     19.874        16.563       -.55566E-06    .84032E-04
   4  Prefactor     6.8939        12.310        .57538E-06   -.47841E-04
   5  Prefactor     64.582        31.550       -.37103E-05    .20765E-03
   6  Prefactor     5.8860        8.4334       -.12041E-05   -.28300E-04
   7  Prefactor     .10000E-03    4.7639        .19023E-06** at limit **
   8  norm          .10000E-03    .87146       -.69356E-07** at limit **
   9  Prefactor     13.969        12.570        .26500E-05   -.18659E-04
  10  Prefactor     2.6574        8.7720       -.36367E-05   -.69559E-03
  11  norm          .26743        .43107        .73896E-07    .32991E-04
  12  Prefactor     .10000E-03    29.352       -.14843E-06** at limit **
  13  Prefactor     8.3593        9.3936       -.19257E-06    .88227E-04
  14  norm          7.3403        4.8609       -.31779E-06    .60398E-03
  15  norm          21.372        8.7267        .37699E-06    .44738E-03
  16  Prefactor     17.747        19.468        .42209E-05    .80863E-04
  17  Prefactor     .84831        29.591       -.66157E-05    .28621E-03
  18  norm          .10000E-03    1.7151       -.80793E-06** at limit **
  19  norm          5.0450        2.7191        .12072E-06   -.24366E-04
  20  Prefactor     27.606        21.787       -.27995E-05    .16741E-03
  21  norm          .10096E-03    1.2342       -.15254E-06** at limit **
  22  Prefactor     33.341        61.062       -.13042E-04    .11716E-03
  23  Prefactor     4.9497        17.915        .11115E-05   -.26782E-04
  24  Prefactor     7.4990        5.0469       -.18589E-06    .23439E-03
  25  Prefactor     24.368        35.847       -.92156E-05    .18550E-03
  26  Normalizat    .82648        .15346        .31950E-05    .51012E-03
  27  Prefactor     .73896        .16032        .47698E-07    .56139E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.8035
  Prefactor  = 0.0001
  Prefactor  = 19.8742
  Prefactor  = 6.89388
  Prefactor  = 64.5823
  Prefactor  = 5.88599
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.9685
  Prefactor  = 2.65742
  norm       = 0.267432
  Prefactor  = 0.0001
  Prefactor  = 8.35927
  norm       = 7.34034
  norm       = 21.372
  Prefactor  = 17.7472
  Prefactor  = 0.848313
  norm       = 0.000100001
  norm       = 5.04504
  Prefactor  = 27.6057
  norm       = 0.000100962
  Prefactor  = 33.3411
  Prefactor  = 4.94967
  Prefactor  = 7.49896
  Prefactor  = 24.3677
  Normalizat = 0.826484
  Prefactor  = 0.738955
 **********
 **   18 **HESSE 
 **********

 FCN=   6131.269     FROM HESSE     STATUS=OK           500 CALLS     3841 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.803        37.576        .10779E-03   -1.4965    
   2  Prefactor     .10000E-03    1.2785        .85862E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     19.874        16.556        .89840E-04   -1.4816    
   4  Prefactor     6.8939        12.295        .15279E-03   -1.5183    
   5  Prefactor     64.582        31.463        .49936E-04   -1.4099    
   6  Prefactor     5.8860        8.4444        .16548E-03   -1.5223    
   7  Prefactor     .10000E-03    4.8698        .16686E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    .87376        .71269E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.969        12.513        .10715E-03   -1.4960    
  10  Prefactor     2.6574        8.3610        .25035E-03   -1.5382    
  11  norm          .26743        .36111        .51400E-03   -1.5605    
  12  Prefactor     .10000E-03    29.404        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.3593        9.1197        .13863E-03   -1.5130    
  14  norm          7.3403        4.6987        .13025E-03   -1.5166    
  15  norm          21.372        8.7363        .86639E-04   -1.4783    
  16  Prefactor     17.747        19.108        .95033E-04   -1.4865    
  17  Prefactor     .84831        229.95        .78647E-02   -1.5524    
  18  norm          .10000E-03    7.7065        .18512E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          5.0450        2.7163        .90458E-04   -1.5259    
  20  Prefactor     27.606        21.763        .76247E-04   -1.4657    
  21  norm          .10096E-03    1.6961        .32980E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     33.341        60.791        .69389E-04   -1.4552    
  23  Prefactor     4.9497        17.892        .18074E-03   -1.5263    
  24  Prefactor     7.4990        5.0490        .13510E-03   -1.5160    
  25  Prefactor     24.368        35.654        .81137E-04   -1.4720    
  26  Normalizat    .82648        .18345        .21527E-03   -.99094    
  27  Prefactor     .73896        .19049        .24942E-03   -1.0202    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0889e-08
Minuit parameter uncertainties:
  1  37.6405
  2  7.13649e-06
  3  16.5603
  4  12.2999
  5  31.4709
  6  8.44613
  7  1.20092e-05
  8  2.43882e-06
  9  12.5153
  10  8.36466
  11  0.36111
  12  2.70248e-05
  13  9.12118
  14  4.69895
  15  8.73678
  16  19.115
  17  28.0413
  18  0.000137852
  19  2.71637
  20  21.7693
  21  0.00255467
  22  60.9042
  23  17.9114
  24  5.04926
  25  35.6856
  26  0.183584
  27  0.19066
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  8.483e-01  2.804e+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.390e-01  1.907e-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.265e-01  1.836e-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: 6.24e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/912852/likelihoodResults_309830401_310089601_4FGL_J2327.5-3259_daily_bin272.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) = 6130.91954533
delta logL = 0.349357582747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6130.26754346
delta logL = 1.00135944897

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .21437E-03   1.0000         .10000E-03   10000.    
     2 'Index     '   10.0000       1.0000          .0000       10.000    
     3 'Normalizat'    .76861       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78406       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.

 FCN=   6130.268     FROM MIGRAD    STATUS=CONVERGED     76 CALLS      391 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .21430E-03    .18641E-03    .23242E-03** at limit **
   2  Index        10.0000        .75182        .50000    ** at limit **
   3  Normalizat    .76848        .14717        .43199E-01   -.29339E-04
   4  Prefactor     .78429        .16099        .43509E-01   -.38558E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000214296
  Index      = 10
  Normalizat = 0.768476
  Prefactor  = 0.784291
 **********
 **   18 **HESSE 
 **********

 FCN=   6130.268     FROM HESSE     STATUS=OK            37 CALLS      428 TOTAL
                     EDM=   .57E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .21430E-03    .20702E-03    .13252E-04   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index        10.0000        1.0478        .41548        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    .76848        .17616        .22225E-03   -1.0125    
   4  Prefactor     .78429        .19238        .24280E-03   -1.0031    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71634e-09
Minuit parameter uncertainties:
  1  0.000207015
  2  1.09845e-05
  3  0.176288
  4  0.192546
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912852': 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) = 6130.26754139
delta logL = 1.00136152614

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  2.143e-04  2.070e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.000e+01  1.098e-05  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:  7.843e-01  1.925e-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.685e-01  1.763e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.09
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 10.00 +/- 0.00
Photon Flux (Free Index): 3.86e-08 +/- 3.61e-08
Energy Flux (Free Index): 4.32e-06 +/- 4.07e-06

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/912852/cmap_HighResolution_309830401_310089601_4FGL_J2327.5-3259_daily_bin272.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.87e-03', comment='SUCCESS', energy_flux2='4.32e-06', dlogl='1.00e+00', photon_flux2='3.86e-08', job_status='DONE', time_completed='2021-09-29 20:09:16.296592', photon_index_error2='0.00', photon_index2='10.00', ts='0.00', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', photon_flux_upper_limit='6.24e-08', energy_flux_error2='4.07e-06', EG='0.83', time_epoch_completed='1632971356.3', return_code='0', job_id='912852', GAL2='0.78', EG2='0.77', return_code2='0', photon_flux_error2='3.61e-08', ts2='2.09', photon_index='2.56' WHERE bin_id='272' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:09:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 912852: <4FGL_J2327.5-3259_daily_bin272> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin272> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:55:41 2021
Job was executed on host(s) <bullet0111>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:55: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 19:55:42 2021
Terminated at Wed Sep 29 20:09:17 2021
Results reported at Wed Sep 29 20:09:17 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin272 351.883 -32.9869 309830401 310089601 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 :                                   784.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             365.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   814 sec.
    Turnaround time :                            816 sec.

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

