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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin537
RA = 351.883, Dec = -32.9869
tmin = 378518401, tmax = 378777601
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='914340', job_status='RUN', time_executed='2021-09-29 20:03:26.767650', time_epoch_executed='1632971006.77' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='537'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914340

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914340/ft1_4FGL_J2327.5-3259_daily_bin537.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914340/ft1_4FGL_J2327.5-3259_daily_bin537.fits outfile=/scratch/kocevski/914340/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin537.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=378518401.0 tmax=378777601.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.42
user 3.20
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.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/914340/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin537.fits evtable="EVENTS" outfile="/scratch/kocevski/914340/ft1_filtered_4FGL_J2327.5-3259_daily_bin537.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.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/914340/ft1_filtered_4FGL_J2327.5-3259_daily_bin537.fits" evtable="EVENTS" scfile=/scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits sctable="SC_DATA" outfile=/scratch/kocevski/914340/ltcube_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.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/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits
.....................!
real 11.79
user 11.45
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914340/ft1_filtered_4FGL_J2327.5-3259_daily_bin537.fits evtable="EVENTS" scfile=/scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits sctable="SC_DATA" expcube=/scratch/kocevski/914340/ltcube_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.fits outfile=/scratch/kocevski/914340/expmap_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.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/914340/ltcube_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.fits
.....................!
real 190.36
user 184.92
sys 5.09

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

