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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin774
RA = 351.883, Dec = -32.9869
tmin = 439948801, tmax = 440208001
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='915806', job_status='RUN', time_executed='2021-09-29 20:08:12.599446', time_epoch_executed='1632971292.6' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915806

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915806/ft1_4FGL_J2327.5-3259_daily_bin774.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915806/ft2_4FGL_J2327.5-3259_daily_bin774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915806/ft1_4FGL_J2327.5-3259_daily_bin774.fits outfile=/scratch/kocevski/915806/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin774.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=439948801.0 tmax=440208001.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.36
user 3.15
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915806/ft2_4FGL_J2327.5-3259_daily_bin774.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/915806/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin774.fits evtable="EVENTS" outfile="/scratch/kocevski/915806/ft1_filtered_4FGL_J2327.5-3259_daily_bin774.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915806/ft1_filtered_4FGL_J2327.5-3259_daily_bin774.fits" evtable="EVENTS" scfile=/scratch/kocevski/915806/ft2_4FGL_J2327.5-3259_daily_bin774.fits sctable="SC_DATA" outfile=/scratch/kocevski/915806/ltcube_439948801_440208001_4FGL_J2327.5-3259_daily_bin774.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/915806/ft2_4FGL_J2327.5-3259_daily_bin774.fits
.....................!
real 14.73
user 14.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915806/ft1_filtered_4FGL_J2327.5-3259_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/915806/ft2_4FGL_J2327.5-3259_daily_bin774.fits sctable="SC_DATA" expcube=/scratch/kocevski/915806/ltcube_439948801_440208001_4FGL_J2327.5-3259_daily_bin774.fits outfile=/scratch/kocevski/915806/expmap_439948801_440208001_4FGL_J2327.5-3259_daily_bin774.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/915806/ltcube_439948801_440208001_4FGL_J2327.5-3259_daily_bin774.fits
.....................!
real 191.62
user 186.41
sys 4.86

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/915806/ft1_filtered_4FGL_J2327.5-3259_daily_bin774.fits scfile=/scratch/kocevski/915806/ft2_4FGL_J2327.5-3259_daily_bin774.fits outfile=/scratch/kocevski/915806/cmap_439948801_440208001_4FGL_J2327.5-3259_daily_bin774.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915806/ft1_filtered_4FGL_J2327.5-3259_daily_bin774.fits scfile=/scratch/kocevski/915806/ft2_4FGL_J2327.5-3259_daily_bin774.fits outfile=/scratch/kocevski/915806/cmap_HighResolution_439948801_440208001_4FGL_J2327.5-3259_daily_bin774.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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915806/ft1_filtered_4FGL_J2327.5-3259_daily_bin774.fits evtable="EVENTS" scfile=/scratch/kocevski/915806/ft2_4FGL_J2327.5-3259_daily_bin774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915806/Model_4FGL_J2327.5-3259_daily_bin774.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/915806/ft1_filtered_4FGL_J2327.5-3259_daily_bin774.fits.....................!
real 34.59
user 33.09
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    77.469       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.452       1.0000         .10000E-03   10000.    
     4 'Prefactor '    30.175       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12325E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.5827       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1190       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.7058       1.0000         .10000E-03   10000.    
    11 'norm      '    .10052E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .82100E-01   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10739E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10369E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10798E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    38.474       1.0000         .10000E-03   10000.    
    18 'norm      '    14.203       1.0000         .10000E-03   10000.    
    19 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.355       1.0000         .10000E-03   10000.    
    21 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    71.163       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .12150E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .85722       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.0150       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=   3843.059     FROM MIGRAD    STATUS=CONVERGED    732 CALLS     3429 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     77.473        62.454       -.72354E-05    .45230E-05
   2  Prefactor     .10000E-03    4.4636       -.89689E-06** at limit **
   3  Prefactor     41.444        37.567        .31905E-05    .13536E-03
   4  Prefactor     30.170        25.686       -.27506E-05    .79547E-04
   5  Prefactor     .10000E-03    119.97        .19143E-05** at limit **
   6  Prefactor     .10000E-03    33.701        .84507E-06** at limit **
   7  Prefactor     .10000E-03    2.5248       -.10810E-07** at limit **
   8  norm          5.5828        6.4034       -.23895E-06    .20998E-03
   9  Prefactor     1.1159        40.315       -.89177E-05   -.35133E-03
  10  Prefactor     2.7307        12.803        .10013E-05   -.13441E-04
  11  norm          .10000E-03    .63115       -.14155E-06** at limit **
  12  Prefactor     .14191E-03    93.588       -.86545E-05** at limit **
  13  Prefactor     .10000E-03    18.683       -.71379E-07** at limit **
  14  norm          .10000E-03    8.0288        .44105E-07** at limit **
  15  norm          .10000E-03    15.882        .94936E-06** at limit **
  16  Prefactor     .10000E-03    33.083       -.11206E-05** at limit **
  17  Prefactor     38.497        51.704       -.45453E-04    .20037E-04
  18  norm          14.198        6.0402       -.47397E-06   -.51123E-03
  19  norm          .10000E-03    3.7645       -.57138E-07** at limit **
  20  Prefactor     33.358        35.951       -.40844E-05    .21317E-04
  21  norm          .10000E-03    4.2708       -.12501E-06** at limit **
  22  Prefactor     .10000E-03    49.119       -.35088E-06** at limit **
  23  Prefactor     71.190        80.613       -.24616E-04    .23333E-04
  24  Prefactor     .10000E-03    8.0422        .11367E-05** at limit **
  25  Prefactor     .10000E-03    182.58       -.55146E-05** at limit **
  26  Normalizat    .85712        .22543        .69194E-05    .24885E-03
  27  Prefactor     1.0151        .22681        .23443E-05    .39282E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 77.4732
  Prefactor  = 0.000100002
  Prefactor  = 41.4441
  Prefactor  = 30.1705
  Prefactor  = 0.000100001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 5.58283
  Prefactor  = 1.11586
  Prefactor  = 2.73071
  norm       = 0.0001
  Prefactor  = 0.000141906
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 38.497
  norm       = 14.1981
  norm       = 0.0001
  Prefactor  = 33.3584
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 71.1901
  Prefactor  = 0.000100002
  Prefactor  = 0.000100004
  Normalizat = 0.857119
  Prefactor  = 1.01507
 **********
 **   18 **HESSE 
 **********

 FCN=   3843.059     FROM HESSE     STATUS=OK           488 CALLS     3917 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     77.473        62.493        .22812E-03   -1.3945    
   2  Prefactor     .10000E-03    13.666        .23387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     41.444        35.600        .62262E-04   -1.4420    
   4  Prefactor     30.170        25.676        .72938E-04   -1.4609    
   5  Prefactor     .10000E-03    121.75        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    34.645        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.5259        .96204E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.5828        6.2527        .14115E-03   -1.5235    
   9  Prefactor     1.1159        37.784        .44435E-03   -1.5497    
  10  Prefactor     2.7307        10.476        .24763E-03   -1.5377    
  11  norm          .10000E-03    1.0032        .84640E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .14191E-03    82.476        .15498       -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.889        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    8.2408        .34146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    16.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    33.151        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     38.497        51.470        .64618E-04   -1.4466    
  18  norm          14.198        6.0042        .47461E-03   -1.4954    
  19  norm          .10000E-03    3.8461        .23447E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     33.358        35.907        .69383E-04   -1.4552    
  21  norm          .10000E-03    4.3722        .24988E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    49.136        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     71.190        80.169        .47588E-04   -1.4018    
  24  Prefactor     .10000E-03    25.154        .32990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    183.29        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .85712        .25915        .24715E-03   -.97984    
  27  Prefactor     1.0151        .26577        .24497E-03   -.92229    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.38706e-09
