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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1484
RA = 351.883, Dec = -32.9869
tmin = 623980801, tmax = 624240001
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='918866', job_status='RUN', time_executed='2021-09-29 20:15:47.484918', time_epoch_executed='1632971747.48' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1484'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/918866

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/918866/ft1_4FGL_J2327.5-3259_daily_bin1484.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/918866/ft2_4FGL_J2327.5-3259_daily_bin1484.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/918866/ft1_4FGL_J2327.5-3259_daily_bin1484.fits outfile=/scratch/kocevski/918866/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1484.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=623980801.0 tmax=624240001.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.07
user 3.84
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/918866/ft1_filtered_4FGL_J2327.5-3259_daily_bin1484.fits" evtable="EVENTS" scfile=/scratch/kocevski/918866/ft2_4FGL_J2327.5-3259_daily_bin1484.fits sctable="SC_DATA" outfile=/scratch/kocevski/918866/ltcube_623980801_624240001_4FGL_J2327.5-3259_daily_bin1484.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/918866/ft2_4FGL_J2327.5-3259_daily_bin1484.fits
.....................!
real 11.75
user 11.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/918866/ft1_filtered_4FGL_J2327.5-3259_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/918866/ft2_4FGL_J2327.5-3259_daily_bin1484.fits sctable="SC_DATA" expcube=/scratch/kocevski/918866/ltcube_623980801_624240001_4FGL_J2327.5-3259_daily_bin1484.fits outfile=/scratch/kocevski/918866/expmap_623980801_624240001_4FGL_J2327.5-3259_daily_bin1484.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/918866/ltcube_623980801_624240001_4FGL_J2327.5-3259_daily_bin1484.fits
.....................!
real 190.59
user 185.28
sys 4.99

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/918866/ft1_filtered_4FGL_J2327.5-3259_daily_bin1484.fits scfile=/scratch/kocevski/918866/ft2_4FGL_J2327.5-3259_daily_bin1484.fits outfile=/scratch/kocevski/918866/cmap_623980801_624240001_4FGL_J2327.5-3259_daily_bin1484.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.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/918866/ft1_filtered_4FGL_J2327.5-3259_daily_bin1484.fits scfile=/scratch/kocevski/918866/ft2_4FGL_J2327.5-3259_daily_bin1484.fits outfile=/scratch/kocevski/918866/cmap_HighResolution_623980801_624240001_4FGL_J2327.5-3259_daily_bin1484.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.53
user 0.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/918866/ft1_filtered_4FGL_J2327.5-3259_daily_bin1484.fits evtable="EVENTS" scfile=/scratch/kocevski/918866/ft2_4FGL_J2327.5-3259_daily_bin1484.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/918866/Model_4FGL_J2327.5-3259_daily_bin1484.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/918866/ft1_filtered_4FGL_J2327.5-3259_daily_bin1484.fits.....................!
real 34.44
user 33.20
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.6169       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1751       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.468       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.8002       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .60459E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    6.3428       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.7835       1.0000         .10000E-03   10000.    
    14 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .61332       1.0000         .10000E-03   10000.    
    17 'Prefactor '    45.327       1.0000         .10000E-03   10000.    
    18 'norm      '    4.3522       1.0000         .10000E-03   10000.    
    19 'norm      '    1.7071       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10976E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    65.094       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .97721       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .87234       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=   4001.122     FROM MIGRAD    STATUS=CONVERGED    640 CALLS     3288 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    34.741        .29508E-09** at limit **
   2  Prefactor     9.6128        7.5826        .65585E-06   -.12415E-03
   3  Prefactor     4.2150        109.42       -.38935E-05    .36753E-04
   4  Prefactor     .10000E-03    43.507       -.52650E-06** at limit **
   5  Prefactor     17.466        39.660       -.15065E-06   -.25495E-05
   6  Prefactor     6.8002        15.197        .37549E-05   -.12982E-03
   7  Prefactor     .10000E-03    3.2645       -.31632E-07** at limit **
   8  norm          .10000E-03    4.6527       -.47124E-07** at limit **
   9  Prefactor     .10000E-03    12.653       -.14530E-06** at limit **
  10  Prefactor     .10000E-03    15.576       -.24477E-05** at limit **
  11  norm          6.3409        1.5439        .10050E-06    .30569E-02
  12  Prefactor     .10000E-03    34.182       -.33260E-07** at limit **
  13  Prefactor     3.7719        22.956        .21008E-05    .16688E-03
  14  norm          .10000E-03    2.9767       -.37571E-07** at limit **
  15  norm          .10000E-03    3.9476        .40308E-07** at limit **
  16  Prefactor     .61357        31.982       -.13195E-06   -.26140E-04
  17  Prefactor     45.342        50.142        .24853E-06    .39252E-04
  18  norm          4.3531        5.5163        .20647E-06   -.85105E-05
  19  norm          1.7069        2.9353        .15462E-06   -.27996E-04
  20  Prefactor     .10000E-03    14.125        .13900E-06** at limit **
  21  norm          .10000E-03    4.4583       -.15413E-06** at limit **
  22  Prefactor     65.126        111.91        .58599E-06    .20857E-04
  23  Prefactor     .10000E-03    16.769        .54856E-07** at limit **
  24  Prefactor     .10000E-03    3.4264        .10862E-06** at limit **
  25  Prefactor     .10000E-03    20.165        .81352E-07** at limit **
  26  Normalizat    .97716        .22798        .27405E-06    .11443E-03
  27  Prefactor     .87230        .23330       -.65468E-06    .10237E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 9.61285
  Prefactor  = 4.215
  Prefactor  = 0.0001
  Prefactor  = 17.4658
  Prefactor  = 6.80021
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 6.34095
  Prefactor  = 0.0001
  Prefactor  = 3.77191
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.613573
  Prefactor  = 45.3422
  norm       = 4.35312
  norm       = 1.70685
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 65.1259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.97716
  Prefactor  = 0.872304
 **********
 **   18 **HESSE 
 **********

 FCN=   4001.122     FROM HESSE     STATUS=OK           484 CALLS     3772 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    34.766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     9.6128        7.4458        .12037E-03   -1.5088    
   3  Prefactor     4.2150        103.61        .19725E-03   -1.5297    
   4  Prefactor     .10000E-03    43.756        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.466        39.698        .95830E-04   -1.4872    
   6  Prefactor     6.8002        14.570        .76931E-03   -1.5186    
   7  Prefactor     .10000E-03    3.2677        .11162E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.7845        .26608E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    12.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    43.350        .42100E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          6.3409        1.5066        .31889E-04   -1.5204    
  12  Prefactor     .10000E-03    34.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.7719        22.478        .20754E-03   -1.5320    
  14  norm          .10000E-03    2.9947        .10654E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.9675        .12272E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .61357        873.09        .58112E-02   -1.5551    
  17  Prefactor     45.342        50.186        .59552E-04   -1.4360    
  18  norm          4.3531        6.7403        .13719E-03   -1.5291    
  19  norm          1.7069        2.9029        .13772E-03   -1.5447    
  20  Prefactor     .10000E-03    14.120        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    4.5174        .12984E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     65.126        111.86        .49742E-04   -1.4092    
  23  Prefactor     .10000E-03    16.769        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    3.4459        .11430E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    20.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .97716        .27917        .24167E-03   -.93800    
  27  Prefactor     .87230        .28219        .27038E-03   -.97116    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99066e-10
