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


Performing analysis on: 4FGL_J2251.5-4928_daily_bin1761
RA = 342.879, Dec = -49.4691
tmin = 695779201, tmax = 696038401
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='936461', job_status='RUN', time_executed='2023-01-22 01:49:20.103490', time_epoch_executed='1674380960.1' WHERE source_name='4FGL J2251.5-4928' and cadence='daily' and bin_id='1761'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/936461

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/936461/ft1_4FGL_J2251.5-4928_daily_bin1761.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/936461/ft1_4FGL_J2251.5-4928_daily_bin1761.fits outfile=/scratch/kocevski/936461/ft1_filteredMKT_4FGL_J2251.5-4928_daily_bin1761.fits ra=342.879 dec=-49.4691 rad=12.0 tmin=695779201.0 tmax=696038401.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.14
user 4.85
sys 0.27

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.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/936461/ft1_filteredMKT_4FGL_J2251.5-4928_daily_bin1761.fits evtable="EVENTS" outfile="/scratch/kocevski/936461/ft1_filtered_4FGL_J2251.5-4928_daily_bin1761.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: 448

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/936461/ft1_filtered_4FGL_J2251.5-4928_daily_bin1761.fits" evtable="EVENTS" scfile=/scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits sctable="SC_DATA" outfile=/scratch/kocevski/936461/ltcube_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.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/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits
.....................!
real 14.37
user 13.97
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/936461/ft1_filtered_4FGL_J2251.5-4928_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits sctable="SC_DATA" expcube=/scratch/kocevski/936461/ltcube_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.fits outfile=/scratch/kocevski/936461/expmap_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.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/936461/ltcube_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.fits
.....................!
real 192.72
user 186.76
sys 5.52

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

