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 38 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1745
RA = 351.35, Dec = -48.0022
tmin = 691632001, tmax = 691891201
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='658821', job_status='RUN', time_executed='2022-12-05 01:31:17.711981', time_epoch_executed='1670232677.71' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1745'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/658821

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/658821/ft1_4FGL_J2325.4-4800_daily_bin1745.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/658821/ft2_4FGL_J2325.4-4800_daily_bin1745.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/658821/ft1_4FGL_J2325.4-4800_daily_bin1745.fits outfile=/scratch/kocevski/658821/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1745.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=691632001.0 tmax=691891201.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 2.35
user 2.14
sys 0.19

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

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

Number of photons that the gtmktime cut: 544

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/658821/ft1_filtered_4FGL_J2325.4-4800_daily_bin1745.fits" evtable="EVENTS" scfile=/scratch/kocevski/658821/ft2_4FGL_J2325.4-4800_daily_bin1745.fits sctable="SC_DATA" outfile=/scratch/kocevski/658821/ltcube_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.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/658821/ft2_4FGL_J2325.4-4800_daily_bin1745.fits
.....................!
real 12.59
user 12.25
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/658821/ft1_filtered_4FGL_J2325.4-4800_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658821/ft2_4FGL_J2325.4-4800_daily_bin1745.fits sctable="SC_DATA" expcube=/scratch/kocevski/658821/ltcube_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.fits outfile=/scratch/kocevski/658821/expmap_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.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/658821/ltcube_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.fits
.....................!
real 192.58
user 187.57
sys 4.66

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/658821/ft1_filtered_4FGL_J2325.4-4800_daily_bin1745.fits scfile=/scratch/kocevski/658821/ft2_4FGL_J2325.4-4800_daily_bin1745.fits outfile=/scratch/kocevski/658821/cmap_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.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.55
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/658821/ft1_filtered_4FGL_J2325.4-4800_daily_bin1745.fits scfile=/scratch/kocevski/658821/ft2_4FGL_J2325.4-4800_daily_bin1745.fits outfile=/scratch/kocevski/658821/cmap_HighResolution_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.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.55
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/658821/ft1_filtered_4FGL_J2325.4-4800_daily_bin1745.fits evtable="EVENTS" scfile=/scratch/kocevski/658821/ft2_4FGL_J2325.4-4800_daily_bin1745.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/658821/Model_4FGL_J2325.4-4800_daily_bin1745.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/658821/ft1_filtered_4FGL_J2325.4-4800_daily_bin1745.fits.....................!
real 44.36
user 43.05
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/658821/ft1_filtered_4FGL_J2325.4-4800_daily_bin1745.fits', '/scratch/kocevski/658821/ft2_4FGL_J2325.4-4800_daily_bin1745.fits', expMap='/scratch/kocevski/658821/expmap_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.fits', expCube='/scratch/kocevski/658821/ltcube_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/658821/Model_4FGL_J2325.4-4800_daily_bin1745.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  0.000e+00  1.000e+06 ( 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/658821/ft1_filtered_4FGL_J2325.4-4800_daily_bin1745.fits
Spacecraft file(s): /scratch/kocevski/658821/ft2_4FGL_J2325.4-4800_daily_bin1745.fits
Exposure map: /scratch/kocevski/658821/expmap_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.fits
Exposure cube: /scratch/kocevski/658821/ltcube_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/658821/Model_4FGL_J2325.4-4800_daily_bin1745.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) = 5987.83646156

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    79.911       1.0000          .0000       .10000E+07
     2 'Prefactor '    20.375       1.0000          .0000       .10000E+07
     3 'Prefactor '    .23470E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11065E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    6.8953       1.0000          .0000       .10000E+07
     6 'Prefactor '    .37140       1.0000          .0000       .10000E+07
     7 'norm      '    3.6920       1.0000          .0000       .10000E+07
     8 'Prefactor '    7.8082       1.0000          .0000       .10000E+07
     9 'Prefactor '    .47001E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10306E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    10.561       1.0000          .0000       .10000E+07
    12 'Prefactor '    .26454E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .38636       1.0000          .0000       .10000E+07
    14 'Prefactor '    14.582       1.0000          .0000       .10000E+07
    15 'norm      '    .10521E-02   1.0000          .0000       .10000E+07
    16 'norm      '    .83908E-03   1.0000          .0000       .10000E+07
    17 'norm      '    .47184E-08   1.0000          .0000       .10000E+07
    18 'Prefactor '    4.5945       1.0000          .0000       .10000E+07
    19 'Prefactor '    14.474       1.0000          .0000       .10000E+07
    20 'norm      '    1.3889       1.0000          .0000       .10000E+07
    21 'Prefactor '    .19478E-02   1.0000          .0000       .10000E+07
    22 'norm      '    .93895       1.0000          .0000       .10000E+07
    23 'norm      '    .67504E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    25.769       1.0000          .0000       .10000E+07
    25 'Prefactor '    1.1562       1.0000          .0000       .10000E+07
    26 'Prefactor '    .47169E-02   1.0000          .0000       .10000E+07
    27 'norm      '    .26094E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    1.3906       1.0000          .0000       .10000E+07
    29 'Prefactor '    .42432E-03   1.0000          .0000       .10000E+07
    30 'Normalizat'    1.3598       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .64671       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5710E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5987.727     FROM MIGRAD    STATUS=CONVERGED    208 CALLS     2997 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.295        57.219        .71708E-07   -.16468E-01
   2  Prefactor     20.470        10.915       -.88512E-07    .52946E-01
   3  Prefactor     .24425E-08    9.7111        .26578E-06** at limit **
   4  Prefactor     .87153E-08    15.090        .85870E-07** at limit **
   5  Prefactor     6.8939        7.2001        .14618E-06    .41042E-02
   6  Prefactor     .37682        12.378        .13633E-07   -.15552E-01
   7  norm          3.6835        7.8938        .32692E-07   -.14912E-03
   8  Prefactor     7.8155        4.9441        .47261E-07    .18371E-02
   9  Prefactor     .14465E-05    23.532        .63300E-06** at limit **
  10  Prefactor      .0000        1.2459       -.43630E-08** at limit **
  11  Prefactor     10.589        8.6809       -.32635E-07    .38699E-01
  12  Prefactor      .0000        2.0289       -.31297E-07** at limit **
  13  Prefactor     .16756E-04    294.91        .91934E-06** at limit **
  14  Prefactor     14.575        9.7860        .16452E-08    .81240E-01
  15  norm          .11102E-09    4.0560       -.51258E-07** at limit **
  16  norm          .11102E-09    3.4826        .25402E-07** at limit **
  17  norm          .55511E-10    3.5284       -.53270E-07** at limit **
  18  Prefactor     4.5648        4.5758        .46029E-07   -.22364E-03
  19  Prefactor     14.915        2.4262       -.10792E-07   -.14610E-01
  20  norm          1.3766        2.5694        .28588E-07    .47478E-03
  21  Prefactor     .13878E-08    6.9865       -.12926E-07** at limit **
  22  norm          .94109        1.0196       -.53562E-07   -.82631E-02
  23  norm           .0000        1.4656       -.39565E-07** at limit **
  24  Prefactor     25.797        8.4309       -.29045E-07    .76706E-01
  25  Prefactor     1.1575        1.8273       -.13582E-08   -.69714E-03
  26  Prefactor     .14155E-07    11.009        .41247E-07** at limit **
  27  norm          .32641E-07    9.8021        .79263E-07** at limit **
  28  Prefactor     1.3841        5.2664       -.63855E-07   -.11340E-02
  29  Prefactor     .34007E-05    8.0025       -.52504E-07** at limit **
  30  Normalizat    1.3585        .22183       -.11038E-05   -.17540E-03
  31  Prefactor     .64724        .22445       -.25921E-06   -.10246E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.2953
  Prefactor  = 20.4699
  Prefactor  = 2.44249e-09
  Prefactor  = 8.71525e-09
  Prefactor  = 6.89388
  Prefactor  = 0.376817
  norm       = 3.68347
  Prefactor  = 7.81549
  Prefactor  = 1.44645e-06
  Prefactor  = 0
  Prefactor  = 10.5891
  Prefactor  = 0
  Prefactor  = 1.67557e-05
  Prefactor  = 14.5746
  norm       = 1.11022e-10
  norm       = 1.11022e-10
  norm       = 5.55112e-11
  Prefactor  = 4.56481
  Prefactor  = 14.9146
  norm       = 1.37659
  Prefactor  = 1.38778e-09
  norm       = 0.941091
  norm       = 0
  Prefactor  = 25.7966
  Prefactor  = 1.15751
  Prefactor  = 1.41553e-08
  norm       = 3.26406e-08
  Prefactor  = 1.38409
  Prefactor  = 3.40067e-06
  Normalizat = 1.35852
  Prefactor  = 0.647236
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.727     FROM HESSE     STATUS=OK           706 CALLS     3703 TOTAL
                     EDM=   .48E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.295        57.522        .11187E-03   -1.5527    
   2  Prefactor     20.470        23.961        .22161E-03   -1.5617    
   3  Prefactor     .24425E-08    28.747        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .87153E-08    29.040        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     6.8939        7.2366        .38183E-03   -1.5655    
   6  Prefactor     .37682        5.1414        .92878E-02   -1.5696    
   7  norm          3.6835        7.8984        .52537E-03   -1.5670    
   8  Prefactor     7.8155        4.9598        .35861E-03   -1.5652    
   9  Prefactor     .14465E-05    30.948        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        1.2473        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     10.589        18.717        .30806E-03   -1.5643    
  12  Prefactor      .0000        2.0299        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16756E-04    30.653        .13859E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.575        14.803        .26203E-03   -1.5632    
  15  norm          .11102E-09    4.0563        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .11102E-09    3.4763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .55511E-10    3.5227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     4.5648        4.5815        .46936E-03   -1.5665    
  19  Prefactor     14.915        28.220        .26301E-03   -1.5631    
  20  norm          1.3766        2.7433        .92200E-03   -1.5684    
  21  Prefactor     .13878E-08    6.9967        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .94109        1.0421        .43104E-03   -1.5689    
  23  norm           .0000        1.4629        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     25.797        20.409        .19703E-03   -1.5606    
  25  Prefactor     1.1575        2.2872        .29508E-02   -1.5686    
  26  Prefactor     .14155E-07    11.061        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .32641E-07    9.8783        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     1.3841        5.4272        .92116E-03   -1.5684    
  29  Prefactor     .34007E-05    3.6713        .49789E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    1.3585        .19037        .48880E-01   -.81836    
  31  Prefactor     .64724        .18986        .70920E-01   -1.0563    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.81427e-07
