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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1268
RA = 351.883, Dec = -32.9869
tmin = 567993601, tmax = 568252801
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='917612', job_status='RUN', time_executed='2021-09-29 20:12:37.222472', time_epoch_executed='1632971557.22' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1268'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917612

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917612/ft1_4FGL_J2327.5-3259_daily_bin1268.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917612/ft2_4FGL_J2327.5-3259_daily_bin1268.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917612/ft1_4FGL_J2327.5-3259_daily_bin1268.fits outfile=/scratch/kocevski/917612/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1268.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=567993601.0 tmax=568252801.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 2.34
user 2.15
sys 0.18

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917612/ft1_filtered_4FGL_J2327.5-3259_daily_bin1268.fits" evtable="EVENTS" scfile=/scratch/kocevski/917612/ft2_4FGL_J2327.5-3259_daily_bin1268.fits sctable="SC_DATA" outfile=/scratch/kocevski/917612/ltcube_567993601_568252801_4FGL_J2327.5-3259_daily_bin1268.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/917612/ft2_4FGL_J2327.5-3259_daily_bin1268.fits
.....................!
real 17.36
user 17.00
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917612/ft1_filtered_4FGL_J2327.5-3259_daily_bin1268.fits evtable="EVENTS" scfile=/scratch/kocevski/917612/ft2_4FGL_J2327.5-3259_daily_bin1268.fits sctable="SC_DATA" expcube=/scratch/kocevski/917612/ltcube_567993601_568252801_4FGL_J2327.5-3259_daily_bin1268.fits outfile=/scratch/kocevski/917612/expmap_567993601_568252801_4FGL_J2327.5-3259_daily_bin1268.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/917612/ltcube_567993601_568252801_4FGL_J2327.5-3259_daily_bin1268.fits
.....................!
real 190.97
user 186.00
sys 4.66

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/917612/ft1_filtered_4FGL_J2327.5-3259_daily_bin1268.fits scfile=/scratch/kocevski/917612/ft2_4FGL_J2327.5-3259_daily_bin1268.fits outfile=/scratch/kocevski/917612/cmap_567993601_568252801_4FGL_J2327.5-3259_daily_bin1268.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917612/ft1_filtered_4FGL_J2327.5-3259_daily_bin1268.fits scfile=/scratch/kocevski/917612/ft2_4FGL_J2327.5-3259_daily_bin1268.fits outfile=/scratch/kocevski/917612/cmap_HighResolution_567993601_568252801_4FGL_J2327.5-3259_daily_bin1268.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.55
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917612/ft1_filtered_4FGL_J2327.5-3259_daily_bin1268.fits evtable="EVENTS" scfile=/scratch/kocevski/917612/ft2_4FGL_J2327.5-3259_daily_bin1268.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917612/Model_4FGL_J2327.5-3259_daily_bin1268.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/917612/ft1_filtered_4FGL_J2327.5-3259_daily_bin1268.fits.....................!
real 40.61
user 39.32
sys 1.21

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.3562       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.2153       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.5046       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.307       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10225E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    13.297       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10109E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7696       1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.104       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .20433E-02   1.0000         .10000E-03   10000.    
    14 'norm      '    15.199       1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.492       1.0000         .10000E-03   10000.    
    17 'Prefactor '    12.615       1.0000         .10000E-03   10000.    
    18 'norm      '    .10165E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .68523       1.0000         .10000E-03   10000.    
    20 'Prefactor '    40.900       1.0000         .10000E-03   10000.    
    21 'norm      '    .10144E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10268E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    25.954       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    .73851       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2543       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=   5162.624     FROM MIGRAD    STATUS=CONVERGED    668 CALLS     3307 TOTAL
                     EDM=   .62E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.3460        257.59        .39734E-05   -.74032E-05
   2  Prefactor     4.2146        3.6076        .55253E-07    .42633E-05
   3  Prefactor     .10000E-03    8.8990       -.61652E-06** at limit **
   4  Prefactor     1.4986        60.759        .17144E-04    .82532E-04
   5  Prefactor     16.312        31.183       -.79225E-06   -.25006E-04
   6  Prefactor     .10000E-03    9.6536        .49748E-06** at limit **
   7  Prefactor     .10007E-03    9.5654        .39693E-05** at limit **
   8  norm          .10000E-03    1.2542        .35329E-08** at limit **
   9  Prefactor     13.302        12.655        .81323E-07   -.16949E-04
  10  Prefactor     .10000E-03    4.7825       -.20434E-08** at limit **
  11  norm          1.7703        .84327        .42653E-07   -.35572E-03
  12  Prefactor     14.088        60.594        .24564E-05   -.33724E-04
  13  Prefactor     .10010E-03    11.087        .78066E-06** at limit **
  14  norm          15.200        8.3262       -.15045E-06   -.33008E-05
  15  norm          .10000E-03    7.9467        .35831E-06** at limit **
  16  Prefactor     12.462        33.973        .26067E-05   -.63824E-04
  17  Prefactor     12.623        40.477       -.85640E-06    .82041E-05
  18  norm          .10000E-03    2.5452       -.40639E-06** at limit **
  19  norm          .68341        3.1411       -.78753E-06   -.63479E-04
  20  Prefactor     40.860        36.086        .42929E-05    .18734E-03
  21  norm          .10000E-03    3.0180       -.33477E-06** at limit **
  22  Prefactor     .10000E-03    46.067       -.19806E-05** at limit **
  23  Prefactor     25.954        30.197        .29659E-07   -.20102E-05
  24  Prefactor     .10000E-03    6.7885        .14630E-06** at limit **
  25  Prefactor     .10000E-03    36.441        .16887E-05** at limit **
  26  Normalizat    .73855        .19089       -.28528E-07    .53986E-04
  27  Prefactor     1.2544        .20658       -.65638E-06    .21811E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.34601
  Prefactor  = 4.21456
  Prefactor  = 0.0001
  Prefactor  = 1.4986
  Prefactor  = 16.3118
  Prefactor  = 0.0001
  Prefactor  = 0.000100075
  norm       = 0.0001
  Prefactor  = 13.3023
  Prefactor  = 0.0001
  norm       = 1.77031
  Prefactor  = 14.0876
  Prefactor  = 0.000100099
  norm       = 15.1998
  norm       = 0.0001
  Prefactor  = 12.4624
  Prefactor  = 12.6226
  norm       = 0.0001
  norm       = 0.683406
  Prefactor  = 40.8597
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 25.9539
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.738547
  Prefactor  = 1.25438
 **********
 **   18 **HESSE 
 **********

 FCN=   5162.624     FROM HESSE     STATUS=OK           494 CALLS     3801 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.3460        257.52        .22090E-03   -1.5342    
   2  Prefactor     4.2146        3.6070        .12073E-03   -1.5297    
   3  Prefactor     .10000E-03    8.8911        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.4986        64.144        .17447E-02   -1.5463    
   5  Prefactor     16.312        31.173        .99181E-04   -1.4900    
   6  Prefactor     .10000E-03    9.7068        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10007E-03    28.767        .36891E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.2567        .78554E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     13.302        12.654        .10984E-03   -1.4978    
  10  Prefactor     .10000E-03    4.8043        .15310E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7703        .79197        .38641E-04   -1.5442    
  12  Prefactor     14.088        60.322        .10665E-03   -1.4957    
  13  Prefactor     .10010E-03    109.06        .41141E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          15.200        8.3284        .10274E-03   -1.4928    
  15  norm          .10000E-03    8.0597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     12.462        33.827        .11334E-03   -1.5002    
  17  Prefactor     12.623        40.640        .11278E-03   -1.4997    
  18  norm          .10000E-03    2.5604        .11182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .68341        4.8763        .21643E-02   -1.5543    
  20  Prefactor     40.860        36.160        .62679E-04   -1.4429    
  21  norm          .10000E-03    3.0630        .12182E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    46.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     25.954        30.194        .78633E-04   -1.4689    
  24  Prefactor     .10000E-03    6.9669        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    36.493        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    .73855        .22808        .26590E-03   -1.0239    
  27  Prefactor     1.2544        .24871        .23442E-03   -.84674    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.15413e-08
