/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 5 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 = 7418
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2327.5-3259_daily_bin120
RA = 351.883, Dec = -32.9869
tmin = 270432001, tmax = 270691201
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='912619', job_status='RUN', time_executed='2021-09-29 19:55:38.281482', time_epoch_executed='1632970538.28' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='120'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/912619

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/912619/ft1_4FGL_J2327.5-3259_daily_bin120.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/912619/ft2_4FGL_J2327.5-3259_daily_bin120.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/912619/ft1_4FGL_J2327.5-3259_daily_bin120.fits outfile=/scratch/kocevski/912619/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin120.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=270432001.0 tmax=270691201.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 1.65
user 1.44
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/912619/ft1_filtered_4FGL_J2327.5-3259_daily_bin120.fits" evtable="EVENTS" scfile=/scratch/kocevski/912619/ft2_4FGL_J2327.5-3259_daily_bin120.fits sctable="SC_DATA" outfile=/scratch/kocevski/912619/ltcube_270432001_270691201_4FGL_J2327.5-3259_daily_bin120.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/912619/ft2_4FGL_J2327.5-3259_daily_bin120.fits
.....................!
real 12.22
user 11.87
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/912619/ft1_filtered_4FGL_J2327.5-3259_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/912619/ft2_4FGL_J2327.5-3259_daily_bin120.fits sctable="SC_DATA" expcube=/scratch/kocevski/912619/ltcube_270432001_270691201_4FGL_J2327.5-3259_daily_bin120.fits outfile=/scratch/kocevski/912619/expmap_270432001_270691201_4FGL_J2327.5-3259_daily_bin120.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/912619/ltcube_270432001_270691201_4FGL_J2327.5-3259_daily_bin120.fits
.....................!
real 190.94
user 185.26
sys 5.32

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/912619/ft1_filtered_4FGL_J2327.5-3259_daily_bin120.fits scfile=/scratch/kocevski/912619/ft2_4FGL_J2327.5-3259_daily_bin120.fits outfile=/scratch/kocevski/912619/cmap_270432001_270691201_4FGL_J2327.5-3259_daily_bin120.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/912619/ft1_filtered_4FGL_J2327.5-3259_daily_bin120.fits scfile=/scratch/kocevski/912619/ft2_4FGL_J2327.5-3259_daily_bin120.fits outfile=/scratch/kocevski/912619/cmap_HighResolution_270432001_270691201_4FGL_J2327.5-3259_daily_bin120.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/912619/ft1_filtered_4FGL_J2327.5-3259_daily_bin120.fits evtable="EVENTS" scfile=/scratch/kocevski/912619/ft2_4FGL_J2327.5-3259_daily_bin120.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/912619/Model_4FGL_J2327.5-3259_daily_bin120.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/912619/ft1_filtered_4FGL_J2327.5-3259_daily_bin120.fits.....................!
real 41.42
user 40.05
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.869       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10511E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    7.6757       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    25.460       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    10.313       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .90584       1.0000         .10000E-03   10000.    
    11 'norm      '    1.8460       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8527       1.0000         .10000E-03   10000.    
    14 'norm      '    10.899       1.0000         .10000E-03   10000.    
    15 'norm      '    .62234       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.5333       1.0000         .10000E-03   10000.    
    17 'Prefactor '    57.954       1.0000         .10000E-03   10000.    
    18 'norm      '    5.2847       1.0000         .10000E-03   10000.    
    19 'norm      '    3.7996       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    5.8411       1.0000         .10000E-03   10000.    
    22 'Prefactor '    53.439       1.0000         .10000E-03   10000.    
    23 'Prefactor '    26.012       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10191E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .12726E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.3080       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .60798       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=   5151.657     FROM MIGRAD    STATUS=CONVERGED    682 CALLS     3345 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.837        74.213       -.37162E-04    .14654E-04
   2  Prefactor     .10000E-03    2.2846       -.73203E-06** at limit **
   3  Prefactor     7.6632        22.357       -.57986E-06    .42575E-04
   4  Prefactor     .10000E-03    20.338        .24877E-05** at limit **
   5  Prefactor     .10000E-03    17.503       -.21091E-05** at limit **
   6  Prefactor     25.458        15.830       -.23941E-06    .18905E-03
   7  Prefactor     .10000E-03    7.0126       -.30327E-06** at limit **
   8  norm          10.314        5.5184        .70544E-07    .59671E-03
   9  Prefactor     .10000E-03    6.0420        .98955E-07** at limit **
  10  Prefactor     .90173        8.4096       -.19823E-05    .50064E-04
  11  norm          1.8462        .89601       -.35164E-07    .25360E-02
  12  Prefactor     .10000E-03    25.591       -.10951E-05** at limit **
  13  Prefactor     2.8538        5.8887        .30651E-05   -.80276E-04
  14  norm          10.901        8.2120        .15146E-05    .37137E-03
  15  norm          .59458        7.5271       -.26860E-06   -.24624E-03
  16  Prefactor     3.3380        286.49       -.87960E-04   -.68376E-04
  17  Prefactor     57.939        64.610       -.11718E-04    .61486E-04
  18  norm          5.2848        7.7634        .87585E-05    .74412E-03
  19  norm          3.7993        3.4492       -.19449E-06   -.20674E-03
  20  Prefactor     .10000E-03    11.613       -.16647E-05** at limit **
  21  norm          5.8411        5.7178       -.28863E-05    .20732E-03
  22  Prefactor     53.419        86.564       -.18248E-04    .17933E-04
  23  Prefactor     25.965        42.224        .36394E-04    .25485E-04
  24  Prefactor     .10000E-03    11.711        .14408E-05** at limit **
  25  Prefactor     .10001E-03    92.554       -.14321E-05** at limit **
  26  Normalizat    1.3084        .20597        .54131E-05    .21603E-03
  27  Prefactor     .60770        .20320       -.30856E-05    .43541E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.8373
  Prefactor  = 0.000100001
  Prefactor  = 7.66315
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.4582
  Prefactor  = 0.0001
  norm       = 10.3143
  Prefactor  = 0.0001
  Prefactor  = 0.901731
  norm       = 1.84622
  Prefactor  = 0.0001
  Prefactor  = 2.85384
  norm       = 10.9005
  norm       = 0.594584
  Prefactor  = 3.33796
  Prefactor  = 57.939
  norm       = 5.28479
  norm       = 3.79932
  Prefactor  = 0.0001
  norm       = 5.8411
  Prefactor  = 53.4188
  Prefactor  = 25.9651
  Prefactor  = 0.000100001
  Prefactor  = 0.000100005
  Normalizat = 1.30839
  Prefactor  = 0.607696
 **********
 **   18 **HESSE 
 **********

 FCN=   5151.657     FROM HESSE     STATUS=OK           490 CALLS     3835 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.837        74.418        .89856E-04   -1.4817    
   2  Prefactor     .10000E-03    3.9751        .20653E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.6632        21.988        .14474E-03   -1.5154    
   4  Prefactor     .10000E-03    20.453        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    17.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     25.458        15.839        .79390E-04   -1.4698    
   7  Prefactor     .10000E-03    7.0784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          10.314        5.5413        .11165E-03   -1.5066    
   9  Prefactor     .10000E-03    6.0457        .17223E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .90173        51.463        .30804E-02   -1.5518    
  11  norm          1.8462        .96675        .37936E-04   -1.5436    
  12  Prefactor     .10000E-03    25.602        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     2.8538        5.8483        .23686E-03   -1.5370    
  14  norm          10.901        8.2223        .12136E-03   -1.5048    
  15  norm          .59458        19.921        .36825E-02   -1.5554    
  16  Prefactor     3.3380        264.88        .21505E-03   -1.5343    
  17  Prefactor     57.939        64.537        .52699E-04   -1.4184    
  18  norm          5.2848        7.4858        .16101E-03   -1.5248    
  19  norm          3.7993        3.4429        .12243E-03   -1.5318    
  20  Prefactor     .10000E-03    11.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          5.8411        5.6509        .15277E-03   -1.5225    
  22  Prefactor     53.419        86.606        .54867E-04   -1.4245    
  23  Prefactor     25.965        41.855        .78545E-04   -1.4688    
  24  Prefactor     .10000E-03    12.121        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10001E-03    92.960        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.3084        .24724        .22030E-03   -.83316    
  27  Prefactor     .60770        .24005        .32318E-03   -1.0726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61577e-09
