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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin660
RA = 351.883, Dec = -32.9869
tmin = 410400001, tmax = 410659201
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='915628', job_status='RUN', time_executed='2021-09-29 20:07:16.184891', time_epoch_executed='1632971236.18' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='660'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915628

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915628/ft1_4FGL_J2327.5-3259_daily_bin660.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915628/ft2_4FGL_J2327.5-3259_daily_bin660.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915628/ft1_4FGL_J2327.5-3259_daily_bin660.fits outfile=/scratch/kocevski/915628/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin660.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=410400001.0 tmax=410659201.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 6.62
user 6.39
sys 0.21

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915628/ft1_filtered_4FGL_J2327.5-3259_daily_bin660.fits" evtable="EVENTS" scfile=/scratch/kocevski/915628/ft2_4FGL_J2327.5-3259_daily_bin660.fits sctable="SC_DATA" outfile=/scratch/kocevski/915628/ltcube_410400001_410659201_4FGL_J2327.5-3259_daily_bin660.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/915628/ft2_4FGL_J2327.5-3259_daily_bin660.fits
.....................!
real 12.63
user 12.24
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915628/ft1_filtered_4FGL_J2327.5-3259_daily_bin660.fits evtable="EVENTS" scfile=/scratch/kocevski/915628/ft2_4FGL_J2327.5-3259_daily_bin660.fits sctable="SC_DATA" expcube=/scratch/kocevski/915628/ltcube_410400001_410659201_4FGL_J2327.5-3259_daily_bin660.fits outfile=/scratch/kocevski/915628/expmap_410400001_410659201_4FGL_J2327.5-3259_daily_bin660.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/915628/ltcube_410400001_410659201_4FGL_J2327.5-3259_daily_bin660.fits
.....................!
real 190.73
user 185.47
sys 4.88

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/915628/ft1_filtered_4FGL_J2327.5-3259_daily_bin660.fits scfile=/scratch/kocevski/915628/ft2_4FGL_J2327.5-3259_daily_bin660.fits outfile=/scratch/kocevski/915628/cmap_410400001_410659201_4FGL_J2327.5-3259_daily_bin660.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.35
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915628/ft1_filtered_4FGL_J2327.5-3259_daily_bin660.fits scfile=/scratch/kocevski/915628/ft2_4FGL_J2327.5-3259_daily_bin660.fits outfile=/scratch/kocevski/915628/cmap_HighResolution_410400001_410659201_4FGL_J2327.5-3259_daily_bin660.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10354E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.3887       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    17.972       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10087E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0013       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.8550       1.0000         .10000E-03   10000.    
    11 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10567E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.905       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .40712E-02   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.0794       1.0000         .10000E-03   10000.    
    19 'norm      '    .13930E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    22.095       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .11828E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .82569       1.0000         .10000E-03   10000.    
    25 'Prefactor '    16.602       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .55099       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.4058       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=   3308.238     FROM MIGRAD    STATUS=CONVERGED    689 CALLS     2881 TOTAL
                     EDM=   .49E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    27.855        .16160E-05** at limit **
   2  Prefactor     1.3796        5.1485       -.12001E-05    .87066E-04
   3  Prefactor     .10000E-03    9.8129        .23388E-07** at limit **
   4  Prefactor     17.966        27.526       -.56344E-06    .51383E-05
   5  Prefactor     .10000E-03    14.632       -.45103E-07** at limit **
   6  Prefactor     6.0052        18.720       -.14593E-05    .13919E-04
   7  Prefactor     .10000E-03    7.6910       -.27959E-06** at limit **
   8  norm          .10000E-03    5.2964       -.67636E-07** at limit **
   9  Prefactor     .10000E-03    37.682       -.12160E-05** at limit **
  10  Prefactor     9.8555        12.554       -.75811E-06    .42676E-04
  11  norm          .10000E-03    .42384        .94633E-07** at limit **
  12  Prefactor     .10000E-03    31.253       -.17112E-05** at limit **
  13  Prefactor     .10000E-03    7.7876        .12897E-06** at limit **
  14  norm          .10000E-03    5.6756        .26948E-07** at limit **
  15  norm          10.903        12.617       -.96684E-06    .18081E-03
  16  Prefactor     .10036E-03    51.285        .48986E-05** at limit **
  17  Prefactor     .10000E-03    22.450       -.44306E-06** at limit **
  18  norm          4.0912        4.0534        .31006E-06    .37320E-03
  19  norm          .10007E-03    2.1335        .51724E-06** at limit **
  20  Prefactor     22.080        30.370       -.84643E-06    .43820E-05
  21  norm          .10000E-03    1.1153       -.32776E-07** at limit **
  22  Prefactor     .10000E-03    41.935        .19952E-05** at limit **
  23  Prefactor     .10000E-03    94.860       -.16246E-05** at limit **
  24  Prefactor     .83076        19.089       -.77394E-05   -.56874E-04
  25  Prefactor     16.680        59.258       -.11051E-05   -.42587E-04
  26  Normalizat    .55058        .23473        .30523E-05    .27897E-04
  27  Prefactor     1.4066        .23789        .12189E-05    .27836E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 1.37955
  Prefactor  = 0.0001
  Prefactor  = 17.9657
  Prefactor  = 0.0001
  Prefactor  = 6.00519
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.85553
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 10.9034
  Prefactor  = 0.000100364
  Prefactor  = 0.0001
  norm       = 4.09117
  norm       = 0.000100074
  Prefactor  = 22.0803
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.830764
  Prefactor  = 16.6804
  Normalizat = 0.550576
  Prefactor  = 1.40663
 **********
 **   18 **HESSE 
 **********

 FCN=   3308.238     FROM HESSE     STATUS=OK           490 CALLS     3371 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    27.838        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.3796        5.1716        .21312E-03   -1.5473    
   3  Prefactor     .10000E-03    9.8142        .17597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     17.966        27.522        .94477E-04   -1.4860    
   5  Prefactor     .10000E-03    14.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     6.0052        18.717        .16391E-03   -1.5218    
   7  Prefactor     .10000E-03    7.7287        .15587E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    5.3360        .12898E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    38.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.8555        11.766        .12765E-03   -1.5080    
  11  norm          .10000E-03    .48569        .68389E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    31.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.7987        .15657E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.7007        .13350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.903        12.632        .60663E-03   -1.5047    
  16  Prefactor     .10036E-03    238.01        .66012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    22.466        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.0912        3.8166        .10497E-03   -1.5303    
  19  norm          .10007E-03    41.714        .15823E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     22.080        30.213        .85212E-04   -1.4768    
  21  norm          .10000E-03    1.1158        .59323E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    41.932        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    95.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .83076        21.422        .25078E-02   -1.5526    
  25  Prefactor     16.680        61.103        .98296E-04   -1.4891    
  26  Normalizat    .55058        .26995        .27879E-03   -1.1013    
  27  Prefactor     1.4066        .28458        .21290E-03   -.80189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.41915e-08
