/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 131 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7529
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2327.5+0939_daily_bin674
RA = 351.896, Dec = 9.6543
tmin = 414028801, tmax = 414288001
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='907776', job_status='RUN', time_executed='2021-09-29 19:42:52.669670', time_epoch_executed='1632969772.67' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='674'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907776

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907776/ft1_4FGL_J2327.5+0939_daily_bin674.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907776/ft2_4FGL_J2327.5+0939_daily_bin674.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907776/ft1_4FGL_J2327.5+0939_daily_bin674.fits outfile=/scratch/kocevski/907776/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin674.fits ra=351.896 dec=9.6543 rad=12.0 tmin=414028801.0 tmax=414288001.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 5.15
user 4.90
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/907776/ft1_filtered_4FGL_J2327.5+0939_daily_bin674.fits" evtable="EVENTS" scfile=/scratch/kocevski/907776/ft2_4FGL_J2327.5+0939_daily_bin674.fits sctable="SC_DATA" outfile=/scratch/kocevski/907776/ltcube_414028801_414288001_4FGL_J2327.5+0939_daily_bin674.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/907776/ft2_4FGL_J2327.5+0939_daily_bin674.fits
.....................!
real 11.99
user 11.63
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907776/ft1_filtered_4FGL_J2327.5+0939_daily_bin674.fits evtable="EVENTS" scfile=/scratch/kocevski/907776/ft2_4FGL_J2327.5+0939_daily_bin674.fits sctable="SC_DATA" expcube=/scratch/kocevski/907776/ltcube_414028801_414288001_4FGL_J2327.5+0939_daily_bin674.fits outfile=/scratch/kocevski/907776/expmap_414028801_414288001_4FGL_J2327.5+0939_daily_bin674.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/907776/ltcube_414028801_414288001_4FGL_J2327.5+0939_daily_bin674.fits
.....................!
real 190.55
user 185.44
sys 4.75

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/907776/ft1_filtered_4FGL_J2327.5+0939_daily_bin674.fits scfile=/scratch/kocevski/907776/ft2_4FGL_J2327.5+0939_daily_bin674.fits outfile=/scratch/kocevski/907776/cmap_414028801_414288001_4FGL_J2327.5+0939_daily_bin674.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907776/ft1_filtered_4FGL_J2327.5+0939_daily_bin674.fits scfile=/scratch/kocevski/907776/ft2_4FGL_J2327.5+0939_daily_bin674.fits outfile=/scratch/kocevski/907776/cmap_HighResolution_414028801_414288001_4FGL_J2327.5+0939_daily_bin674.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.5551       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.2792       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.728       1.0000         .10000E-03   10000.    
     7 'Prefactor '    49.878       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.169       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.1093       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.515       1.0000         .10000E-03   10000.    
    12 'norm      '    .14542E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10203E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    31.161       1.0000         .10000E-03   10000.    
    16 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    81.370       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.0454       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .78255       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97616       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=   3658.334     FROM MIGRAD    STATUS=CONVERGED    475 CALLS     2739 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    80.842       -.11296E-04** at limit **
   2  Prefactor     .10000E-03    15.708       -.14442E-06** at limit **
   3  Prefactor     2.5552        .41132        .24128E-07    .30363E-02
   4  Prefactor     .10000E-03    37.724        .17563E-05** at limit **
   5  Prefactor     1.2809        9.8397       -.98099E-06    .26424E-03
   6  Prefactor     26.724        27.724        .87590E-06    .19312E-03
   7  Prefactor     49.884        37.207       -.58694E-06   -.28068E-04
   8  Prefactor     10.169        10.176        .14943E-06    .77085E-04
   9  Prefactor     7.0779        19.952        .16836E-06    .24015E-03
  10  Prefactor     .10000E-03    18.321        .76739E-06** at limit **
  11  Prefactor     18.508        120.69        .28861E-05    .26439E-04
  12  norm          .10004E-03    103.21       -.35061E-04** at limit **
  13  Prefactor     .10000E-03    7.6606       -.30538E-06** at limit **
  14  Prefactor     .10001E-03    22.624       -.16184E-05** at limit **
  15  Prefactor     31.153        39.936        .12682E-05    .18261E-03
  16  norm          .10000E-03    7.5592       -.15495E-07** at limit **
  17  norm          81.351        57.259        .30441E-05    .19971E-03
  18  Prefactor     .10000E-03    26.003        .79862E-06** at limit **
  19  Prefactor     4.0484        25.228       -.17803E-06    .25728E-04
  20  Prefactor     .10000E-03    3.6065        .33267E-07** at limit **
  21  Normalizat    .78258        .29751        .29298E-05    .48392E-03
  22  Prefactor     .97603        .18077       -.18710E-05    .88096E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100011
  Prefactor  = 0.0001
  Prefactor  = 2.55516
  Prefactor  = 0.0001
  Prefactor  = 1.28091
  Prefactor  = 26.724
  Prefactor  = 49.8836
  Prefactor  = 10.1694
  Prefactor  = 7.07787
  Prefactor  = 0.0001
  Prefactor  = 18.5077
  norm       = 0.00010004
  Prefactor  = 0.0001
  Prefactor  = 0.000100007
  Prefactor  = 31.1532
  norm       = 0.0001
  norm       = 81.3508
  Prefactor  = 0.0001
  Prefactor  = 4.04836
  Prefactor  = 0.0001
  Normalizat = 0.782583
  Prefactor  = 0.976034
 **********
 **   18 **HESSE 
 **********

 FCN=   3658.334     FROM HESSE     STATUS=OK           334 CALLS     3073 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    82.147        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    15.717        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.5552        .41158        .14948E-04   -1.5388    
   4  Prefactor     .10000E-03    37.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.2809        10.284        .37133E-03   -1.5482    
   6  Prefactor     26.724        27.736        .77488E-04   -1.4674    
   7  Prefactor     49.884        37.243        .56782E-04   -1.4294    
   8  Prefactor     10.169        10.169        .12565E-03   -1.5070    
   9  Prefactor     7.0779        19.049        .15045E-03   -1.5176    
  10  Prefactor     .10000E-03    18.372        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.508        120.49        .93080E-04   -1.4847    
  12  norm          .10004E-03    104.50        .36530E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.6989        .16328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10001E-03    23.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     31.153        39.718        .71777E-04   -1.4591    
  16  norm          .10000E-03    7.5653        .16243E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          81.351        57.581        .22263E-03   -1.3902    
  18  Prefactor     .10000E-03    26.003        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.0484        25.195        .20048E-03   -1.5306    
  20  Prefactor     .10000E-03    3.6155        .11217E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .78258        .33734        .18330E-02   -1.0072    
  22  Prefactor     .97603        .20844        .20729E-03   -.93533    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.31982e-09
