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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin685
RA = 351.883, Dec = -32.9869
tmin = 416880001, tmax = 417139201
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='915668', job_status='RUN', time_executed='2021-09-29 20:06:50.049873', time_epoch_executed='1632971210.05' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='685'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/915668

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/915668/ft1_4FGL_J2327.5-3259_daily_bin685.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/915668/ft2_4FGL_J2327.5-3259_daily_bin685.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/915668/ft1_4FGL_J2327.5-3259_daily_bin685.fits outfile=/scratch/kocevski/915668/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin685.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=416880001.0 tmax=417139201.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.76
user 5.06
sys 0.31

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/915668/ft1_filtered_4FGL_J2327.5-3259_daily_bin685.fits" evtable="EVENTS" scfile=/scratch/kocevski/915668/ft2_4FGL_J2327.5-3259_daily_bin685.fits sctable="SC_DATA" outfile=/scratch/kocevski/915668/ltcube_416880001_417139201_4FGL_J2327.5-3259_daily_bin685.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/915668/ft2_4FGL_J2327.5-3259_daily_bin685.fits
.....................!
real 12.02
user 11.63
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/915668/ft1_filtered_4FGL_J2327.5-3259_daily_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/915668/ft2_4FGL_J2327.5-3259_daily_bin685.fits sctable="SC_DATA" expcube=/scratch/kocevski/915668/ltcube_416880001_417139201_4FGL_J2327.5-3259_daily_bin685.fits outfile=/scratch/kocevski/915668/expmap_416880001_417139201_4FGL_J2327.5-3259_daily_bin685.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/915668/ltcube_416880001_417139201_4FGL_J2327.5-3259_daily_bin685.fits
.....................!
real 191.12
user 185.09
sys 5.63

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/915668/ft1_filtered_4FGL_J2327.5-3259_daily_bin685.fits scfile=/scratch/kocevski/915668/ft2_4FGL_J2327.5-3259_daily_bin685.fits outfile=/scratch/kocevski/915668/cmap_416880001_417139201_4FGL_J2327.5-3259_daily_bin685.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/915668/ft1_filtered_4FGL_J2327.5-3259_daily_bin685.fits scfile=/scratch/kocevski/915668/ft2_4FGL_J2327.5-3259_daily_bin685.fits outfile=/scratch/kocevski/915668/cmap_HighResolution_416880001_417139201_4FGL_J2327.5-3259_daily_bin685.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/915668/ft1_filtered_4FGL_J2327.5-3259_daily_bin685.fits evtable="EVENTS" scfile=/scratch/kocevski/915668/ft2_4FGL_J2327.5-3259_daily_bin685.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/915668/Model_4FGL_J2327.5-3259_daily_bin685.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/915668/ft1_filtered_4FGL_J2327.5-3259_daily_bin685.fits....................!
real 23.67
user 22.26
sys 1.24

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    47.670       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .81522       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.2876       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    47.726       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    26.052       1.0000         .10000E-03   10000.    
     8 'norm      '    7.6247       1.0000         .10000E-03   10000.    
     9 'Prefactor '    7.8733       1.0000         .10000E-03   10000.    
    10 'Prefactor '    38.989       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    211.24       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    50.949       1.0000         .10000E-03   10000.    
    18 'norm      '    10.382       1.0000         .10000E-03   10000.    
    19 'norm      '    3.3954       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.1319       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    11.985       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .67025E-01   1.0000         .10000E-01   10.000    
    27 'Prefactor '    2.1051       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6080E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1840.700     FROM MIGRAD    STATUS=CONVERGED    100 CALLS     3258 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     47.668        1.2655       -.43320E-06    .58269E-03
   2  Prefactor     .81530        9.1600        .14218E-05    .30862E-03
   3  Prefactor     3.2841        1.1611        .85300E-07   -.42328E-04
   4  Prefactor     .10015E-03    12.266        .72405E-05** at limit **
   5  Prefactor     47.729        1.1877        .32071E-06   -.29858E-03
   6  Prefactor     .10006E-03    96.190        .36333E-04** at limit **
   7  Prefactor     26.052        1.0022        .11422E-07   -.19700E-06
   8  norm          7.6243        1.5161        .22958E-05    .11458E-02
   9  Prefactor     7.8718        1.0965       -.33348E-06    .25995E-03
  10  Prefactor     38.992        1.1234        .27683E-06    .78638E-03
  11  norm          .10000E-03    .61150       -.61204E-07** at limit **
  12  Prefactor     211.24        1.0260        .63952E-07   -.33334E-03
  13  Prefactor     .10022E-03    12.024       -.76617E-05** at limit **
  14  norm          .10000E-03    5.0767        .11006E-05** at limit **
  15  norm          .10000E-03    31.749       -.28938E-04** at limit **
  16  Prefactor     .10000E-03    14.788        .21394E-04** at limit **
  17  Prefactor     50.954        1.6667        .71277E-06   -.92306E-03
  18  norm          10.382        5.7009       -.58118E-05   -.47692E-03
  19  norm          3.3950        7.6523        .31103E-06    .18762E-03
  20  Prefactor     .10042E-03    19.197        .92644E-05** at limit **
  21  norm          2.1310        5.8039       -.15920E-04   -.46029E-03
  22  Prefactor     .10000E-03    348.70       -.81663E-04** at limit **
  23  Prefactor     .10000E-03    13.841        .18707E-04** at limit **
  24  Prefactor     11.985        1.0407        .26911E-06    .62017E-04
  25  Prefactor     .10018E-03    45.544       -.44811E-04** at limit **
  26  Normalizat    .66882E-01    .84801        .26042E-04    .56824E-04
  27  Prefactor     2.1053        .51725       -.46637E-06    .19217E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 47.6676
  Prefactor  = 0.815296
  Prefactor  = 3.28415
  Prefactor  = 0.000100148
  Prefactor  = 47.7288
  Prefactor  = 0.000100064
  Prefactor  = 26.0519
  norm       = 7.62434
  Prefactor  = 7.87179
  Prefactor  = 38.9917
  norm       = 0.0001
  Prefactor  = 211.24
  Prefactor  = 0.000100217
  norm       = 0.000100005
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 50.9543
  norm       = 10.3825
  norm       = 3.39497
  Prefactor  = 0.000100419
  norm       = 2.131
  Prefactor  = 0.000100004
  Prefactor  = 0.000100001
  Prefactor  = 11.985
  Prefactor  = 0.000100181
  Normalizat = 0.0668815
  Prefactor  = 2.10528
 **********
 **   18 **HESSE 
 **********

 FCN=   1840.700     FROM HESSE     STATUS=NOT POSDEF   544 CALLS     3802 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     47.668        581.33        .14519E-02   -1.4326    
   2  Prefactor     .81530        10.115        .12496E-01   -1.5527    
   3  Prefactor     3.2841        67.302        .55827E-02   -1.5346    
   4  Prefactor     .10015E-03    18.114        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     47.729        66.882        .14511E-02   -1.4325    
   6  Prefactor     .10006E-03    87.604        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     26.052        23.700        .19621E-02   -1.4687    
   8  norm          7.6243        10.402        .36307E-02   -1.5156    
   9  Prefactor     7.8718        68.982        .35725E-02   -1.5147    
  10  Prefactor     38.992        63.628        .16048E-02   -1.4458    
  11  norm          .10000E-03    .52444        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     211.24        289.39        .69542E-03   -1.2791    
  13  Prefactor     .10022E-03    18.148        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.3813        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    30.373        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    33.933        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     50.954        191.80        .14046E-02   -1.4279    
  18  norm          10.382        12.639        .31088E-02   -1.5063    
  19  norm          3.3950        7.2104        .54891E-02   -1.5339    
  20  Prefactor     .10042E-03    38.382        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.1310        17.230        .70590E-02   -1.5416    
  22  Prefactor     .10000E-03    304.69        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    33.387        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.985        16.164        .28928E-02   -1.5015    
  25  Prefactor     .10018E-03    46.453        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .66882E-01    9.7686        .23810       -1.4197    
  27  Prefactor     2.1053        2.3006        .50744E-01   -.61743    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.27188e-07
