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


Performing analysis on: 4FGL_J2327.5+0939_daily_bin603
RA = 351.896, Dec = 9.6543
tmin = 395625601, tmax = 395884801
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='907656', job_status='RUN', time_executed='2021-09-29 19:42:24.898396', time_epoch_executed='1632969744.9' WHERE source_name='4FGL J2327.5+0939' and cadence='daily' and bin_id='603'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/907656

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/907656/ft1_4FGL_J2327.5+0939_daily_bin603.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/907656/ft2_4FGL_J2327.5+0939_daily_bin603.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/907656/ft1_4FGL_J2327.5+0939_daily_bin603.fits outfile=/scratch/kocevski/907656/ft1_filteredMKT_4FGL_J2327.5+0939_daily_bin603.fits ra=351.896 dec=9.6543 rad=12.0 tmin=395625601.0 tmax=395884801.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 4.63
user 4.32
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/907656/ft1_filtered_4FGL_J2327.5+0939_daily_bin603.fits evtable="EVENTS" scfile=/scratch/kocevski/907656/ft2_4FGL_J2327.5+0939_daily_bin603.fits sctable="SC_DATA" expcube=/scratch/kocevski/907656/ltcube_395625601_395884801_4FGL_J2327.5+0939_daily_bin603.fits outfile=/scratch/kocevski/907656/expmap_395625601_395884801_4FGL_J2327.5+0939_daily_bin603.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/907656/ltcube_395625601_395884801_4FGL_J2327.5+0939_daily_bin603.fits
.....................!
real 192.82
user 186.51
sys 4.39

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/907656/ft1_filtered_4FGL_J2327.5+0939_daily_bin603.fits scfile=/scratch/kocevski/907656/ft2_4FGL_J2327.5+0939_daily_bin603.fits outfile=/scratch/kocevski/907656/cmap_395625601_395884801_4FGL_J2327.5+0939_daily_bin603.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.58
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/907656/ft1_filtered_4FGL_J2327.5+0939_daily_bin603.fits scfile=/scratch/kocevski/907656/ft2_4FGL_J2327.5+0939_daily_bin603.fits outfile=/scratch/kocevski/907656/cmap_HighResolution_395625601_395884801_4FGL_J2327.5+0939_daily_bin603.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.62
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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.2965       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10371E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    14.596       1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.494       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11733E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .24549       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.0720       1.0000         .10000E-03   10000.    
    14 'Prefactor '    12.096       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    28.435       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.0376       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .93447       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=   6908.839     FROM MIGRAD    STATUS=CONVERGED    508 CALLS     2385 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    20.530        .16425E-06** at limit **
   2  Prefactor     .10000E-03    11.103       -.29083E-06** at limit **
   3  Prefactor     1.2964        .23087        .18306E-08    .17686E-02
   4  Prefactor     .10000E-03    51.166        .12803E-05** at limit **
   5  Prefactor     .10000E-03    3.7479       -.21927E-06** at limit **
   6  Prefactor     .10000E-03    3.8117       -.10754E-06** at limit **
   7  Prefactor     14.587        24.542        .48143E-06    .15359E-03
   8  Prefactor     15.493        7.9956       -.20284E-06   -.14919E-03
   9  Prefactor     .10001E-03    66.267        .12749E-04** at limit **
  10  Prefactor     .10000E-03    14.605       -.87067E-06** at limit **
  11  Prefactor     .10000E-03    19.833        .11091E-05** at limit **
  12  norm          .10070        38.089       -.82941E-05    .21408E-03
  13  Prefactor     4.1137        6.5445       -.88191E-06    .41251E-03
  14  Prefactor     12.096        12.181        .85211E-07    .17558E-03
  15  Prefactor     .10001E-03    20.837       -.23408E-05** at limit **
  16  norm          .10000E-03    12.150        .19475E-07** at limit **
  17  norm          .10000E-03    8.1300        .10281E-06** at limit **
  18  Prefactor     28.422        45.045        .23237E-05    .28815E-03
  19  Prefactor     .10000E-03    19.625        .16486E-05** at limit **
  20  Prefactor     .10000E-03    1.8891       -.11427E-06** at limit **
  21  Normalizat    1.0379        .21560       -.14178E-05    .40075E-03
  22  Prefactor     .93440        .12439        .18876E-05    .84331E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.29645
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5869
  Prefactor  = 15.4931
  Prefactor  = 0.000100013
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  norm       = 0.100702
  Prefactor  = 4.11374
  Prefactor  = 12.0958
  Prefactor  = 0.000100011
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 28.4222
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Normalizat = 1.03785
  Prefactor  = 0.934405
 **********
 **   18 **HESSE 
 **********

 FCN=   6908.839     FROM HESSE     STATUS=OK           342 CALLS     2727 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    20.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.125        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.2964        .23107        .16154E-04   -1.5480    
   4  Prefactor     .10000E-03    52.113        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    3.7893        .15724E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.8174        .15851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     14.587        24.656        .10484E-03   -1.4944    
   8  Prefactor     15.493        8.0148        .10175E-03   -1.4921    
   9  Prefactor     .10001E-03    82.824        .47974E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    14.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10070        14.397        .59129E-01   -1.5645    
  13  Prefactor     4.1137        7.4370        .99901E-03   -1.5302    
  14  Prefactor     12.096        12.188        .11518E-03   -1.5012    
  15  Prefactor     .10001E-03    21.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    12.224        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    8.1318        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     28.422        46.377        .75131E-04   -1.4641    
  19  Prefactor     .10000E-03    20.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    1.8997        .11162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.0379        .25709        .31457E-03   -.91773    
  22  Prefactor     .93440        .14711        .20307E-03   -.94949    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.08822e-09
