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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin846
RA = 351.883, Dec = -32.9869
tmin = 458611201, tmax = 458870401
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='915916', job_status='RUN', time_executed='2021-09-29 20:09:00.124185', time_epoch_executed='1632971340.12' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='846'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915916

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915916/ft1_4FGL_J2327.5-3259_daily_bin846.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915916/ft2_4FGL_J2327.5-3259_daily_bin846.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915916/ft1_4FGL_J2327.5-3259_daily_bin846.fits outfile=/scratch/kocevski/915916/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin846.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=458611201.0 tmax=458870401.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.63
user 3.41
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915916/ft1_filtered_4FGL_J2327.5-3259_daily_bin846.fits" evtable="EVENTS" scfile=/scratch/kocevski/915916/ft2_4FGL_J2327.5-3259_daily_bin846.fits sctable="SC_DATA" outfile=/scratch/kocevski/915916/ltcube_458611201_458870401_4FGL_J2327.5-3259_daily_bin846.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/915916/ft2_4FGL_J2327.5-3259_daily_bin846.fits
.....................!
real 11.66
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915916/ft1_filtered_4FGL_J2327.5-3259_daily_bin846.fits evtable="EVENTS" scfile=/scratch/kocevski/915916/ft2_4FGL_J2327.5-3259_daily_bin846.fits sctable="SC_DATA" expcube=/scratch/kocevski/915916/ltcube_458611201_458870401_4FGL_J2327.5-3259_daily_bin846.fits outfile=/scratch/kocevski/915916/expmap_458611201_458870401_4FGL_J2327.5-3259_daily_bin846.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/915916/ltcube_458611201_458870401_4FGL_J2327.5-3259_daily_bin846.fits
.....................!
real 189.41
user 184.80
sys 4.27

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/915916/ft1_filtered_4FGL_J2327.5-3259_daily_bin846.fits scfile=/scratch/kocevski/915916/ft2_4FGL_J2327.5-3259_daily_bin846.fits outfile=/scratch/kocevski/915916/cmap_458611201_458870401_4FGL_J2327.5-3259_daily_bin846.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.53
user 0.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10116E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    23.470       1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.1368       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.4585       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    106.25       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.337       1.0000         .10000E-03   10000.    
    14 'norm      '    4.7163       1.0000         .10000E-03   10000.    
    15 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    53.042       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.0874       1.0000         .10000E-03   10000.    
    19 'norm      '    2.9705       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10515E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .74759E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    9.4248       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    9.9245       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1119       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .79944       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=   3795.625     FROM MIGRAD    STATUS=CONVERGED    666 CALLS     3290 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    65.329        .92446E-06** at limit **
   2  Prefactor     .10000E-03    5.4505        .11160E-06** at limit **
   3  Prefactor     .10000E-03    11.531       -.77872E-07** at limit **
   4  Prefactor     .10000E-03    14.093        .16332E-06** at limit **
   5  Prefactor     23.465        27.010        .13007E-06   -.77325E-05
   6  Prefactor     1.1355        33.308        .15919E-04    .17949E-03
   7  Prefactor     .10000E-03    3.6403       -.23392E-07** at limit **
   8  norm          1.4588        3.5081       -.11298E-06    .12973E-04
   9  Prefactor     .10000E-03    6.4206       -.11908E-06** at limit **
  10  Prefactor     .10000E-03    6.6989       -.16353E-06** at limit **
  11  norm          .10000E-03    .29342       -.91369E-07** at limit **
  12  Prefactor     106.24        75.785        .64947E-06   -.18226E-04
  13  Prefactor     10.337        11.856        .33010E-07    .94058E-04
  14  norm          4.7188        5.2432        .56896E-06   -.23941E-03
  15  norm          .10000E-03    5.4667       -.47271E-07** at limit **
  16  Prefactor     53.107        75.246       -.43978E-05   -.52643E-03
  17  Prefactor     .10000E-03    26.161        .36512E-06** at limit **
  18  norm          1.0820        23.886        .14761E-05   -.50034E-03
  19  norm          2.9683        3.9747        .19238E-06    .16994E-03
  20  Prefactor     .10000E-03    71.834       -.28458E-05** at limit **
  21  norm          .10017E-03    8.6859        .70165E-05** at limit **
  22  Prefactor     .10000E-03    104.94        .18174E-06** at limit **
  23  Prefactor     9.4318        62.119       -.55626E-06    .18867E-04
  24  Prefactor     .10000E-03    3.7289       -.23708E-07** at limit **
  25  Prefactor     9.9392        46.640       -.20154E-05    .28101E-04
  26  Normalizat    1.1114        .21721       -.24031E-05   -.56576E-03
  27  Prefactor     .79986        .21805        .23978E-05   -.13870E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 23.4648
  Prefactor  = 1.13546
  Prefactor  = 0.0001
  norm       = 1.45881
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 106.239
  Prefactor  = 10.3373
  norm       = 4.71881
  norm       = 0.0001
  Prefactor  = 53.1072
  Prefactor  = 0.0001
  norm       = 1.08198
  norm       = 2.96827
  Prefactor  = 0.0001
  norm       = 0.00010017
  Prefactor  = 0.0001
  Prefactor  = 9.43185
  Prefactor  = 0.0001
  Prefactor  = 9.93918
  Normalizat = 1.1114
  Prefactor  = 0.799861
 **********
 **   18 **HESSE 
 **********

 FCN=   3795.625     FROM HESSE     STATUS=OK           486 CALLS     3776 TOTAL
                     EDM=   .89E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.6316        .28025E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.539        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    14.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     23.465        27.012        .82682E-04   -1.4739    
   6  Prefactor     1.1355        38.634        .21840E-02   -1.5495    
   7  Prefactor     .10000E-03    3.6454        .11480E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.4588        3.4451        .17072E-03   -1.5466    
   9  Prefactor     .10000E-03    6.4240        .15241E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.7487        .15537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .32111        .62912E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     106.24        75.854        .39015E-04   -1.3643    
  13  Prefactor     10.337        11.501        .12462E-03   -1.5065    
  14  norm          4.7188        5.3311        .13856E-03   -1.5273    
  15  norm          .10000E-03    5.4950        .14067E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     53.107        85.438        .55071E-04   -1.4249    
  17  Prefactor     .10000E-03    26.177        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.0820        30.687        .35374E-02   -1.5500    
  19  norm          2.9683        3.9626        .13667E-03   -1.5363    
  20  Prefactor     .10000E-03    72.488        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10017E-03    26.934        .22427E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    105.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     9.4318        61.859        .13054E-03   -1.5094    
  24  Prefactor     .10000E-03    3.7607        .11614E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     9.9392        46.079        .12720E-03   -1.5077    
  26  Normalizat    1.1114        .24897        .21832E-03   -.89387    
  27  Prefactor     .79986        .25346        .26495E-03   -.99733    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.85115e-09
