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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1096
RA = 351.883, Dec = -32.9869
tmin = 523411201, tmax = 523670401
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='917336', job_status='RUN', time_executed='2021-09-29 20:14:46.175210', time_epoch_executed='1632971686.18' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1096'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/917336

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/917336/ft1_4FGL_J2327.5-3259_daily_bin1096.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/917336/ft2_4FGL_J2327.5-3259_daily_bin1096.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/917336/ft1_4FGL_J2327.5-3259_daily_bin1096.fits outfile=/scratch/kocevski/917336/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1096.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=523411201.0 tmax=523670401.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 3.55
user 3.32
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/917336/ft1_filtered_4FGL_J2327.5-3259_daily_bin1096.fits" evtable="EVENTS" scfile=/scratch/kocevski/917336/ft2_4FGL_J2327.5-3259_daily_bin1096.fits sctable="SC_DATA" outfile=/scratch/kocevski/917336/ltcube_523411201_523670401_4FGL_J2327.5-3259_daily_bin1096.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/917336/ft2_4FGL_J2327.5-3259_daily_bin1096.fits
.....................!
real 11.74
user 11.39
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/917336/ft1_filtered_4FGL_J2327.5-3259_daily_bin1096.fits evtable="EVENTS" scfile=/scratch/kocevski/917336/ft2_4FGL_J2327.5-3259_daily_bin1096.fits sctable="SC_DATA" expcube=/scratch/kocevski/917336/ltcube_523411201_523670401_4FGL_J2327.5-3259_daily_bin1096.fits outfile=/scratch/kocevski/917336/expmap_523411201_523670401_4FGL_J2327.5-3259_daily_bin1096.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/917336/ltcube_523411201_523670401_4FGL_J2327.5-3259_daily_bin1096.fits
.....................!
real 191.36
user 186.09
sys 4.89

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/917336/ft1_filtered_4FGL_J2327.5-3259_daily_bin1096.fits scfile=/scratch/kocevski/917336/ft2_4FGL_J2327.5-3259_daily_bin1096.fits outfile=/scratch/kocevski/917336/cmap_523411201_523670401_4FGL_J2327.5-3259_daily_bin1096.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/917336/ft1_filtered_4FGL_J2327.5-3259_daily_bin1096.fits scfile=/scratch/kocevski/917336/ft2_4FGL_J2327.5-3259_daily_bin1096.fits outfile=/scratch/kocevski/917336/cmap_HighResolution_523411201_523670401_4FGL_J2327.5-3259_daily_bin1096.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/917336/ft1_filtered_4FGL_J2327.5-3259_daily_bin1096.fits evtable="EVENTS" scfile=/scratch/kocevski/917336/ft2_4FGL_J2327.5-3259_daily_bin1096.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/917336/Model_4FGL_J2327.5-3259_daily_bin1096.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/917336/ft1_filtered_4FGL_J2327.5-3259_daily_bin1096.fits.....................!
real 35.96
user 34.57
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    45.997       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.425       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    11.908       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.6738       1.0000         .10000E-03   10000.    
    12 'Prefactor '    145.56       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10910E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    11.402       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10636E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.021       1.0000         .10000E-03   10000.    
    21 'norm      '    14.191       1.0000         .10000E-03   10000.    
    22 'Prefactor '    37.784       1.0000         .10000E-03   10000.    
    23 'Prefactor '    15.363       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0188       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .73507       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=   4175.573     FROM MIGRAD    STATUS=CONVERGED    644 CALLS     3297 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.647       -.17078E-05** at limit **
   2  Prefactor     .10000E-03    1.6406       -.27174E-07** at limit **
   3  Prefactor     .10000E-03    9.3415       -.18401E-07** at limit **
   4  Prefactor     45.999        32.180        .41495E-06   -.24067E-04
   5  Prefactor     .10000E-03    12.647        .51830E-05** at limit **
   6  Prefactor     10.426        20.505        .60218E-08    .20260E-04
   7  Prefactor     .10000E-03    3.3589        .10640E-06** at limit **
   8  norm          11.908        6.5876       -.87525E-06    .38690E-03
   9  Prefactor     .10000E-03    13.102       -.38557E-05** at limit **
  10  Prefactor     .10000E-03    13.792       -.67177E-05** at limit **
  11  norm          1.6734        .88490        .82441E-07    .77947E-03
  12  Prefactor     145.58        97.804        .99815E-05   -.11628E-03
  13  Prefactor     .10000E-03    12.216        .86191E-06** at limit **
  14  norm          .10000E-03    1.7839       -.17215E-07** at limit **
  15  norm          11.403        11.568        .10744E-06   -.64328E-04
  16  Prefactor     .10000E-03    15.190        .53502E-05** at limit **
  17  Prefactor     .10000E-03    46.631        .17335E-05** at limit **
  18  norm          .10000E-03    1.8573       -.23828E-07** at limit **
  19  norm          .10002E-03    3.3768       -.28000E-05** at limit **
  20  Prefactor     13.043        38.508        .27827E-04    .12329E-03
  21  norm          14.192        6.5213        .62590E-06   -.24214E-03
  22  Prefactor     37.766        107.02       -.27692E-04    .68207E-04
  23  Prefactor     15.360        37.754       -.22749E-05    .25334E-04
  24  Prefactor     .10000E-03    1.7621        .38196E-08** at limit **
  25  Prefactor     .10000E-03    14.817        .10848E-05** at limit **
  26  Normalizat    1.0184        .20822       -.15823E-05    .32595E-03
  27  Prefactor     .73535        .21335       -.46293E-06    .16640E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 45.9991
  Prefactor  = 0.0001
  Prefactor  = 10.4258
  Prefactor  = 0.0001
  norm       = 11.9079
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 1.67343
  Prefactor  = 145.577
  Prefactor  = 0.000100003
  norm       = 0.0001
  norm       = 11.4028
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.00010002
  Prefactor  = 13.0433
  norm       = 14.1918
  Prefactor  = 37.7663
  Prefactor  = 15.3601
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.01844
  Prefactor  = 0.735347
 **********
 **   18 **HESSE 
 **********

 FCN=   4175.573     FROM HESSE     STATUS=OK           482 CALLS     3779 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.648        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.6537        .80793E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    9.3519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     45.999        32.168        .59118E-04   -1.4350    
   5  Prefactor     .10000E-03    12.596        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.426        20.649        .12409E-03   -1.5062    
   7  Prefactor     .10000E-03    3.3632        .11566E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          11.908        6.5850        .11486E-03   -1.5018    
   9  Prefactor     .10000E-03    13.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    13.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.6734        .84490        .39187E-04   -1.5449    
  12  Prefactor     145.58        97.083        .16699E-03   -1.3289    
  13  Prefactor     .10000E-03    111.32        .40709E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.7842        .84289E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          11.403        11.567        .11864E-03   -1.5032    
  16  Prefactor     .10000E-03    15.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    46.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    1.8612        .85937E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10002E-03    6.7959        .22482E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.043        38.728        .11100E-03   -1.4985    
  21  norm          14.192        6.5071        .10632E-03   -1.4954    
  22  Prefactor     37.766        106.91        .65202E-04   -1.4478    
  23  Prefactor     15.360        37.753        .10218E-03   -1.4924    
  24  Prefactor     .10000E-03    1.7641        .83761E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    14.821        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0184        .25036        .22689E-03   -.92415    
  27  Prefactor     .73535        .25463        .27847E-03   -1.0216    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.78166e-09