Minuit parameter uncertainties:
  1  2.17225e-05
  2  5.17325
  3  1.82687e-05
  4  27.5411
  5  1.09333e-05
  6  18.7355
  7  2.97659e-05
  8  7.94679e-06
  9  3.63976e-05
  10  11.7688
  11  3.39201e-06
  12  0.000106829
  13  5.64404e-07
  14  1.79415e-05
  15  12.6346
  16  0.0186902
  17  3.79622e-05
  18  3.81685
  19  0.00350718
  20  30.2336
  21  2.47851e-06
  22  6.6802e-05
  23  8.9778e-05
  24  8.44011
  25  61.3335
  26  0.270596
  27  0.284896
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  1.407e+00  2.849e-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.506e-01  2.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/915628/likelihoodResults_410400001_410659201_4FGL_J2327.5-3259_daily_bin660.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) = 3308.23818522
delta logL = -0.000211761013816

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3308.2379734
delta logL = 5.44127942703e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4672       1.0000          .0000       10.000    
     3 'Normalizat'    .55058       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.4066       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=   3308.238     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      243 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7117.4        .90712E-02** at limit **
   2  Index         2.4603        5.3606        .50000        .26194E-05
   3  Normalizat    .55058        .12931        .63007E-01    .62651E-05
   4  Prefactor     1.4066        .15171        .48162E-01    .42837E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.46035
  Normalizat = 0.550579
  Prefactor  = 1.40663
 **********
 **   18 **HESSE 
 **********

 FCN=   3308.238     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4603        6.2302        .50000       -.53278    
   3  Normalizat    .55058        .23236        .27880E-03   -1.1013    
   4  Prefactor     1.4066        .27375        .21290E-03   -.80189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04125e-11
Minuit parameter uncertainties:
  1  1.83635e-05
  2  4.48382
  3  0.232769
  4  0.274029
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915628': 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) = 3308.23797339
delta logL = 6.27283043286e-08

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.836e-05  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.460e+00  4.484e+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.407e+00  2.740e-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.506e-01  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/915628/cmap_HighResolution_410400001_410659201_4FGL_J2327.5-3259_daily_bin660.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.15e-08', time_completed='2021-09-29 20:17:06.237815', job_id='915628', GAL2='1.41', fit_tolerance='1e-08', EG2='0.55', EG='0.55', time_epoch_completed='1632971826.24', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.41', dlogl='6.27e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='660' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:17:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0231>
Subject: Job 915628: <4FGL_J2327.5-3259_daily_bin660> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin660> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:05:26 2021
Job was executed on host(s) <bullet0231>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:05:27 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:27 2021
Terminated at Wed Sep 29 20:17:07 2021
Results reported at Wed Sep 29 20:17:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin660 351.883 -32.9869 410400001 410659201 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 :                                   558.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             227.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   699 sec.
    Turnaround time :                            701 sec.

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