Minuit parameter uncertainties:
  1  0.000265611
  2  4.12393e-05
  3  1.83466e-05
  4  5.83091e-05
  5  27.026
  6  13.2552
  7  6.05893e-06
  8  3.44556
  9  7.07568e-06
  10  4.64336e-05
  11  4.11889e-06
  12  75.9232
  13  11.5039
  14  5.33168
  15  2.12126e-05
  16  85.6364
  17  8.95475e-05
  18  11.5304
  19  3.96294
  20  0.000136776
  21  0.00428742
  22  0.000260585
  23  48.3818
  24  1.85413e-06
  25  42.8554
  26  0.249234
  27  0.253829
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  8.955e-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:  7.999e-01  2.538e-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.111e+00  2.492e-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.00e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915916/likelihoodResults_458611201_458870401_4FGL_J2327.5-3259_daily_bin846.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) = 3795.62475592
delta logL = -0.000181735018941

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3795.62457423
delta logL = -4.71882231068e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10037E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4734       1.0000          .0000       10.000    
     3 'Normalizat'    1.1114       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79986       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=   3795.625     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      226 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7498.7        .90712E-02** at limit **
   2  Index         2.4794        7.2116        .50000       -.20861E-05
   3  Normalizat    1.1114        .17647        .37554E-01    .70029E-03
   4  Prefactor     .79986        .18489        .43715E-01    .60417E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.47944
  Normalizat = 1.11141
  Prefactor  = 0.799856
 **********
 **   18 **HESSE 
 **********

 FCN=   3795.625     FROM HESSE     STATUS=OK            29 CALLS      255 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    26.926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4794        6.2395        .50000       -.52835    
   3  Normalizat    1.1114        .23604        .21832E-03   -.89386    
   4  Prefactor     .79986        .24807        .26495E-03   -.99734    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.35791e-10
Minuit parameter uncertainties:
  1  0.00028357
  2  4.44355
  3  0.236261
  4  0.248413
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915916': 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) = 3795.62457422
delta logL = -3.60132617061e-08

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.836e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.479e+00  4.444e+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:  7.999e-01  2.484e-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.111e+00  2.363e-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/915916/cmap_HighResolution_458611201_458870401_4FGL_J2327.5-3259_daily_bin846.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.24e-03', job_status='DONE', photon_flux_upper_limit='8.00e-08', time_completed='2021-09-29 20:18:40.645187', job_id='915916', GAL2='0.80', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1632971920.65', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='-3.60e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='846' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:18:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 915916: <4FGL_J2327.5-3259_daily_bin846> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin846> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:05:52 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:05:54 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:05:54 2021
Terminated at Wed Sep 29 20:18:41 2021
Results reported at Wed Sep 29 20:18:41 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin846 351.883 -32.9869 458611201 458870401 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 :                                   579.03 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             275.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   766 sec.
    Turnaround time :                            769 sec.

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

