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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1633
RA = 351.883, Dec = -32.9869
tmin = 662601601, tmax = 662860801
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='693129', job_status='RUN', time_executed='2022-01-03 00:36:50.325520', time_epoch_executed='1641199010.33' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1633'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/693129

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/693129/ft1_4FGL_J2327.5-3259_daily_bin1633.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/693129/ft2_4FGL_J2327.5-3259_daily_bin1633.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/693129/ft1_4FGL_J2327.5-3259_daily_bin1633.fits outfile=/scratch/kocevski/693129/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1633.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=662601601.0 tmax=662860801.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 2.93
user 2.70
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/693129/ft1_filtered_4FGL_J2327.5-3259_daily_bin1633.fits" evtable="EVENTS" scfile=/scratch/kocevski/693129/ft2_4FGL_J2327.5-3259_daily_bin1633.fits sctable="SC_DATA" outfile=/scratch/kocevski/693129/ltcube_662601601_662860801_4FGL_J2327.5-3259_daily_bin1633.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/693129/ft2_4FGL_J2327.5-3259_daily_bin1633.fits
.....................!
real 12.76
user 12.38
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/693129/ft1_filtered_4FGL_J2327.5-3259_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/693129/ft2_4FGL_J2327.5-3259_daily_bin1633.fits sctable="SC_DATA" expcube=/scratch/kocevski/693129/ltcube_662601601_662860801_4FGL_J2327.5-3259_daily_bin1633.fits outfile=/scratch/kocevski/693129/expmap_662601601_662860801_4FGL_J2327.5-3259_daily_bin1633.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/693129/ltcube_662601601_662860801_4FGL_J2327.5-3259_daily_bin1633.fits
.....................!
real 190.02
user 185.50
sys 4.13

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/693129/ft1_filtered_4FGL_J2327.5-3259_daily_bin1633.fits scfile=/scratch/kocevski/693129/ft2_4FGL_J2327.5-3259_daily_bin1633.fits outfile=/scratch/kocevski/693129/cmap_662601601_662860801_4FGL_J2327.5-3259_daily_bin1633.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.54
user 0.38
sys 0.14

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

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/693129/ft1_filtered_4FGL_J2327.5-3259_daily_bin1633.fits evtable="EVENTS" scfile=/scratch/kocevski/693129/ft2_4FGL_J2327.5-3259_daily_bin1633.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/693129/Model_4FGL_J2327.5-3259_daily_bin1633.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/693129/ft1_filtered_4FGL_J2327.5-3259_daily_bin1633.fits.....................!
real 51.03
user 49.67
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .47051       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    16.144       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.075       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .33236       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    19.017       1.0000         .10000E-03   10000.    
    11 'norm      '    .50618       1.0000         .10000E-03   10000.    
    12 'Prefactor '    27.367       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.5320       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.996       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.452       1.0000         .10000E-03   10000.    
    18 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.8152       1.0000         .10000E-03   10000.    
    20 'Prefactor '    26.820       1.0000         .10000E-03   10000.    
    21 'norm      '    .15904E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.0627       1.0000         .10000E-03   10000.    
    25 'Prefactor '    11.376       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .80872       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .89900       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=   7296.228     FROM MIGRAD    STATUS=CONVERGED    656 CALLS     3370 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.625       -.26838E-05** at limit **
   2  Prefactor     .46979        1.8052       -.11352E-05   -.61050E-03
   3  Prefactor     .10000E-03    10.566       -.24157E-05** at limit **
   4  Prefactor     16.144        16.934        .26631E-06    .10120E-03
   5  Prefactor     .10000E-03    55.919       -.29791E-04** at limit **
   6  Prefactor     15.075        10.724        .24210E-06    .44297E-04
   7  Prefactor     .10000E-03    2.1339       -.10725E-07** at limit **
   8  norm          .31987        2.2956        .25530E-06   -.99249E-03
   9  Prefactor     .10000E-03    13.842        .36487E-05** at limit **
  10  Prefactor     19.024        12.916        .31868E-06   -.30920E-03
  11  norm          .50617        .92227       -.47726E-06   -.34670E-02
  12  Prefactor     27.344        40.704       -.28596E-04    .24189E-04
  13  Prefactor     .10000E-03    5.1269       -.51647E-08** at limit **
  14  norm          5.5313        3.7798        .12393E-05   -.17377E-03
  15  norm          .10000E-03    2.1875        .48983E-08** at limit **
  16  Prefactor     28.979        27.238       -.89008E-05   -.40772E-03
  17  Prefactor     18.448        33.832       -.61355E-05    .69731E-05
  18  norm          .10000E-03    3.9820        .62174E-06** at limit **
  19  norm          4.8153        2.6779       -.15323E-06   -.12984E-03
  20  Prefactor     26.817        19.201       -.13066E-05    .18757E-04
  21  norm          .10001E-03    1.6790        .12711E-05** at limit **
  22  Prefactor     .10000E-03    22.325       -.73788E-05** at limit **
  23  Prefactor     .10000E-03    44.770        .32001E-04** at limit **
  24  Prefactor     6.0629        4.0306       -.15098E-05   -.56936E-04
  25  Prefactor     11.373        24.020       -.33474E-05    .30810E-04
  26  Normalizat    .80865        .14897        .43530E-05   -.25447E-03
  27  Prefactor     .89906        .15374        .17734E-07    .37253E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.469785
  Prefactor  = 0.0001
  Prefactor  = 16.1444
  Prefactor  = 0.0001
  Prefactor  = 15.0753
  Prefactor  = 0.0001
  norm       = 0.319867
  Prefactor  = 0.0001
  Prefactor  = 19.0239
  norm       = 0.506175
  Prefactor  = 27.3443
  Prefactor  = 0.0001
  norm       = 5.53126
  norm       = 0.0001
  Prefactor  = 28.9794
  Prefactor  = 18.448
  norm       = 0.000100001
  norm       = 4.81535
  Prefactor  = 26.8172
  norm       = 0.000100013
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 6.06292
  Prefactor  = 11.3732
  Normalizat = 0.808647
  Prefactor  = 0.899063
 **********
 **   18 **HESSE 
 **********

 FCN=   7296.228     FROM HESSE     STATUS=OK           496 CALLS     3866 TOTAL
                     EDM=   .69E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .46979        3.0959        .20709E-02   -1.5571    
   3  Prefactor     .10000E-03    10.606        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     16.144        16.931        .99680E-04   -1.4904    
   5  Prefactor     .10000E-03    56.126        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.075        10.739        .10316E-03   -1.4931    
   7  Prefactor     .10000E-03    2.1384        .12186E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .31987        11.733        .22029E-02   -1.5595    
   9  Prefactor     .10000E-03    13.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     19.024        12.103        .91844E-04   -1.4835    
  11  norm          .50617        .82168        .64255E-04   -1.5566    
  12  Prefactor     27.344        40.506        .76581E-04   -1.4662    
  13  Prefactor     .10000E-03    5.1598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.5313        3.7784        .13134E-03   -1.5238    
  15  norm          .10000E-03    2.1959        .12336E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     28.979        26.223        .74403E-04   -1.4631    
  17  Prefactor     18.448        34.051        .93241E-04   -1.4849    
  18  norm          .10000E-03    4.0686        .32860E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.8153        2.6750        .98992E-04   -1.5269    
  20  Prefactor     26.817        19.198        .77356E-04   -1.4672    
  21  norm          .10001E-03    13.896        .20194E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    22.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    44.924        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.0629        4.0351        .13216E-03   -1.5215    
  25  Prefactor     11.373        23.866        .11878E-03   -1.5033    
  26  Normalizat    .80865        .17917        .22668E-03   -.99749    
  27  Prefactor     .89906        .18500        .23921E-03   -.96174    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.9357e-09