Minuit parameter uncertainties:
  1  57.5224
  2  23.9615
  3  0.000528545
  4  0.00100727
  5  7.23666
  6  2.7838
  7  7.89838
  8  4.95979
  9  0.0133814
  10  1.00565e-07
  11  18.7175
  12  7.40659e-07
  13  0.0453262
  14  14.8032
  15  3.80242e-05
  16  3.52449e-05
  17  2.76813e-05
  18  4.58154
  19  28.2203
  20  2.74326
  21  0.000198115
  22  1.04214
  23  3.98845e-06
  24  20.409
  25  2.28722
  26  0.000791707
  27  0.00113578
  28  5.42726
  29  0.00706674
  30  0.190468
  31  0.190051
Done.

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

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  4.565e+00  4.582e+00  0.000e+00  1.000e+06 ( 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:  6.472e-01  1.901e-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:  1.359e+00  1.905e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.68
Ra Dec: 351.350 -48.002
Photon Index (Fixed Index): 2.11 +/- 0.00
Photon Flux (Fixed Index): 1.97e-08 +/- 1.97e-08
Energy Flux (Fixed Index): 1.07e-05 +/- 1.07e-05

TS (Fixed Index): 2.68
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 7.45e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.63e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/658821/likelihoodResults_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.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) = 5987.38942742
delta logL = 0.337380404013

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5987.3652731
delta logL = 0.361534722213

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.7458       1.0000          .0000       .10000E+07
     2 'Index     '    1.5039       1.0000          .0000       10.000    
     3 'Normalizat'    1.3716       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .63949       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=   5987.365     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      247 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.7456        5.7821        .16751E-04    .27554E-02
   2  Index         1.5039        .63668        .10342E-01    .50109E-04
   3  Normalizat    1.3716        .21156        .21522E-03   -.54925E-04
   4  Prefactor     .63949        .22081        .31561E-03    .23378E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.74563
  Index      = 1.50387
  Normalizat = 1.37163
  Prefactor  = 0.639495
 **********
 **   18 **HESSE 
 **********

 FCN=   5987.365     FROM HESSE     STATUS=OK            23 CALLS      270 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.7456        5.8124        .67006E-06   -1.5660    
   2  Index         1.5039        .64006        .41369E-03   -.77431    
   3  Normalizat    1.3716        .21173        .43045E-04   -.81453    
   4  Prefactor     .63949        .22100        .12624E-04   -1.0595    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89336e-10
