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 95 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_J2258.1-2759_daily_bin1758
RA = 344.529, Dec = -27.9843
tmin = 695001601, tmax = 695260801
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='386258', job_status='RUN', time_executed='2023-01-13 01:57:39.774611', time_epoch_executed='1673603859.77' WHERE source_name='4FGL J2258.1-2759' and cadence='daily' and bin_id='1758'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/386258

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/386258/ft1_4FGL_J2258.1-2759_daily_bin1758.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/386258/ft1_4FGL_J2258.1-2759_daily_bin1758.fits outfile=/scratch/kocevski/386258/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1758.fits ra=344.529 dec=-27.9843 rad=12.0 tmin=695001601.0 tmax=695260801.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.79
user 2.54
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.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/386258/ft1_filteredMKT_4FGL_J2258.1-2759_daily_bin1758.fits evtable="EVENTS" outfile="/scratch/kocevski/386258/ft1_filtered_4FGL_J2258.1-2759_daily_bin1758.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.72
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 532

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/386258/ft1_filtered_4FGL_J2258.1-2759_daily_bin1758.fits" evtable="EVENTS" scfile=/scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits sctable="SC_DATA" outfile=/scratch/kocevski/386258/ltcube_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.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/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits
.....................!
real 15.76
user 15.36
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/386258/ft1_filtered_4FGL_J2258.1-2759_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits sctable="SC_DATA" expcube=/scratch/kocevski/386258/ltcube_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.fits outfile=/scratch/kocevski/386258/expmap_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.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/386258/ltcube_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.fits
.....................!
real 190.89
user 185.03
sys 5.47

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

