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


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1661
RA = 351.883, Dec = -32.9869
tmin = 669859201, tmax = 670118401
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='85385', job_status='RUN', time_executed='2022-03-28 00:42:17.814681', time_epoch_executed='1648453337.81' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1661'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/85385

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/85385/ft1_4FGL_J2327.5-3259_daily_bin1661.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/85385/ft2_4FGL_J2327.5-3259_daily_bin1661.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/85385/ft1_4FGL_J2327.5-3259_daily_bin1661.fits outfile=/scratch/kocevski/85385/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1661.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=669859201.0 tmax=670118401.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.67
user 3.45
sys 0.20

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

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

Number of photons that the gtmktime cut: 427

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/85385/ft1_filtered_4FGL_J2327.5-3259_daily_bin1661.fits" evtable="EVENTS" scfile=/scratch/kocevski/85385/ft2_4FGL_J2327.5-3259_daily_bin1661.fits sctable="SC_DATA" outfile=/scratch/kocevski/85385/ltcube_669859201_670118401_4FGL_J2327.5-3259_daily_bin1661.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/85385/ft2_4FGL_J2327.5-3259_daily_bin1661.fits
.....................!
real 13.00
user 11.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/85385/ft1_filtered_4FGL_J2327.5-3259_daily_bin1661.fits evtable="EVENTS" scfile=/scratch/kocevski/85385/ft2_4FGL_J2327.5-3259_daily_bin1661.fits sctable="SC_DATA" expcube=/scratch/kocevski/85385/ltcube_669859201_670118401_4FGL_J2327.5-3259_daily_bin1661.fits outfile=/scratch/kocevski/85385/expmap_669859201_670118401_4FGL_J2327.5-3259_daily_bin1661.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/85385/ltcube_669859201_670118401_4FGL_J2327.5-3259_daily_bin1661.fits
.....................!
real 191.63
user 186.39
sys 4.88

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/85385/ft1_filtered_4FGL_J2327.5-3259_daily_bin1661.fits scfile=/scratch/kocevski/85385/ft2_4FGL_J2327.5-3259_daily_bin1661.fits outfile=/scratch/kocevski/85385/cmap_669859201_670118401_4FGL_J2327.5-3259_daily_bin1661.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/85385/ft1_filtered_4FGL_J2327.5-3259_daily_bin1661.fits scfile=/scratch/kocevski/85385/ft2_4FGL_J2327.5-3259_daily_bin1661.fits outfile=/scratch/kocevski/85385/cmap_HighResolution_669859201_670118401_4FGL_J2327.5-3259_daily_bin1661.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=351.883 yref=-32.9869 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/85385/ft1_filtered_4FGL_J2327.5-3259_daily_bin1661.fits evtable="EVENTS" scfile=/scratch/kocevski/85385/ft2_4FGL_J2327.5-3259_daily_bin1661.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/85385/Model_4FGL_J2327.5-3259_daily_bin1661.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/85385/ft1_filtered_4FGL_J2327.5-3259_daily_bin1661.fits.....................!
real 39.20
user 37.92
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.458       1.0000         .10000E-03   10000.    
     4 'Prefactor '    37.356       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10183E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    23.096       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .47128       1.0000         .10000E-03   10000.    
    11 'norm      '    2.1509       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10202E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    15.207       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.516       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10128E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    2.0655       1.0000         .10000E-03   10000.    
    20 'Prefactor '    161.36       1.0000         .10000E-03   10000.    
    21 'norm      '    1.4793       1.0000         .10000E-03   10000.    
    22 'Prefactor '    41.452       1.0000         .10000E-03   10000.    
    23 'Prefactor '    19.327       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    59.428       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1265       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .53522       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=   4766.222     FROM MIGRAD    STATUS=CONVERGED    638 CALLS     3286 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    44.279        .20534E-04** at limit **
   2  Prefactor     .10000E-03    1.7905        .16350E-06** at limit **
   3  Prefactor     26.452        25.345       -.21131E-05   -.17808E-04
   4  Prefactor     37.348        25.630       -.32692E-05    .58744E-04
   5  Prefactor     .10000E-03    60.491       -.16934E-04** at limit **
   6  Prefactor     23.096        14.618        .81108E-06    .16980E-03
   7  Prefactor     .10000E-03    3.6154       -.55699E-07** at limit **
   8  norm          .10000E-03    1.5817        .47704E-08** at limit **
   9  Prefactor     .10000E-03    11.502       -.19810E-05** at limit **
  10  Prefactor     .44230        9.2205       -.15420E-05    .57030E-03
  11  norm          2.1523        1.0257        .24127E-06    .59657E-02
  12  Prefactor     .10000E-03    17.125        .13711E-05** at limit **
  13  Prefactor     .10000E-03    18.192       -.18703E-04** at limit **
  14  norm          .10000E-03    1.6912       -.60364E-07** at limit **
  15  norm          15.207        10.415       -.23605E-06   -.50321E-04
  16  Prefactor     29.533        38.823        .18465E-04    .76288E-04
  17  Prefactor     .10000E-03    16.263        .15696E-04** at limit **
  18  norm          .10000E-03    3.2795       -.60468E-06** at limit **
  19  norm          2.0652        4.3173        .26158E-05   -.44263E-03
  20  Prefactor     161.36        53.700       -.14948E-05   -.15033E-04
  21  norm          1.4797        3.8786       -.35662E-05   -.97815E-03
  22  Prefactor     41.465        52.727        .15738E-04   -.39196E-05
  23  Prefactor     19.333        40.550        .77381E-05   -.56592E-05
  24  Prefactor     .10000E-03    7.2469        .50366E-06** at limit **
  25  Prefactor     59.422        61.117       -.60018E-05   -.27310E-04
  26  Normalizat    1.1266        .20444       -.17633E-05    .48966E-03
  27  Prefactor     .53513        .19865        .59028E-06    .20970E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 26.4524
  Prefactor  = 37.3481
  Prefactor  = 0.000100001
  Prefactor  = 23.0963
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.442299
  norm       = 2.15227
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 15.2074
  Prefactor  = 29.5332
  Prefactor  = 0.0001
  norm       = 0.000100001
  norm       = 2.06521
  Prefactor  = 161.356
  norm       = 1.47972
  Prefactor  = 41.465
  Prefactor  = 19.3327
  Prefactor  = 0.0001
  Prefactor  = 59.4222
  Normalizat = 1.12661
  Prefactor  = 0.535126
 **********
 **   18 **HESSE 
 **********

 FCN=   4766.222     FROM HESSE     STATUS=OK           480 CALLS     3766 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    1.7988        .90099E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     26.452        25.331        .77882E-04   -1.4679    
   4  Prefactor     37.348        25.624        .65574E-04   -1.4485    
   5  Prefactor     .10000E-03    61.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     23.096        14.640        .83348E-04   -1.4746    
   7  Prefactor     .10000E-03    3.6288        .12820E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    1.5853        .84710E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    11.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .44230        156.67        .30784E-02   -1.5575    
  11  norm          2.1523        1.4086        .36389E-04   -1.5415    
  12  Prefactor     .10000E-03    17.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    18.451        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    1.6918        .87678E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          15.207        10.417        .10271E-03   -1.4928    
  16  Prefactor     29.533        39.077        .73746E-04   -1.4621    
  17  Prefactor     .10000E-03    16.221        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    3.3078        .12161E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          2.0652        4.2421        .18635E-03   -1.5421    
  20  Prefactor     161.36        53.318        .31747E-04   -1.3161    
  21  norm          1.4797        3.8588        .19913E-03   -1.5465    
  22  Prefactor     41.465        52.605        .31131E-03   -1.4419    
  23  Prefactor     19.333        40.515        .91105E-04   -1.4828    
  24  Prefactor     .10000E-03    7.3815        .18092E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     59.422        61.899        .52045E-04   -1.4165    
  26  Normalizat    1.1266        .24436        .21490E-03   -.88902    
  27  Prefactor     .53513        .23296        .31338E-03   -1.1039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.25537e-08
