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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin324
RA = 351.896, Dec = 9.6543
tmin = 323308801, tmax = 323568001
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='906161', job_status='RUN', time_executed='2021-09-29 19:37:19.301887', time_epoch_executed='1632969439.3' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='324'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906161

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906161/ft1_4FGL_J2327.5+0939_daily_bin324.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906161/ft2_4FGL_J2327.5+0939_daily_bin324.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906161/ft1_4FGL_J2327.5+0939_daily_bin324.fits outfile=/scratch/kocevski/906161/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin324.fits ra=351.896 dec=9.6543 rad=12.0 tmin=323308801.0 tmax=323568001.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.31
user 3.08
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/906161/ft2_4FGL_J2327.5+0939_daily_bin324.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/906161/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin324.fits evtable="EVENTS" outfile="/scratch/kocevski/906161/ft1_filtered_4FGL_J2327.5+0939_daily_bin324.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.35
sys 0.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906161/ft1_filtered_4FGL_J2327.5+0939_daily_bin324.fits" evtable="EVENTS" scfile=/scratch/kocevski/906161/ft2_4FGL_J2327.5+0939_daily_bin324.fits sctable="SC_DATA" outfile=/scratch/kocevski/906161/ltcube_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.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/906161/ft2_4FGL_J2327.5+0939_daily_bin324.fits
.....................!
real 12.26
user 11.88
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906161/ft1_filtered_4FGL_J2327.5+0939_daily_bin324.fits evtable="EVENTS" scfile=/scratch/kocevski/906161/ft2_4FGL_J2327.5+0939_daily_bin324.fits sctable="SC_DATA" expcube=/scratch/kocevski/906161/ltcube_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.fits outfile=/scratch/kocevski/906161/expmap_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.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/906161/ltcube_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.fits
.....................!
real 190.14
user 184.83
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/906161/ft1_filtered_4FGL_J2327.5+0939_daily_bin324.fits scfile=/scratch/kocevski/906161/ft2_4FGL_J2327.5+0939_daily_bin324.fits outfile=/scratch/kocevski/906161/cmap_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.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.52
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906161/ft1_filtered_4FGL_J2327.5+0939_daily_bin324.fits scfile=/scratch/kocevski/906161/ft2_4FGL_J2327.5+0939_daily_bin324.fits outfile=/scratch/kocevski/906161/cmap_HighResolution_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.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.52
user 0.37
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/906161/ft1_filtered_4FGL_J2327.5+0939_daily_bin324.fits', '/scratch/kocevski/906161/ft2_4FGL_J2327.5+0939_daily_bin324.fits', expMap='/scratch/kocevski/906161/expmap_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.fits', expCube='/scratch/kocevski/906161/ltcube_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/906161/Model_4FGL_J2327.5+0939_daily_bin324.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/906161/ft1_filtered_4FGL_J2327.5+0939_daily_bin324.fits
Spacecraft file(s): /scratch/kocevski/906161/ft2_4FGL_J2327.5+0939_daily_bin324.fits
Exposure map: /scratch/kocevski/906161/expmap_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.fits
Exposure cube: /scratch/kocevski/906161/ltcube_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/906161/Model_4FGL_J2327.5+0939_daily_bin324.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) = 9283.41428806

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.5525       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.9709       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.022       1.0000         .10000E-03   10000.    
     8 'Prefactor '    9.3054       1.0000         .10000E-03   10000.    
     9 'Prefactor '    9.1326       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    79.954       1.0000         .10000E-03   10000.    
    12 'norm      '    3.4063       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .39511       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .15262E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    10.517       1.0000         .10000E-03   10000.    
    17 'norm      '    12.078       1.0000         .10000E-03   10000.    
    18 'Prefactor '    32.845       1.0000         .10000E-03   10000.    
    19 'Prefactor '    18.976       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2449       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.0034       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=   9283.386     FROM MIGRAD    STATUS=CONVERGED    466 CALLS     2371 TOTAL
                     EDM=   .39E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.105        .70326E-06** at limit **
   2  Prefactor     .10000E-03    4.2596       -.36828E-07** at limit **
   3  Prefactor     1.5525        .21930       -.19834E-07   -.53070E-03
   4  Prefactor     .10000E-03    20.933       -.34127E-06** at limit **
   5  Prefactor     2.9706        5.7959        .35933E-05   -.22527E-03
   6  Prefactor     .10000E-03    4.0143        .87909E-08** at limit **
   7  Prefactor     10.024        18.430        .35257E-07    .26334E-05
   8  Prefactor     9.3070        6.7763       -.83565E-08   -.87691E-04
   9  Prefactor     9.1334        7.7680        .85605E-08   -.21740E-04
  10  Prefactor     .10000E-03    9.8057        .48235E-06** at limit **
  11  Prefactor     79.936        69.480        .20841E-05   -.32429E-04
  12  norm          3.4020        7.5679       -.52042E-06   -.18838E-03
  13  Prefactor     .40479        5.5181        .12914E-05   -.29653E-03
  14  Prefactor     .10002E-03    28.601       -.63109E-05** at limit **
  15  Prefactor     .10000E-03    10.670       -.78075E-06** at limit **
  16  norm          10.516        10.889        .12534E-08   -.37689E-04
  17  norm          12.048        20.553        .29738E-05   -.19228E-04
  18  Prefactor     32.852        42.349       -.78188E-06    .40290E-04
  19  Prefactor     18.977        26.413        .16730E-06    .11738E-04
  20  Prefactor     .10000E-03    4.0914        .88989E-07** at limit **
  21  Normalizat    1.2445        .20982        .45108E-07   -.59741E-04
  22  Prefactor     1.0035        .12166       -.66271E-06   -.91408E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.55252
  Prefactor  = 0.0001
  Prefactor  = 2.97062
  Prefactor  = 0.0001
  Prefactor  = 10.0237
  Prefactor  = 9.30701
  Prefactor  = 9.13338
  Prefactor  = 0.0001
  Prefactor  = 79.9358
  norm       = 3.40202
  Prefactor  = 0.404794
  Prefactor  = 0.000100016
  Prefactor  = 0.0001
  norm       = 10.5159
  norm       = 12.0478
  Prefactor  = 32.8519
  Prefactor  = 18.9774
  Prefactor  = 0.0001
  Normalizat = 1.24455
  Prefactor  = 1.00355
 **********
 **   18 **HESSE 
 **********

 FCN=   9283.386     FROM HESSE     STATUS=OK           346 CALLS     2717 TOTAL
                     EDM=   .80E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    4.2605        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.5525        .21957        .16241E-04   -1.5459    
   4  Prefactor     .10000E-03    20.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.9706        5.8510        .11778E-02   -1.5363    
   6  Prefactor     .10000E-03    4.0287        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.024        18.460        .12657E-03   -1.5075    
   8  Prefactor     9.3070        6.7759        .13138E-03   -1.5098    
   9  Prefactor     9.1334        7.7501        .13262E-03   -1.5103    
  10  Prefactor     .10000E-03    9.8192        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     79.936        69.539        .44915E-04   -1.3917    
  12  norm          3.4020        7.4725        .21920E-03   -1.5339    
  13  Prefactor     .40479        21.702        .37488E-02   -1.5581    
  14  Prefactor     .10002E-03    31.311        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          10.516        10.887        .12355E-03   -1.5059    
  17  norm          12.048        20.685        .11526E-03   -1.5014    
  18  Prefactor     32.852        42.433        .69918E-04   -1.4561    
  19  Prefactor     18.977        26.604        .91944E-04   -1.4836    
  20  Prefactor     .10000E-03    4.1428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2445        .24772        .32797E-03   -.85237    
  22  Prefactor     1.0035        .14272        .22203E-03   -.92611    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.03935e-10