Minuit parameter uncertainties:
  1  337.084
  2  5.74414
  3  29.772
  4  0.00327856
  5  66.9879
  6  0.00472719
  7  23.7082
  8  10.4044
  9  46.6772
  10  63.7393
  11  6.35736e-06
  12  291.377
  13  0.00397037
  14  0.000281909
  15  0.000210579
  16  0.000501764
  17  194.197
  18  12.642
  19  7.21224
  20  0.00802094
  21  12.1235
  22  0.00216402
  23  0.000300563
  24  16.1699
  25  0.00580173
  26  2.1776
  27  2.4445
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1840.70021865

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  5.095e+01  1.942e+02  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:  2.105e+00  2.444e+00  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:  6.688e-02  2.178e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.30
Ra Dec: 351.883 -32.987
Photon Flux Upper Limit: 2.59e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.02e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/915668/likelihoodResults_416880001_417139201_4FGL_J2327.5-3259_daily_bin685.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) = 1840.6610746
delta logL = 0.0391440521353

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1840.64476602
delta logL = 0.0554526257088

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    33.541       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1552       1.0000          .0000       10.000    
     3 'Normalizat'    .37116E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    2.1295       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=   1840.645     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      288 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.552        127.88        .69191E-04    .58625E-04
   2  Index         3.1543        2.5602        .83356E-02    .32210E-04
   3  Normalizat    .37610E-01    6.4424        .11396E-01    .45823E-04
   4  Prefactor     2.1291        .73311        .22330E-03    .28756E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.5516
  Index      = 3.15425
  Normalizat = 0.0376103
  Prefactor  = 2.12914
 **********
 **   18 **HESSE 
 **********

 FCN=   1840.645     FROM HESSE     STATUS=OK            27 CALLS      315 TOTAL
                     EDM=   .26E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.552        102.32        .13838E-04   -1.4549    
   2  Index         3.1543        2.0524        .33343E-03   -.37809    
   3  Normalizat    .37610E-01    1.8337        .45584E-03   -1.4656    
   4  Prefactor     2.1291        .52404        .44660E-04   -.61159    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.56997e-10
