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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1276
RA = 351.883, Dec = -32.9869
tmin = 570067201, tmax = 570326401
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='917623', job_status='RUN', time_executed='2021-09-29 20:11:24.113936', time_epoch_executed='1632971484.11' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1276'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917623

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917623/ft1_4FGL_J2327.5-3259_daily_bin1276.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917623/ft2_4FGL_J2327.5-3259_daily_bin1276.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917623/ft1_4FGL_J2327.5-3259_daily_bin1276.fits outfile=/scratch/kocevski/917623/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1276.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=570067201.0 tmax=570326401.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.65
user 3.40
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917623/ft1_filtered_4FGL_J2327.5-3259_daily_bin1276.fits" evtable="EVENTS" scfile=/scratch/kocevski/917623/ft2_4FGL_J2327.5-3259_daily_bin1276.fits sctable="SC_DATA" outfile=/scratch/kocevski/917623/ltcube_570067201_570326401_4FGL_J2327.5-3259_daily_bin1276.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/917623/ft2_4FGL_J2327.5-3259_daily_bin1276.fits
.....................!
real 11.69
user 11.35
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917623/ft1_filtered_4FGL_J2327.5-3259_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/917623/ft2_4FGL_J2327.5-3259_daily_bin1276.fits sctable="SC_DATA" expcube=/scratch/kocevski/917623/ltcube_570067201_570326401_4FGL_J2327.5-3259_daily_bin1276.fits outfile=/scratch/kocevski/917623/expmap_570067201_570326401_4FGL_J2327.5-3259_daily_bin1276.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/917623/ltcube_570067201_570326401_4FGL_J2327.5-3259_daily_bin1276.fits
.....................!
real 191.10
user 186.44
sys 4.35

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/917623/ft1_filtered_4FGL_J2327.5-3259_daily_bin1276.fits scfile=/scratch/kocevski/917623/ft2_4FGL_J2327.5-3259_daily_bin1276.fits outfile=/scratch/kocevski/917623/cmap_570067201_570326401_4FGL_J2327.5-3259_daily_bin1276.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.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917623/ft1_filtered_4FGL_J2327.5-3259_daily_bin1276.fits scfile=/scratch/kocevski/917623/ft2_4FGL_J2327.5-3259_daily_bin1276.fits outfile=/scratch/kocevski/917623/cmap_HighResolution_570067201_570326401_4FGL_J2327.5-3259_daily_bin1276.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.65
user 0.36
sys 0.28

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917623/ft1_filtered_4FGL_J2327.5-3259_daily_bin1276.fits evtable="EVENTS" scfile=/scratch/kocevski/917623/ft2_4FGL_J2327.5-3259_daily_bin1276.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917623/Model_4FGL_J2327.5-3259_daily_bin1276.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/917623/ft1_filtered_4FGL_J2327.5-3259_daily_bin1276.fits.....................!
real 32.63
user 31.38
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10072E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28954E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    28.513       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.495       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.963       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10045E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .13890E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.714       1.0000         .10000E-03   10000.    
    11 'norm      '    1.0898       1.0000         .10000E-03   10000.    
    12 'Prefactor '    87.650       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    3.8043       1.0000         .10000E-03   10000.    
    15 'norm      '    6.3749       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .23999E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10070E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .11697E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .36286E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10588E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.2134       1.0000         .10000E-03   10000.    
    25 'Prefactor '    8.3995       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .46443       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.3565       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=   3694.166     FROM MIGRAD    STATUS=CONVERGED    667 CALLS     3338 TOTAL
                     EDM=   .32E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    21.391        .80864E-06** at limit **
   2  Prefactor     .10000E-03    4.0000        .11782E-05** at limit **
   3  Prefactor     28.538        25.035       -.42900E-05   -.29815E-03
   4  Prefactor     25.507        23.659        .26346E-06    .71232E-05
   5  Prefactor     .10000E-03    23.876       -.80488E-06** at limit **
   6  Prefactor     13.945        16.103        .11737E-06    .37816E-04
   7  Prefactor     .10000E-03    10.577       -.97366E-07** at limit **
   8  norm          .10000E-03    3.1497        .14703E-06** at limit **
   9  Prefactor     .10000E-03    24.738       -.24456E-06** at limit **
  10  Prefactor     20.693        12.000       -.29705E-06    .17624E-03
  11  norm          1.0901        .81135        .17207E-07    .31047E-03
  12  Prefactor     87.746        82.517       -.38060E-05    .45986E-04
  13  Prefactor     .10000E-03    3.7330        .10177E-06** at limit **
  14  norm          3.8066        3.8703        .15169E-06   -.77487E-04
  15  norm          6.3779        12.367       -.14729E-06    .67950E-04
  16  Prefactor     .10000E-03    134.30        .24827E-04** at limit **
  17  Prefactor     .10000E-03    29.347        .47286E-07** at limit **
  18  norm          .10000E-03    1.3883        .10299E-06** at limit **
  19  norm          .10000E-03    2.2727        .34025E-06** at limit **
  20  Prefactor     .10000E-03    37.639        .16901E-05** at limit **
  21  norm          .10000E-03    .98746        .57989E-07** at limit **
  22  Prefactor     .10000E-03    213.49        .66633E-05** at limit **
  23  Prefactor     .10000E-03    17.266        .31951E-06** at limit **
  24  Prefactor     1.2149        5.7501       -.11898E-05    .14945E-03
  25  Prefactor     8.3752        68.768       -.26549E-05   -.30251E-04
  26  Normalizat    .46445        .20644        .91770E-07   -.16724E-03
  27  Prefactor     1.3564        .22738       -.48346E-06   -.20235E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 28.5381
  Prefactor  = 25.5075
  Prefactor  = 0.0001
  Prefactor  = 13.9447
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.6934
  norm       = 1.09007
  Prefactor  = 87.7459
  Prefactor  = 0.0001
  norm       = 3.80663
  norm       = 6.3779
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 1.21487
  Prefactor  = 8.37523
  Normalizat = 0.464451
  Prefactor  = 1.35638
 **********
 **   18 **HESSE 
 **********

 FCN=   3694.166     FROM HESSE     STATUS=OK           482 CALLS     3820 TOTAL
                     EDM=   .83E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    21.395        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.7633        .22006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     28.538        25.521        .75029E-04   -1.4639    
   4  Prefactor     25.507        23.659        .79336E-04   -1.4697    
   5  Prefactor     .10000E-03    23.873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.945        16.078        .10719E-03   -1.4961    
   7  Prefactor     .10000E-03    10.949        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    3.2275        .21043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    24.925        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     20.693        11.904        .88004E-04   -1.4798    
  11  norm          1.0901        .80792        .40529E-04   -1.5499    
  12  Prefactor     87.746        82.270        .21457E-03   -1.3832    
  13  Prefactor     .10000E-03    3.7355        .11466E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.8066        3.8624        .11722E-03   -1.5318    
  15  norm          6.3779        12.338        .15897E-03   -1.5203    
  16  Prefactor     .10000E-03    133.89        .57934E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    29.380        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.3916        .69858E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.3135        .89405E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    37.768        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .98806        .58979E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    215.39        .19613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    17.270        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.2149        5.4846        .26350E-03   -1.5488    
  25  Prefactor     8.3752        67.626        .13832E-03   -1.5129    
  26  Normalizat    .46445        .23524        .29463E-03   -1.1409    
  27  Prefactor     1.3564        .26606        .21014E-03   -.81646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.33268e-10
