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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin226
RA = 351.883, Dec = -32.9869
tmin = 297907201, tmax = 298166401
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='912786', job_status='RUN', time_executed='2021-09-29 19:58:54.076570', time_epoch_executed='1632970734.08' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='226'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912786

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912786/ft1_4FGL_J2327.5-3259_daily_bin226.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912786/ft2_4FGL_J2327.5-3259_daily_bin226.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912786/ft1_4FGL_J2327.5-3259_daily_bin226.fits outfile=/scratch/kocevski/912786/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin226.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=297907201.0 tmax=298166401.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.50
user 3.30
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/912786/ft2_4FGL_J2327.5-3259_daily_bin226.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/912786/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin226.fits evtable="EVENTS" outfile="/scratch/kocevski/912786/ft1_filtered_4FGL_J2327.5-3259_daily_bin226.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/912786/ft1_filtered_4FGL_J2327.5-3259_daily_bin226.fits" evtable="EVENTS" scfile=/scratch/kocevski/912786/ft2_4FGL_J2327.5-3259_daily_bin226.fits sctable="SC_DATA" outfile=/scratch/kocevski/912786/ltcube_297907201_298166401_4FGL_J2327.5-3259_daily_bin226.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/912786/ft2_4FGL_J2327.5-3259_daily_bin226.fits
.....................!
real 11.59
user 11.25
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912786/ft1_filtered_4FGL_J2327.5-3259_daily_bin226.fits evtable="EVENTS" scfile=/scratch/kocevski/912786/ft2_4FGL_J2327.5-3259_daily_bin226.fits sctable="SC_DATA" expcube=/scratch/kocevski/912786/ltcube_297907201_298166401_4FGL_J2327.5-3259_daily_bin226.fits outfile=/scratch/kocevski/912786/expmap_297907201_298166401_4FGL_J2327.5-3259_daily_bin226.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/912786/ltcube_297907201_298166401_4FGL_J2327.5-3259_daily_bin226.fits
.....................!
real 192.19
user 186.21
sys 5.63

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/912786/ft1_filtered_4FGL_J2327.5-3259_daily_bin226.fits scfile=/scratch/kocevski/912786/ft2_4FGL_J2327.5-3259_daily_bin226.fits outfile=/scratch/kocevski/912786/cmap_297907201_298166401_4FGL_J2327.5-3259_daily_bin226.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.37
sys 0.14

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/912786/ft1_filtered_4FGL_J2327.5-3259_daily_bin226.fits evtable="EVENTS" scfile=/scratch/kocevski/912786/ft2_4FGL_J2327.5-3259_daily_bin226.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912786/Model_4FGL_J2327.5-3259_daily_bin226.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/912786/ft1_filtered_4FGL_J2327.5-3259_daily_bin226.fits.....................!
real 34.38
user 32.89
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60117E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .55997E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5289       1.0000         .10000E-03   10000.    
     7 'Prefactor '    12.985       1.0000         .10000E-03   10000.    
     8 'norm      '    .11653E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    29.926       1.0000         .10000E-03   10000.    
    11 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    48.279       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10228E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.4286       1.0000         .10000E-03   10000.    
    16 'Prefactor '    36.386       1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.6254       1.0000         .10000E-03   10000.    
    18 'norm      '    2.5074       1.0000         .10000E-03   10000.    
    19 'norm      '    .23366E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    19.601       1.0000         .10000E-03   10000.    
    21 'norm      '    3.6025       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.2432       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2127       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .89424       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=   3893.822     FROM MIGRAD    STATUS=CONVERGED   1219 CALLS     3928 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10005E-03    79.350        .16114    ** at limit **
   2  Prefactor     .10000E-03    28.679        .20095E-02** at limit **
   3  Prefactor     .10000E-03    13.381        .18142E-02** at limit **
   4  Prefactor     .10000E-03    17.650        .18142E-02** at limit **
   5  Prefactor     .10000E-03    81.358        .18142E-02** at limit **
   6  Prefactor     5.5338        19.091        .17087E-03    .47173E-04
   7  Prefactor     12.984        11.777        .11116E-03    .24546E-04
   8  norm          .10000E-03    16.624        .28459E-02** at limit **
   9  Prefactor     .10000E-03    15.148        .18142E-02** at limit **
  10  Prefactor     29.949        15.143        .73240E-04    .40309E-03
  11  norm          .10000E-03    .59274        .79929E-03** at limit **
  12  Prefactor     48.284        68.233        .57711E-04    .19601E-04
  13  Prefactor     .10000E-03    38.645        .18142E-02** at limit **
  14  norm          .10000E-03    4.3249        .12643E-02** at limit **
  15  norm          9.4357        11.970        .13051E-03    .66027E-04
  16  Prefactor     36.587        77.253        .66439E-04    .26779E-04
  17  Prefactor     7.4641        160.19        .14522E-03    .34993E-04
  18  norm          2.5021        7.6200        .21170E-03   -.12107E-03
  19  norm          .41770E-01    84.711        .18811E-02    .66048E-03
  20  Prefactor     19.439        45.037        .90466E-04    .80930E-04
  21  norm          3.6021        5.6873        .17095E-03    .15372E-03
  22  Prefactor     .10000E-03    38.111        .18142E-02** at limit **
  23  Prefactor     .10000E-03    17.867        .18142E-02** at limit **
  24  Prefactor     8.2462        8.0228        .13964E-03    .36760E-04
  25  Prefactor     .10000E-03    16.909        .18142E-02** at limit **
  26  Normalizat    1.2128        .32721        .24266E-03    .22295E-03
  27  Prefactor     .89398        .30729        .28777E-03    .52655E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100051
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.53376
  Prefactor  = 12.9844
  norm       = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 29.9492
  norm       = 0.0001
  Prefactor  = 48.2837
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 9.43568
  Prefactor  = 36.5869
  Prefactor  = 7.46411
  norm       = 2.50213
  norm       = 0.0417701
  Prefactor  = 19.4393
  norm       = 3.60213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.24617
  Prefactor  = 0.0001
  Normalizat = 1.21277
  Prefactor  = 0.893979
 **********
 **   18 **HESSE 
 **********

 FCN=   3893.822     FROM HESSE     STATUS=OK           470 CALLS     4398 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10005E-03    80.848        .15899       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    29.155        .40190E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.382        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    17.652        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    81.382        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.5338        19.086        .68347E-05   -1.5237    
   7  Prefactor     12.984        11.777        .44464E-05   -1.4987    
   8  norm          .10000E-03    16.747        .56918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    15.149        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     29.949        15.116        .14648E-04   -1.4613    
  11  norm          .10000E-03    .59291        .15986E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     48.284        68.228        .11542E-04   -1.4317    
  13  Prefactor     .10000E-03    38.659        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.3250        .25287E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.4357        11.968        .52206E-05   -1.5094    
  16  Prefactor     36.587        77.152        .26576E-05   -1.4497    
  17  Prefactor     7.4641        160.13        .58089E-05   -1.5161    
  18  norm          2.5021        7.6107        .84680E-05   -1.5392    
  19  norm          .41770E-01    84.510        .75242E-04   -1.5667    
  20  Prefactor     19.439        44.183        .18093E-04   -1.4826    
  21  norm          3.6021        5.6859        .68381E-05   -1.5328    
  22  Prefactor     .10000E-03    38.111        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    17.868        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.2462        8.0224        .55854E-05   -1.5134    
  25  Prefactor     .10000E-03    16.909        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2128        .32754        .48532E-04   -.86209    
  27  Prefactor     .89398        .30731        .57554E-04   -.96352    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52684e-08