Minuit parameter uncertainties:
  1  7.29153e-05
  2  7.88194e-05
  3  0.231072
  4  0.000794828
  5  2.86616e-05
  6  1.35622e-05
  7  24.6732
  8  8.01531
  9  0.00204151
  10  0.00027197
  11  0.000422715
  12  2.40754
  13  7.43867
  14  12.1902
  15  0.000961281
  16  3.53537e-05
  17  1.80301e-05
  18  46.4355
  19  0.000568245
  20  1.05809e-05
  21  0.257403
  22  0.147173
Done.

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

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  1.007e-01  2.408e+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:  9.344e-01  1.472e-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.038e+00  2.574e-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.11e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.76e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/907656/likelihoodResults_395625601_395884801_4FGL_J2327.5+0939_daily_bin603.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6908.83880316
delta logL = 9.44497660385e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6908.71798519
delta logL = 0.120912420745

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .69308       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.2127       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0072       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .94461       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=   6908.718     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      284 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .68610        51.751        .12035E-01    .13388E-02
   2  alpha         4.2135        3.1197        .50000        .45209E-04
   3  Normalizat    1.0078        .48906E-01    .72028E-01   -.16880E-04
   4  Prefactor     .94428        .30335E-01    .45571E-01   -.27613E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.686104
  alpha      = 4.21351
  Normalizat = 1.00783
  Prefactor  = 0.944276
 **********
 **   18 **HESSE 
 **********

 FCN=   6908.718     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      317 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .68610        148.90        .13841E-03   -1.5542    
   2  alpha         4.2135        2.7664        .65842E-01    .75516    
   3  Normalizat    1.0078        .17516        .31867E-03   -.92768    
   4  Prefactor     .94428        .10987        .20211E-03   -.94611    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.70739e-06
Minuit parameter uncertainties:
  1  20.2648
  2  19.4271
  3  0.175261
  4  0.109893
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/907656': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6908.71797474
delta logL = 0.120922866339

Extracting fit parameters...

4FGL J2327.5+0939
   Spectrum: LogParabola
409         norm:  6.861e-01  2.026e+01  1.000e-04  1.000e+04 ( 1.000e-12)
410        alpha:  4.214e+00  1.943e+01  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.443e-01  1.099e-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.008e+00  1.753e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/907656/cmap_HighResolution_395625601_395884801_4FGL_J2327.5+0939_daily_bin603.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.76e-05', job_status='DONE', photon_flux_upper_limit='1.11e-07', time_completed='2021-09-29 19:53:32.566840', job_id='907656', GAL2='0.94', fit_tolerance='1e-08', EG2='1.01', EG='1.04', time_epoch_completed='1632970412.57', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='1.21e-01', ts2='0.27', photon_index_error='0.00', photon_index='2.68' WHERE bin_id='603' AND source_name='4FGL J2327.5+0939' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 19:53:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 907656: <4FGL_J2327.5+0939_daily_bin603> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5+0939_daily_bin603 351.896 9.6543 395625601 395884801 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 :                                   662.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             283.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   790 sec.
    Turnaround time :                            793 sec.

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

