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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin785
RA = 351.883, Dec = -32.9869
tmin = 442800001, tmax = 443059201
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='915822', job_status='RUN', time_executed='2021-09-29 20:08:08.928320', time_epoch_executed='1632971288.93' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='785'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915822

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915822/ft1_4FGL_J2327.5-3259_daily_bin785.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915822/ft2_4FGL_J2327.5-3259_daily_bin785.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915822/ft1_4FGL_J2327.5-3259_daily_bin785.fits outfile=/scratch/kocevski/915822/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin785.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=442800001.0 tmax=443059201.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.48
user 3.27
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/915822/ft2_4FGL_J2327.5-3259_daily_bin785.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/915822/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin785.fits evtable="EVENTS" outfile="/scratch/kocevski/915822/ft1_filtered_4FGL_J2327.5-3259_daily_bin785.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/915822/ft1_filtered_4FGL_J2327.5-3259_daily_bin785.fits" evtable="EVENTS" scfile=/scratch/kocevski/915822/ft2_4FGL_J2327.5-3259_daily_bin785.fits sctable="SC_DATA" outfile=/scratch/kocevski/915822/ltcube_442800001_443059201_4FGL_J2327.5-3259_daily_bin785.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/915822/ft2_4FGL_J2327.5-3259_daily_bin785.fits
.....................!
real 13.28
user 12.87
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915822/ft1_filtered_4FGL_J2327.5-3259_daily_bin785.fits evtable="EVENTS" scfile=/scratch/kocevski/915822/ft2_4FGL_J2327.5-3259_daily_bin785.fits sctable="SC_DATA" expcube=/scratch/kocevski/915822/ltcube_442800001_443059201_4FGL_J2327.5-3259_daily_bin785.fits outfile=/scratch/kocevski/915822/expmap_442800001_443059201_4FGL_J2327.5-3259_daily_bin785.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/915822/ltcube_442800001_443059201_4FGL_J2327.5-3259_daily_bin785.fits
.....................!
real 191.39
user 185.32
sys 5.75

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/915822/ft1_filtered_4FGL_J2327.5-3259_daily_bin785.fits scfile=/scratch/kocevski/915822/ft2_4FGL_J2327.5-3259_daily_bin785.fits outfile=/scratch/kocevski/915822/cmap_442800001_443059201_4FGL_J2327.5-3259_daily_bin785.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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915822/ft1_filtered_4FGL_J2327.5-3259_daily_bin785.fits scfile=/scratch/kocevski/915822/ft2_4FGL_J2327.5-3259_daily_bin785.fits outfile=/scratch/kocevski/915822/cmap_HighResolution_442800001_443059201_4FGL_J2327.5-3259_daily_bin785.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.56
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/915822/ft1_filtered_4FGL_J2327.5-3259_daily_bin785.fits evtable="EVENTS" scfile=/scratch/kocevski/915822/ft2_4FGL_J2327.5-3259_daily_bin785.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915822/Model_4FGL_J2327.5-3259_daily_bin785.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/915822/ft1_filtered_4FGL_J2327.5-3259_daily_bin785.fits.....................!
real 48.76
user 47.45
sys 1.22

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13894E-01   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .55258E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.302       1.0000         .10000E-03   10000.    
     7 'Prefactor '    1.3486       1.0000         .10000E-03   10000.    
     8 'norm      '    2.2065       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12016E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.7694       1.0000         .10000E-03   10000.    
    14 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.829       1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.108       1.0000         .10000E-03   10000.    
    18 'norm      '    .10095E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.363       1.0000         .10000E-03   10000.    
    21 'norm      '    .10106E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    80.996       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    6.7753       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .59567       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2229       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=   6800.724     FROM MIGRAD    STATUS=CONVERGED    693 CALLS     3357 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    149.67        .95089E-06** at limit **
   2  Prefactor     .10000E-03    .75388       -.21435E-08** at limit **
   3  Prefactor     .10113E-03    8.5973       -.33354E-06** at limit **
   4  Prefactor     .10000E-03    11.980        .13547E-07** at limit **
   5  Prefactor     .10000E-03    17.951        .46392E-06** at limit **
   6  Prefactor     13.301        9.7063        .14984E-06    .72095E-04
   7  Prefactor     1.3493        5.4419        .20236E-05   -.16739E-03
   8  norm          2.2041        2.7736        .33775E-06    .35818E-03
   9  Prefactor     .10000E-03    5.6853       -.11024E-06** at limit **
  10  Prefactor     .10000E-03    3.1762       -.64812E-06** at limit **
  11  norm          .10000E-03    .17268       -.17030E-06** at limit **
  12  Prefactor     .10000E-03    32.990       -.98113E-07** at limit **
  13  Prefactor     2.7610        6.1214        .14543E-05    .17863E-03
  14  norm          .10000E-03    1.2827       -.75332E-09** at limit **
  15  norm          .10000E-03    1.7945        .59717E-08** at limit **
  16  Prefactor     20.820        24.930        .77119E-07   -.63117E-05
  17  Prefactor     13.107        24.725        .15260E-06    .11560E-04
  18  norm          .10000E-03    1.4654       -.43196E-08** at limit **
  19  norm          .10000E-03    .62594        .15724E-07** at limit **
  20  Prefactor     23.363        20.945        .98722E-07    .29190E-04
  21  norm          .10000E-03    2.0678        .82179E-09** at limit **
  22  Prefactor     80.997        73.179        .72958E-07    .24397E-05
  23  Prefactor     .10000E-03    23.889        .20329E-06** at limit **
  24  Prefactor     6.7763        4.9631        .23707E-07    .54365E-04
  25  Prefactor     .10000E-03    18.632       -.60942E-06** at limit **
  26  Normalizat    .59564        .15226       -.23719E-06    .12349E-03
  27  Prefactor     1.2229        .16495       -.37221E-07    .14325E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000101133
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.3006
  Prefactor  = 1.34928
  norm       = 2.20414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.76097
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 20.8205
  Prefactor  = 13.1071
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 23.363
  norm       = 0.0001
  Prefactor  = 80.997
  Prefactor  = 0.0001
  Prefactor  = 6.77632
  Prefactor  = 0.000100001
  Normalizat = 0.595644
  Prefactor  = 1.22294
 **********
 **   18 **HESSE 
 **********

 FCN=   6800.724     FROM HESSE     STATUS=OK           492 CALLS     3849 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    156.71        .36369E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    .75995        .69893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10113E-03    9.4010        .84524E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.080        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.301        9.7296        .10982E-03   -1.4978    
   7  Prefactor     1.3493        5.2251        .35902E-03   -1.5476    
   8  norm          2.2041        2.7563        .14701E-03   -1.5411    
   9  Prefactor     .10000E-03    5.7131        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.2152        .26422E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .26083        .62946E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    33.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.7610        6.2017        .24456E-03   -1.5376    
  14  norm          .10000E-03    1.2847        .91184E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.8032        .10788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.820        24.858        .87763E-04   -1.4795    
  17  Prefactor     13.107        24.735        .11064E-03   -1.4984    
  18  norm          .10000E-03    1.4717        .97067E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    .62824        .63692E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     23.363        20.935        .82871E-04   -1.4741    
  21  norm          .10000E-03    2.1230        .23097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     80.997        73.219        .44628E-04   -1.3906    
  23  Prefactor     .10000E-03    23.937        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     6.7763        4.9776        .14731E-03   -1.5187    
  25  Prefactor     .10000E-03    18.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .59564        .17671        .25189E-03   -1.0817    
  27  Prefactor     1.2229        .19245        .20817E-03   -.85628    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.78922e-10