Minuit parameter uncertainties:
  1  74.7689
  2  0.000151279
  3  22.0116
  4  5.1821e-05
  5  1.63747e-05
  6  15.8417
  7  8.14102e-06
  8  5.5416
  9  8.90153e-07
  10  13.6359
  11  0.966759
  12  1.27352e-05
  13  5.84949
  14  8.22313
  15  6.88515
  16  59.7451
  17  64.615
  18  7.4871
  19  3.44311
  20  1.20025e-06
  21  5.65144
  22  86.8114
  23  41.9024
  24  0.000250954
  25  0.00136653
  26  0.247464
  27  0.240456
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  5.794e+01  6.462e+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:  6.077e-01  2.405e-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.308e+00  2.475e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.08
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.64e-08 +/- 5.17e-08
Energy Flux (Fixed Index): 1.27e-05 +/- 1.42e-05

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

Saving results to:
/scratch/kocevski/912619/likelihoodResults_270432001_270691201_4FGL_J2327.5-3259_daily_bin120.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) = 5151.36255015
delta logL = 0.29490544848

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5151.35026541
delta logL = 0.307190183053

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    31.093       1.0000         .10000E-03   10000.    
     2 'Index     '    3.3568       1.0000          .0000       10.000    
     3 'Normalizat'    1.2692       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63762       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=   5151.350     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      299 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     31.069        80.283        .71855E-04   -.13135E-03
   2  Index         3.3580        1.7270        .69910E-02   -.68166E-04
   3  Normalizat    1.2690        .23544        .22311E-03    .16497E-03
   4  Prefactor     .63768        .23942        .31607E-03    .99132E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 31.0688
  Index      = 3.35796
  Normalizat = 1.26902
  Prefactor  = 0.637678
 **********
 **   18 **HESSE 
 **********

 FCN=   5151.350     FROM HESSE     STATUS=OK            25 CALLS      324 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     31.069        57.086        .14371E-04   -1.4593    
   2  Index         3.3580        1.2379        .27964E-03   -.33462    
   3  Normalizat    1.2690        .23486        .44622E-04   -.84496    
   4  Prefactor     .63768        .23785        .12643E-04   -1.0602    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.08925e-10
