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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin378
RA = 351.896, Dec = 9.6543
tmin = 337305601, tmax = 337564801
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='906247', job_status='RUN', time_executed='2021-09-29 19:38:53.703235', time_epoch_executed='1632969533.7' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='378'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/906247

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/906247/ft1_4FGL_J2327.5+0939_daily_bin378.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/906247/ft2_4FGL_J2327.5+0939_daily_bin378.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/906247/ft1_4FGL_J2327.5+0939_daily_bin378.fits outfile=/scratch/kocevski/906247/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin378.fits ra=351.896 dec=9.6543 rad=12.0 tmin=337305601.0 tmax=337564801.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 7.45
user 7.18
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/906247/ft1_filtered_4FGL_J2327.5+0939_daily_bin378.fits" evtable="EVENTS" scfile=/scratch/kocevski/906247/ft2_4FGL_J2327.5+0939_daily_bin378.fits sctable="SC_DATA" outfile=/scratch/kocevski/906247/ltcube_337305601_337564801_4FGL_J2327.5+0939_daily_bin378.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/906247/ft2_4FGL_J2327.5+0939_daily_bin378.fits
.....................!
real 11.96
user 11.62
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/906247/ft1_filtered_4FGL_J2327.5+0939_daily_bin378.fits evtable="EVENTS" scfile=/scratch/kocevski/906247/ft2_4FGL_J2327.5+0939_daily_bin378.fits sctable="SC_DATA" expcube=/scratch/kocevski/906247/ltcube_337305601_337564801_4FGL_J2327.5+0939_daily_bin378.fits outfile=/scratch/kocevski/906247/expmap_337305601_337564801_4FGL_J2327.5+0939_daily_bin378.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/906247/ltcube_337305601_337564801_4FGL_J2327.5+0939_daily_bin378.fits
.....................!
real 190.47
user 186.01
sys 4.13

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/906247/ft1_filtered_4FGL_J2327.5+0939_daily_bin378.fits scfile=/scratch/kocevski/906247/ft2_4FGL_J2327.5+0939_daily_bin378.fits outfile=/scratch/kocevski/906247/cmap_337305601_337564801_4FGL_J2327.5+0939_daily_bin378.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/906247/ft1_filtered_4FGL_J2327.5+0939_daily_bin378.fits scfile=/scratch/kocevski/906247/ft2_4FGL_J2327.5+0939_daily_bin378.fits outfile=/scratch/kocevski/906247/cmap_HighResolution_337305601_337564801_4FGL_J2327.5+0939_daily_bin378.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.55
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10021E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    9.0230       1.0000         .10000E-03   10000.    
     5 'Prefactor '    6.3363       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    21.023       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .87280       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10154E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    149.61       1.0000         .10000E-03   10000.    
    12 'norm      '    .49393       1.0000         .10000E-03   10000.    
    13 'Prefactor '    20.065       1.0000         .10000E-03   10000.    
    14 'Prefactor '    2.1156       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10236E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    34.859       1.0000         .10000E-03   10000.    
    18 'Prefactor '    76.350       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18408E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.5062       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0183       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .89382       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=   4962.204     FROM MIGRAD    STATUS=CONVERGED    458 CALLS     2402 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    13.219       -.10139E-04** at limit **
   2  Prefactor     .10000E-03    6.3577        .11843E-06** at limit **
   3  Prefactor     .10000E-03    .35512E-01    .13051E-08** at limit **
   4  Prefactor     9.0081        32.743       -.24761E-04   -.20640E-04
   5  Prefactor     6.3356        6.5029       -.18291E-06   -.97368E-04
   6  Prefactor     .10000E-03    4.2155        .33886E-06** at limit **
   7  Prefactor     21.013        28.630       -.83215E-05   -.17397E-04
   8  Prefactor     .87295        6.6347       -.11684E-05   -.38854E-03
   9  Prefactor     .10000E-03    12.247        .79312E-05** at limit **
  10  Prefactor     .10000E-03    12.688        .50876E-06** at limit **
  11  Prefactor     149.60        95.719       -.11065E-04   -.44896E-04
  12  norm          .46651        16.806        .20770E-05   -.56009E-03
  13  Prefactor     20.070        13.760       -.13092E-05   -.70952E-03
  14  Prefactor     2.1308        39.953        .10719E-04    .34988E-04
  15  Prefactor     .10000E-03    17.354        .14226E-05** at limit **
  16  norm          .10000E-03    9.0407       -.41762E-06** at limit **
  17  norm          34.847        36.794       -.17718E-04   -.12464E-03
  18  Prefactor     76.375        51.188        .22061E-04   -.41823E-04
  19  Prefactor     .10001E-03    70.856       -.30308E-05** at limit **
  20  Prefactor     2.5052        6.4839       -.93201E-06   -.39440E-03
  21  Normalizat    1.0184        .24540        .10423E-06   -.14409E-03
  22  Prefactor     .89375        .13979        .13848E-05   -.27656E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.00814
  Prefactor  = 6.33557
  Prefactor  = 0.0001
  Prefactor  = 21.0129
  Prefactor  = 0.872949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 149.601
  norm       = 0.466512
  Prefactor  = 20.0704
  Prefactor  = 2.13085
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 34.8465
  Prefactor  = 76.3752
  Prefactor  = 0.000100005
  Prefactor  = 2.50522
  Normalizat = 1.01845
  Prefactor  = 0.893751
 **********
 **   18 **HESSE 
 **********

 FCN=   4962.204     FROM HESSE     STATUS=OK           342 CALLS     2744 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    13.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.3605        .17348E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    .36848E-01    .25885E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     9.0081        32.775        .13343E-03   -1.5108    
   5  Prefactor     6.3356        6.4952        .15946E-03   -1.5205    
   6  Prefactor     .10000E-03    4.2191        .14125E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     21.013        28.667        .87356E-04   -1.4791    
   8  Prefactor     .87295        13.107        .34034E-02   -1.5521    
   9  Prefactor     .10000E-03    12.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.713        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     149.60        95.612        .16475E-03   -1.3256    
  12  norm          .46651        89.487        .42736E-02   -1.5571    
  13  Prefactor     20.070        13.484        .89415E-04   -1.4812    
  14  Prefactor     2.1308        36.313        .28359E-03   -1.5416    
  15  Prefactor     .10000E-03    17.394        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    9.0678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          34.847        35.305        .67874E-04   -1.4527    
  18  Prefactor     76.375        50.988        .45955E-04   -1.3958    
  19  Prefactor     .10001E-03    74.307        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.5052        6.4698        .25812E-03   -1.5391    
  21  Normalizat    1.0184        .28366        .30632E-03   -.92415    
  22  Prefactor     .89375        .16325        .19894E-03   -.96360    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.44558e-09
