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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1666
RA = 351.35, Dec = -48.0022
tmin = 671155201, tmax = 671414401
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='414601', job_status='RUN', time_executed='2022-04-12 00:36:10.497616', time_epoch_executed='1649748970.5' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1666'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/414601

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/414601/ft1_4FGL_J2325.4-4800_daily_bin1666.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/414601/ft1_4FGL_J2325.4-4800_daily_bin1666.fits outfile=/scratch/kocevski/414601/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1666.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=671155201.0 tmax=671414401.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 5.27
user 5.01
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.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/414601/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1666.fits evtable="EVENTS" outfile="/scratch/kocevski/414601/ft1_filtered_4FGL_J2325.4-4800_daily_bin1666.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.33
sys 0.15

Number of photons that the gtmktime cut: 547

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/414601/ft1_filtered_4FGL_J2325.4-4800_daily_bin1666.fits" evtable="EVENTS" scfile=/scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits sctable="SC_DATA" outfile=/scratch/kocevski/414601/ltcube_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.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/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits
.....................!
real 11.86
user 11.46
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/414601/ft1_filtered_4FGL_J2325.4-4800_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits sctable="SC_DATA" expcube=/scratch/kocevski/414601/ltcube_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.fits outfile=/scratch/kocevski/414601/expmap_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.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/414601/ltcube_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.fits
.....................!
real 191.97
user 186.07
sys 5.53

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 179 point sources and 0 extended sources