Setting source of interest to:
4FGL J2251.5-4928 @ 342.879 -49.4691

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/936461/ft1_filtered_4FGL_J2251.5-4928_daily_bin1761.fits scfile=/scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits outfile=/scratch/kocevski/936461/cmap_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.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=342.879 yref=-49.4691 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.59
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/936461/ft1_filtered_4FGL_J2251.5-4928_daily_bin1761.fits scfile=/scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits outfile=/scratch/kocevski/936461/cmap_HighResolution_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.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=342.879 yref=-49.4691 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.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/936461/ft1_filtered_4FGL_J2251.5-4928_daily_bin1761.fits evtable="EVENTS" scfile=/scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/936461/Model_4FGL_J2251.5-4928_daily_bin1761.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/936461/ft1_filtered_4FGL_J2251.5-4928_daily_bin1761.fits.....................!
real 39.85
user 38.52
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/936461/ft1_filtered_4FGL_J2251.5-4928_daily_bin1761.fits', '/scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits', expMap='/scratch/kocevski/936461/expmap_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.fits', expCube='/scratch/kocevski/936461/ltcube_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/936461/Model_4FGL_J2251.5-4928_daily_bin1761.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2251.5-4928'

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  7.449e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
404        Index:  1.851e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
405        Scale:  2.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/936461/ft1_filtered_4FGL_J2251.5-4928_daily_bin1761.fits
Spacecraft file(s): /scratch/kocevski/936461/ft2_4FGL_J2251.5-4928_daily_bin1761.fits
Exposure map: /scratch/kocevski/936461/expmap_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.fits
Exposure cube: /scratch/kocevski/936461/ltcube_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/936461/Model_4FGL_J2251.5-4928_daily_bin1761.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) = 4962.27298672

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    57.670       1.0000          .0000       .10000E+07
     2 'Prefactor '    .57107E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    22.134       1.0000          .0000       .10000E+07
     4 'Prefactor '    .37407       1.0000          .0000       .10000E+07
     5 'norm      '    .12974E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    .37704E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .11367E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    17.043       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.3637       1.0000          .0000       .10000E+07
    10 'Prefactor '    .28366E-05   1.0000          .0000       .10000E+07
    11 'Prefactor '    .28083E-04   1.0000          .0000       .10000E+07
    12 'Prefactor '    35.187       1.0000          .0000       .10000E+07
    13 'Prefactor '    .18637E-02   1.0000          .0000       .10000E+07
    14 'norm      '    7.9068       1.0000          .0000       .10000E+07
    15 'norm      '    5.1850       1.0000          .0000       .10000E+07
    16 'norm      '    .10642E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .40326E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .71750E-03   1.0000          .0000       .10000E+07
    19 'norm      '    6.5608       1.0000          .0000       .10000E+07
    20 'Prefactor '    .70756E-04   1.0000          .0000       .10000E+07
    21 'norm      '    .94824       1.0000          .0000       .10000E+07
    22 'norm      '    .60030E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    .21324E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    8.2831       1.0000          .0000       .10000E+07
    25 'Prefactor '    .80739E-03   1.0000          .0000       .10000E+07
    26 'norm      '    .21168E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .16185E-02   1.0000          .0000       .10000E+07
    28 'Prefactor '    .42940E-03   1.0000          .0000       .10000E+07
    29 'Normalizat'    1.0436       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .76400       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4962.232     FROM MIGRAD    STATUS=CONVERGED    214 CALLS     2233 TOTAL
                     EDM=   .19E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     58.505        23.460       -.86876E-09    .16838    
   2  Prefactor     .12595E-05    11.371        .29063E-07** at limit **
   3  Prefactor     22.140        6.4149       -.13558E-07   -.17161E-02
   4  Prefactor     .12402E-05    8.6849       -.70658E-07** at limit **
   5  norm          .34427E-05    34.637        .23138E-06** at limit **
   6  Prefactor     .11102E-09    5.4130        .70346E-07** at limit **
   7  Prefactor     .45511E-05    18.091        .16830E-06** at limit **
   8  Prefactor     17.053        7.9338        .35275E-08   -.68862E-03
   9  Prefactor     3.3713        2.1256        .17204E-07   -.14002E-02
  10  Prefactor     .53063E-05    16.289       -.11402E-06** at limit **
  11  Prefactor      .0000        1.6936       -.13306E-07** at limit **
  12  Prefactor     35.470        4.5278       -.46212E-08    .16781E-01
  13  Prefactor     .18724E-06    9.6045        .13473E-06** at limit **
  14  norm          7.9021        2.3261       -.19276E-07    .82735E-01
  15  norm          5.2208        5.1858       -.39837E-07   -.30257E-02
  16  norm           .0000        2.6698       -.10320E-07** at limit **
  17  Prefactor     .94369E-09    4.4274        .13319E-06** at limit **
  18  Prefactor     .18356E-05    17.832       -.11263E-06** at limit **
  19  norm          6.5734        4.9859       -.56892E-07   -.43482E-02
  20  Prefactor     .49960E-09    4.0540       -.82464E-07** at limit **
  21  norm          .94951        .96436       -.53066E-08   -.17455E-02
  22  norm          .55511E-10    2.4339        .46928E-07** at limit **
  23  Prefactor     .14333E-06    9.7033        .11321E-06** at limit **
  24  Prefactor     8.2238        5.4210        .79196E-07    .33269E-02
  25  Prefactor     .24652E-05    218.74       -.14514E-05** at limit **
  26  norm          .38858E-09    6.8031       -.38219E-07** at limit **
  27  Prefactor     .90499E-05    19.142        .25434E-06** at limit **
  28  Prefactor      .0000        2.8266        .50008E-07** at limit **
  29  Normalizat    1.0440        .24336        .55808E-06   -.37167E-03
  30  Prefactor     .76343        .22193       -.32236E-05   -.43798E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 58.5049
  Prefactor  = 1.25955e-06
  Prefactor  = 22.1397
  Prefactor  = 1.24017e-06
  norm       = 3.44275e-06
  Prefactor  = 1.11022e-10
  Prefactor  = 4.55108e-06
  Prefactor  = 17.0531
  Prefactor  = 3.37133
  Prefactor  = 5.30626e-06
  Prefactor  = 0
  Prefactor  = 35.4696
  Prefactor  = 1.87239e-07
  norm       = 7.90209
  norm       = 5.22084
  norm       = 0
  Prefactor  = 9.4369e-10
  Prefactor  = 1.83559e-06
  norm       = 6.57338
  Prefactor  = 4.996e-10
  norm       = 0.949505
  norm       = 5.55112e-11
  Prefactor  = 1.4333e-07
  Prefactor  = 8.2238
  Prefactor  = 2.46519e-06
  norm       = 3.88578e-10
  Prefactor  = 9.04993e-06
  Prefactor  = 0
  Normalizat = 1.04399
  Prefactor  = 0.763434
 **********
 **   18 **HESSE 
 **********

 FCN=   4962.232     FROM HESSE     STATUS=OK           638 CALLS     2871 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     58.505        40.604        .13169E-03   -1.5555    
   2  Prefactor     .12595E-05    28.884        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     22.140        6.4251        .21261E-03   -1.5614    
   4  Prefactor     .12402E-05    102.70        .92555E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .34427E-05    53.895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .11102E-09    5.3079        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .45511E-05    30.375        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     17.053        7.9554        .24234E-03   -1.5625    
   9  Prefactor     3.3713        44.220        .55152E-03   -1.5671    
  10  Prefactor     .53063E-05    23.323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor      .0000        1.7041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     35.470        37.284        .16860E-03   -1.5589    
  13  Prefactor     .18724E-06    9.9817        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.9021        9.9111        .35635E-03   -1.5652    
  15  norm          5.2208        5.1855        .44124E-03   -1.5662    
  16  norm           .0000        2.6691        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .94369E-09    4.4227        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .18356E-05    21.185        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.5734        5.0046        .39156E-03   -1.5657    
  20  Prefactor     .49960E-09    4.0587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .94951        .96772        .42480E-03   -1.5688    
  22  norm          .55511E-10    2.4347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .14333E-06    10.043        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.2238        5.4218        .34810E-03   -1.5651    
  25  Prefactor     .24652E-05    218.48        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .38858E-09    6.8027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .90499E-05    40.500        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor      .0000        2.8184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.0440        .20642        .41003E-01   -.91571    
  30  Prefactor     .76343        .18862        .43247E-01   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.76557e-06
