aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 109 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 = 7327
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2327.5-3259_daily_bin1697
RA = 351.883, Dec = -32.9869
tmin = 679190401, tmax = 679449601
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='857761', job_status='RUN', time_executed='2022-07-14 00:37:57.692420', time_epoch_executed='1657784277.69' WHERE source_name='4FGL J2327.5-3259' and cadence='daily' and bin_id='1697'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/857761

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/857761/ft1_4FGL_J2327.5-3259_daily_bin1697.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/857761/ft2_4FGL_J2327.5-3259_daily_bin1697.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/857761/ft1_4FGL_J2327.5-3259_daily_bin1697.fits outfile=/scratch/kocevski/857761/ft1_filteredMKT_4FGL_J2327.5-3259_daily_bin1697.fits ra=351.883 dec=-32.9869 rad=12.0 tmin=679190401.0 tmax=679449601.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.44
user 3.24
sys 0.19

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

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

Number of photons that the gtmktime cut: 409

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/857761/ft1_filtered_4FGL_J2327.5-3259_daily_bin1697.fits" evtable="EVENTS" scfile=/scratch/kocevski/857761/ft2_4FGL_J2327.5-3259_daily_bin1697.fits sctable="SC_DATA" outfile=/scratch/kocevski/857761/ltcube_679190401_679449601_4FGL_J2327.5-3259_daily_bin1697.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/857761/ft2_4FGL_J2327.5-3259_daily_bin1697.fits
.....................!
real 11.69
user 11.32
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/857761/ft1_filtered_4FGL_J2327.5-3259_daily_bin1697.fits evtable="EVENTS" scfile=/scratch/kocevski/857761/ft2_4FGL_J2327.5-3259_daily_bin1697.fits sctable="SC_DATA" expcube=/scratch/kocevski/857761/ltcube_679190401_679449601_4FGL_J2327.5-3259_daily_bin1697.fits outfile=/scratch/kocevski/857761/expmap_679190401_679449601_4FGL_J2327.5-3259_daily_bin1697.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/857761/ltcube_679190401_679449601_4FGL_J2327.5-3259_daily_bin1697.fits
.....................!
real 191.42
user 185.75
sys 5.25

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/857761/ft1_filtered_4FGL_J2327.5-3259_daily_bin1697.fits scfile=/scratch/kocevski/857761/ft2_4FGL_J2327.5-3259_daily_bin1697.fits outfile=/scratch/kocevski/857761/cmap_679190401_679449601_4FGL_J2327.5-3259_daily_bin1697.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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/857761/ft1_filtered_4FGL_J2327.5-3259_daily_bin1697.fits scfile=/scratch/kocevski/857761/ft2_4FGL_J2327.5-3259_daily_bin1697.fits outfile=/scratch/kocevski/857761/cmap_HighResolution_679190401_679449601_4FGL_J2327.5-3259_daily_bin1697.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.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    3.2477       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    10.558       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    15.157       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    5.1581       1.0000         .10000E-03   10000.    
    15 'norm      '    3.6508       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.4575       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .13530E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    4.7329       1.0000         .10000E-03   10000.    
    20 'Prefactor '    13.302       1.0000         .10000E-03   10000.    
    21 'norm      '    3.7974       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .29020E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.2105       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.0077       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .65307       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=   4579.941     FROM MIGRAD    STATUS=CONVERGED    647 CALLS     2801 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    43.909       -.19071E-05** at limit **
   2  Prefactor     3.2475        3.0624        .44260E-08   -.11011E-03
   3  Prefactor     .10000E-03    27.299        .16618E-05** at limit **
   4  Prefactor     .10000E-03    5.7564        .42494E-06** at limit **
   5  Prefactor     .10000E-03    13.535        .46738E-06** at limit **
   6  Prefactor     10.558        10.686        .10866E-07   -.25161E-04
   7  Prefactor     .10000E-03    5.2976       -.52542E-06** at limit **
   8  norm          .10001E-03    2.7352        .21822E-06** at limit **
   9  Prefactor     15.147        13.066        .15745E-06   -.22789E-03
  10  Prefactor     .10000E-03    5.6318        .20198E-06** at limit **
  11  norm          .10000E-03    .23926        .23078E-07** at limit **
  12  Prefactor     .10000E-03    15.211       -.15729E-06** at limit **
  13  Prefactor     .10000E-03    3.8371       -.32786E-08** at limit **
  14  norm          5.1579        4.4955       -.10132E-06    .40282E-03
  15  norm          3.6512        4.7986        .22178E-07    .49062E-04
  16  Prefactor     5.4500        53.043        .61410E-05    .18787E-03
  17  Prefactor     .10000E-03    16.703       -.84360E-06** at limit **
  18  norm          .10001E-03    4.7476       -.28268E-05** at limit **
  19  norm          4.7335        3.7790        .80742E-07    .19356E-04
  20  Prefactor     13.301        26.013       -.30689E-06   -.15551E-04
  21  norm          3.7980        3.8458        .34182E-06    .76762E-03
  22  Prefactor     .10000E-03    40.137        .93918E-06** at limit **
  23  Prefactor     .10000E-03    93.714       -.50835E-05** at limit **
  24  Prefactor     8.2095        5.5450       -.16512E-07    .67374E-04
  25  Prefactor     .10000E-03    21.572       -.97664E-06** at limit **
  26  Normalizat    1.0077        .16882        .39637E-06    .25844E-03
  27  Prefactor     .65301        .17597       -.40674E-06    .17151E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 3.24746
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.5584
  Prefactor  = 0.0001
  norm       = 0.000100006
  Prefactor  = 15.1473
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.15791
  norm       = 3.65119
  Prefactor  = 5.45003
  Prefactor  = 0.0001
  norm       = 0.000100008
  norm       = 4.73347
  Prefactor  = 13.3007
  norm       = 3.79795
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 8.20945
  Prefactor  = 0.0001
  Normalizat = 1.00767
  Prefactor  = 0.653005
 **********
 **   18 **HESSE 
 **********

 FCN=   4579.941     FROM HESSE     STATUS=OK           486 CALLS     3287 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    44.262        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.2475        3.0616        .11050E-03   -1.5348    
   3  Prefactor     .10000E-03    27.742        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.7685        .15874E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    13.557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     10.558        10.698        .12331E-03   -1.5058    
   7  Prefactor     .10000E-03    5.3554        .15233E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10001E-03    11.945        .19864E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     15.147        11.798        .10288E-03   -1.4929    
  10  Prefactor     .10000E-03    5.6990        .15593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .32328        .61976E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    15.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    3.8539        .12942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          5.1579        4.4959        .12581E-03   -1.5254    
  15  norm          3.6512        4.7925        .16515E-03   -1.5326    
  16  Prefactor     5.4500        61.077        .17200E-03   -1.5241    
  17  Prefactor     .10000E-03    16.773        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10001E-03    7.2875        .24537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          4.7335        3.7667        .10956E-03   -1.5273    
  20  Prefactor     13.301        25.989        .10982E-03   -1.4978    
  21  norm          3.7980        3.8319        .12359E-03   -1.5318    
  22  Prefactor     .10000E-03    40.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    96.382        .42807E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.2095        5.5561        .12533E-03   -1.5135    
  25  Prefactor     .10000E-03    21.670        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Normalizat    1.0077        .19993        .20004E-03   -.92774    
  27  Prefactor     .65301        .20621        .26076E-03   -1.0540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.43646e-09
