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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1079
RA = 351.883, Dec = -32.9869
tmin = 519004801, tmax = 519264001
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='917310', job_status='RUN', time_executed='2021-09-29 20:11:05.110140', time_epoch_executed='1632971465.11' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1079'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917310

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917310/ft1_4FGL_J2327.5-3259_daily_bin1079.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917310/ft2_4FGL_J2327.5-3259_daily_bin1079.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917310/ft1_4FGL_J2327.5-3259_daily_bin1079.fits outfile=/scratch/kocevski/917310/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1079.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=519004801.0 tmax=519264001.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.54
user 3.33
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917310/ft1_filtered_4FGL_J2327.5-3259_daily_bin1079.fits" evtable="EVENTS" scfile=/scratch/kocevski/917310/ft2_4FGL_J2327.5-3259_daily_bin1079.fits sctable="SC_DATA" outfile=/scratch/kocevski/917310/ltcube_519004801_519264001_4FGL_J2327.5-3259_daily_bin1079.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/917310/ft2_4FGL_J2327.5-3259_daily_bin1079.fits
.....................!
real 12.00
user 11.64
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917310/ft1_filtered_4FGL_J2327.5-3259_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/917310/ft2_4FGL_J2327.5-3259_daily_bin1079.fits sctable="SC_DATA" expcube=/scratch/kocevski/917310/ltcube_519004801_519264001_4FGL_J2327.5-3259_daily_bin1079.fits outfile=/scratch/kocevski/917310/expmap_519004801_519264001_4FGL_J2327.5-3259_daily_bin1079.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/917310/ltcube_519004801_519264001_4FGL_J2327.5-3259_daily_bin1079.fits
.....................!
real 191.07
user 186.20
sys 4.54

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/917310/ft1_filtered_4FGL_J2327.5-3259_daily_bin1079.fits scfile=/scratch/kocevski/917310/ft2_4FGL_J2327.5-3259_daily_bin1079.fits outfile=/scratch/kocevski/917310/cmap_519004801_519264001_4FGL_J2327.5-3259_daily_bin1079.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917310/ft1_filtered_4FGL_J2327.5-3259_daily_bin1079.fits scfile=/scratch/kocevski/917310/ft2_4FGL_J2327.5-3259_daily_bin1079.fits outfile=/scratch/kocevski/917310/cmap_HighResolution_519004801_519264001_4FGL_J2327.5-3259_daily_bin1079.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.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917310/ft1_filtered_4FGL_J2327.5-3259_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/917310/ft2_4FGL_J2327.5-3259_daily_bin1079.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917310/Model_4FGL_J2327.5-3259_daily_bin1079.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/917310/ft1_filtered_4FGL_J2327.5-3259_daily_bin1079.fits.....................!
real 39.82
user 38.52
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .27828E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10376E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.3540       1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.699       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    1.0851       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    18.386       1.0000         .10000E-03   10000.    
    10 'Prefactor '    16.107       1.0000         .10000E-03   10000.    
    11 'norm      '    1.1105       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10043E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    7.3160       1.0000         .10000E-03   10000.    
    19 'norm      '    .19924E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    44.670       1.0000         .10000E-03   10000.    
    21 'norm      '    3.2355       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .70518       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2525       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=   4859.046     FROM MIGRAD    STATUS=CONVERGED    650 CALLS     3301 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    264.27        .67860E-05** at limit **
   2  Prefactor     .10000E-03    2.6932       -.12746E-06** at limit **
   3  Prefactor     1.3515        36.638       -.29271E-06    .10898E-04
   4  Prefactor     14.696        30.662       -.94193E-06    .27099E-04
   5  Prefactor     .10000E-03    22.073       -.96067E-06** at limit **
   6  Prefactor     1.0837        29.514        .12446E-04   -.11766E-05
   7  Prefactor     .10000E-03    5.3984        .17197E-07** at limit **
   8  norm          .10000E-03    2.2433        .46676E-07** at limit **
   9  Prefactor     18.391        22.593        .81954E-07    .59415E-05
  10  Prefactor     16.114        16.238       -.25332E-06    .45104E-04
  11  norm          1.1099        1.0317       -.15458E-07   -.10010E-03
  12  Prefactor     .10000E-03    80.833       -.33080E-06** at limit **
  13  Prefactor     .10000E-03    14.058        .67178E-07** at limit **
  14  norm          .10000E-03    3.7224       -.33461E-06** at limit **
  15  norm          .10000E-03    2.5967       -.13723E-07** at limit **
  16  Prefactor     .10000E-03    97.387        .43902E-05** at limit **
  17  Prefactor     .10000E-03    30.728        .23134E-06** at limit **
  18  norm          7.3142        5.1244        .46482E-06   -.76473E-03
  19  norm          .10006E-03    2.6860       -.23136E-05** at limit **
  20  Prefactor     44.697        44.112        .65310E-05    .13389E-03
  21  norm          3.2351        3.2976        .53565E-07   -.27017E-03
  22  Prefactor     .10000E-03    81.947       -.81905E-06** at limit **
  23  Prefactor     .10001E-03    67.518       -.52674E-05** at limit **
  24  Prefactor     .10000E-03    2.5893        .99148E-08** at limit **
  25  Prefactor     .10000E-03    25.297        .66871E-06** at limit **
  26  Normalizat    .70515        .19375       -.14266E-05    .80950E-04
  27  Prefactor     1.2525        .20822        .10662E-05    .12159E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.35155
  Prefactor  = 14.6959
  Prefactor  = 0.0001
  Prefactor  = 1.08368
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 18.3913
  Prefactor  = 16.1137
  norm       = 1.10991
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 7.31419
  norm       = 0.000100057
  Prefactor  = 44.6968
  norm       = 3.23512
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.705146
  Prefactor  = 1.25252
 **********
 **   18 **HESSE 
 **********

 FCN=   4859.046     FROM HESSE     STATUS=OK           482 CALLS     3783 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    267.13        .21421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.4712        .21110E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.3515        33.883        .37577E-03   -1.5475    
   4  Prefactor     14.696        30.671        .10447E-03   -1.4941    
   5  Prefactor     .10000E-03    22.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.0837        29.725        .23048E-02   -1.5500    
   7  Prefactor     .10000E-03    5.4349        .15817E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.2511        .10183E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     18.391        22.584        .93406E-04   -1.4850    
  10  Prefactor     16.114        16.139        .99796E-04   -1.4905    
  11  norm          1.1099        1.0007        .50505E-04   -1.5497    
  12  Prefactor     .10000E-03    81.102        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    3.7660        .13109E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    2.6020        .10970E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    96.791        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    30.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          7.3142        5.0555        .12237E-03   -1.5167    
  19  norm          .10006E-03    27.930        .19691E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     44.697        44.367        .59986E-04   -1.4370    
  21  norm          3.2351        3.2950        .12194E-03   -1.5348    
  22  Prefactor     .10000E-03    82.025        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10001E-03    67.498        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    2.6073        .10949E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    25.325        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .70515        .23043        .26650E-03   -1.0369    
  27  Prefactor     1.2525        .24992        .22992E-03   -.84730    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.56731e-09
