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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin437
RA = 351.883, Dec = -32.9869
tmin = 352598401, tmax = 352857601
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='914182', job_status='RUN', time_executed='2021-09-29 20:03:28.114488', time_epoch_executed='1632971008.11' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='437'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914182

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914182/ft1_4FGL_J2327.5-3259_daily_bin437.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914182/ft2_4FGL_J2327.5-3259_daily_bin437.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914182/ft1_4FGL_J2327.5-3259_daily_bin437.fits outfile=/scratch/kocevski/914182/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin437.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=352598401.0 tmax=352857601.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.18
user 3.94
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/914182/ft1_filtered_4FGL_J2327.5-3259_daily_bin437.fits" evtable="EVENTS" scfile=/scratch/kocevski/914182/ft2_4FGL_J2327.5-3259_daily_bin437.fits sctable="SC_DATA" outfile=/scratch/kocevski/914182/ltcube_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.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/914182/ft2_4FGL_J2327.5-3259_daily_bin437.fits
.....................!
real 12.41
user 11.84
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914182/ft1_filtered_4FGL_J2327.5-3259_daily_bin437.fits evtable="EVENTS" scfile=/scratch/kocevski/914182/ft2_4FGL_J2327.5-3259_daily_bin437.fits sctable="SC_DATA" expcube=/scratch/kocevski/914182/ltcube_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.fits outfile=/scratch/kocevski/914182/expmap_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.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/914182/ltcube_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.fits
.....................!
real 190.45
user 185.59
sys 4.43

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/914182/ft1_filtered_4FGL_J2327.5-3259_daily_bin437.fits scfile=/scratch/kocevski/914182/ft2_4FGL_J2327.5-3259_daily_bin437.fits outfile=/scratch/kocevski/914182/cmap_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.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.53
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/914182/ft1_filtered_4FGL_J2327.5-3259_daily_bin437.fits scfile=/scratch/kocevski/914182/ft2_4FGL_J2327.5-3259_daily_bin437.fits outfile=/scratch/kocevski/914182/cmap_HighResolution_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/914182/ft1_filtered_4FGL_J2327.5-3259_daily_bin437.fits evtable="EVENTS" scfile=/scratch/kocevski/914182/ft2_4FGL_J2327.5-3259_daily_bin437.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/914182/Model_4FGL_J2327.5-3259_daily_bin437.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/914182/ft1_filtered_4FGL_J2327.5-3259_daily_bin437.fits......................!
real 34.90
user 33.65
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/914182/ft1_filtered_4FGL_J2327.5-3259_daily_bin437.fits', '/scratch/kocevski/914182/ft2_4FGL_J2327.5-3259_daily_bin437.fits', expMap='/scratch/kocevski/914182/expmap_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.fits', expCube='/scratch/kocevski/914182/ltcube_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/914182/Model_4FGL_J2327.5-3259_daily_bin437.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/914182/ft1_filtered_4FGL_J2327.5-3259_daily_bin437.fits
Spacecraft file(s): /scratch/kocevski/914182/ft2_4FGL_J2327.5-3259_daily_bin437.fits
Exposure map: /scratch/kocevski/914182/expmap_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.fits
Exposure cube: /scratch/kocevski/914182/ltcube_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/914182/Model_4FGL_J2327.5-3259_daily_bin437.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) = 3771.92503471

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.0542       1.0000         .10000E-03   10000.    
     3 'Prefactor '    21.132       1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.426       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10411E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    15.927       1.0000         .10000E-03   10000.    
     9 'Prefactor '    38.953       1.0000         .10000E-03   10000.    
    10 'Prefactor '    20.457       1.0000         .10000E-03   10000.    
    11 'norm      '    3.1191       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10207E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    9.1233       1.0000         .10000E-03   10000.    
    15 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    34.429       1.0000         .10000E-03   10000.    
    17 'Prefactor '    165.50       1.0000         .10000E-03   10000.    
    18 'norm      '    3.2797       1.0000         .10000E-03   10000.    
    19 'norm      '    2.6872       1.0000         .10000E-03   10000.    
    20 'Prefactor '    11.264       1.0000         .10000E-03   10000.    
    21 'norm      '    5.4083       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    97.265       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10161E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.2261       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .97440       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=   3771.921     FROM MIGRAD    STATUS=CONVERGED    651 CALLS     3329 TOTAL
                     EDM=   .63E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    64.896       -.78928E-06** at limit **
   2  Prefactor     5.0544        7.3039        .49310E-05   -.61243E-03
   3  Prefactor     21.134        34.635       -.32908E-05   -.13891E-04
   4  Prefactor     37.379        48.129       -.45213E-05   -.14163E-03
   5  Prefactor     .10001E-03    57.363       -.90270E-05** at limit **
   6  Prefactor     .10000E-03    24.668       -.22355E-05** at limit **
   7  Prefactor     .10000E-03    6.0561        .90366E-08** at limit **
   8  norm          15.927        9.7266        .71790E-07    .21454E-04
   9  Prefactor     38.956        36.842        .22683E-07    .69621E-05
  10  Prefactor     20.459        25.541        .20583E-08    .14514E-05
  11  norm          3.1190        1.7051        .37346E-07    .70066E-04
  12  Prefactor     .10000E-03    212.71       -.79614E-05** at limit **
  13  Prefactor     .10000E-03    10.998       -.60026E-08** at limit **
  14  norm          9.1273        10.735       -.50702E-06   -.25345E-04
  15  norm          .10000E-03    8.3082        .74901E-07** at limit **
  16  Prefactor     34.467        75.764        .82494E-06    .10610E-03
  17  Prefactor     165.51        99.269        .87517E-06    .24018E-04
  18  norm          3.2720        12.508        .12443E-05   -.78325E-04
  19  norm          2.6908        7.1254        .11955E-05    .22814E-04
  20  Prefactor     11.247        61.738       -.34021E-05   -.43769E-04
  21  norm          5.4088        5.3519       -.14481E-06   -.13882E-06
  22  Prefactor     .10002E-03    74.361        .12531E-04** at limit **
  23  Prefactor     97.272        78.965        .33889E-06    .19806E-04
  24  Prefactor     .10000E-03    6.6272        .75264E-07** at limit **
  25  Prefactor     .10000E-03    28.646        .29300E-05** at limit **
  26  Normalizat    1.2263        .28690       -.10530E-05    .22445E-04
  27  Prefactor     .97409        .28617       -.71860E-06   -.46593E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.05436
  Prefactor  = 21.1336
  Prefactor  = 37.3786
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 15.9268
  Prefactor  = 38.9563
  Prefactor  = 20.4588
  norm       = 3.119
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 9.12731
  norm       = 0.0001
  Prefactor  = 34.4673
  Prefactor  = 165.506
  norm       = 3.27204
  norm       = 2.6908
  Prefactor  = 11.2472
  norm       = 5.40882
  Prefactor  = 0.000100023
  Prefactor  = 97.2715
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Normalizat = 1.22625
  Prefactor  = 0.974089
 **********
 **   18 **HESSE 
 **********

 FCN=   3771.921     FROM HESSE     STATUS=OK           490 CALLS     3819 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    65.123        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.0544        7.5952        .89428E-03   -1.5258    
   3  Prefactor     21.134        34.691        .87130E-04   -1.4788    
   4  Prefactor     37.379        48.888        .65513E-04   -1.4484    
   5  Prefactor     .10001E-03    58.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    24.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.0726        .14761E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          15.927        9.7168        .10036E-03   -1.4910    
   9  Prefactor     38.956        36.894        .64220E-04   -1.4459    
  10  Prefactor     20.459        25.762        .88556E-04   -1.4803    
  11  norm          3.1190        1.7188        .45479E-04   -1.5355    
  12  Prefactor     .10000E-03    213.69        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    11.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          9.1273        10.602        .13269E-03   -1.5104    
  15  norm          .10000E-03    8.3629        .17286E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     34.467        73.948        .68296E-04   -1.4533    
  17  Prefactor     165.51        99.783        .31354E-04   -1.3128    
  18  norm          3.2720        12.054        .22359E-03   -1.5346    
  19  norm          2.6908        7.0044        .22877E-03   -1.5380    
  20  Prefactor     11.247        60.359        .11937E-03   -1.5037    
  21  norm          5.4088        5.3377        .13298E-03   -1.5243    
  22  Prefactor     .10002E-03    77.333        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     97.272        78.960        .20379E-03   -1.3732    
  24  Prefactor     .10000E-03    16.152        .30481E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    28.793        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.2263        .36159        .27157E-03   -.85795    
  27  Prefactor     .97409        .35666        .31565E-03   -.93598    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.51089e-09