Minuit parameter uncertainties:
  1  58.9722
  2  3.60718
  3  4.75924e-05
  4  19.6306
  5  31.2043
  6  2.74235e-05
  7  0.00293701
  8  4.56502e-07
  9  12.6566
  10  7.47547e-06
  11  0.791973
  12  58.4022
  13  0.00659871
  14  8.329
  15  1.39783e-05
  16  33.8789
  17  40.7292
  18  3.01037e-05
  19  3.65118
  20  36.1792
  21  2.62403e-05
  22  0.000202279
  23  30.2114
  24  2.35668e-05
  25  0.000207869
  26  0.228379
  27  0.248946
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.262e+01  4.073e+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:  1.254e+00  2.489e-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:  7.385e-01  2.284e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/917612/likelihoodResults_567993601_568252801_4FGL_J2327.5-3259_daily_bin1268.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5161.22413549
delta logL = 1.40008303772

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5161.16339524
delta logL = 1.46082328825

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .13494       1.0000         .10000E-03   10000.    
     2 'Index     '    6.6971       1.0000          .0000       10.000    
     3 'Normalizat'    .64017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3313       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.

 FCN=   5161.163     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      335 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13189        1.6682        .39990E-02   -.86241E-03
   2  Index         6.7097        3.2572        .13394        .62674E-04
   3  Normalizat    .64029        .50699E-01    .64212E-01    .25004E-04
   4  Prefactor     1.3312        .56811E-01    .51677E-01   -.12108E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.131892
  Index      = 6.70974
  Normalizat = 0.640292
  Prefactor  = 1.33124
 **********
 **   18 **HESSE 
 **********

 FCN=   5161.163     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      368 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13189        3.3664        .18146E-03   -1.5635    
   2  Index         6.7097        7.7870        .53792E-02    .34899    
   3  Normalizat    .64029        .17312        .28411E-03   -1.0630    
   4  Prefactor     1.3312        .19175        .22846E-03   -.82383    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.63426e-09