Minuit parameter uncertainties:
  1  40.6044
  2  0.0120635
  3  6.42511
  4  0.0225719
  5  0.0272432
  6  4.75127e-05
  7  0.0235151
  8  7.95544
  9  24.42
  10  0.0222493
  11  9.55028e-06
  12  37.2838
  13  0.0027343
  14  9.91115
  15  5.18555
  16  5.49964e-06
  17  0.000130183
  18  0.0124719
  19  5.0046
  20  9.07686e-05
  21  0.967717
  22  2.17297e-05
  23  0.00239943
  24  5.42183
  25  0.046417
  26  0.000105166
  27  0.0382897
  28  1.6543e-05
  29  0.206578
  30  0.188776
Done.

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

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  3.547e+01  3.728e+01  0.000e+00  1.000e+06 ( 1.000e-14)
404        Index:  1.851e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
405        Scale:  2.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
589    Prefactor:  7.634e-01  1.888e-01  0.000e+00  1.000e+01 ( 1.000e+00)
590        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
591        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.044e+00  2.066e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.73
Ra Dec: 342.879 -49.469
Photon Index (Fixed Index): 1.85 +/- 0.00
Photon Flux (Fixed Index): 1.88e-08 +/- 1.97e-08
Energy Flux (Fixed Index): 1.93e-05 +/- 2.03e-05