Minuit parameter uncertainties:
  1  0.000158833
  2  7.5966
  3  34.7243
  4  48.9407
  5  0.00120041
  6  0.000111729
  7  5.50755e-06
  8  9.71773
  9  36.9152
  10  25.7756
  11  1.71879
  12  0.00185119
  13  2.17044e-06
  14  10.6037
  15  1.76612e-06
  16  74.1453
  17  99.885
  18  12.0625
  19  7.00653
  20  52.192
  21  5.33817
  22  0.00264504
  23  79.0455
  24  0.00036838
  25  0.000341215
  26  0.362334
  27  0.357527
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.655e+02  9.989e+01  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:  9.741e-01  3.575e-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:  1.226e+00  3.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.54
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 1.33e-07 +/- 8.00e-08
Energy Flux (Fixed Index): 3.63e-05 +/- 2.19e-05

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) = 3771.83923756
delta logL = 0.0813783119452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3771.83457524
delta logL = 0.0860406292022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    134.23       1.0000         .10000E-03   10000.    
     2 'Index     '    2.8137       1.0000          .0000       10.000    
     3 'Normalizat'    1.2000       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99731       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=   3771.835     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      294 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     134.33        122.80        .17379E-03    .11546E-04
   2  Index         2.8143        .68966        .50829E-02    .24846E-03
   3  Normalizat    1.2001        .34017        .27404E-03   -.18606E-04
   4  Prefactor     .99685        .35213        .31246E-03    .18720E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 134.332
  Index      = 2.81426
  Normalizat = 1.20008
  Prefactor  = 0.996851
 **********
 **   18 **HESSE 
 **********

 FCN=   3771.835     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     134.33        117.18        .69518E-05   -1.3385    
   2  Index         2.8143        .65781        .10166E-02   -.45243    
   3  Normalizat    1.2001        .34036        .10962E-04   -.86600    
   4  Prefactor     .99685        .35218        .12498E-04   -.92835    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76134e-11
