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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1490
RA = 351.883, Dec = -32.9869
tmin = 625536001, tmax = 625795201
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='918879', job_status='RUN', time_executed='2021-09-29 20:15:54.083821', time_epoch_executed='1632971754.08' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1490'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/918879

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/918879/ft1_4FGL_J2327.5-3259_daily_bin1490.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/918879/ft2_4FGL_J2327.5-3259_daily_bin1490.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/918879/ft1_4FGL_J2327.5-3259_daily_bin1490.fits outfile=/scratch/kocevski/918879/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1490.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=625536001.0 tmax=625795201.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.62
user 3.41
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/918879/ft1_filtered_4FGL_J2327.5-3259_daily_bin1490.fits" evtable="EVENTS" scfile=/scratch/kocevski/918879/ft2_4FGL_J2327.5-3259_daily_bin1490.fits sctable="SC_DATA" outfile=/scratch/kocevski/918879/ltcube_625536001_625795201_4FGL_J2327.5-3259_daily_bin1490.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/918879/ft2_4FGL_J2327.5-3259_daily_bin1490.fits
.....................!
real 11.77
user 11.40
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/918879/ft1_filtered_4FGL_J2327.5-3259_daily_bin1490.fits evtable="EVENTS" scfile=/scratch/kocevski/918879/ft2_4FGL_J2327.5-3259_daily_bin1490.fits sctable="SC_DATA" expcube=/scratch/kocevski/918879/ltcube_625536001_625795201_4FGL_J2327.5-3259_daily_bin1490.fits outfile=/scratch/kocevski/918879/expmap_625536001_625795201_4FGL_J2327.5-3259_daily_bin1490.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/918879/ltcube_625536001_625795201_4FGL_J2327.5-3259_daily_bin1490.fits
.....................!
real 190.58
user 186.21
sys 4.06

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/918879/ft1_filtered_4FGL_J2327.5-3259_daily_bin1490.fits scfile=/scratch/kocevski/918879/ft2_4FGL_J2327.5-3259_daily_bin1490.fits outfile=/scratch/kocevski/918879/cmap_625536001_625795201_4FGL_J2327.5-3259_daily_bin1490.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=351.883 yref=-32.9869 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/918879/ft1_filtered_4FGL_J2327.5-3259_daily_bin1490.fits scfile=/scratch/kocevski/918879/ft2_4FGL_J2327.5-3259_daily_bin1490.fits outfile=/scratch/kocevski/918879/cmap_HighResolution_625536001_625795201_4FGL_J2327.5-3259_daily_bin1490.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    61.373       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10597E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    19.734       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.4109       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    4.4465       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10715E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    17.646       1.0000         .10000E-03   10000.    
    11 'norm      '    2.5304       1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.563       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .23279E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .59154       1.0000         .10000E-03   10000.    
    15 'norm      '    11.942       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .76034E-01   1.0000         .10000E-03   10000.    
    17 'Prefactor '    25.057       1.0000         .10000E-03   10000.    
    18 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.7288       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .84216E-01   1.0000         .10000E-03   10000.    
    21 'norm      '    1.0138       1.0000         .10000E-03   10000.    
    22 'Prefactor '    114.27       1.0000         .10000E-03   10000.    
    23 'Prefactor '    1.9799       1.0000         .10000E-03   10000.    
    24 'Prefactor '    5.5669       1.0000         .10000E-03   10000.    
    25 'Prefactor '    12.712       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .41952       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1290       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=   6909.728     FROM MIGRAD    STATUS=CONVERGED    717 CALLS     3412 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.374        35.027        .11379E-06    .29030E-04
   2  Prefactor     .10000E-03    1.4039        .10132E-06** at limit **
   3  Prefactor     .10000E-03    6.8793        .51292E-07** at limit **
   4  Prefactor     19.734        15.500       -.35778E-07   -.68824E-04
   5  Prefactor     .10000E-03    11.313       -.13423E-06** at limit **
   6  Prefactor     7.4086        8.2432        .29612E-06    .14176E-03
   7  Prefactor     .10000E-03    2.5842       -.34136E-07** at limit **
   8  norm          4.4471        3.4830        .45077E-07   -.15633E-04
   9  Prefactor     .10000E-03    15.255        .13978E-06** at limit **
  10  Prefactor     17.653        10.766        .12444E-06   -.17045E-04
  11  norm          2.5292        .90156       -.28162E-07   -.66377E-05
  12  Prefactor     22.564        22.540        .14050E-06    .42282E-04
  13  Prefactor     .10000E-03    5.8668        .21613E-07** at limit **
  14  norm          .59593        3.8179        .27998E-05    .16076E-03
  15  norm          11.942        6.1259        .28845E-07    .63283E-04
  16  Prefactor     .15374E-03    10.724       -.20656E-05** at limit **
  17  Prefactor     25.054        32.904        .35089E-06    .46883E-04
  18  norm          .10000E-03    1.1407       -.21294E-06** at limit **
  19  norm          7.7269        3.3174        .91583E-07   -.26513E-03
  20  Prefactor     .10066E-03    17.344        .89142E-06** at limit **
  21  norm          1.0150        2.3577        .62968E-06    .20700E-03
  22  Prefactor     114.25        69.716        .70960E-07   -.33922E-04
  23  Prefactor     1.9639        86.438        .61809E-06   -.31001E-04
  24  Prefactor     5.5664        4.2602        .10458E-06    .41475E-05
  25  Prefactor     12.715        32.757       -.94786E-06    .47716E-05
  26  Normalizat    .41947        .14876       -.10148E-05    .50845E-04
  27  Prefactor     1.1291        .15999        .33805E-06    .54047E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.3742
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 19.7342
  Prefactor  = 0.0001
  Prefactor  = 7.40861
  Prefactor  = 0.0001
  norm       = 4.44707
  Prefactor  = 0.0001
  Prefactor  = 17.6527
  norm       = 2.52925
  Prefactor  = 22.5636
  Prefactor  = 0.0001
  norm       = 0.595932
  norm       = 11.9418
  Prefactor  = 0.000153736
  Prefactor  = 25.0543
  norm       = 0.0001
  norm       = 7.72688
  Prefactor  = 0.000100662
  norm       = 1.01501
  Prefactor  = 114.249
  Prefactor  = 1.9639
  Prefactor  = 5.56644
  Prefactor  = 12.7155
  Normalizat = 0.419475
  Prefactor  = 1.12913
 **********
 **   18 **HESSE 
 **********

 FCN=   6909.728     FROM HESSE     STATUS=OK           514 CALLS     3926 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.374        35.034        .51218E-04   -1.4140    
   2  Prefactor     .10000E-03    2.6839        .18815E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    6.8873        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     19.734        15.501        .90162E-04   -1.4819    
   5  Prefactor     .10000E-03    11.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.4086        8.2286        .14733E-03   -1.5164    
   7  Prefactor     .10000E-03    2.6101        .13048E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          4.4471        3.4680        .12650E-03   -1.5286    
   9  Prefactor     .10000E-03    15.356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     17.653        10.856        .95345E-04   -1.4867    
  11  norm          2.5292        .93078        .34342E-04   -1.5390    
  12  Prefactor     22.564        22.543        .84326E-04   -1.4758    
  13  Prefactor     .10000E-03    59.086        .34527E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .59593        4.0295        .31274E-03   -1.5554    
  15  norm          11.942        6.1240        .11592E-03   -1.5017    
  16  Prefactor     .15374E-03    17.957        .84225E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     25.054        32.922        .80026E-04   -1.4706    
  18  norm          .10000E-03    1.1677        .87043E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.7269        3.3144        .92762E-04   -1.5152    
  20  Prefactor     .10066E-03    21.212        .97824E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          1.0150        2.3191        .18543E-03   -1.5506    
  22  Prefactor     114.25        69.706        .37635E-04   -1.3566    
  23  Prefactor     1.9639        87.288        .29457E-03   -1.5428    
  24  Prefactor     5.5664        4.2519        .13825E-03   -1.5236    
  25  Prefactor     12.715        32.340        .11235E-03   -1.4995    
  26  Normalizat    .41947        .16609        .28940E-03   -1.1631    
  27  Prefactor     1.1291        .18169        .21020E-03   -.88541    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36494e-10