Minuit parameter uncertainties:
  1  57.1868
  2  1.25252
  3  0.235056
  4  0.238229
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/912619': 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) = 5151.35026445
delta logL = 0.307191140997

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  3.107e+01  5.719e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.358e+00  1.253e+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:  6.377e-01  2.382e-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.269e+00  2.351e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.72
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 3.36 +/- 1.25
Photon Flux (Free Index): 7.46e-08 +/- 6.76e-08
Energy Flux (Free Index): 1.29e-05 +/- 1.16e-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/912619/cmap_HighResolution_270432001_270691201_4FGL_J2327.5-3259_daily_bin120.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.18e-02', comment='SUCCESS', photon_flux='4.64e-08', energy_flux2='1.29e-05', photon_flux_error='5.17e-08', dlogl='3.07e-01', energy_flux='1.27e-05', photon_flux2='7.46e-08', job_status='DONE', time_completed='2021-09-29 20:07:07.035855', photon_index_error2='1.25', photon_index2='3.36', ts='1.08', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', photon_flux_upper_limit='1.51e-07', energy_flux_error2='1.16e-05', EG='1.31', time_epoch_completed='1632971227.04', return_code='0', job_id='912619', GAL2='0.64', EG2='1.27', return_code2='0', energy_flux_error='1.42e-05', photon_flux_error2='6.76e-08', ts2='1.72', photon_index='2.56' WHERE bin_id='120' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:07:07 PDT 2021


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

Job <4FGL_J2327.5-3259_daily_bin120> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Sep 29 19:55:23 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 19:55:25 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:55:25 2021
Terminated at Wed Sep 29 20:07:07 2021
Results reported at Wed Sep 29 20:07:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin120 351.883 -32.9869 270432001 270691201 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 :                                   687.14 sec.
    Max Memory :                                 1030 MB
    Average Memory :                             341.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   702 sec.
    Turnaround time :                            704 sec.

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