TS (Fixed Index): 1.73
Ra Dec: 342.879 -49.469
Photon Flux Upper Limit: 7.14e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/936461/likelihoodResults_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.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) = 4962.23081992
delta logL = 0.000859257095726

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4962.22976777
delta logL = 0.00191140272455

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    32.977       1.0000          .0000       .10000E+07
     2 'Index     '    1.9030       1.0000          .0000       10.000    
     3 'Normalizat'    1.0432       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76394       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5920E+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=   4962.230     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      261 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     33.003        59.931        .69665E-05    .31790E-03
   2  Index         1.9025        .93594        .78281E-02    .32777E-03
   3  Normalizat    1.0431        .23024        .23759E-03   -.89719E-04
   4  Prefactor     .76405        .21858        .25884E-03    .94432E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 33.0026
  Index      = 1.90246
  Normalizat = 1.0431
  Prefactor  = 0.764051
 **********
 **   18 **HESSE 
 **********

 FCN=   4962.230     FROM HESSE     STATUS=OK            25 CALLS      286 TOTAL
                     EDM=   .84E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     33.003        54.605        .13933E-05   -1.5593    
   2  Index         1.9025        .85432        .15656E-02   -.66812    
   3  Normalizat    1.0431        .23037        .95035E-05   -.91600    
   4  Prefactor     .76405        .21874        .10354E-04   -1.0107    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.43648e-11
Minuit parameter uncertainties:
  1  54.6053
  2  0.861213
  3  0.230595
  4  0.218986
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/936461': 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) = 4962.2297673
delta logL = 0.00191188144163

Extracting fit parameters...

4FGL J2251.5-4928
   Spectrum: PowerLaw
403    Prefactor:  3.300e+01  5.461e+01  0.000e+00  1.000e+06 ( 1.000e-14)
404        Index:  1.902e+00  8.612e-01  0.000e+00  1.000e+01 (-1.000e+00)
405        Scale:  2.716e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
589    Prefactor:  7.641e-01  2.190e-01  0.000e+00  1.000e+01 ( 1.000e+00)
590        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
591        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
588   Normalization:  1.043e+00  2.306e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.73
Ra Dec: 342.879 -49.469
Photon Index (Free Index): 1.90 +/- 0.86
Photon Flux (Free Index): 1.95e-08 +/- 2.38e-08
Energy Flux (Free Index): 1.74e-05 +/- 3.54e-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/936461/cmap_HighResolution_695779201_696038401_4FGL_J2251.5-4928_daily_bin1761.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-03', comment='SUCCESS', photon_flux='1.88e-08', energy_flux2='1.74e-05', photon_flux_error='1.97e-08', dlogl='1.91e-03', energy_flux='1.93e-05', photon_flux2='1.95e-08', job_status='DONE', time_completed='2023-01-22 01:59:31.606328', photon_index_error2='0.86', photon_index2='1.90', ts='1.73', fit_tolerance='1e-08', GAL='0.76', photon_index_error='0.00', photon_flux_upper_limit='7.14e-08', energy_flux_error2='3.54e-05', EG='1.04', time_epoch_completed='1674381571.61', return_code='0', job_id='936461', GAL2='0.76', EG2='1.04', return_code2='0', energy_flux_error='2.03e-05', photon_flux_error2='2.38e-08', ts2='1.73', photon_index='1.85' WHERE bin_id='1761' AND source_name='4FGL J2251.5-4928' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 22 01:59:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 936461: <4FGL_J2251.5-4928_daily_bin1761> in cluster <slac> Done

Job <4FGL_J2251.5-4928_daily_bin1761> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Jan 22 01:45:14 2023
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 22 01:45:56 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 22 01:45:56 2023
Terminated at Sun Jan 22 01:59:32 2023
Results reported at Sun Jan 22 01:59:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2251.5-4928_daily_bin1761 342.879 -49.4691 695779201 696038401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2251.5-4928 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   613.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             266.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   815 sec.
    Turnaround time :                            858 sec.

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