Minuit parameter uncertainties:
  1  4.95446e-05
  2  7.44649
  3  41.877
  4  3.13245e-05
  5  39.7581
  6  14.5773
  7  1.36417e-06
  8  2.86385e-06
  9  3.12787e-05
  10  0.000309221
  11  1.50662
  12  3.97343e-05
  13  18.4259
  14  1.47469e-07
  15  3.77001e-07
  16  46.9899
  17  50.2331
  18  6.74146
  19  2.90314
  20  3.10187e-05
  21  3.31854e-06
  22  112.226
  23  1.17733e-05
  24  3.93014e-06
  25  7.66899e-05
  26  0.279586
  27  0.282662
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  4.534e+01  5.023e+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:  8.723e-01  2.827e-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:  9.772e-01  2.796e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.44
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 3.63e-08 +/- 4.02e-08
Energy Flux (Fixed Index): 9.93e-06 +/- 1.10e-05

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

Saving results to:
/scratch/kocevski/918866/likelihoodResults_623980801_624240001_4FGL_J2327.5-3259_daily_bin1484.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) = 4001.11587938
delta logL = 0.00642958633352

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4001.11383458
delta logL = 0.00847438498022

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    42.043       1.0000         .10000E-03   10000.    
     2 'Index     '    2.6782       1.0000          .0000       10.000    
     3 'Normalizat'    .97296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87558       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=   4001.114     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      256 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.041        56.051        .61824E-04    .16171E-03
   2  Index         2.6781        .97302        .83581E-02    .67689E-04
   3  Normalizat    .97326        .25957        .24210E-03   -.11507E-03
   4  Prefactor     .87526        .27459        .26998E-03   -.10761E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.0408
  Index      = 2.67811
  Normalizat = 0.973265
  Prefactor  = 0.875258
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.041        54.191        .12365E-04   -1.4410    
   2  Index         2.6781        .94066        .33432E-03   -.48293    
   3  Normalizat    .97326        .25983        .96840E-05   -.93932    
   4  Prefactor     .87526        .27485        .10799E-04   -.97011    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.1407e-10
Minuit parameter uncertainties:
  1  54.255
  2  0.947885
  3  0.260172
  4  0.275281
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/918866': 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) = 4001.11383387
delta logL = 0.00847509680352

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  4.204e+01  5.425e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.678e+00  9.479e-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:  8.753e-01  2.753e-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:  9.733e-01  2.602e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.45
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 2.68 +/- 0.95
Photon Flux (Free Index): 3.93e-08 +/- 4.76e-08
Energy Flux (Free Index): 9.63e-06 +/- 1.07e-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/918866/cmap_HighResolution_623980801_624240001_4FGL_J2327.5-3259_daily_bin1484.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.07e-02', comment='SUCCESS', photon_flux='3.63e-08', energy_flux2='9.63e-06', photon_flux_error='4.02e-08', dlogl='8.48e-03', energy_flux='9.93e-06', photon_flux2='3.93e-08', job_status='DONE', time_completed='2021-09-29 20:26:15.012259', photon_index_error2='0.95', photon_index2='2.68', ts='1.44', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='1.37e-07', energy_flux_error2='1.07e-05', EG='0.98', time_epoch_completed='1632972375.01', return_code='0', job_id='918866', GAL2='0.88', EG2='0.97', return_code2='0', energy_flux_error='1.10e-05', photon_flux_error2='4.76e-08', ts2='1.45', photon_index='2.56' WHERE bin_id='1484' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:26:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 918866: <4FGL_J2327.5-3259_daily_bin1484> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1484 351.883 -32.9869 623980801 624240001 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 :                                   603.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             311.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   648 sec.
    Turnaround time :                            649 sec.

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