Minuit parameter uncertainties:
  1  5.66812e-05
  2  2.13605e-06
  3  0.219572
  4  5.02402e-05
  5  5.85208
  6  2.97184e-06
  7  18.4704
  8  6.77647
  9  7.75096
  10  3.56663e-05
  11  69.61
  12  7.47458
  13  5.92933
  14  0.00141194
  15  7.59403e-05
  16  10.8889
  17  20.697
  18  42.4717
  19  26.6206
  20  1.19263e-06
  21  0.247953
  22  0.14277
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  3.402e+00  7.475e+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

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.004e+00  1.428e-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:  1.245e+00  2.480e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.33
Ra Dec: 351.896 9.654
Photon Flux Upper Limit: 1.07e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906161/likelihoodResults_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.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) = 9283.36717046
delta logL = 0.0184030068467

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9283.36186963
delta logL = 0.0237038406904

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2006       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4409       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2467       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0021       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.

 FCN=   9283.362     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      196 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2006        8.7676        .49157E-02    .25339E-02
   2  alpha         2.4412        1.0996        .41166E-01    .31255E-04
   3  Normalizat    1.2467        .19461        .74051E-01    .13366E-04
   4  Prefactor     1.0020        .12031        .44939E-01    .18582E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.20064
  alpha      = 2.44121
  Normalizat = 1.24674
  Prefactor  = 1.00204
 **********
 **   18 **HESSE 
 **********

 FCN=   9283.362     FROM HESSE     STATUS=OK            31 CALLS      227 TOTAL
                     EDM=   .79E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2006        8.0613        .19663E-03   -1.5298    
   2  alpha         2.4412        1.0193        .16466E-02   -.23520E-01
   3  Normalizat    1.2467        .22712        .32771E-03   -.85170    
   4  Prefactor     1.0020        .14046        .22217E-03   -.92662    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.89904e-09
Minuit parameter uncertainties:
  1  8.06336
  2  1.04986
  3  0.227301
  4  0.14051
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906161': 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) = 9283.36186934
delta logL = 0.0237041244509

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  4.201e+00  8.063e+00  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  2.441e+00  1.050e+00  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.002e+00  1.405e-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:  1.247e+00  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.33
Ra Dec: 351.896 9.654

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/906161/cmap_HighResolution_323308801_323568001_4FGL_J2327.5+0939_daily_bin324.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.66e-05', job_status='DONE', photon_flux_upper_limit='1.07e-07', time_completed='2021-09-29 19:50:08.833558', job_id='906161', GAL2='1.00', fit_tolerance='1e-08', EG2='1.25', EG='1.24', time_epoch_completed='1632970208.83', return_code2='0', ts='0.33', comment='SUCCESS', return_code='0', GAL='1.00', dlogl='2.37e-02', ts2='0.38', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='324' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:50:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 906161: <4FGL_J2327.5+0939_daily_bin324> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin324> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:35:15 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:35:18 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:18 2021
Terminated at Wed Sep 29 19:50:09 2021
Results reported at Wed Sep 29 19:50:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin324 351.896 9.6543 323308801 323568001 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 :                                   762.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             337.85 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   891 sec.
    Turnaround time :                            894 sec.

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