Minuit parameter uncertainties:
  1  0.000722748
  2  2.52556e-05
  3  13.5424
  4  30.7037
  5  0.000173426
  6  11.3569
  7  1.11759e-05
  8  4.94932e-06
  9  22.5944
  10  16.1433
  11  1.00071
  12  0.000261856
  13  4.98164e-05
  14  2.80394e-05
  15  5.02397e-06
  16  0.000638371
  17  8.50587e-06
  18  5.05583
  19  0.00252447
  20  44.3998
  21  3.29522
  22  0.000117935
  23  0.00134156
  24  7.44763e-06
  25  7.89449e-05
  26  0.230743
  27  0.250155
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  8.506e-06  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.253e+00  2.502e-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:  7.051e-01  2.307e-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: 7.67e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.99e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/917310/likelihoodResults_519004801_519264001_4FGL_J2327.5-3259_daily_bin1079.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) = 4859.04637043
delta logL = -0.000154760432451

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4859.04621659
delta logL = -9.18437763175e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.0676       1.0000          .0000       10.000    
     3 'Normalizat'    .70514       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2525       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=   4859.046     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      274 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10701E-03    23.347        .18142E-01** at limit **
   2  Index         2.9166        8.2971        .50000        .10666E-04
   3  Normalizat    .70514        .44851E-02    .26650E-03   -.37028E-04
   4  Prefactor     1.2525        .50397E-02    .22992E-03    .50870E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010701
  Index      = 2.91656
  Normalizat = 0.705144
  Prefactor  = 1.25252
 **********
 **   18 **HESSE 
 **********

 FCN=   4859.046     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      303 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10701E-03    153.99        .32631E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.9166        7.4139        .50000       -.42980    
   3  Normalizat    .70514        .11544E-01    .10660E-04   -1.0369    
   4  Prefactor     1.2525        .12971E-01    .45984E-04   -.84730    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14174e-08
Minuit parameter uncertainties:
  1  0.0658814
  2  566.578
  3  0.0115437
  4  0.0129711
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917310': 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) = 4859.04621635
delta logL = -6.78113792674e-07

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.070e-04  6.588e-02  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.917e+00  5.666e+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:  1.253e+00  1.297e-02  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:  7.051e-01  1.154e-02  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/917310/cmap_HighResolution_519004801_519264001_4FGL_J2327.5-3259_daily_bin1079.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.99e-03', job_status='DONE', photon_flux_upper_limit='7.67e-08', time_completed='2021-09-29 20:22:14.612799', job_id='917310', GAL2='1.25', fit_tolerance='1e-08', EG2='0.71', EG='0.71', time_epoch_completed='1632972134.61', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='-6.78e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1079' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:22:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 917310: <4FGL_J2327.5-3259_daily_bin1079> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1079> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:37 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:10:40 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:40 2021
Terminated at Wed Sep 29 20:22:15 2021
Results reported at Wed Sep 29 20:22:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1079 351.883 -32.9869 519004801 519264001 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 :                                   666.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             358.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            698 sec.

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