Minuit parameter uncertainties:
  1  102.857
  2  2.12577
  3  0.465803
  4  0.525482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/915668': 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) = 1840.64476516
delta logL = 0.0554534923124

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.355e+01  1.029e+02  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.154e+00  2.126e+00  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:  2.129e+00  5.255e-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:  3.761e-02  4.658e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.30
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/915668/cmap_HighResolution_416880001_417139201_4FGL_J2327.5-3259_daily_bin685.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.02e-02', job_status='DONE', photon_flux_upper_limit='2.59e-07', time_completed='2021-09-29 20:15:22.943986', job_id='915668', GAL2='2.13', fit_tolerance='1e-08', EG2='0.04', EG='0.07', time_epoch_completed='1632971722.94', return_code2='0', ts='0.30', comment='SUCCESS', return_code='102', GAL='2.11', dlogl='5.55e-02', ts2='0.42', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='685' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:15:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0035>
Subject: Job 915668: <4FGL_J2327.5-3259_daily_bin685> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin685> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 20:05:30 2021
Job was executed on host(s) <bullet0035>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:05:31 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:05:31 2021
Terminated at Wed Sep 29 20:15:23 2021
Results reported at Wed Sep 29 20:15:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin685 351.883 -32.9869 416880001 417139201 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 :                                   470.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            593 sec.

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