Minuit parameter uncertainties:
  1  0.00193195
  2  7.62438e-06
  3  0.411576
  4  0.000237948
  5  7.26029
  6  27.7493
  7  37.2607
  8  10.1705
  9  19.0654
  10  5.52781e-05
  11  94.7262
  12  0.00410088
  13  3.28016e-06
  14  0.000777259
  15  39.7519
  16  4.48696e-06
  17  57.6204
  18  1.4553e-05
  19  20.211
  20  7.73888e-06
  21  0.338242
  22  0.208612
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.000e-04  4.101e-03  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:  9.760e-01  2.086e-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:  7.826e-01  3.382e-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.77e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.40e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/907776/likelihoodResults_414028801_414288001_4FGL_J2327.5+0939_daily_bin674.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) = 3658.33381528
delta logL = -4.49360090897e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3658.23753939
delta logL = 0.0962309576257

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.4211       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8930       1.0000          .0000       5.0000    
     3 'Normalizat'    .74737       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98637       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=   3658.238     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      291 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.4216        5.8703        .16943E-03   -.52437E-03
   2  alpha         3.8933        3.8740        .41287E-02   -.22254E-04
   3  Normalizat    .74740        .33509        .37420E-03    .76500E-04
   4  Prefactor     .98636        .20703        .20623E-03    .10864E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.42161
  alpha      = 3.89332
  Normalizat = 0.747404
  Prefactor  = 0.986362
 **********
 **   18 **HESSE 
 **********

 FCN=   3658.238     FROM HESSE     STATUS=OK            23 CALLS      314 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.4216        5.5052        .67774E-05   -1.5470    
   2  alpha         3.8933        3.8156        .16515E-03    .59116    
   3  Normalizat    .74740        .33534        .14968E-04   -1.0205    
   4  Prefactor     .98636        .20718        .41247E-04   -.93186    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57993e-10
Minuit parameter uncertainties:
  1  5.5072
  2  2.30236
  3  0.336265
  4  0.207351
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907776': 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) = 3658.2375393
delta logL = 0.0962310382693

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.422e+00  5.507e+00  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  3.893e+00  2.302e+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:  9.864e-01  2.074e-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:  7.474e-01  3.363e-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/907776/cmap_HighResolution_414028801_414288001_4FGL_J2327.5+0939_daily_bin674.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.40e-05', job_status='DONE', photon_flux_upper_limit='1.77e-07', time_completed='2021-09-29 19:51:28.927315', job_id='907776', GAL2='0.99', fit_tolerance='1e-08', EG2='0.75', EG='0.78', time_epoch_completed='1632970288.93', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='9.62e-02', ts2='0.20', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='674' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:51:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 907776: <4FGL_J2327.5+0939_daily_bin674> in cluster <slac> Done

Job <4FGL_J2327.5+0939_daily_bin674> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Wed Sep 29 19:40:31 2021
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:40:33 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:40:33 2021
Terminated at Wed Sep 29 19:51:29 2021
Results reported at Wed Sep 29 19:51:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin674 351.896 9.6543 414028801 414288001 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 :                                   512.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             297.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   656 sec.
    Turnaround time :                            658 sec.

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