Minuit parameter uncertainties:
  1  0.000391694
  2  3.06173
  3  0.000251564
  4  3.14278e-05
  5  5.29268e-05
  6  10.6997
  7  3.44249e-05
  8  0.000543358
  9  11.7996
  10  7.71153e-07
  11  3.0922e-06
  12  1.85035e-05
  13  3.04661e-06
  14  4.4962
  15  4.79297
  16  36.5364
  17  0.000107059
  18  0.000486284
  19  3.76686
  20  26.011
  21  3.83211
  22  0.000183728
  23  0.00116249
  24  5.55645
  25  0.000136208
  26  0.200076
  27  0.206446
Done.

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

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.000e-04  1.071e-04  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:  6.530e-01  2.064e-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.008e+00  2.001e-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: 5.46e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/857761/likelihoodResults_679190401_679449601_4FGL_J2327.5-3259_daily_bin1697.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) = 4579.94129345
delta logL = -0.000284026602458

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4579.94101089
delta logL = -1.46962247527e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10563E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    3.3155       1.0000          .0000       10.000    
     3 'Normalizat'    1.0077       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .65301       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=   4579.941     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      272 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10416E-03    10.354        .18142E-01** at limit **
   2  Index         3.1818        7.2396        .50000        .12317E-04
   3  Normalizat    1.0077        .36459E-02    .20004E-03    .28075E-04
   4  Prefactor     .65301        .39196E-02    .26076E-03   -.11772E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104162
  Index      = 3.18176
  Normalizat = 1.00767
  Prefactor  = 0.653005
 **********
 **   18 **HESSE 
 **********

 FCN=   4579.941     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      301 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10416E-03    138.33        .23637E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.1818        8.3940        .50000       -.37218    
   3  Normalizat    1.0077        .13352E-01    .80015E-05   -.92774    
   4  Prefactor     .65301        .14354E-01    .10430E-04   -1.0540    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.96532e-09
Minuit parameter uncertainties:
  1  0.048098
  2  692.801
  3  0.0133517
  4  0.0143538
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/857761': 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) = 4579.94101043
delta logL = -1.00768284028e-06

Extracting fit parameters...

4FGL J2327.5-3259
   Spectrum: PowerLaw
454    Prefactor:  1.042e-04  4.810e-02  1.000e-04  1.000e+04 ( 1.000e-13)
455        Index:  3.182e+00  6.928e+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:  6.530e-01  1.435e-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.008e+00  1.335e-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/857761/cmap_HighResolution_679190401_679449601_4FGL_J2327.5-3259_daily_bin1697.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.26e-03', job_status='DONE', photon_flux_upper_limit='5.46e-08', time_completed='2022-07-14 00:48:09.440739', job_id='857761', GAL2='0.65', fit_tolerance='1e-08', EG2='1.01', EG='1.01', time_epoch_completed='1657784889.44', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='-1.01e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.56' WHERE bin_id='1697' AND source_name='4FGL J2327.5-3259' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jul 14 00:48:09 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0207>
Subject: Job 857761: <4FGL_J2327.5-3259_daily_bin1697> in cluster <slac> Done

Job <4FGL_J2327.5-3259_daily_bin1697> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jul 14 00:35:59 2022
Job was executed on host(s) <bullet0207>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jul 14 00:36:00 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jul 14 00:36:00 2022
Terminated at Thu Jul 14 00:48:10 2022
Results reported at Thu Jul 14 00:48:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2327.5-3259_daily_bin1697 351.883 -32.9869 679190401 679449601 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 :                                   613.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             256.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   729 sec.
    Turnaround time :                            731 sec.

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