Minuit parameter uncertainties:
  1  62.5458
  2  0.000320941
  3  35.618
  4  25.6858
  5  0.000667085
  6  0.000344622
  7  3.72553e-06
  8  6.25346
  9  12.9947
  10  10.483
  11  1.54011e-05
  12  0.117743
  13  0.000114366
  14  1.63493e-05
  15  0.000404785
  16  1.35696e-05
  17  51.5292
  18  6.00447
  19  1.12686e-05
  20  35.9301
  21  2.74312e-05
  22  4.48639e-05
  23  80.2906
  24  0.000444795
  25  0.00161852
  26  0.259528
  27  0.266115
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.850e+01  5.153e+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:  1.015e+00  2.661e-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.571e-01  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/915806/likelihoodResults_439948801_440208001_4FGL_J2327.5-3259_daily_bin774.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) = 3843.04463608
delta logL = 0.0138771441584

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3843.04120485
delta logL = 0.0173083754353

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    43.049       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3856       1.0000          .0000       10.000    
     3 'Normalizat'    .86122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0116       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=   3843.041     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      222 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     43.049        6024.5        .15275E-02    .14107E-03
   2  Index         2.3858        5.0360        .23959        .17338E-04
   3  Normalizat    .86100        .96772E-01    .44404E-01    .89455E-05
   4  Prefactor     1.0118        .10265        .43102E-01    .50942E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 43.0493
  Index      = 2.38576
  Normalizat = 0.860996
  Prefactor  = 1.01183
 **********
 **   18 **HESSE 
 **********

 FCN=   3843.041     FROM HESSE     STATUS=OK            31 CALLS      253 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     43.049        60.233        .61100E-04   -1.4395    
   2  Index         2.3858        .89675        .96444E-02   -.55019    
   3  Normalizat    .86100        .24495        .24663E-03   -.97845    
   4  Prefactor     1.0118        .26233        .24531E-03   -.92336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.624e-10
Minuit parameter uncertainties:
  1  60.3183
  2  0.903505
  3  0.245268
  4  0.262662
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915806': 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) = 3843.04120443
delta logL = 0.0173087979679

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  4.305e+01  6.032e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.386e+00  9.035e-01  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.012e+00  2.627e-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.610e-01  2.453e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.86
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/915806/cmap_HighResolution_439948801_440208001_4FGL_J2327.5-3259_daily_bin774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.06e-02', job_status='DONE', photon_flux_upper_limit='1.36e-07', time_completed='2021-09-29 20:18:14.176068', job_id='915806', GAL2='1.01', fit_tolerance='1e-08', EG2='0.86', EG='0.86', time_epoch_completed='1632971894.18', return_code2='0', ts='0.86', comment='SUCCESS', return_code='0', GAL='1.02', dlogl='1.73e-02', ts2='0.89', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='774' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:18:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0098>
Subject: Job 915806: <4FGL_J2327.5-3259_daily_bin774> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin774 351.883 -32.9869 439948801 440208001 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 :                                   599.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             291.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            752 sec.

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

