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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin525
RA = 351.883, Dec = -32.9869
tmin = 375408001, tmax = 375667201
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='914322', job_status='RUN', time_executed='2021-09-29 20:04:41.817059', time_epoch_executed='1632971081.82' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='525'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/914322

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/914322/ft1_4FGL_J2327.5-3259_daily_bin525.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/914322/ft2_4FGL_J2327.5-3259_daily_bin525.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/914322/ft1_4FGL_J2327.5-3259_daily_bin525.fits outfile=/scratch/kocevski/914322/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin525.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=375408001.0 tmax=375667201.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.47
user 3.25
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/914322/ft1_filtered_4FGL_J2327.5-3259_daily_bin525.fits" evtable="EVENTS" scfile=/scratch/kocevski/914322/ft2_4FGL_J2327.5-3259_daily_bin525.fits sctable="SC_DATA" outfile=/scratch/kocevski/914322/ltcube_375408001_375667201_4FGL_J2327.5-3259_daily_bin525.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/914322/ft2_4FGL_J2327.5-3259_daily_bin525.fits
.....................!
real 11.76
user 11.43
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/914322/ft1_filtered_4FGL_J2327.5-3259_daily_bin525.fits evtable="EVENTS" scfile=/scratch/kocevski/914322/ft2_4FGL_J2327.5-3259_daily_bin525.fits sctable="SC_DATA" expcube=/scratch/kocevski/914322/ltcube_375408001_375667201_4FGL_J2327.5-3259_daily_bin525.fits outfile=/scratch/kocevski/914322/expmap_375408001_375667201_4FGL_J2327.5-3259_daily_bin525.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/914322/ltcube_375408001_375667201_4FGL_J2327.5-3259_daily_bin525.fits
.....................!
real 189.82
user 185.08
sys 4.43

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/914322/ft1_filtered_4FGL_J2327.5-3259_daily_bin525.fits scfile=/scratch/kocevski/914322/ft2_4FGL_J2327.5-3259_daily_bin525.fits outfile=/scratch/kocevski/914322/cmap_375408001_375667201_4FGL_J2327.5-3259_daily_bin525.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/914322/ft1_filtered_4FGL_J2327.5-3259_daily_bin525.fits scfile=/scratch/kocevski/914322/ft2_4FGL_J2327.5-3259_daily_bin525.fits outfile=/scratch/kocevski/914322/cmap_HighResolution_375408001_375667201_4FGL_J2327.5-3259_daily_bin525.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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/914322/ft1_filtered_4FGL_J2327.5-3259_daily_bin525.fits evtable="EVENTS" scfile=/scratch/kocevski/914322/ft2_4FGL_J2327.5-3259_daily_bin525.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/914322/Model_4FGL_J2327.5-3259_daily_bin525.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/914322/ft1_filtered_4FGL_J2327.5-3259_daily_bin525.fits.....................!
real 38.01
user 36.64
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    13.867       1.0000         .10000E-03   10000.    
     4 'Prefactor '    44.181       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10297E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.491       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    12.977       1.0000         .10000E-03   10000.    
    11 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    9.8309       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    22.185       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    72.122       1.0000         .10000E-03   10000.    
    18 'norm      '    5.4453       1.0000         .10000E-03   10000.    
    19 'norm      '    .29386       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    197.02       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10030E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    41.654       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .73521       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.2212       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=   4404.065     FROM MIGRAD    STATUS=CONVERGED    656 CALLS     3364 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    46.341        .97035E-07** at limit **
   2  Prefactor     .10000E-03    4.9916        .80937E-07** at limit **
   3  Prefactor     13.867        24.598        .50977E-07    .95466E-05
   4  Prefactor     44.187        28.423        .99073E-07    .52972E-05
   5  Prefactor     .10001E-03    97.062        .17506E-04** at limit **
   6  Prefactor     14.493        16.594       -.42642E-07   -.27902E-04
   7  Prefactor     .10000E-03    1.9933       -.60580E-08** at limit **
   8  norm          .10000E-03    2.8705        .72018E-07** at limit **
   9  Prefactor     .10000E-03    7.6620        .12845E-06** at limit **
  10  Prefactor     12.961        12.799       -.96130E-06   -.43872E-03
  11  norm          .10000E-03    .38322        .14776E-06** at limit **
  12  Prefactor     .10000E-03    115.51       -.81994E-07** at limit **
  13  Prefactor     9.8174        19.096       -.11574E-05   -.22959E-03
  14  norm          .10000E-03    2.4836       -.43438E-07** at limit **
  15  norm          22.186        12.104       -.11778E-09    .13916E-04
  16  Prefactor     .10000E-03    21.928       -.63584E-06** at limit **
  17  Prefactor     72.128        62.128       -.45407E-06    .62746E-05
  18  norm          5.4454        4.6961        .22806E-06    .16355E-03
  19  norm          .29968        2.5729        .72949E-06    .23493E-03
  20  Prefactor     .10000E-03    23.688        .59244E-06** at limit **
  21  norm          .10000E-03    1.5367       -.38308E-07** at limit **
  22  Prefactor     197.06        161.23       -.31283E-05    .32969E-05
  23  Prefactor     .10000E-03    117.43        .16960E-05** at limit **
  24  Prefactor     .10000E-03    6.1043        .23691E-07** at limit **
  25  Prefactor     41.660        52.882       -.57259E-06   -.97010E-07
  26  Normalizat    .73500        .21508       -.10726E-06   -.21951E-03
  27  Prefactor     1.2214        .22414        .26580E-06   -.14619E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8672
  Prefactor  = 44.1868
  Prefactor  = 0.000100008
  Prefactor  = 14.4926
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.9611
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.81743
  norm       = 0.0001
  norm       = 22.1856
  Prefactor  = 0.0001
  Prefactor  = 72.1283
  norm       = 5.44543
  norm       = 0.299677
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 197.058
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 41.6601
  Normalizat = 0.734998
  Prefactor  = 1.22139
 **********
 **   18 **HESSE 
 **********

 FCN=   4404.065     FROM HESSE     STATUS=OK           488 CALLS     3852 TOTAL
                     EDM=   .94E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    46.379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.1590        .28880E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     13.867        24.559        .10756E-03   -1.4963    
   4  Prefactor     44.187        28.310        .60316E-04   -1.4378    
   5  Prefactor     .10001E-03    100.32        .59677E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.493        16.627        .10522E-03   -1.4946    
   7  Prefactor     .10000E-03    1.9939        .91506E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    2.9106        .10967E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    7.6760        .17943E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     12.961        12.978        .11120E-03   -1.4988    
  11  norm          .10000E-03    .56505        .76884E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    115.95        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     9.8174        19.072        .12780E-03   -1.5081    
  14  norm          .10000E-03    2.4881        .10212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          22.186        12.103        .85040E-04   -1.4766    
  16  Prefactor     .10000E-03    22.033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     72.128        62.114        .47272E-04   -1.4007    
  18  norm          5.4454        4.7127        .12797E-03   -1.5241    
  19  norm          .29968        4.9825        .20489E-02   -1.5598    
  20  Prefactor     .10000E-03    23.780        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    1.5414        .80332E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     197.06        160.90        .14391E-03   -1.2891    
  23  Prefactor     .10000E-03    118.45        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.1669        .15997E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     41.660        52.921        .62111E-04   -1.4416    
  26  Normalizat    .73500        .25830        .27783E-03   -1.0253    
  27  Prefactor     1.2214        .27104        .24198E-03   -.85676    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.40013e-10