Setting source of interest to:
4FGL J2327.5-3259 @ 351.883 -32.9869

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/914340/ft1_filtered_4FGL_J2327.5-3259_daily_bin537.fits scfile=/scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits outfile=/scratch/kocevski/914340/cmap_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.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.883 yref=-32.9869 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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/914340/ft1_filtered_4FGL_J2327.5-3259_daily_bin537.fits scfile=/scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits outfile=/scratch/kocevski/914340/cmap_HighResolution_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.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.883 yref=-32.9869 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/914340/ft1_filtered_4FGL_J2327.5-3259_daily_bin537.fits evtable="EVENTS" scfile=/scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/914340/Model_4FGL_J2327.5-3259_daily_bin537.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/914340/ft1_filtered_4FGL_J2327.5-3259_daily_bin537.fits....................!
real 47.70
user 46.37
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/914340/ft1_filtered_4FGL_J2327.5-3259_daily_bin537.fits', '/scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits', expMap='/scratch/kocevski/914340/expmap_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.fits', expCube='/scratch/kocevski/914340/ltcube_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/914340/Model_4FGL_J2327.5-3259_daily_bin537.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2327.5-3259'

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  7.111e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/914340/ft1_filtered_4FGL_J2327.5-3259_daily_bin537.fits
Spacecraft file(s): /scratch/kocevski/914340/ft2_4FGL_J2327.5-3259_daily_bin537.fits
Exposure map: /scratch/kocevski/914340/expmap_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.fits
Exposure cube: /scratch/kocevski/914340/ltcube_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/914340/Model_4FGL_J2327.5-3259_daily_bin537.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) = 6554.84565696

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    40.583       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10092E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.1367       1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.1075       1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.5565       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .22500       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.9611       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .57987E-01   1.0000         .10000E-03   10000.    
    11 'norm      '    1.2798       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.1275       1.0000         .10000E-03   10000.    
    14 'norm      '    3.3401       1.0000         .10000E-03   10000.    
    15 'norm      '    6.6833       1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.343       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    6.3228       1.0000         .10000E-03   10000.    
    19 'norm      '    2.4626       1.0000         .10000E-03   10000.    
    20 'Prefactor '    12.881       1.0000         .10000E-03   10000.    
    21 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    111.51       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.8181       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .83454       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .67062       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6554.836     FROM MIGRAD    STATUS=CONVERGED    686 CALLS     3358 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     40.565        46.933       -.24354E-06   -.34300E-04
   2  Prefactor     .10000E-03    1.3447       -.68026E-07** at limit **
   3  Prefactor     .10000E-03    4.4649       -.19889E-07** at limit **
   4  Prefactor     5.1326        13.045        .61862E-06   -.21589E-03
   5  Prefactor     2.0922        76.115        .68704E-06    .44111E-04
   6  Prefactor     4.5581        8.1476        .58585E-06   -.22523E-04
   7  Prefactor     .10000E-03    2.5563        .16942E-06** at limit **
   8  norm          .23058        1.7708       -.30437E-06    .31300E-03
   9  Prefactor     4.0004        11.116        .23303E-05    .25484E-03
  10  Prefactor     .25828E-03    3.9716       -.20963E-05** at limit **
  11  norm          1.2817        .55559        .18645E-06    .30184E-02
  12  Prefactor     .10000E-03    12.598        .64305E-07** at limit **
  13  Prefactor     2.1346        5.5499        .93659E-06   -.27462E-04
  14  norm          3.3400        4.9022        .19396E-06   -.24488E-03
  15  norm          6.6829        5.8661        .27679E-07   -.53989E-04
  16  Prefactor     24.334        24.455        .14554E-06    .80442E-04
  17  Prefactor     .10000E-03    8.7433        .11069E-07** at limit **
  18  norm          6.3229        4.2334       -.57553E-07   -.10177E-03
  19  norm          2.4624        2.1995        .38634E-07   -.12975E-03
  20  Prefactor     12.879        14.365        .23735E-07    .14102E-04
  21  norm          .10000E-03    .82007        .39449E-07** at limit **
  22  Prefactor     111.49        71.716       -.18472E-06   -.41219E-04
  23  Prefactor     .10000E-03    8.2008       -.48510E-07** at limit **
  24  Prefactor     1.8168        3.5616        .29542E-06   -.31143E-03
  25  Prefactor     .10000E-03    9.2104       -.57256E-07** at limit **
  26  Normalizat    .83490        .13375       -.26787E-07    .22174E-03
  27  Prefactor     .67028        .14144        .32705E-06    .49513E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 40.5647
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.13257
  Prefactor  = 2.09217
  Prefactor  = 4.55813
  Prefactor  = 0.0001
  norm       = 0.230583
  Prefactor  = 4.0004
  Prefactor  = 0.000258279
  norm       = 1.28173
  Prefactor  = 0.0001
  Prefactor  = 2.13455
  norm       = 3.34
  norm       = 6.68288
  Prefactor  = 24.3342
  Prefactor  = 0.0001
  norm       = 6.32286
  norm       = 2.46244
  Prefactor  = 12.8789
  norm       = 0.0001
  Prefactor  = 111.489
  Prefactor  = 0.0001
  Prefactor  = 1.81678
  Prefactor  = 0.0001
  Normalizat = 0.834901
  Prefactor  = 0.670284
 **********
 **   18 **HESSE 
 **********

 FCN=   6554.836     FROM HESSE     STATUS=OK           506 CALLS     3864 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     40.565        47.049        .62923E-04   -1.4433    
   2  Prefactor     .10000E-03    1.3992        .18317E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.4698        .16708E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.1326        12.959        .17739E-03   -1.5255    
   5  Prefactor     2.0922        74.091        .28421E-03   -1.5419    
   6  Prefactor     4.5581        8.1584        .18859E-03   -1.5281    
   7  Prefactor     .10000E-03    2.5676        .12631E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .23058        7.4883        .18638E-02   -1.5612    
   9  Prefactor     4.0004        13.687        .20267E-03   -1.5308    
  10  Prefactor     .25828E-03    25.504        .37551E-01   -1.5705    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.2817        .63804        .33430E-04   -1.5482    
  12  Prefactor     .10000E-03    12.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.1346        5.5228        .27770E-03   -1.5416    
  14  norm          3.3400        4.9243        .18495E-03   -1.5342    
  15  norm          6.6829        5.8630        .15522E-03   -1.5191    
  16  Prefactor     24.334        24.422        .81189E-04   -1.4721    
  17  Prefactor     .10000E-03    8.7464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          6.3229        4.2635        .10630E-03   -1.5205    
  19  norm          2.4624        2.1873        .10877E-03   -1.5394    
  20  Prefactor     12.879        14.351        .11161E-03   -1.4990    
  21  norm          .10000E-03    .82388        .71561E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     111.49        71.811        .19047E-03   -1.3592    
  23  Prefactor     .10000E-03    8.2018        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.8168        3.5404        .20188E-03   -1.5438    
  25  Prefactor     .10000E-03    9.2195        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .83490        .16155        .19965E-03   -.98787    
  27  Prefactor     .67028        .16842        .24358E-03   -1.0470    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47983e-09