Minuit parameter uncertainties:
  1  3.60425e-05
  2  0.000325449
  3  25.5304
  4  23.6675
  5  0.000131318
  6  16.0827
  7  4.53448e-05
  8  7.10714e-06
  9  0.000167756
  10  11.9053
  11  0.807931
  12  82.3767
  13  3.30749e-06
  14  3.86263
  15  12.3433
  16  0.00117945
  17  2.22512e-05
  18  1.87158e-07
  19  1.40007e-05
  20  0.000188518
  21  4.94839e-07
  22  0.00175968
  23  2.7445e-05
  24  5.16318
  25  47.6712
  26  0.235743
  27  0.266329
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.225e-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.356e+00  2.663e-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:  4.645e-01  2.357e-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: 8.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917623/likelihoodResults_570067201_570326401_4FGL_J2327.5-3259_daily_bin1276.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) = 3694.16575017
delta logL = -0.000162012549481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3694.16558818
delta logL = -2.04695425055e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4785       1.0000          .0000       10.000    
     3 'Normalizat'    .46445       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3564       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=   3694.166     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      241 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7260.5        .90712E-02** at limit **
   2  Index         2.4813        6.2163        .50000       -.90173E-06
   3  Normalizat    .46445        .93721E-01    .66564E-01    .11401E-04
   4  Prefactor     1.3564        .10969        .47539E-01    .56253E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.48134
  Normalizat = 0.464452
  Prefactor  = 1.35638
 **********
 **   18 **HESSE 
 **********

 FCN=   3694.166     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .96E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    33.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4813        6.2396        .50000       -.52791    
   3  Normalizat    .46445        .22141        .29463E-03   -1.1409    
   4  Prefactor     1.3564        .26065        .21014E-03   -.81646    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.57518e-12
Minuit parameter uncertainties:
  1  0.000118973
  2  4.63029
  3  0.221825
  4  0.260907
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917623': 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) = 3694.16558818
delta logL = -1.62758624356e-08

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.190e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.481e+00  4.630e+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:  1.356e+00  2.609e-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:  4.645e-01  2.218e-01  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/917623/cmap_HighResolution_570067201_570326401_4FGL_J2327.5-3259_daily_bin1276.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.53e-03', job_status='DONE', photon_flux_upper_limit='8.37e-08', time_completed='2021-09-29 20:21:14.981125', job_id='917623', GAL2='1.36', fit_tolerance='1e-08', EG2='0.46', EG='0.46', time_epoch_completed='1632972074.98', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='-1.63e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1276' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:21:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 917623: <4FGL_J2327.5-3259_daily_bin1276> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1276> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:11:05 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:11:06 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:11:06 2021
Terminated at Wed Sep 29 20:21:15 2021
Results reported at Wed Sep 29 20:21:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1276 351.883 -32.9869 570067201 570326401 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 :                                   585.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             259.11 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   609 sec.
    Turnaround time :                            610 sec.

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