Minuit parameter uncertainties:
  1  7.10804e-05
  2  3.25016e-05
  3  24.5769
  4  28.3189
  5  0.00183465
  6  16.6323
  7  1.26231e-06
  8  1.49875e-05
  9  1.25133e-05
  10  12.9807
  11  1.723e-05
  12  0.000207897
  13  19.0836
  14  1.5857e-05
  15  12.1043
  16  0.000128366
  17  62.1701
  18  4.71304
  19  2.4437
  20  6.61929e-05
  21  9.91512e-06
  22  161.261
  23  0.000631771
  24  2.19063e-05
  25  52.9806
  26  0.258728
  27  0.271354
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  7.213e+01  6.217e+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.221e+00  2.714e-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.350e-01  2.587e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.16
Ra Dec: 351.883 -32.987
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 5.78e-08 +/- 4.98e-08
Energy Flux (Fixed Index): 1.58e-05 +/- 1.36e-05

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

Saving results to:
/scratch/kocevski/914322/likelihoodResults_375408001_375667201_4FGL_J2327.5-3259_daily_bin525.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) = 4403.35885336
delta logL = 0.706203705697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4403.31490263
delta logL = 0.750154435028

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    93.238       1.0000         .10000E-03   10000.    
     2 'Index     '    1.7658       1.0000          .0000       10.000    
     3 'Normalizat'    .77890       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1821       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=   4403.315     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      217 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     93.261        77.802        .58286E-05   -.80093E-04
   2  Index         1.7660        .51878        .20438E-04    .10953E-04
   3  Normalizat    .77887        .20472       -.14097E-05   -.20489E-03
   4  Prefactor     1.1821        .22440        .21088E-06   -.21503E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 93.2607
  Index      = 1.76601
  Normalizat = 0.778867
  Prefactor  = 1.18208
 **********
 **   18 **HESSE 
 **********

 FCN=   4403.315     FROM HESSE     STATUS=OK            29 CALLS      246 TOTAL
                     EDM=   .81E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     93.261        76.770        .20810E-03   -1.3774    
   2  Index         1.7660        .51239        .69758E-02   -.70338    
   3  Normalizat    .77887        .24258        .27023E-03   -1.0086    
   4  Prefactor     1.1821        .26619        .24510E-03   -.86885    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.05255e-10