Setting source of interest to:
4FGL J2258.1-2759 @ 344.529 -27.9843

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/386258/ft1_filtered_4FGL_J2258.1-2759_daily_bin1758.fits scfile=/scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits outfile=/scratch/kocevski/386258/cmap_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.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=344.529 yref=-27.9843 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.58
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/386258/ft1_filtered_4FGL_J2258.1-2759_daily_bin1758.fits scfile=/scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits outfile=/scratch/kocevski/386258/cmap_HighResolution_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.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=344.529 yref=-27.9843 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.65
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/386258/ft1_filtered_4FGL_J2258.1-2759_daily_bin1758.fits evtable="EVENTS" scfile=/scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/386258/Model_4FGL_J2258.1-2759_daily_bin1758.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/386258/ft1_filtered_4FGL_J2258.1-2759_daily_bin1758.fits.....................!
real 47.36
user 45.88
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/386258/ft1_filtered_4FGL_J2258.1-2759_daily_bin1758.fits', '/scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits', expMap='/scratch/kocevski/386258/expmap_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.fits', expCube='/scratch/kocevski/386258/ltcube_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/386258/Model_4FGL_J2258.1-2759_daily_bin1758.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2258.1-2759'

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  1.011e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-11)
343        alpha:  2.287e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.979e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/386258/ft1_filtered_4FGL_J2258.1-2759_daily_bin1758.fits
Spacecraft file(s): /scratch/kocevski/386258/ft2_4FGL_J2258.1-2759_daily_bin1758.fits
Exposure map: /scratch/kocevski/386258/expmap_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.fits
Exposure cube: /scratch/kocevski/386258/ltcube_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/386258/Model_4FGL_J2258.1-2759_daily_bin1758.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) = 5821.60936745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.623       1.0000          .0000       .10000E+07
     2 'Prefactor '    .83570E-04   1.0000          .0000       .10000E+07
     3 'norm      '    .28351E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    12.912       1.0000          .0000       .10000E+07
     5 'Prefactor '    .27567E-06   1.0000          .0000       .10000E+07
     6 'norm      '    4.9433       1.0000          .0000       .10000E+07
     7 'Prefactor '    .49547       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.8910       1.0000          .0000       .10000E+07
     9 'norm      '    .14411E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .11629E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    23.871       1.0000          .0000       .10000E+07
    12 'norm      '    2.4940       1.0000          .0000       .10000E+07
    13 'Prefactor '    4.6727       1.0000          .0000       .10000E+07
    14 'norm      '    .18074E-04   1.0000          .0000       .10000E+07
    15 'Prefactor '    12.067       1.0000          .0000       .10000E+07
    16 'norm      '    .16875E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    34.814       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.3627       1.0000         .10000E-01   10.000    
    19 'Prefactor '    .87986       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5821.598     FROM MIGRAD    STATUS=CONVERGED    118 CALLS     1450 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.801        4.7337       -.41032E-06   -.13919E-01
   2  Prefactor     .55511E-10    4.6332       -.32623E-07** at limit **
   3  norm          .23315E-07    4.8909       -.10217E-05** at limit **
   4  Prefactor     13.238        26.198       -.39249E-05    .13059E-01
   5  Prefactor     .27756E-09    5.5385       -.47084E-07** at limit **
   6  norm          4.9570        2.9814       -.74113E-07    .63236E-02
   7  Prefactor     .26096E-06    53.960       -.12231E-05** at limit **
   8  Prefactor     6.9048        1.7517        .33251E-06   -.34463E-02
   9  norm          .33307E-09    3.1327       -.20427E-07** at limit **
  10  Prefactor     .18430E-07    8.3394       -.10100E-06** at limit **
  11  Prefactor     23.856        7.0134        .53586E-06    .76646E-01
  12  norm          2.4941        1.0284       -.21374E-06    .28838E-01
  13  Prefactor     4.7548        12.124        .32147E-05    .97789E-02
  14  norm          .14433E-08    7.5198        .16300E-05** at limit **
  15  Prefactor     12.187        4.3679        .16779E-06    .20643E-02
  16  norm          .55511E-10    1.3635        .10437E-07** at limit **
  17  Prefactor     36.082        39.754        .81653E-06   -.40269E-02
  18  Normalizat    1.3624        .24164       -.41996E-05    .15217E-03
  19  Prefactor     .87943        .23230        .40032E-05    .14649E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.8007
  Prefactor  = 5.55112e-11
  norm       = 2.33147e-08
  Prefactor  = 13.2375
  Prefactor  = 2.77556e-10
  norm       = 4.95696
  Prefactor  = 2.60958e-07
  Prefactor  = 6.90481
  norm       = 3.33067e-10
  Prefactor  = 1.84297e-08
  Prefactor  = 23.8565
  norm       = 2.49413
  Prefactor  = 4.75483
  norm       = 1.44329e-09
  Prefactor  = 12.1874
  norm       = 5.55112e-11
  Prefactor  = 36.0821
  Normalizat = 1.36244
  Prefactor  = 0.879434
 **********
 **   18 **HESSE 
 **********

 FCN=   5821.598     FROM HESSE     STATUS=OK           308 CALLS     1758 TOTAL
                     EDM=   .87E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.801        21.382        .25313E-03   -1.5628    
   2  Prefactor     .55511E-10    4.6297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .23315E-07    9.2693        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.238        28.102        .27851E-03   -1.5635    
   5  Prefactor     .27756E-09    5.5414        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.9570        2.9952        .45212E-03   -1.5663    
   7  Prefactor     .26096E-06    58.014        .79166E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.9048        13.566        .38196E-03   -1.5655    
   9  norm          .33307E-09    3.1268        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .18430E-07    8.8743        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.856        16.908        .20472E-03   -1.5610    
  12  norm          2.4941        1.2002        .64694E-03   -1.5676    
  13  Prefactor     4.7548        14.270        .46531E-03   -1.5664    
  14  norm          .14433E-08    9.9006        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.187        38.267        .28813E-03   -1.5638    
  16  norm          .55511E-10    1.3541        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     36.082        40.077        .16950E-03   -1.5588    
  18  Normalizat    1.3624        .20767        .55452E-01   -.81721    
  19  Prefactor     .87943        .19406        .64877E-01   -.96863    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.66623e-08
Minuit parameter uncertainties:
  1  21.3824
  2  2.99898e-05
  3  0.000929257
  4  28.1021
  5  8.20799e-05
  6  2.99517
  7  0.00778177
  8  13.5664
  9  6.3842e-05
  10  0.000808345
  11  16.9083
  12  1.20024
  13  14.2699
  14  0.000240581
  15  38.2677
  16  1.36388e-05
  17  40.077
  18  0.207795
  19  0.194207
