/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 217 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 = 7416
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2327.5+0939_daily_bin419
RA = 351.896, Dec = 9.6543
tmin = 347932801, tmax = 348192001
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='906316', job_status='RUN', time_executed='2021-09-29 19:39:16.006753', time_epoch_executed='1632969556.01' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='419'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906316

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906316/ft1_4FGL_J2327.5+0939_daily_bin419.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906316/ft1_4FGL_J2327.5+0939_daily_bin419.fits outfile=/scratch/kocevski/906316/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin419.fits ra=351.896 dec=9.6543 rad=12.0 tmin=347932801.0 tmax=348192001.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.47
user 3.26
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.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/906316/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin419.fits evtable="EVENTS" outfile="/scratch/kocevski/906316/ft1_filtered_4FGL_J2327.5+0939_daily_bin419.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906316/ft1_filtered_4FGL_J2327.5+0939_daily_bin419.fits" evtable="EVENTS" scfile=/scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits sctable="SC_DATA" outfile=/scratch/kocevski/906316/ltcube_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.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/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits
.....................!
real 11.72
user 11.38
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906316/ft1_filtered_4FGL_J2327.5+0939_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits sctable="SC_DATA" expcube=/scratch/kocevski/906316/ltcube_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.fits outfile=/scratch/kocevski/906316/expmap_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.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/906316/ltcube_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.fits
.....................!
real 190.31
user 185.27
sys 4.72

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 155 point sources and 0 extended sources

Setting source of interest to:
4FGL J2327.5+0939 @ 351.896 9.6543

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/906316/ft1_filtered_4FGL_J2327.5+0939_daily_bin419.fits scfile=/scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits outfile=/scratch/kocevski/906316/cmap_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.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.896 yref=9.6543 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/906316/ft1_filtered_4FGL_J2327.5+0939_daily_bin419.fits scfile=/scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits outfile=/scratch/kocevski/906316/cmap_HighResolution_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.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.896 yref=9.6543 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/906316/ft1_filtered_4FGL_J2327.5+0939_daily_bin419.fits evtable="EVENTS" scfile=/scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/906316/Model_4FGL_J2327.5+0939_daily_bin419.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/906316/ft1_filtered_4FGL_J2327.5+0939_daily_bin419.fits.....................!
real 67.02
user 65.64
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/906316/ft1_filtered_4FGL_J2327.5+0939_daily_bin419.fits', '/scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits', expMap='/scratch/kocevski/906316/expmap_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.fits', expCube='/scratch/kocevski/906316/ltcube_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/906316/Model_4FGL_J2327.5+0939_daily_bin419.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2327.5+0939'

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  8.298e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.682e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
411         beta:  1.276e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/906316/ft1_filtered_4FGL_J2327.5+0939_daily_bin419.fits
Spacecraft file(s): /scratch/kocevski/906316/ft2_4FGL_J2327.5+0939_daily_bin419.fits
Exposure map: /scratch/kocevski/906316/expmap_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.fits
Exposure cube: /scratch/kocevski/906316/ltcube_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/906316/Model_4FGL_J2327.5+0939_daily_bin419.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) = 6186.44449745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.559       1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.847       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .38236E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1771       1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.137       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10352E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    4.7190       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.2406       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10051E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    8.9022       1.0000         .10000E-03   10000.    
    14 'Prefactor '    25.682       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.3757       1.0000         .10000E-03   10000.    
    18 'Prefactor '    64.023       1.0000         .10000E-03   10000.    
    19 'Prefactor '    3.6053       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .72634       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .68636       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1188       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6186.441     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2365 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.552        26.072        .88913E-06    .69000E-04
   2  Prefactor     13.831        21.534        .21802E-05    .35385E-03
   3  Prefactor     .38357E-01    .10084       -.22944E-06   -.17104E-02
   4  Prefactor     .10000E-03    11.277        .10359E-06** at limit **
   5  Prefactor     2.1752        8.4812        .72525E-05   -.21202E-03
   6  Prefactor     10.139        10.944       -.26314E-06    .10865E-03
   7  Prefactor     .10000E-03    8.8394        .21710E-06** at limit **
   8  Prefactor     .10000E-03    3.3497       -.96080E-06** at limit **
   9  Prefactor     4.7185        7.6492        .27049E-06    .11509E-03
  10  Prefactor     8.2294        21.070        .70244E-06    .52524E-04
  11  Prefactor     .10000E-03    21.459        .36540E-06** at limit **
  12  norm          .10000E-03    10.737        .59790E-07** at limit **
  13  Prefactor     8.9023        7.2943        .19459E-06    .27462E-03
  14  Prefactor     25.688        27.772       -.14174E-05   -.16518E-03
  15  Prefactor     .10000E-03    32.092        .39420E-06** at limit **
  16  norm          .10000E-03    7.9753       -.69468E-07** at limit **
  17  norm          7.3632        69.396        .46741E-05    .16344E-04
  18  Prefactor     64.025        42.913       -.48072E-07   -.10290E-04
  19  Prefactor     3.6061        30.623        .32403E-05   -.46252E-04
  20  Prefactor     .72579        5.9607        .71537E-06   -.74804E-04
  21  Normalizat    .68618        .22611       -.64355E-06    .31640E-03
  22  Prefactor     1.1189        .13764       -.27356E-06    .69182E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.5515
  Prefactor  = 13.8314
  Prefactor  = 0.038357
  Prefactor  = 0.0001
  Prefactor  = 2.17515
  Prefactor  = 10.1386
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 4.71846
  Prefactor  = 8.22935
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.90229
  Prefactor  = 25.6885
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 7.36316
  Prefactor  = 64.0247
  Prefactor  = 3.60606
  Prefactor  = 0.72579
  Normalizat = 0.686176
  Prefactor  = 1.11886
 **********
 **   18 **HESSE 
 **********

 FCN=   6186.441     FROM HESSE     STATUS=OK           344 CALLS     2709 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.552        26.092        .95581E-04   -1.4870    
   2  Prefactor     13.831        21.697        .10764E-03   -1.4964    
   3  Prefactor     .38357E-01    .11629        .35454E-03   -1.5669    
   4  Prefactor     .10000E-03    11.285        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.1752        8.5939        .13952E-02   -1.5413    
   6  Prefactor     10.139        10.940        .12585E-03   -1.5071    
   7  Prefactor     .10000E-03    8.8560        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    3.4388        .14168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     4.7185        7.6247        .18523E-03   -1.5273    
  10  Prefactor     8.2294        21.071        .13966E-03   -1.5134    
  11  Prefactor     .10000E-03    21.474        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    10.934        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     8.9023        7.2705        .13434E-03   -1.5111    
  14  Prefactor     25.688        27.738        .79048E-04   -1.4694    
  15  Prefactor     .10000E-03    32.696        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    7.9956        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.3632        68.769        .14768E-03   -1.5165    
  18  Prefactor     64.025        42.904        .50153E-04   -1.4106    
  19  Prefactor     3.6061        30.572        .10640E-02   -1.5328    
  20  Prefactor     .72579        6.0230        .37036E-03   -1.5538    
  21  Normalizat    .68618        .25857        .34792E-03   -1.0444    
  22  Prefactor     1.1189        .15984        .18004E-03   -.88866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68143e-09