Minuit parameter uncertainties:
  1  0.00029073
  2  5.20505e-07
  3  0.00652704
  4  3.41393e-06
  5  0.000184237
  6  9.73071
  7  5.22691
  8  2.75651
  9  3.51596e-06
  10  4.28192e-05
  11  7.03933e-07
  12  5.3151e-05
  13  6.20311
  14  2.30921e-08
  15  1.47021e-07
  16  24.8703
  17  24.7539
  18  7.54797e-08
  19  1.83723e-07
  20  20.9414
  21  5.31234e-07
  22  73.301
  23  9.65614e-05
  24  4.97791
  25  0.000243606
  26  0.176874
  27  0.192559
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.311e+01  2.475e+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.223e+00  1.926e-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:  5.956e-01  1.769e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/915822/likelihoodResults_442800001_443059201_4FGL_J2327.5-3259_daily_bin785.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) = 6800.7214848
delta logL = 0.00223199852371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6800.72108092
delta logL = 0.00263587273275

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.441       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6680       1.0000          .0000       10.000    
     3 'Normalizat'    .59373       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2242       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=   6800.721     FROM MIGRAD    STATUS=CONVERGED     85 CALLS      260 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.435        26.671        .11357E-03   -.99706E-04
   2  Index         2.6710        1.6126        .99259E-02   -.54399E-04
   3  Normalizat    .59393        .16652        .25224E-03   -.11757E-02
   4  Prefactor     1.2242        .19000        .20808E-03   -.13087E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.4353
  Index      = 2.67098
  Normalizat = 0.593935
  Prefactor  = 1.22423
 **********
 **   18 **HESSE 
 **********

 FCN=   6800.721     FROM HESSE     STATUS=OK            23 CALLS      283 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.435        25.766        .45427E-05   -1.5003    
   2  Index         2.6710        1.5589        .39704E-03   -.48454    
   3  Normalizat    .59393        .16658        .50447E-04   -1.0824    
   4  Prefactor     1.2242        .19008        .41616E-04   -.85589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52669e-09
Minuit parameter uncertainties:
  1  25.7886
  2  1.59313
  3  0.166723
  4  0.190188
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915822': 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) = 6800.72107146
delta logL = 0.00264533726477

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.244e+01  2.579e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.671e+00  1.593e+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.224e+00  1.902e-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:  5.939e-01  1.667e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/915822/cmap_HighResolution_442800001_443059201_4FGL_J2327.5-3259_daily_bin785.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.86e-03', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2021-09-29 20:22:01.761548', job_id='915822', GAL2='1.22', fit_tolerance='1e-08', EG2='0.59', EG='0.60', time_epoch_completed='1632972121.76', return_code2='0', ts='0.38', comment='SUCCESS', return_code='0', GAL='1.22', dlogl='2.65e-03', ts2='0.38', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='785' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:22:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0292>
Subject: Job 915822: <4FGL_J2327.5-3259_daily_bin785> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin785> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:05:43 2021
Job was executed on host(s) <bullet0292>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:05:45 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:45 2021
Terminated at Wed Sep 29 20:22:02 2021
Results reported at Wed Sep 29 20:22:02 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin785 351.883 -32.9869 442800001 443059201 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 :                                   831.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             325.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   977 sec.
    Turnaround time :                            979 sec.

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