Minuit parameter uncertainties:
  1  35.0461
  2  1.21442e-05
  3  2.77516e-06
  4  15.504
  5  5.25176e-06
  6  8.22987
  7  1.5511e-06
  8  3.4682
  9  8.3748e-06
  10  10.8571
  11  0.930785
  12  22.5516
  13  0.000187137
  14  3.09929
  15  6.12436
  16  0.062145
  17  32.9461
  18  8.24067e-06
  19  3.31447
  20  0.00749931
  21  2.31931
  22  69.7558
  23  26.226
  24  4.25218
  25  32.3844
  26  0.166286
  27  0.181787
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  2.505e+01  3.295e+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.129e+00  1.818e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  4.195e-01  1.663e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/918879/likelihoodResults_625536001_625795201_4FGL_J2327.5-3259_daily_bin1490.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) = 6909.283923
delta logL = 0.444547354212

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6909.26136811
delta logL = 0.467102243248

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3789       1.0000         .10000E-03   10000.    
     2 'Index     '    3.9465       1.0000          .0000       10.000    
     3 'Normalizat'    .38183       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1587       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.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6909.261     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      301 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3320        244.98        .73825E-03    .24325E-03
   2  Index         3.9500        6.9176        .73655E-02    .23021E-04
   3  Normalizat    .38188        .14445        .30286E-03   -.67568E-06
   4  Prefactor     1.1586        .16463        .20778E-03   -.27248E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.33204
  Index      = 3.94996
  Normalizat = 0.381877
  Prefactor  = 1.15865
 **********
 **   18 **HESSE 
 **********

 FCN=   6909.261     FROM HESSE     STATUS=OK            27 CALLS      328 TOTAL
                     EDM=   .48E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3320        20.555        .14765E-03   -1.5166    
   2  Index         3.9500        1.8161        .29462E-03   -.21158    
   3  Normalizat    .38188        .16041        .12114E-04   -1.1825    
   4  Prefactor     1.1586        .18147        .41557E-04   -.87613    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.77729e-14