Minuit parameter uncertainties:
  1  7.43603e-07
  2  3.82385e-07
  3  2.98288e-08
  4  32.8406
  5  6.4959
  6  4.92142e-06
  7  28.6856
  8  6.76641
  9  7.25219e-05
  10  2.29643e-06
  11  95.7114
  12  12.9406
  13  13.4857
  14  17.6051
  15  6.32811e-05
  16  2.60764e-06
  17  35.3262
  18  51.0174
  19  0.00124855
  20  6.47163
  21  0.284081
  22  0.163336
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  4.665e-01  1.294e+01  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:  8.938e-01  1.633e-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.018e+00  2.841e-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: 1.47e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.66e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/906247/likelihoodResults_337305601_337564801_4FGL_J2327.5+0939_daily_bin378.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) = 4962.1554429
delta logL = 0.0482096079995

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4962.15476692
delta logL = 0.0488855855201

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3382       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.6671       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88925       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=   4962.155     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      267 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3868        8.4803        .67037E-02    .29795E-03
   2  alpha         1.6739        1.3702        .44492       -.36134E-04
   3  Normalizat    1.0225        .22582        .69109E-01    .28854E-05
   4  Prefactor     .88922        .13939        .44868E-01    .16835E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 2.38679
  alpha      = 1.67393
  Normalizat = 1.02255
  Prefactor  = 0.88922
 **********
 **   18 **HESSE 
 **********

 FCN=   4962.155     FROM HESSE     STATUS=OK            33 CALLS      300 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3868        8.5621        .26815E-03   -1.5399    
   2  alpha         1.6739        1.6452        .41629E-01   -.33676    
   3  Normalizat    1.0225        .26181        .30575E-03   -.92279    
   4  Prefactor     .88922        .16180        .19935E-03   -.96519    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.23897e-11
Minuit parameter uncertainties:
  1  8.56646
  2  1.82047
  3  0.262137
  4  0.16189
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/906247': 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) = 4962.15475038
delta logL = 0.0489021265057

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  2.387e+00  8.566e+00  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  1.674e+00  1.820e+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:  8.892e-01  1.619e-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.023e+00  2.621e-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/906247/cmap_HighResolution_337305601_337564801_4FGL_J2327.5+0939_daily_bin378.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.66e-05', job_status='DONE', photon_flux_upper_limit='1.47e-07', time_completed='2021-09-29 19:48:28.604898', job_id='906247', GAL2='0.89', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632970108.6', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.89', dlogl='4.89e-02', ts2='0.10', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='378' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:48:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 906247: <4FGL_J2327.5+0939_daily_bin378> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin378 351.896 9.6543 337305601 337564801 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 :                                   570.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             275.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            785 sec.

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

