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


Performing analysis on: 4FGL_J2325.4-4800_daily_bin1773
RA = 351.35, Dec = -48.0022
tmin = 698889601, tmax = 699148801
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='807265', job_status='RUN', time_executed='2023-02-27 10:44:48.290986', time_epoch_executed='1677523488.29' WHERE source_name='4FGL J2325.4-4800' and cadence='daily' and bin_id='1773'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/807265

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/807265/ft1_4FGL_J2325.4-4800_daily_bin1773.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/807265/ft1_4FGL_J2325.4-4800_daily_bin1773.fits outfile=/scratch/kocevski/807265/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1773.fits ra=351.35 dec=-48.0022 rad=12.0 tmin=698889601.0 tmax=699148801.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.13
user 2.75
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.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/807265/ft1_filteredMKT_4FGL_J2325.4-4800_daily_bin1773.fits evtable="EVENTS" outfile="/scratch/kocevski/807265/ft1_filtered_4FGL_J2325.4-4800_daily_bin1773.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.51
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 170

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/807265/ft1_filtered_4FGL_J2325.4-4800_daily_bin1773.fits" evtable="EVENTS" scfile=/scratch/kocevski/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.fits sctable="SC_DATA" outfile=/scratch/kocevski/807265/ltcube_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.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/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.fits
.....................!
real 15.42
user 15.01
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/807265/ft1_filtered_4FGL_J2325.4-4800_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.fits sctable="SC_DATA" expcube=/scratch/kocevski/807265/ltcube_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.fits outfile=/scratch/kocevski/807265/expmap_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.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/807265/ltcube_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.fits
.....................!
real 191.25
user 185.31
sys 5.59

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/807265/ft1_filtered_4FGL_J2325.4-4800_daily_bin1773.fits scfile=/scratch/kocevski/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.fits outfile=/scratch/kocevski/807265/cmap_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/807265/ft1_filtered_4FGL_J2325.4-4800_daily_bin1773.fits scfile=/scratch/kocevski/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.fits outfile=/scratch/kocevski/807265/cmap_HighResolution_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.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.57
user 0.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/807265/ft1_filtered_4FGL_J2325.4-4800_daily_bin1773.fits evtable="EVENTS" scfile=/scratch/kocevski/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/807265/Model_4FGL_J2325.4-4800_daily_bin1773.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/807265/ft1_filtered_4FGL_J2325.4-4800_daily_bin1773.fits......................!
real 23.11
user 21.80
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/807265/ft1_filtered_4FGL_J2325.4-4800_daily_bin1773.fits', '/scratch/kocevski/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.fits', expMap='/scratch/kocevski/807265/expmap_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.fits', expCube='/scratch/kocevski/807265/ltcube_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/807265/Model_4FGL_J2325.4-4800_daily_bin1773.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/807265/ft1_filtered_4FGL_J2325.4-4800_daily_bin1773.fits
Spacecraft file(s): /scratch/kocevski/807265/ft2_4FGL_J2325.4-4800_daily_bin1773.fits
Exposure map: /scratch/kocevski/807265/expmap_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.fits
Exposure cube: /scratch/kocevski/807265/ltcube_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/807265/Model_4FGL_J2325.4-4800_daily_bin1773.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1884.83281051

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    152.17       1.0000          .0000       .10000E+07
     2 'Prefactor '    42.429       1.0000          .0000       .10000E+07
     3 'Prefactor '    .27256E-07   1.0000          .0000       .10000E+07
     4 'Prefactor '    .27803E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    17.951       1.0000          .0000       .10000E+07
     6 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     7 'norm      '    .18319E-08   1.0000          .0000       .10000E+07
     8 'Prefactor '    1507.3       1.0000          .0000       .10000E+07
     9 'Prefactor '    .39296E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .13481E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    89.071       1.0000          .0000       .10000E+07
    12 'Prefactor '    .29754E-07   1.0000          .0000       .10000E+07
    13 'Prefactor '    .35655E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    40.647       1.0000          .0000       .10000E+07
    15 'norm      '    .19840E-06   1.0000          .0000       .10000E+07
    16 'norm      '    .22204E-09   1.0000          .0000       .10000E+07
    17 'norm      '    .72164E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    .54790E-07   1.0000          .0000       .10000E+07
    19 'Prefactor '    .20706E-07   1.0000          .0000       .10000E+07
    20 'norm      '    .29754E-07   1.0000          .0000       .10000E+07
    21 'Prefactor '    .12118E-06   1.0000          .0000       .10000E+07
    22 'norm      '    1.6371       1.0000          .0000       .10000E+07
    23 'norm      '    .17986E-07   1.0000          .0000       .10000E+07
    24 'Prefactor '    .84932E-08   1.0000          .0000       .10000E+07
    25 'Prefactor '    7.5978       1.0000          .0000       .10000E+07
    26 'Prefactor '    .20852E-05   1.0000          .0000       .10000E+07
    27 'norm      '    .67724E-08   1.0000          .0000       .10000E+07
    28 'Prefactor '    .68334E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    1.6393       1.0000          .0000       .10000E+07
    30 'Normalizat'    .12762       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.5754       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=   1884.622     FROM MIGRAD    STATUS=CONVERGED    257 CALLS     4599 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     152.28        5.0701       -.14929E-06    .10281    
   2  Prefactor     42.442        10.151        .40517E-06   -.33861E-01
   3  Prefactor     .41300E-06    35.325       -.20555E-05** at limit **
   4  Prefactor     .53565E-01    737.62        .50911E-05** at limit **
   5  Prefactor     17.949        14.492       -.15351E-05    .66285E-03
   6  Prefactor      .0000        2.7712        .14173E-06** at limit **
   7  norm          .28466E-06    51.110       -.24556E-05** at limit **
   8  Prefactor     1507.4        2.6012       -.61525E-08   -.18137E-02
   9  Prefactor     .70910E-03    841.31        .75946E-05** at limit **
  10  Prefactor     .81724E-06    57.240       -.85143E-06** at limit **
  11  Prefactor     89.202        4.1290       -.16066E-06    .49708E-01
  12  Prefactor     .32196E-08    18.985       -.26853E-05** at limit **
  13  Prefactor     .98838E-06    25.885       -.22628E-05** at limit **
  14  Prefactor     40.651        12.374        .31433E-06   -.17293E-02
  15  norm          .47521E-05    22.029        .17565E-07** at limit **
  16  norm           .0000        5.2141        .56404E-06** at limit **
  17  norm           .0000        5.0247        .73077E-06** at limit **
  18  Prefactor     .55511E-10    5.0535        .60219E-07** at limit **
  19  Prefactor     .57732E-08    23.235        .22258E-05** at limit **
  20  norm          .11102E-09    4.2908        .62301E-06** at limit **
  21  Prefactor     .11102E-09    9.2780       -.23889E-06** at limit **
  22  norm          1.6367        2.0139       -.12055E-06   -.89024E-03
  23  norm          .11102E-09    3.8855        .85520E-06** at limit **
  24  Prefactor     .10869E-06    15.814       -.32866E-05** at limit **
  25  Prefactor     7.5986        7.1102       -.32093E-06    .24310E-03
  26  Prefactor     .25236E-05    27.294        .24373E-05** at limit **
  27  norm          .11613E-06    15.834        .42242E-05** at limit **
  28  Prefactor      .0000        8.1805        .56086E-06** at limit **
  29  Prefactor     1.6374        6.9368        .31661E-06   -.16773E-03
  30  Normalizat    .12717        .36771        .47154E-04   -.11689E-05
  31  Prefactor     1.5757        .40191       -.64505E-05    .44493E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 152.28
  Prefactor  = 42.4417
  Prefactor  = 4.13003e-07
  Prefactor  = 0.0535655
  Prefactor  = 17.9495
  Prefactor  = 0
  norm       = 2.84661e-07
  Prefactor  = 1507.39
  Prefactor  = 0.0007091
  Prefactor  = 8.17235e-07
  Prefactor  = 89.202
  Prefactor  = 3.21965e-09
  Prefactor  = 9.88376e-07
  Prefactor  = 40.6512
  norm       = 4.75209e-06
  norm       = 0
  norm       = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 5.77316e-09
  norm       = 1.11022e-10
  Prefactor  = 1.11022e-10
  norm       = 1.63675
  norm       = 1.11022e-10
  Prefactor  = 1.08691e-07
  Prefactor  = 7.59856
  Prefactor  = 2.52359e-06
  norm       = 1.16129e-07
  Prefactor  = 0
  Prefactor  = 1.63739
  Normalizat = 0.127169
  Prefactor  = 1.5757
 **********
 **   18 **HESSE 
 **********

 FCN=   1884.622     FROM HESSE     STATUS=NOT POSDEF   676 CALLS     5275 TOTAL
                     EDM=   .43E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     152.28        150.17        .81071E-04   -1.5461    
   2  Prefactor     42.442        47.842        .15354E-03   -1.5578    
   3  Prefactor     .41300E-06    34.486        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .53565E-01    235.35        .57903E-02   -1.5713    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     17.949        26.046        .23611E-03   -1.5623    
   6  Prefactor      .0000        2.6554        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .28466E-06    66.740        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1507.4        1169.7        .25777E-04   -1.4931    
   9  Prefactor     .70910E-03    1160.9        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .81724E-06    75.866        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     89.202        167.53        .10596E-03   -1.5519    
  12  Prefactor     .32196E-08    18.199        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .98838E-06    72.019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     40.651        45.283        .15686E-03   -1.5580    
  15  norm          .47521E-05    41.479        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        4.9836        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm           .0000        4.8207        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .55511E-10    4.8535        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .57732E-08    22.260        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .11102E-09    4.1034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .11102E-09    8.8588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          1.6367        2.3185        .82573E-03   -1.5682    
  23  norm          .11102E-09    3.7166        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10869E-06    15.387        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     7.5986        14.003        .36358E-03   -1.5653    
  26  Prefactor     .25236E-05    44.423        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          .11613E-06    15.362        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor      .0000        7.9186        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     1.6374        28.984        .82502E-03   -1.5682    
  30  Normalizat    .12717        7.9964        .14020       -1.3538    
  31  Prefactor     1.5757        1.8520        .48039E-01   -.75441    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.2973e-06