Minuit parameter uncertainties:
  1  20.575
  2  1.86066
  3  0.1606
  4  0.181568
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/918879': 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) = 6909.26136465
delta logL = 0.467105695564

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  7.332e+00  2.057e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.950e+00  1.861e+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.159e+00  1.816e-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:  3.819e-01  1.606e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.78
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 3.95 +/- 1.86
Photon Flux (Free Index): 4.31e-08 +/- 3.86e-08
Energy Flux (Free Index): 6.51e-06 +/- 5.71e-06

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/918879/cmap_HighResolution_625536001_625795201_4FGL_J2327.5-3259_daily_bin1490.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-03', comment='SUCCESS', energy_flux2='6.51e-06', dlogl='4.67e-01', photon_flux2='4.31e-08', job_status='DONE', time_completed='2021-09-29 20:30:13.644522', photon_index_error2='1.86', photon_index2='3.95', ts='0.74', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', photon_flux_upper_limit='7.74e-08', energy_flux_error2='5.71e-06', EG='0.42', time_epoch_completed='1632972613.64', return_code='0', job_id='918879', GAL2='1.16', EG2='0.38', return_code2='0', photon_flux_error2='3.86e-08', ts2='1.78', photon_index='2.56' WHERE bin_id='1490' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:30:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0291>
Subject: Job 918879: <4FGL_J2327.5-3259_daily_bin1490> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1490> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:15:27 2021
Job was executed on host(s) <bullet0291>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:15:28 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:15:28 2021
Terminated at Wed Sep 29 20:30:14 2021
Results reported at Wed Sep 29 20:30:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1490 351.883 -32.9869 625536001 625795201 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 :                                   834.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             323.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   885 sec.
    Turnaround time :                            887 sec.

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

