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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin933
RA = 351.883, Dec = -32.9869
tmin = 481161601, tmax = 481420801
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='917083', job_status='RUN', time_executed='2021-09-29 20:10:34.522597', time_epoch_executed='1632971434.52' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='933'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917083

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917083/ft1_4FGL_J2327.5-3259_daily_bin933.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917083/ft2_4FGL_J2327.5-3259_daily_bin933.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917083/ft1_4FGL_J2327.5-3259_daily_bin933.fits outfile=/scratch/kocevski/917083/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin933.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=481161601.0 tmax=481420801.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.64
user 3.39
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917083/ft1_filtered_4FGL_J2327.5-3259_daily_bin933.fits" evtable="EVENTS" scfile=/scratch/kocevski/917083/ft2_4FGL_J2327.5-3259_daily_bin933.fits sctable="SC_DATA" outfile=/scratch/kocevski/917083/ltcube_481161601_481420801_4FGL_J2327.5-3259_daily_bin933.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/917083/ft2_4FGL_J2327.5-3259_daily_bin933.fits
.....................!
real 12.12
user 11.79
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917083/ft1_filtered_4FGL_J2327.5-3259_daily_bin933.fits evtable="EVENTS" scfile=/scratch/kocevski/917083/ft2_4FGL_J2327.5-3259_daily_bin933.fits sctable="SC_DATA" expcube=/scratch/kocevski/917083/ltcube_481161601_481420801_4FGL_J2327.5-3259_daily_bin933.fits outfile=/scratch/kocevski/917083/expmap_481161601_481420801_4FGL_J2327.5-3259_daily_bin933.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/917083/ltcube_481161601_481420801_4FGL_J2327.5-3259_daily_bin933.fits
.....................!
real 190.65
user 185.27
sys 4.73

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/917083/ft1_filtered_4FGL_J2327.5-3259_daily_bin933.fits scfile=/scratch/kocevski/917083/ft2_4FGL_J2327.5-3259_daily_bin933.fits outfile=/scratch/kocevski/917083/cmap_481161601_481420801_4FGL_J2327.5-3259_daily_bin933.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.57
user 0.37
sys 0.15

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

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917083/ft1_filtered_4FGL_J2327.5-3259_daily_bin933.fits evtable="EVENTS" scfile=/scratch/kocevski/917083/ft2_4FGL_J2327.5-3259_daily_bin933.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917083/Model_4FGL_J2327.5-3259_daily_bin933.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/917083/ft1_filtered_4FGL_J2327.5-3259_daily_bin933.fits.....................!
real 36.65
user 35.24
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10235E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    68.986       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11235E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.5559       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .37801E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .62977       1.0000         .10000E-03   10000.    
    12 'Prefactor '    46.275       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.9432       1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    66.244       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.3523       1.0000         .10000E-03   10000.    
    19 'norm      '    4.3941       1.0000         .10000E-03   10000.    
    20 'Prefactor '    73.295       1.0000         .10000E-03   10000.    
    21 'norm      '    .10020E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    144.17       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    2.7266       1.0000         .10000E-03   10000.    
    25 'Prefactor '    72.822       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1313       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .77440       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=   4152.487     FROM MIGRAD    STATUS=CONVERGED    651 CALLS     3309 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    31.407        .53533E-07** at limit **
   2  Prefactor     .10000E-03    2.9919       -.29142E-06** at limit **
   3  Prefactor     .10000E-03    15.661       -.17951E-06** at limit **
   4  Prefactor     68.979        39.671       -.14046E-05   -.29451E-03
   5  Prefactor     .10001E-03    145.74       -.35605E-05** at limit **
   6  Prefactor     5.5529        12.556       -.18097E-06   -.10322E-03
   7  Prefactor     .10000E-03    2.9630       -.29367E-07** at limit **
   8  norm          .10000E-03    4.3432        .28993E-06** at limit **
   9  Prefactor     .10000E-03    7.9973        .70168E-07** at limit **
  10  Prefactor     .10301E-03    10.891        .31562E-05** at limit **
  11  norm          .62943        .61464       -.65576E-07   -.36992E-02
  12  Prefactor     46.272        52.428       -.81621E-06   -.60550E-04
  13  Prefactor     6.9353        13.920       -.96294E-06   -.65246E-03
  14  norm          .10000E-03    2.4526       -.21970E-06** at limit **
  15  norm          .10000E-03    4.0984        .12375E-06** at limit **
  16  Prefactor     66.199        60.959       -.10796E-05   -.57842E-04
  17  Prefactor     .10001E-03    108.90        .30843E-05** at limit **
  18  norm          6.3550        7.2629        .98837E-07   -.97443E-05
  19  norm          4.3942        4.2748        .10948E-06    .11264E-04
  20  Prefactor     73.284        46.677       -.27634E-06   -.48206E-04
  21  norm          .10000E-03    3.9307       -.60778E-06** at limit **
  22  Prefactor     144.16        134.20       -.33603E-06   -.91882E-05
  23  Prefactor     .10000E-03    21.070       -.85135E-07** at limit **
  24  Prefactor     2.7233        7.4968        .93502E-06    .21140E-03
  25  Prefactor     72.803        68.835       -.15143E-05   -.29064E-04
  26  Normalizat    1.1317        .28249        .58472E-05   -.49270E-03
  27  Prefactor     .77400        .27375       -.74463E-05   -.40461E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 68.9788
  Prefactor  = 0.000100011
  Prefactor  = 5.55294
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000103007
  norm       = 0.629431
  Prefactor  = 46.2717
  Prefactor  = 6.93528
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 66.1986
  Prefactor  = 0.000100008
  norm       = 6.35496
  norm       = 4.3942
  Prefactor  = 73.2841
  norm       = 0.0001
  Prefactor  = 144.161
  Prefactor  = 0.0001
  Prefactor  = 2.72327
  Prefactor  = 72.8031
  Normalizat = 1.13168
  Prefactor  = 0.773997
 **********
 **   18 **HESSE 
 **********

 FCN=   4152.487     FROM HESSE     STATUS=OK           474 CALLS     3783 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    31.425        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.0242        .10879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    15.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     68.979        39.852        .48327E-04   -1.4045    
   5  Prefactor     .10001E-03    148.85        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     5.5529        12.546        .17045E-03   -1.5237    
   7  Prefactor     .10000E-03    2.9647        .10833E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.4753        .26202E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    8.0066        .17788E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10301E-03    122.09        .28585E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .62943        .57972        .43317E-04   -1.5549    
  12  Prefactor     46.272        52.405        .58941E-04   -1.4346    
  13  Prefactor     6.9353        12.972        .15225E-03   -1.5181    
  14  norm          .10000E-03    2.4552        .98571E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    4.1165        .12742E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     66.199        60.843        .49311E-04   -1.4079    
  17  Prefactor     .10001E-03    110.64        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.3550        7.2233        .14827E-03   -1.5204    
  19  norm          4.3942        4.2683        .12382E-03   -1.5289    
  20  Prefactor     73.284        46.637        .46895E-04   -1.3994    
  21  norm          .10000E-03    4.0593        .24906E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     144.16        134.32        .33556E-04   -1.3301    
  23  Prefactor     .10000E-03    21.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     2.7233        7.5372        .24661E-03   -1.5378    
  25  Prefactor     72.803        68.320        .47046E-04   -1.3999    
  26  Normalizat    1.1317        .28779        .23441E-03   -.88741    
  27  Prefactor     .77400        .27848        .28728E-03   -1.0069    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42032e-08