Setting source of interest to:
4FGL J2325.4-4800 @ 351.35 -48.0022

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/414601/ft1_filtered_4FGL_J2325.4-4800_daily_bin1666.fits scfile=/scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits outfile=/scratch/kocevski/414601/cmap_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.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.35 yref=-48.0022 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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/414601/ft1_filtered_4FGL_J2325.4-4800_daily_bin1666.fits scfile=/scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits outfile=/scratch/kocevski/414601/cmap_HighResolution_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.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.35 yref=-48.0022 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.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/414601/ft1_filtered_4FGL_J2325.4-4800_daily_bin1666.fits evtable="EVENTS" scfile=/scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/414601/Model_4FGL_J2325.4-4800_daily_bin1666.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/414601/ft1_filtered_4FGL_J2325.4-4800_daily_bin1666.fits.....................!
real 42.88
user 41.54
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/414601/ft1_filtered_4FGL_J2325.4-4800_daily_bin1666.fits', '/scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits', expMap='/scratch/kocevski/414601/expmap_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.fits', expCube='/scratch/kocevski/414601/ltcube_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/414601/Model_4FGL_J2325.4-4800_daily_bin1666.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2325.4-4800'

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  3.164e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/414601/ft1_filtered_4FGL_J2325.4-4800_daily_bin1666.fits
Spacecraft file(s): /scratch/kocevski/414601/ft2_4FGL_J2325.4-4800_daily_bin1666.fits
Exposure map: /scratch/kocevski/414601/expmap_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.fits
Exposure cube: /scratch/kocevski/414601/ltcube_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/414601/Model_4FGL_J2325.4-4800_daily_bin1666.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) = 5994.94028732

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .28102E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .17752E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    5.7251       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10148E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.3028       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.1151       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10399E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    3.0741       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.749       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10959E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10272E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    3.6312       1.0000         .10000E-03   10000.    
    29 'Prefactor '    9.6084       1.0000         .10000E-03   10000.    
    30 'norm      '    .10223E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .14159E-02   1.0000         .10000E-03   10000.    
    32 'Prefactor '    .81319       1.0000         .10000E-03   10000.    
    33 'Normalizat'    .85851       1.0000         .10000E-01   10.000    
    34 'Prefactor '    .70982       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+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=   5994.870     FROM MIGRAD    STATUS=CONVERGED   1675 CALLS     5575 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.9951        .18142E-02** at limit **
   2  Prefactor     .10000E-03    184.89        .62450E-02** at limit **
   3  Prefactor     .10000E-03    48.810        .18142E-02** at limit **
   4  Prefactor     5.7223        8.5959        .83935E-03   -.65610E-04
   5  Prefactor     .10000E-03    3.2223        .13495E-02** at limit **
   6  Prefactor     .10000E-03    13.383        .18142E-02** at limit **
   7  Prefactor     .10000E-03    4.1621        .15318E-02** at limit **
   8  norm          6.3028        4.4521        .66982E-03    .11248E-03
   9  Prefactor     .10000E-03    .64159        .60434E-03** at limit **
  10  Prefactor     .10000E-03    12.113        .18142E-02** at limit **
  11  Prefactor     .10000E-03    4.8249        .23591E-02** at limit **
  12  Prefactor     .10000E-03    8.5042        .18142E-02** at limit **
  13  Prefactor     3.1126        8.3536        .22973E-03    .35779E-04
  14  Prefactor     .10000E-03    37.445        .18142E-02** at limit **
  15  Prefactor     3.0744        4.3700        .18651E-03   -.23651E-04
  16  Prefactor     .10000E-03    8.4152        .18142E-02** at limit **
  17  Prefactor     .10000E-03    8.4834        .18142E-02** at limit **
  18  norm          .10000E-03    4.9010        .16723E-02** at limit **
  19  norm          .10000E-03    2.2574        .11327E-02** at limit **
  20  norm          .10000E-03    1.6215        .96116E-03** at limit **
  21  Prefactor     12.748        5.9558        .11219E-03    .93129E-04
  22  Prefactor     .10000E-03    27.585        .18142E-02** at limit **
  23  norm          .10000E-03    1.3840        .88387E-03** at limit **
  24  Prefactor     .10000E-03    6.8095        .18142E-02** at limit **
  25  norm          .10000E-03    .66496        .92319E-03** at limit **
  26  norm          .10000E-03    1.7081        .19435E-03** at limit **
  27  Prefactor     .10000E-03    4.5215        .16041E-02** at limit **
  28  Prefactor     3.6309        3.2079        .11158E-03    .17616E-03
  29  Prefactor     9.6032        20.580        .12928E-03    .12672E-03
  30  norm          .10000E-03    23.932        .18142E-02** at limit **
  31  Prefactor     .10000E-03    26.463        .20319E-02** at limit **
  32  Prefactor     .81910        2.6657        .21655E-03    .67670E-03
  33  Normalizat    .85841        .16578        .19400E-03    .23375E-03
  34  Prefactor     .70987        .17923        .23264E-03    .25797E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 5.7223
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.30276
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 3.11262
  Prefactor  = 0.0001
  Prefactor  = 3.07445
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 12.7481
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.63086
  Prefactor  = 9.60324
  norm       = 0.0001
  Prefactor  = 0.000100005
  Prefactor  = 0.819103
  Normalizat = 0.858412
  Prefactor  = 0.709874
 **********
 **   18 **HESSE 
 **********

 FCN=   5994.870     FROM HESSE     STATUS=OK           702 CALLS     6277 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.9952        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    192.07        .24980E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    48.830        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     5.7223        8.5949        .33574E-04   -1.5229    
   5  Prefactor     .10000E-03    3.2231        .26991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    13.384        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    4.1637        .30635E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.3028        4.4521        .26793E-04   -1.5206    
   9  Prefactor     .10000E-03    .64160        .12087E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    12.114        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.8420        .47181E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    8.5048        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.1126        8.3525        .91892E-05   -1.5355    
  14  Prefactor     .10000E-03    37.445        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.0744        4.3698        .74604E-05   -1.5357    
  16  Prefactor     .10000E-03    8.4154        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    8.4883        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    4.9013        .33447E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    2.2576        .22653E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.6216        .19223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     12.748        5.9552        .44874E-05   -1.4994    
  22  Prefactor     .10000E-03    27.592        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    1.3841        .17677E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    6.8104        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    .66656        .18464E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .10000E-03    1.7082        .38871E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    4.5222        .32081E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     3.6309        3.2061        .44632E-05   -1.5327    
  29  Prefactor     9.6032        20.570        .51713E-05   -1.5088    
  30  norm          .10000E-03    23.943        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10000E-03    26.852        .40639E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  Prefactor     .81910        2.6588        .86622E-05   -1.5527    
  33  Normalizat    .85841        .16582        .38800E-04   -.97937    
  34  Prefactor     .70987        .17940        .93057E-05   -1.0314    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09802e-09