Minuit parameter uncertainties:
  1  76.8514
  2  0.513949
  3  0.242921
  4  0.266494
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/914322': 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) = 4403.31490238
delta logL = 0.750154681619

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  9.326e+01  7.685e+01  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  1.766e+00  5.139e-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:  1.182e+00  2.665e-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.789e-01  2.429e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.67
Ra Dec: 351.883 -32.987
Photon Index (Free Index): 1.77 +/- 0.51
Photon Flux (Free Index): 3.39e-08 +/- 3.35e-08
Energy Flux (Free Index): 4.51e-05 +/- 5.51e-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/914322/cmap_HighResolution_375408001_375667201_4FGL_J2327.5-3259_daily_bin525.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.29e-02', comment='SUCCESS', photon_flux='5.78e-08', energy_flux2='4.51e-05', photon_flux_error='4.98e-08', dlogl='7.50e-01', energy_flux='1.58e-05', photon_flux2='3.39e-08', job_status='DONE', time_completed='2021-09-29 20:15:22.211253', photon_index_error2='0.51', photon_index2='1.77', ts='2.16', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', photon_flux_upper_limit='1.65e-07', energy_flux_error2='5.51e-05', EG='0.73', time_epoch_completed='1632971722.21', return_code='0', job_id='914322', GAL2='1.18', EG2='0.78', return_code2='0', energy_flux_error='1.36e-05', photon_flux_error2='3.35e-08', ts2='3.67', photon_index='2.56' WHERE bin_id='525' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 20:15:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0104>
Subject: Job 914322: <4FGL_J2327.5-3259_daily_bin525> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin525> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Wed Sep 29 20:00:45 2021
Job was executed on host(s) <bullet0104>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 20:00:46 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:00:46 2021
Terminated at Wed Sep 29 20:15:22 2021
Results reported at Wed Sep 29 20:15:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin525 351.883 -32.9869 375408001 375667201 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 :                                   638.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             235.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            877 sec.

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