Minuit parameter uncertainties:
  1  1.07163e-05
  2  2.15142e-05
  3  3.15452e-05
  4  39.8674
  5  0.00254539
  6  12.5518
  7  1.96003e-06
  8  1.52804e-05
  9  5.18496e-06
  10  0.038401
  11  0.579721
  12  52.4575
  13  12.9773
  14  1.31749e-05
  15  1.04145e-05
  16  60.9001
  17  0.00182786
  18  7.22427
  19  4.26863
  20  46.6604
  21  4.28898e-05
  22  134.607
  23  6.46177e-06
  24  7.53981
  25  68.3933
  26  0.288195
  27  0.278984
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.828e-03  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.740e-01  2.790e-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.132e+00  2.882e-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: 1.03e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917083/likelihoodResults_481161601_481420801_4FGL_J2327.5-3259_daily_bin933.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) = 4152.48739989
delta logL = -4.29408210039e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4152.48735713
delta logL = -1.85953467735e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12649E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.9146       1.0000          .0000       10.000    
     3 'Normalizat'    1.1317       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77400       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=   4152.487     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      291 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10175E-03    1.1899        .13838    ** at limit **
   2  Index         2.8460        6.4770        .50000        .16115E-05
   3  Normalizat    1.1317        .10219E-02    .23440E-03    .18382E-04
   4  Prefactor     .77400        .10602E-02    .28729E-03    .11238E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101745
  Index      = 2.84602
  Normalizat = 1.13168
  Prefactor  = 0.773998
 **********
 **   18 **HESSE 
 **********

 FCN=   4152.487     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      322 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10175E-03    245.27        .70474E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8460        5.2710        .50000       -.44537    
   3  Normalizat    1.1317        .80853E-02    .93762E-05   -.88741    
   4  Prefactor     .77400        .83887E-02    .11492E-04   -1.0069    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.86263e-11
Minuit parameter uncertainties:
  1  0.041551
  2  549.359
  3  0.00808534
  4  0.0083887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917083': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4152.48735698
delta logL = -3.21651896229e-08

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.017e-04  4.155e-02  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.846e+00  5.494e+02  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  7.740e-01  8.389e-03  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.132e+00  8.085e-03  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/917083/cmap_HighResolution_481161601_481420801_4FGL_J2327.5-3259_daily_bin933.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.05e-03', job_status='DONE', photon_flux_upper_limit='1.03e-07', time_completed='2021-09-29 20:20:47.417659', job_id='917083', GAL2='0.77', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1632972047.42', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='-3.22e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='933' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:20:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 917083: <4FGL_J2327.5-3259_daily_bin933> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin933> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:18 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:10:19 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 20:10:19 2021
Terminated at Wed Sep 29 20:20:48 2021
Results reported at Wed Sep 29 20:20:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin933 351.883 -32.9869 481161601 481420801 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 :                                   610.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   628 sec.
    Turnaround time :                            630 sec.

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