Minuit parameter uncertainties:
  1  3.89469e-06
  2  1.93944e-05
  3  25.3414
  4  25.6314
  5  0.000363612
  6  14.6419
  7  1.06399e-06
  8  3.68884e-06
  9  3.27763e-05
  10  16.6912
  11  1.40861
  12  1.68396e-06
  13  0.000241325
  14  9.65819e-06
  15  10.4185
  16  39.1108
  17  2.25536e-06
  18  0.000113933
  19  4.24267
  20  53.3337
  21  3.85948
  22  52.6641
  23  40.5723
  24  0.000102903
  25  61.9662
  26  0.244608
  27  0.233382
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  2.255e-06  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:  5.351e-01  2.334e-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.127e+00  2.446e-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: 6.27e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/85385/likelihoodResults_669859201_670118401_4FGL_J2327.5-3259_daily_bin1661.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) = 4766.22222065
delta logL = -0.000293503335342

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4766.22192978
delta logL = -2.63465062744e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3498       1.0000          .0000       10.000    
     3 'Normalizat'    1.1266       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53513       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=   4766.222     FROM MIGRAD    STATUS=CONVERGED    110 CALLS      296 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    90.481        .18142E-01** at limit **
   2  Index         2.1367        5.8920        .50000        .88630E-07
   3  Normalizat    1.1266        .10071E-01    .21490E-03    .96058E-04
   4  Prefactor     .53513        .10478E-01    .31338E-03    .71286E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100005
  Index      = 2.13674
  Normalizat = 1.1266
  Prefactor  = 0.535128
 **********
 **   18 **HESSE 
 **********

 FCN=   4766.222     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      325 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    583.53        .28728E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1367        8.9111        .50000       -.60974    
   3  Normalizat    1.1266        .26584E-01    .42981E-04   -.88902    
   4  Prefactor     .53513        .27657E-01    .12535E-04   -1.1039    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.86572e-09
Minuit parameter uncertainties:
  1  0.00350543
  2  1588.38
  3  0.0265838
  4  0.0276577
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/85385': 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) = 4766.22192682
delta logL = 3.29249814968e-07

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  3.505e-03  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  2.137e+00  1.588e+03  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:  5.351e-01  2.766e-02  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.127e+00  2.658e-02  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/85385/cmap_HighResolution_669859201_670118401_4FGL_J2327.5-3259_daily_bin1661.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-03', job_status='DONE', photon_flux_upper_limit='6.27e-08', time_completed='2022-03-28 00:53:20.982857', job_id='85385', GAL2='0.54', fit_tolerance='1e-08', EG2='1.13', EG='1.13', time_epoch_completed='1648454000.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.54', dlogl='3.29e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1661' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 28 00:53:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0005>
Subject: Job 85385: <4FGL_J2327.5-3259_daily_bin1661> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1661> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 28 00:40:44 2022
Job was executed on host(s) <bullet0005>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 28 00:40:46 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 28 00:40:46 2022
Terminated at Mon Mar 28 00:53:21 2022
Results reported at Mon Mar 28 00:53:21 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1661 351.883 -32.9869 669859201 670118401 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 :                                   664.16 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             328.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   755 sec.
    Turnaround time :                            757 sec.

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