Minuit parameter uncertainties:
  1  117.385
  2  0.660182
  3  0.340994
  4  0.352997
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914182': 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) = 3771.83457013
delta logL = 0.0860457435015

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.343e+02  1.174e+02  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.814e+00  6.602e-01  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:  9.969e-01  3.530e-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:  1.200e+00  3.410e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.67
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 2.81 +/- 0.66
Photon Flux (Free Index): 1.50e-07 +/- 9.46e-08
Energy Flux (Free Index): 3.33e-05 +/- 2.06e-05

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/914182/cmap_HighResolution_352598401_352857601_4FGL_J2327.5-3259_daily_bin437.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.33e-07', energy_flux2='3.33e-05', photon_flux_error='8.00e-08', dlogl='8.60e-02', energy_flux='3.63e-05', photon_flux2='1.50e-07', job_status='DONE', time_completed='2021-09-29 20:12:39.083778', photon_index_error2='0.66', photon_index2='2.81', ts='4.54', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='2.06e-05', EG='1.23', time_epoch_completed='1632971559.08', return_code='0', job_id='914182', GAL2='1.00', EG2='1.20', return_code2='0', energy_flux_error='2.19e-05', photon_flux_error2='9.46e-08', ts2='4.67', photon_index='2.56' WHERE bin_id='437' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:12:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0051>
Subject: Job 914182: <4FGL_J2327.5-3259_daily_bin437> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin437> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:00:34 2021
Job was executed on host(s) <bullet0051>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:00:35 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:35 2021
Terminated at Wed Sep 29 20:12:39 2021
Results reported at Wed Sep 29 20:12:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin437 351.883 -32.9869 352598401 352857601 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 :                                   547.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             244.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   724 sec.
    Turnaround time :                            725 sec.

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