Minuit parameter uncertainties:
  1  47.0924
  2  3.24353e-06
  3  8.56639e-07
  4  12.9661
  5  24.9336
  6  8.16042
  7  1.80573e-05
  8  2.62784
  9  13.6976
  10  0.127124
  11  0.638042
  12  1.42398e-05
  13  5.52412
  14  4.9249
  15  5.86351
  16  24.4316
  17  1.01245e-05
  18  4.26373
  19  2.1874
  20  14.3546
  21  2.5587e-06
  22  71.867
  23  2.67676e-06
  24  3.54085
  25  5.24975e-07
  26  0.16164
  27  0.168552
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.012e-05  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.557e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  6.703e-01  1.686e-01  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.349e-01  1.616e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 3.65e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.85e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/914340/likelihoodResults_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.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) = 6554.83673777
delta logL = -0.000544537402675

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6554.83619317
delta logL = 5.75773810851e-08

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 'Index     '    2.5413       1.0000          .0000       10.000    
     3 'Normalizat'    .83490       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67028       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+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=   6554.836     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      251 TOTAL
                     EDM=   .62E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    70.042        .18142E-01** at limit **
   2  Index         1.9666        8.9490        .50000        .18417E-06
   3  Normalizat    .83490        .79032E-02    .19965E-03   -.17219E-03
   4  Prefactor     .67029        .87688E-02    .24358E-03   -.81306E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.96656
  Normalizat = 0.834899
  Prefactor  = 0.670286
 **********
 **   18 **HESSE 
 **********

 FCN=   6554.836     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      280 TOTAL
                     EDM=   .43E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    475.84        .26158E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9666        7.1201        .50000       -.65189    
   3  Normalizat    .83490        .21646E-01    .79862E-05   -.98787    
   4  Prefactor     .67029        .24017E-01    .97430E-05   -1.0470    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.28387e-11
Minuit parameter uncertainties:
  1  0.00117737
  2  1284.53
  3  0.0216466
  4  0.0240174
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914340': 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) = 6554.83619208
delta logL = 1.15184593596e-06

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.177e-03  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.967e+00  1.285e+03  0.000e+00  1.000e+01 (-1.000e+00)
456        Scale:  6.601e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
605    Prefactor:  6.703e-01  2.402e-02  0.000e+00  1.000e+01 ( 1.000e+00)
606        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
607        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
604   Normalization:  8.349e-01  2.165e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.883 -32.987

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/914340/cmap_HighResolution_378518401_378777601_4FGL_J2327.5-3259_daily_bin537.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.85e-03', job_status='DONE', photon_flux_upper_limit='3.65e-08', time_completed='2021-09-29 20:16:58.835430', job_id='914340', GAL2='0.67', fit_tolerance='1e-08', EG2='0.83', EG='0.83', time_epoch_completed='1632971818.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='1.15e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='537' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:16:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 914340: <4FGL_J2327.5-3259_daily_bin537> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin537> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:00:46 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:00:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 20:00:47 2021
Terminated at Wed Sep 29 20:16:59 2021
Results reported at Wed Sep 29 20:16:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin537 351.883 -32.9869 378518401 378777601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2327.5-3259 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   809.11 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             261.57 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            973 sec.

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

