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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin929
RA = 351.883, Dec = -32.9869
tmin = 480124801, tmax = 480384001
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='917077', job_status='RUN', time_executed='2021-09-29 20:10:35.611833', time_epoch_executed='1632971435.61' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='929'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917077

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917077/ft1_4FGL_J2327.5-3259_daily_bin929.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917077/ft2_4FGL_J2327.5-3259_daily_bin929.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917077/ft1_4FGL_J2327.5-3259_daily_bin929.fits outfile=/scratch/kocevski/917077/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin929.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=480124801.0 tmax=480384001.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.30
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/917077/ft2_4FGL_J2327.5-3259_daily_bin929.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/917077/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin929.fits evtable="EVENTS" outfile="/scratch/kocevski/917077/ft1_filtered_4FGL_J2327.5-3259_daily_bin929.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.49
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917077/ft1_filtered_4FGL_J2327.5-3259_daily_bin929.fits" evtable="EVENTS" scfile=/scratch/kocevski/917077/ft2_4FGL_J2327.5-3259_daily_bin929.fits sctable="SC_DATA" outfile=/scratch/kocevski/917077/ltcube_480124801_480384001_4FGL_J2327.5-3259_daily_bin929.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/917077/ft2_4FGL_J2327.5-3259_daily_bin929.fits
.....................!
real 11.91
user 11.53
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917077/ft1_filtered_4FGL_J2327.5-3259_daily_bin929.fits evtable="EVENTS" scfile=/scratch/kocevski/917077/ft2_4FGL_J2327.5-3259_daily_bin929.fits sctable="SC_DATA" expcube=/scratch/kocevski/917077/ltcube_480124801_480384001_4FGL_J2327.5-3259_daily_bin929.fits outfile=/scratch/kocevski/917077/expmap_480124801_480384001_4FGL_J2327.5-3259_daily_bin929.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/917077/ltcube_480124801_480384001_4FGL_J2327.5-3259_daily_bin929.fits
.....................!
real 192.59
user 187.00
sys 5.21

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/917077/ft1_filtered_4FGL_J2327.5-3259_daily_bin929.fits scfile=/scratch/kocevski/917077/ft2_4FGL_J2327.5-3259_daily_bin929.fits outfile=/scratch/kocevski/917077/cmap_480124801_480384001_4FGL_J2327.5-3259_daily_bin929.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.60
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917077/ft1_filtered_4FGL_J2327.5-3259_daily_bin929.fits scfile=/scratch/kocevski/917077/ft2_4FGL_J2327.5-3259_daily_bin929.fits outfile=/scratch/kocevski/917077/cmap_HighResolution_480124801_480384001_4FGL_J2327.5-3259_daily_bin929.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.66
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917077/ft1_filtered_4FGL_J2327.5-3259_daily_bin929.fits evtable="EVENTS" scfile=/scratch/kocevski/917077/ft2_4FGL_J2327.5-3259_daily_bin929.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917077/Model_4FGL_J2327.5-3259_daily_bin929.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/917077/ft1_filtered_4FGL_J2327.5-3259_daily_bin929.fits.....................!
real 46.30
user 44.94
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.7902       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    12.284       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.9580       1.0000         .10000E-03   10000.    
     8 'norm      '    6.8065       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    11.854       1.0000         .10000E-03   10000.    
    11 'norm      '    .52204       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.5710       1.0000         .10000E-03   10000.    
    15 'norm      '    4.7364       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.140       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10074E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.5521       1.0000         .10000E-03   10000.    
    21 'norm      '    .10035E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    70.143       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .12245E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    61.877       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .73353       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3220       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=   6316.237     FROM MIGRAD    STATUS=CONVERGED    656 CALLS     3310 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.058       -.65991E-05** at limit **
   2  Prefactor     1.7900        2.8372       -.13310E-06   -.81411E-04
   3  Prefactor     .10000E-03    10.526       -.24123E-05** at limit **
   4  Prefactor     .10000E-03    6.5883        .76613E-06** at limit **
   5  Prefactor     .10000E-03    21.300       -.74820E-05** at limit **
   6  Prefactor     12.283        12.597        .10691E-05   -.68541E-04
   7  Prefactor     1.9567        2.4676        .99943E-06   -.28681E-02
   8  norm          6.8063        5.7272       -.70258E-06   -.78170E-03
   9  Prefactor     .10000E-03    15.408        .12344E-04** at limit **
  10  Prefactor     11.852        11.246       -.38230E-06   -.86585E-03
  11  norm          .52196        .68224        .14198E-06   -.13402E-02
  12  Prefactor     .10000E-03    28.742        .97540E-05** at limit **
  13  Prefactor     .10000E-03    10.063        .43490E-05** at limit **
  14  norm          3.5706        4.5166       -.19719E-06   -.47651E-04
  15  norm          4.7362        4.8899        .45773E-06    .21293E-04
  16  Prefactor     19.156        35.715        .16600E-05   -.32402E-04
  17  Prefactor     .10000E-03    13.233       -.86520E-05** at limit **
  18  norm          .10000E-03    2.6658       -.52159E-07** at limit **
  19  norm          .10000E-03    1.6067       -.24336E-06** at limit **
  20  Prefactor     1.5411        156.92        .30591E-04    .10279E-04
  21  norm          .10000E-03    3.5541        .71900E-07** at limit **
  22  Prefactor     .10000E-03    243.48       -.99654E-05** at limit **
  23  Prefactor     70.148        43.208        .13128E-06    .19898E-04
  24  Prefactor     .10000E-03    3.3473       -.67589E-06** at limit **
  25  Prefactor     61.898        42.711        .53700E-05    .12854E-03
  26  Normalizat    .73351        .18213       -.30928E-05   -.94968E-04
  27  Prefactor     1.3221        .19007        .63110E-06   -.26237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.78999
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.2829
  Prefactor  = 1.95671
  norm       = 6.80634
  Prefactor  = 0.000100001
  Prefactor  = 11.8519
  norm       = 0.521962
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.57065
  norm       = 4.7362
  Prefactor  = 19.1561
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.54107
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 70.148
  Prefactor  = 0.0001
  Prefactor  = 61.898
  Normalizat = 0.733507
  Prefactor  = 1.32206
 **********
 **   18 **HESSE 
 **********

 FCN=   6316.237     FROM HESSE     STATUS=OK           486 CALLS     3796 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.7900        2.8101        .16053E-03   -1.5440    
   3  Prefactor     .10000E-03    10.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.5994        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    21.341        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     12.283        12.613        .11429E-03   -1.5007    
   7  Prefactor     1.9567        6.0279        .14824E-02   -1.5428    
   8  norm          6.8063        5.7063        .14455E-03   -1.5186    
   9  Prefactor     .10000E-03    15.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     11.852        10.919        .11635E-03   -1.5019    
  11  norm          .52196        .61692        .57877E-03   -1.5563    
  12  Prefactor     .10000E-03    28.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.203        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.5706        4.5086        .17857E-03   -1.5330    
  15  norm          4.7362        4.8848        .17340E-03   -1.5273    
  16  Prefactor     19.156        35.740        .45775E-03   -1.4832    
  17  Prefactor     .10000E-03    13.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    2.6789        .12599E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    1.6291        .98164E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.5411        156.00        .34183E-03   -1.5460    
  21  norm          .10000E-03    3.6692        .29161E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    245.19        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     70.148        43.211        .47930E-04   -1.4031    
  24  Prefactor     .10000E-03    7.0861        .27726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     61.898        42.389        .51010E-04   -1.4133    
  26  Normalizat    .73351        .21816        .26655E-03   -1.0258    
  27  Prefactor     1.3221        .23038        .23381E-03   -.82654    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58178e-08