Minuit parameter uncertainties:
  1  1.33226
  2  5.79009
  3  0.173264
  4  0.191847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917612': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5161.16338761
delta logL = 1.46083091636

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.319e-01  1.332e+00  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  6.710e+00  5.790e+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:  1.331e+00  1.918e-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:  6.403e-01  1.733e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.25
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 6.71 +/- 5.79
Photon Flux (Free Index): 7.39e-08 +/- 5.15e-08
Energy Flux (Free Index): 8.92e-06 +/- 6.94e-06

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/917612/cmap_HighResolution_567993601_568252801_4FGL_J2327.5-3259_daily_bin1268.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', comment='SUCCESS', energy_flux2='8.92e-06', dlogl='1.46e+00', photon_flux2='7.39e-08', job_status='DONE', time_completed='2021-09-29 20:24:23.974951', photon_index_error2='5.79', photon_index2='6.71', ts='0.11', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='9.24e-08', energy_flux_error2='6.94e-06', EG='0.74', time_epoch_completed='1632972263.98', return_code='0', job_id='917612', GAL2='1.33', EG2='0.64', return_code2='102', photon_flux_error2='5.15e-08', ts2='3.25', photon_index='2.56' WHERE bin_id='1268' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:24:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 917612: <4FGL_J2327.5-3259_daily_bin1268> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1268> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:11:04 2021
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:11:05 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:11:05 2021
Terminated at Wed Sep 29 20:24:24 2021
Results reported at Wed Sep 29 20:24:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1268 351.883 -32.9869 567993601 568252801 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 :                                   695.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             268.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            800 sec.

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