Minuit parameter uncertainties:
  1  0.00407195
  2  0.000642039
  3  1.14317e-05
  4  2.1983e-05
  5  0.000307695
  6  19.1075
  7  11.7786
  8  0.000525146
  9  1.22119e-05
  10  15.1178
  11  1.81564e-05
  12  68.3385
  13  0.000352759
  14  6.94963e-05
  15  11.971
  16  77.3637
  17  69.3561
  18  7.61363
  19  3.75847
  20  44.2579
  21  5.6868
  22  5.2497e-05
  23  8.15328e-06
  24  8.02343
  25  2.45894e-05
  26  0.328098
  27  0.307908
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  7.464e+00  6.936e+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.940e-01  3.079e-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.213e+00  3.281e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/912786/likelihoodResults_297907201_298166401_4FGL_J2327.5-3259_daily_bin226.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) = 3893.24443127
delta logL = 0.577994917269

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3893.18671724
delta logL = 0.635708945682

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.1590       1.0000         .10000E-03   10000.    
     2 'Index     '    4.3734       1.0000          .0000       10.000    
     3 'Normalizat'    1.1161       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95909       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=   3893.187     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      274 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.1533        100.36        .14992E-03   -.51262E-04
   2  Index         4.3760        3.9230        .58590E-02   -.64039E-04
   3  Normalizat    1.1164        .30311        .25131E-03    .45571E-03
   4  Prefactor     .95879        .30689        .27866E-03    .56573E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.15326
  Index      = 4.37595
  Normalizat = 1.11641
  Prefactor  = 0.958785
 **********
 **   18 **HESSE 
 **********

 FCN=   3893.187     FROM HESSE     STATUS=OK            25 CALLS      299 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.1533        20.186        .59968E-05   -1.5173    
   2  Index         4.3760        1.6676        .23436E-03   -.12514    
   3  Normalizat    1.1164        .30265        .50263E-04   -.89227    
   4  Prefactor     .95879        .30732        .55732E-04   -.94116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.22376e-09
Minuit parameter uncertainties:
  1  20.2055
  2  1.70069
  3  0.303119
  4  0.307878
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912786': 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) = 3893.18670997
delta logL = 0.635716216398

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  7.153e+00  2.021e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  4.376e+00  1.701e+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:  9.588e-01  3.079e-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.116e+00  3.031e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.37
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 4.38 +/- 1.70
Photon Flux (Free Index): 8.22e-08 +/- 8.47e-08
Energy Flux (Free Index): 1.16e-05 +/- 1.21e-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/912786/cmap_HighResolution_297907201_298166401_4FGL_J2327.5-3259_daily_bin226.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.11e-02', comment='SUCCESS', energy_flux2='1.16e-05', dlogl='6.36e-01', photon_flux2='8.22e-08', job_status='DONE', time_completed='2021-09-29 20:09:18.559675', photon_index_error2='1.70', photon_index2='4.38', ts='0.01', fit_tolerance='1e-08', GAL='0.89', photon_index_error='0.00', photon_flux_upper_limit='1.42e-07', energy_flux_error2='1.21e-05', EG='1.21', time_epoch_completed='1632971358.56', return_code='0', job_id='912786', GAL2='0.96', EG2='1.12', return_code2='0', photon_flux_error2='8.47e-08', ts2='1.37', photon_index='2.56' WHERE bin_id='226' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:09:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 912786: <4FGL_J2327.5-3259_daily_bin226> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin226 351.883 -32.9869 297907201 298166401 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 :                                   623.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   820 sec.
    Turnaround time :                            822 sec.

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