Minuit parameter uncertainties:
  1  2.12524e-05
  2  2.4119
  3  2.62802e-05
  4  16.936
  5  0.000277334
  6  10.7404
  7  1.82812e-06
  8  3.87475
  9  8.54332e-06
  10  12.1049
  11  0.821694
  12  40.5468
  13  5.32678e-06
  14  3.77852
  15  2.28386e-06
  16  26.2336
  17  34.0869
  18  0.000126055
  19  2.67509
  20  19.2026
  21  0.000837747
  22  1.98432e-05
  23  0.000307971
  24  4.03526
  25  23.8861
  26  0.179297
  27  0.185128
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.845e+01  3.409e+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.991e-01  1.851e-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.086e-01  1.793e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.36
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 7.52e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.87e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/693129/likelihoodResults_662601601_662860801_4FGL_J2327.5-3259_daily_bin1633.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) = 7294.67265189
delta logL = 1.55541815172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7294.5847022
delta logL = 1.64336783703

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.1886       1.0000         .10000E-03   10000.    
     2 'Index     '    5.3575       1.0000          .0000       10.000    
     3 'Normalizat'    .72314       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96490       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=   7294.585     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      266 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1887        9.9969        .10452E-01    .25531E-02
   2  Index         5.3576        2.7459        .13030        .27707E-03
   3  Normalizat    .72315        .36556E-01    .42599E-01   -.18614E-04
   4  Prefactor     .96489        .40660E-01    .45827E-01   -.20427E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.18868
  Index      = 5.35756
  Normalizat = 0.723147
  Prefactor  = 0.964889
 **********
 **   18 **HESSE 
 **********

 FCN=   7294.585     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      297 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1887        21.286        .54333E-04   -1.5490    
   2  Index         5.3576        4.1901        .50073E-02    .71574E-01
   3  Normalizat    .72315        .14521        .23839E-03   -1.0299    
   4  Prefactor     .96489        .15823        .23182E-03   -.93909    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.41608e-10