Done.

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

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.494e+00  1.200e+00  0.000e+00  1.000e+06 ( 1.000e-11)
343        alpha:  2.287e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
344         beta:  1.979e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.794e-01  1.942e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.362e+00  2.078e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 16.22
Ra Dec: 344.529 -27.984
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 1.41e-07 +/- 6.79e-08
Energy Flux (Fixed Index): 5.33e-05 +/- 2.56e-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) = 5821.57008444
delta logL = 0.0280668398245

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5821.56235385
delta logL = 0.0357974257859

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3888       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4134       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3472       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88824       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5630E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5821.562     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      206 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3887        11.807        .66240E-03    .14605E-02
   2  alpha         2.4135        3.6914        .26169        .49751E-04
   3  Normalizat    1.3471        .13583        .55679E-01    .35666E-05
   4  Prefactor     .88836        .84881E-01    .64566E-01    .14742E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.38871
  alpha      = 2.4135
  Normalizat = 1.34711
  Prefactor  = 0.888359
 **********
 **   18 **HESSE 
 **********

 FCN=   5821.562     FROM HESSE     STATUS=OK            33 CALLS      239 TOTAL
                     EDM=   .37E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3887        1.0140        .41043E-05   -1.5677    
   2  alpha         2.4135        .47675        .10008E-01   -.34607E-01
   3  Normalizat    1.3471        .24685        .24620E-03   -.82171    
   4  Prefactor     .88836        .23385        .28558E-03   -.96549    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.70149e-12
Minuit parameter uncertainties:
  1  1.01404
  2  0.479687
  3  0.247066
  4  0.234112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/386258': 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) = 5821.56235369
delta logL = 0.0357975868947

Extracting fit parameters...

4FGL J2258.1-2759
   Spectrum: LogParabola
342         norm:  2.389e+00  1.014e+00  0.000e+00  1.000e+06 ( 1.000e-11)
343        alpha:  2.413e+00  4.797e-01  0.000e+00  5.000e+00 ( 1.000e+00)
344         beta:  1.979e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
345           Eb:  7.783e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
560    Prefactor:  8.884e-01  2.341e-01  0.000e+00  1.000e+01 ( 1.000e+00)
561        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
562        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
559   Normalization:  1.347e+00  2.471e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 16.90
Ra Dec: 344.529 -27.984
Photon Index (Free Index): 2.41 +/- 0.48
Photon Flux (Free Index): 1.57e-07 +/- 8.01e-08
Energy Flux (Free Index): 5.27e-05 +/- 1.94e-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/386258/cmap_HighResolution_695001601_695260801_4FGL_J2258.1-2759_daily_bin1758.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.41e-07', energy_flux2='5.27e-05', photon_flux_error='6.79e-08', dlogl='3.58e-02', energy_flux='5.33e-05', photon_flux2='1.57e-07', job_status='DONE', time_completed='2023-01-13 02:05:50.227019', photon_index_error2='0.48', photon_index2='2.41', ts='16.22', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', energy_flux_error2='1.94e-05', EG='1.36', time_epoch_completed='1673604350.23', return_code='0', job_id='386258', GAL2='0.89', EG2='1.35', return_code2='0', energy_flux_error='2.56e-05', photon_flux_error2='8.01e-08', ts2='16.90', photon_index='2.29' WHERE bin_id='1758' AND source_name='4FGL J2258.1-2759' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Jan 13 02:05:50 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0091>
Subject: Job 386258: <4FGL_J2258.1-2759_daily_bin1758> in cluster <slac> Done

Job <4FGL_J2258.1-2759_daily_bin1758> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Jan 13 01:55:15 2023
Job was executed on host(s) <bullet0091>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jan 13 01:55:55 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jan 13 01:55:55 2023
Terminated at Fri Jan 13 02:05:51 2023
Results reported at Fri Jan 13 02:05:51 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2258.1-2759_daily_bin1758 344.529 -27.9843 695001601 695260801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2258.1-2759 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   492.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            636 sec.

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