Minuit parameter uncertainties:
  1  26.1089
  2  21.7091
  3  0.116289
  4  1.06382e-05
  5  8.5988
  6  10.9419
  7  3.34482e-05
  8  0.000125858
  9  7.62628
  10  21.0902
  11  7.51255e-05
  12  2.92942e-05
  13  7.27119
  14  27.7516
  15  0.000241685
  16  1.06605e-05
  17  45.073
  18  42.9243
  19  21.0138
  20  4.18187
  21  0.259035
  22  0.159906
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.000e-04  2.929e-05  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.682e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
411         beta:  1.276e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.119e+00  1.599e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  6.862e-01  2.590e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.896 9.654
Photon Flux Upper Limit: 9.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906316/likelihoodResults_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.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) = 6186.44191338
delta logL = -0.000436468193584

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6186.44147766
delta logL = -7.48813363316e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11249E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6887       1.0000          .0000       5.0000    
     3 'Normalizat'    .68604       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1190       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+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=   6186.441     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      246 TOTAL
                     EDM=   .10E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    15.074        .36285E-03** at limit **
   2  alpha         2.7781        3.3149        .16520       -.71569E-08
   3  Normalizat    .68618        .24058        .34792E-03   -.52576E-04
   4  Prefactor     1.1189        .15691        .18004E-03   -.10466E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.77814
  Normalizat = 0.686175
  Prefactor  = 1.11886
 **********
 **   18 **HESSE 
 **********

 FCN=   6186.441     FROM HESSE     STATUS=OK            23 CALLS      269 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.084        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.7781        3.8710        .66081E-02    .11149    
   3  Normalizat    .68618        .24074        .13917E-04   -1.0444    
   4  Prefactor     1.1189        .15702        .36007E-04   -.88866    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43761e-12
Minuit parameter uncertainties:
  1  2.63876e-05
  2  269.98
  3  0.241109
  4  0.15708
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906316': 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) = 6186.44147685
delta logL = 6.19902493781e-08

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.000e-04  2.639e-05  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.778e+00  2.700e+02  0.000e+00  5.000e+00 ( 1.000e+00)
411         beta:  1.276e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
412           Eb:  5.819e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.119e+00  1.571e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  6.862e-01  2.411e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.896 9.654

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/906316/cmap_HighResolution_347932801_348192001_4FGL_J2327.5+0939_daily_bin419.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.42e-05', job_status='DONE', photon_flux_upper_limit='9.74e-08', time_completed='2021-09-29 19:49:23.736362', job_id='906316', GAL2='1.12', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1632970163.74', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='6.20e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='419' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:49:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 906316: <4FGL_J2327.5+0939_daily_bin419> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin419> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:35:30 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:35:31 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 19:35:31 2021
Terminated at Wed Sep 29 19:49:24 2021
Results reported at Wed Sep 29 19:49:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin419 351.896 9.6543 347932801 348192001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2327.5+0939 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   604.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             281.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            834 sec.

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