Minuit parameter uncertainties:
  1  5.81241
  2  0.643531
  3  0.211867
  4  0.221305
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/658821': 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) = 5987.3652731
delta logL = 0.361534723018

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  5.746e+00  5.812e+00  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  1.504e+00  6.435e-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:  6.395e-01  2.213e-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:  1.372e+00  2.119e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.41
Ra Dec: 351.350 -48.002
Photon Index (Free Index): 1.50 +/- 0.64
Photon Flux (Free Index): 9.03e-09 +/- 1.24e-08
Energy Flux (Free Index): 2.82e-05 +/- 4.44e-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/658821/cmap_HighResolution_691632001_691891201_4FGL_J2325.4-4800_daily_bin1745.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.63e-03', comment='SUCCESS', photon_flux='1.97e-08', energy_flux2='2.82e-05', photon_flux_error='1.97e-08', dlogl='3.62e-01', energy_flux='1.07e-05', photon_flux2='9.03e-09', job_status='DONE', time_completed='2022-12-05 01:43:22.637714', photon_index_error2='0.64', photon_index2='1.50', ts='2.68', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', photon_flux_upper_limit='7.45e-08', energy_flux_error2='4.44e-05', EG='1.36', time_epoch_completed='1670233402.64', return_code='0', job_id='658821', GAL2='0.64', EG2='1.37', return_code2='0', energy_flux_error='1.07e-05', photon_flux_error2='1.24e-08', ts2='3.41', photon_index='2.11' WHERE bin_id='1745' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec  5 01:43:22 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 658821: <4FGL_J2325.4-4800_daily_bin1745> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1745> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Mon Dec  5 01:30:27 2022
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec  5 01:30:29 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec  5 01:30:29 2022
Terminated at Mon Dec  5 01:43:23 2022
Results reported at Mon Dec  5 01:43:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1745 351.35 -48.0022 691632001 691891201 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 :                                   727.16 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   773 sec.
    Turnaround time :                            776 sec.

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