Minuit parameter uncertainties:
  1  4.30796e-05
  2  0.000828326
  3  0.000564586
  4  8.59679
  5  4.52458e-06
  6  1.47922e-05
  7  6.45014e-06
  8  4.45235
  9  7.91963e-07
  10  1.70236e-05
  11  0.000190045
  12  3.75906e-06
  13  8.35561
  14  0.000260878
  15  4.37029
  16  7.04315e-06
  17  2.01764e-06
  18  4.99317e-06
  19  9.19754e-07
  20  3.0292e-07
  21  5.95546
  22  5.02466e-05
  23  2.36762e-06
  24  2.20835e-05
  25  3.17713e-06
  26  3.72372e-06
  27  2.43752e-06
  28  3.2062
  29  20.5848
  30  0.000164697
  31  0.000706252
  32  2.65919
  33  0.165923
  34  0.179541
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.275e+01  5.955e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  2.106e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  7.099e-01  1.795e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.584e-01  1.659e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.96
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 5.49e-08 +/- 2.56e-08
Energy Flux (Fixed Index): 2.98e-05 +/- 1.39e-05

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) = 5994.76989822
delta logL = 0.100219051117

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5994.7646182
delta logL = 0.105499065571

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.902       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9077       1.0000          .0000       10.000    
     3 'Normalizat'    .86962       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .70179       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5994.765     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      258 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.897        139.30        .25109E-02    .27623E-04
   2  Index         1.9071        2.8775        .13794        .10558E-03
   3  Normalizat    .86961        .80350E-01    .44512E-01    .15640E-04
   4  Prefactor     .70189        .62519E-01    .42425E-01    .14560E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8972
  Index      = 1.90713
  Normalizat = 0.869607
  Prefactor  = 0.701889
 **********
 **   18 **HESSE 
 **********

 FCN=   5994.765     FROM HESSE     STATUS=OK            33 CALLS      291 TOTAL
                     EDM=   .81E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.897        9.9251        .10044E-03   -1.4910    
   2  Index         1.9071        .42800        .48931E-02   -.66693    
   3  Normalizat    .86961        .16294        .19292E-03   -.97536    
   4  Prefactor     .70189        .17836        .23387E-03   -1.0345    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.0596e-12
Minuit parameter uncertainties:
  1  9.92615
  2  0.428849
  3  0.163031
  4  0.178508
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/414601': 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) = 5994.76461578
delta logL = 0.105501491289

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  1.590e+01  9.926e+00  1.000e-04  1.000e+04 ( 1.000e-13)
440        Index:  1.907e+00  4.288e-01  0.000e+00  1.000e+01 (-1.000e+00)
441        Scale:  1.869e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
568    Prefactor:  7.019e-01  1.785e-01  0.000e+00  1.000e+01 ( 1.000e+00)
569        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
570        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
567   Normalization:  8.696e-01  1.630e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.17
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.91 +/- 0.43
Photon Flux (Free Index): 4.66e-08 +/- 2.86e-08
Energy Flux (Free Index): 4.10e-05 +/- 3.76e-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/414601/cmap_HighResolution_671155201_671414401_4FGL_J2325.4-4800_daily_bin1666.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.49e-08', energy_flux2='4.10e-05', photon_flux_error='2.56e-08', dlogl='1.06e-01', energy_flux='2.98e-05', photon_flux2='4.66e-08', job_status='DONE', time_completed='2022-04-12 00:50:54.271639', photon_index_error2='0.43', photon_index2='1.91', ts='14.96', fit_tolerance='1e-08', GAL='0.71', photon_index_error='0.00', energy_flux_error2='3.76e-05', EG='0.86', time_epoch_completed='1649749854.27', return_code='0', job_id='414601', GAL2='0.70', EG2='0.87', return_code2='0', energy_flux_error='1.39e-05', photon_flux_error2='2.86e-08', ts2='15.17', photon_index='2.11' WHERE bin_id='1666' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Apr 12 00:50:54 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0174>
Subject: Job 414601: <4FGL_J2325.4-4800_daily_bin1666> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1666> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Apr 12 00:35:46 2022
Job was executed on host(s) <bullet0174>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Apr 12 00:35:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Apr 12 00:35:47 2022
Terminated at Tue Apr 12 00:50:54 2022
Results reported at Tue Apr 12 00:50:54 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1666 351.35 -48.0022 671155201 671414401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2325.4-4800 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   884.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            908 sec.

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