Minuit parameter uncertainties:
  1  10.064
  2  4.97523
  3  0.145283
  4  0.158306
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/693129': 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): 102
logL (Free Index) = 7294.58470214
delta logL = 1.64336790309

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.189e+00  1.006e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  5.358e+00  4.975e+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.649e-01  1.583e-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.231e-01  1.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.95
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 5.36 +/- 4.98
Photon Flux (Free Index): 6.76e-08 +/- 4.27e-08
Energy Flux (Free Index): 8.75e-06 +/- 7.04e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/693129/cmap_HighResolution_662601601_662860801_4FGL_J2327.5-3259_daily_bin1633.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.87e-03', comment='SUCCESS', energy_flux2='8.75e-06', dlogl='1.64e+00', photon_flux2='6.76e-08', job_status='DONE', time_completed='2022-01-03 00:51:05.046514', photon_index_error2='4.98', photon_index2='5.36', ts='0.36', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='7.52e-08', energy_flux_error2='7.04e-06', EG='0.81', time_epoch_completed='1641199865.05', return_code='0', job_id='693129', GAL2='0.96', EG2='0.72', return_code2='102', photon_flux_error2='4.27e-08', ts2='3.95', photon_index='2.56' WHERE bin_id='1633' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan  3 00:51:05 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0187>
Subject: Job 693129: <4FGL_J2327.5-3259_daily_bin1633> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1633> was submitted from host <rhel6-64c> by user <kocevski> in cluster <slac> at Mon Jan  3 00:35:42 2022
Job was executed on host(s) <bullet0187>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan  3 00:35:44 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan  3 00:35:44 2022
Terminated at Mon Jan  3 00:51:05 2022
Results reported at Mon Jan  3 00:51:05 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1633 351.883 -32.9869 662601601 662860801 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 :                                   856.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             319.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            923 sec.

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