Minuit parameter uncertainties:
  1  7.93213e-05
  2  2.81032
  3  2.63594e-05
  4  1.0868e-05
  5  7.6212e-05
  6  12.6153
  7  6.02977
  8  5.70679
  9  0.00020773
  10  10.9212
  11  0.616928
  12  0.000197601
  13  5.66765e-05
  14  4.50898
  15  4.88519
  16  35.7804
  17  9.7177e-05
  18  2.45482e-06
  19  3.03211e-05
  20  31.0926
  21  7.31096e-06
  22  0.00143029
  23  43.2299
  24  2.18828e-05
  25  42.4096
  26  0.218421
  27  0.230556
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  9.718e-05  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:  1.322e+00  2.306e-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.335e-01  2.184e-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: 4.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.59e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917077/likelihoodResults_480124801_480384001_4FGL_J2327.5-3259_daily_bin929.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) = 6316.23768805
delta logL = -0.000360242199349

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6316.23732858
delta logL = -7.73515239416e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11700E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5330       1.0000          .0000       10.000    
     3 'Normalizat'    .73363       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3219       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=   6316.237     FROM MIGRAD    STATUS=CONVERGED    104 CALLS      258 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    60.371        .18142E-01** at limit **
   2  Index         2.0171        5.7952        .50000        .29745E-06
   3  Normalizat    .73351        .73603E-02    .26655E-03    .37069E-03
   4  Prefactor     1.3221        .84476E-02    .23381E-03    .43214E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.01712
  Normalizat = 0.733506
  Prefactor  = 1.32206
 **********
 **   18 **HESSE 
 **********

 FCN=   6316.237     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      287 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    331.14        .32675E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0171        8.7019        .50000       -.63923    
   3  Normalizat    .73351        .17567E-01    .10662E-04   -1.0258    
   4  Prefactor     1.3221        .20162E-01    .46762E-04   -.82653    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.95787e-09
Minuit parameter uncertainties:
  1  0.000445589
  2  900.753
  3  0.0175673
  4  0.0201622
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917077': 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) = 6316.23732683
delta logL = 9.7437077784e-07

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  4.456e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.017e+00  9.008e+02  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.322e+00  2.016e-02  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.335e-01  1.757e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.883 -32.987

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/917077/cmap_HighResolution_480124801_480384001_4FGL_J2327.5-3259_daily_bin929.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.59e-03', job_status='DONE', photon_flux_upper_limit='4.60e-08', time_completed='2021-09-29 20:23:44.161465', job_id='917077', GAL2='1.32', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1632972224.16', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='9.74e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='929' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:23:44 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 917077: <4FGL_J2327.5-3259_daily_bin929> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin929> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:17 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:10:18 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:10:18 2021
Terminated at Wed Sep 29 20:23:44 2021
Results reported at Wed Sep 29 20:23:44 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin929 351.883 -32.9869 480124801 480384001 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 :                                   787.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             372.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   806 sec.
    Turnaround time :                            807 sec.

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