Minuit parameter uncertainties:
  1  150.177
  2  47.8429
  3  0.00754783
  4  7.10149
  5  26.0463
  6  2.07655e-06
  7  0.00871713
  8  1169.84
  9  1.81497
  10  0.0157483
  11  167.539
  12  0.000485233
  13  0.0168742
  14  45.2831
  15  0.0280794
  16  2.07361e-05
  17  2.12064e-05
  18  3.41178e-05
  19  0.000718613
  20  3.97731e-05
  21  6.08335e-05
  22  2.31849
  23  3.8685e-05
  24  0.00258615
  25  14.0034
  26  0.0211762
  27  0.0026712
  28  1.27547e-05
  29  13.778
  30  2.16719
  31  1.94277
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 1884.62178728

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  5.551e-11  3.412e-05  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:  1.576e+00  1.943e+00  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.272e-01  2.167e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 351.350 -48.002
Photon Flux Upper Limit: 1.13e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/807265/likelihoodResults_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.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) = 1884.63803313
delta logL = -0.0162458515742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 101
logL (Free Index) = 1884.62178728
delta logL = -8.42715053295e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '     .0000       1.0000          .0000       .10000E+07
     2 'Index     '    2.4909       1.0000          .0000       10.000    
     3 'Normalizat'    .12714       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5757       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=   1884.622     FROM MIGRAD    STATUS=CONVERGED     34 CALLS      179 TOTAL
                     EDM=   .13E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        4.6441        .43592E-06** at limit **
   2  Index         .94684        2.1256        .43084E-04     .0000    
   3  Normalizat    .12717        .34126        .36458E-04    .25980E-05
   4  Prefactor     1.5757        .39802       -.94527E-05    .20378E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.946844
  Normalizat = 0.12717
  Prefactor  = 1.5757
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1884.622     FROM HESSE     STATUS=FAILED        11 CALLS      190 TOTAL
                     EDM=   .13E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        4.5313        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .33352E-01    1.0255        .43084E-04   -.94523    
   3  Normalizat    .12717        .35868        .36458E-04   -1.3538    
   4  Prefactor     1.5757        1.0418       -.94527E-05   -.75441    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.28396e-12