Minuit parameter uncertainties:
  1  7.25772e-05
  2  6.12976e-06
  3  9.49621e-06
  4  32.1806
  5  0.000144255
  6  20.6634
  7  2.94343e-06
  8  6.58535
  9  0.000160012
  10  0.000279158
  11  0.844904
  12  97.1894
  13  0.00107436
  14  6.57159e-07
  15  11.569
  16  0.000166252
  17  3.50185e-05
  18  4.2314e-06
  19  0.000741648
  20  38.8028
  21  6.50742
  22  107.455
  23  37.8118
  24  3.12628e-06
  25  1.38131e-05
  26  0.250653
  27  0.255031
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  3.502e-05  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:  7.353e-01  2.550e-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.018e+00  2.507e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/917336/likelihoodResults_523411201_523670401_4FGL_J2327.5-3259_daily_bin1096.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) = 4175.57332041
delta logL = -0.000101657326013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4175.57321828
delta logL = 4.77631147078e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10732E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3517       1.0000          .0000       10.000    
     3 'Normalizat'    1.0184       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73535       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=   4175.573     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      255 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    .51497        .90712E-01** at limit **
   2  Index         3.3839        6.6593        .50000       -.35584E-05
   3  Normalizat    1.0184        .86109E-03    .43589E-01   -.12679E-03
   4  Prefactor     .73535        .91657E-03    .62952E-01   -.53890E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 3.38393
  Normalizat = 1.01844
  Prefactor  = 0.73535
 **********
 **   18 **HESSE 
 **********

 FCN=   4175.573     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      288 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    244.03        .50863E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.3839        7.5983        .50000       -.32912    
   3  Normalizat    1.0184        .78739E-02    .22690E-03   -.92415    
   4  Prefactor     .73535        .83720E-02    .27847E-03   -1.0216    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.99451e-07
Minuit parameter uncertainties:
  1  0.000656342
  2  589.26
  3  0.00787387
  4  0.008372
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/917336': 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) = 4175.57321821
delta logL = 5.42002453585e-07

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  6.563e-04  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.384e+00  5.893e+02  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:  7.353e-01  8.372e-03  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.018e+00  7.874e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/917336/cmap_HighResolution_523411201_523670401_4FGL_J2327.5-3259_daily_bin1096.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.67e-03', job_status='DONE', photon_flux_upper_limit='8.55e-08', time_completed='2021-09-29 20:26:48.846693', job_id='917336', GAL2='0.74', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1632972408.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='5.42e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1096' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:26:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0240>
Subject: Job 917336: <4FGL_J2327.5-3259_daily_bin1096> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1096> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:10:39 2021
Job was executed on host(s) <bullet0240>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:10:42 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:10:42 2021
Terminated at Wed Sep 29 20:26:49 2021
Results reported at Wed Sep 29 20:26:49 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1096 351.883 -32.9869 523411201 523670401 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 :                                   614.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             212.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            970 sec.

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