Minuit parameter uncertainties:
  1  3.7879e-07
  2  0.690008
  3  0.36568
  4  1.05654
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/807265': 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): 101
logL (Free Index) = 1884.62178728
delta logL = 1.796252036e-11

Extracting fit parameters...

4FGL J2325.4-4800
   Spectrum: PowerLaw
439    Prefactor:  0.000e+00  3.788e-07  0.000e+00  1.000e+06 ( 1.000e-13)
440        Index:  9.468e-01  6.900e-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:  1.576e+00  1.057e+00  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.272e-01  3.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 351.350 -48.002

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/807265/cmap_HighResolution_698889601_699148801_4FGL_J2325.4-4800_daily_bin1773.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.52e-03', job_status='DONE', photon_flux_upper_limit='1.13e-07', time_completed='2023-02-27 10:52:56.141922', job_id='807265', GAL2='1.58', fit_tolerance='1e-08', EG2='0.13', EG='0.13', time_epoch_completed='1677523976.14', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='102', GAL='1.58', dlogl='1.80e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.11' WHERE bin_id='1773' AND source_name='4FGL J2325.4-4800' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb 27 10:52:56 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 807265: <4FGL_J2325.4-4800_daily_bin1773> in cluster <slac> Done

Job <4FGL_J2325.4-4800_daily_bin1773> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Mon Feb 27 10:40:20 2023
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb 27 10:40:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb 27 10:40:22 2023
Terminated at Mon Feb 27 10:52:57 2023
Results reported at Mon Feb 27 10:52:57 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2325.4-4800_daily_bin1773 351.35 -48.0022 698889601 699148801 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 :                                   490.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             191.04 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   754 sec.
    Turnaround time :                            757 sec.

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

