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 155 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7706
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J2358.0-4601_daily_bin1690
RA = 359.522, Dec = -46.0176
tmin = 677376001, tmax = 677635201
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='159657', job_status='RUN', time_executed='2022-06-23 01:21:25.028744', time_epoch_executed='1655972485.03' WHERE source_name='4FGL J2358.0-4601' and cadence='daily' and bin_id='1690'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/159657

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/159657/ft1_4FGL_J2358.0-4601_daily_bin1690.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/159657/ft1_4FGL_J2358.0-4601_daily_bin1690.fits outfile=/scratch/kocevski/159657/ft1_filteredMKT_4FGL_J2358.0-4601_daily_bin1690.fits ra=359.522 dec=-46.0176 rad=12.0 tmin=677376001.0 tmax=677635201.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.14
user 1.91
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.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/159657/ft1_filteredMKT_4FGL_J2358.0-4601_daily_bin1690.fits evtable="EVENTS" outfile="/scratch/kocevski/159657/ft1_filtered_4FGL_J2358.0-4601_daily_bin1690.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.45
user 0.28
sys 0.15

Number of photons that the gtmktime cut: 448

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/159657/ft1_filtered_4FGL_J2358.0-4601_daily_bin1690.fits" evtable="EVENTS" scfile=/scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits sctable="SC_DATA" outfile=/scratch/kocevski/159657/ltcube_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.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/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits
.....................!
real 14.24
user 13.87
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/159657/ft1_filtered_4FGL_J2358.0-4601_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits sctable="SC_DATA" expcube=/scratch/kocevski/159657/ltcube_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.fits outfile=/scratch/kocevski/159657/expmap_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.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/159657/ltcube_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.fits
.....................!
real 156.49
user 151.76
sys 4.26

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

Setting source of interest to:
4FGL J2358.0-4601 @ 359.522 -46.0176

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/159657/ft1_filtered_4FGL_J2358.0-4601_daily_bin1690.fits scfile=/scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits outfile=/scratch/kocevski/159657/cmap_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.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=359.522 yref=-46.0176 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.48
user 0.33
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/159657/ft1_filtered_4FGL_J2358.0-4601_daily_bin1690.fits scfile=/scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits outfile=/scratch/kocevski/159657/cmap_HighResolution_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.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=359.522 yref=-46.0176 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.50
user 0.33
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/159657/ft1_filtered_4FGL_J2358.0-4601_daily_bin1690.fits evtable="EVENTS" scfile=/scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/159657/Model_4FGL_J2358.0-4601_daily_bin1690.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/159657/ft1_filtered_4FGL_J2358.0-4601_daily_bin1690.fits.....................!
real 31.48
user 30.31
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/159657/ft1_filtered_4FGL_J2358.0-4601_daily_bin1690.fits', '/scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits', expMap='/scratch/kocevski/159657/expmap_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.fits', expCube='/scratch/kocevski/159657/ltcube_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/159657/Model_4FGL_J2358.0-4601_daily_bin1690.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2358.0-4601'

4FGL J2358.0-4601
   Spectrum: PowerLaw
569    Prefactor:  1.024e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
570        Index:  2.582e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
571        Scale:  6.628e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/159657/ft1_filtered_4FGL_J2358.0-4601_daily_bin1690.fits
Spacecraft file(s): /scratch/kocevski/159657/ft2_4FGL_J2358.0-4601_daily_bin1690.fits
Exposure map: /scratch/kocevski/159657/expmap_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.fits
Exposure cube: /scratch/kocevski/159657/ltcube_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/159657/Model_4FGL_J2358.0-4601_daily_bin1690.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) = 4902.1618846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .19133E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    32.732       1.0000         .10000E-03   10000.    
     3 'Prefactor '    3.7163       1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.8880       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.568       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.4772       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .43992       1.0000         .10000E-03   10000.    
     9 'norm      '    14.192       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .48068E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    24.714       1.0000         .10000E-03   10000.    
    15 'norm      '    5.5824       1.0000         .10000E-03   10000.    
    16 'norm      '    .41728E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    10.275       1.0000         .10000E-03   10000.    
    18 'norm      '    18.789       1.0000         .10000E-03   10000.    
    19 'Prefactor '    14.580       1.0000         .10000E-03   10000.    
    20 'Prefactor '    71.511       1.0000         .10000E-03   10000.    
    21 'norm      '    .10420E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11170       1.0000         .10000E-03   10000.    
    23 'norm      '    1.1696       1.0000         .10000E-03   10000.    
    24 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.2263       1.0000         .10000E-03   10000.    
    28 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10052E-03   1.0000         .10000E-03   10000.    
    31 'Normalizat'    1.2623       1.0000         .10000E-01   10.000    
    32 'Prefactor '    .86608       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4902.130     FROM MIGRAD    STATUS=CONVERGED    121 CALLS     3679 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10939E-03    45.134       -.19396E-04** at limit **
   2  Prefactor     32.724        1.2945        .76171E-06   -.14316E-02
   3  Prefactor     3.7184        1.0363       -.61197E-06    .20311E-03
   4  Prefactor     3.8850        1.0559        .38362E-06    .86855E-04
   5  Prefactor     10.568        1.0363        .27976E-06    .42956E-03
   6  Prefactor     .10020E-03    8.6571       -.18426E-04** at limit **
   7  Prefactor     3.4770        4.3890       -.24318E-05   -.47130E-03
   8  Prefactor     .43462        11.005        .57985E-05   -.18387E-03
   9  norm          14.218        2.0985       -.84266E-06    .12693E-02
  10  Prefactor     .10013E-03    8.9011        .15040E-04** at limit **
  11  norm          .13122E-03    12.879        .44241E-04** at limit **
  12  Prefactor     .10052E-03    61.018        .57065E-05** at limit **
  13  Prefactor     .10022E-03    31.722       -.38972E-04** at limit **
  14  Prefactor     24.739        3.2201       -.37298E-05    .46527E-02
  15  norm          5.5831        1.0885       -.11799E-05   -.32043E-03
  16  norm          .10001E-03    23.804       -.43704E-04** at limit **
  17  norm          10.276        1.0336       -.41550E-06   -.17976E-03
  18  norm          18.791        1.0237       -.16037E-06   -.42811E-04
  19  Prefactor     14.608        2.0116       -.98138E-06   -.94768E-03
  20  Prefactor     71.516        1.1822        .38989E-06   -.14770E-02
  21  norm          .10000E-03    6.9873       -.80957E-07** at limit **
  22  Prefactor     .10005E-03    526.80       -.52361E-04** at limit **
  23  norm          1.1700        1.4019        .19128E-06    .39547E-03
  24  norm          .10000E-03    3.0926       -.31097E-06** at limit **
  25  Prefactor     .10012E-03    27.838        .39895E-04** at limit **
  26  Prefactor     .10000E-03    1.7370        .15442E-06** at limit **
  27  Prefactor     8.2333        1.3970        .55735E-06    .48463E-04
  28  norm          .10000E-03    10.756        .16148E-05** at limit **
  29  Prefactor     .10000E-03    3.9364       -.26874E-06** at limit **
  30  Prefactor     .10000E-03    3.8830       -.82636E-06** at limit **
  31  Normalizat    1.2625        .24099       -.88592E-06    .38727E-03
  32  Prefactor     .86611        .26919        .19050E-05    .37257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000109386
  Prefactor  = 32.7236
  Prefactor  = 3.71842
  Prefactor  = 3.88498
  Prefactor  = 10.5679
  Prefactor  = 0.000100202
  Prefactor  = 3.47699
  Prefactor  = 0.434623
  norm       = 14.2184
  Prefactor  = 0.000100127
  norm       = 0.000131222
  Prefactor  = 0.000100515
  Prefactor  = 0.000100223
  Prefactor  = 24.7393
  norm       = 5.58314
  norm       = 0.000100007
  norm       = 10.2758
  norm       = 18.7911
  Prefactor  = 14.6077
  Prefactor  = 71.5162
  norm       = 0.0001
  Prefactor  = 0.000100053
  norm       = 1.16997
  norm       = 0.0001
  Prefactor  = 0.000100119
  Prefactor  = 0.0001
  Prefactor  = 8.23328
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.26249
  Prefactor  = 0.866105
 **********
 **   18 **HESSE 
 **********

 FCN=   4902.130     FROM HESSE     STATUS=OK           743 CALLS     4422 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10939E-03    477.70        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     32.724        30.768        .17510E-02   -1.4563    
   3  Prefactor     3.7184        82.581        .52369E-02   -1.5322    
   4  Prefactor     3.8850        13.095        .51158E-02   -1.5314    
   5  Prefactor     10.568        8.5332        .30812E-02   -1.5058    
   6  Prefactor     .10020E-03    14.543        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     3.4770        4.4016        .54213E-02   -1.5335    
   8  Prefactor     .43462        3.1974        .65761E-01   -1.5576    
   9  norm          14.218        40.967        .26580E-02   -1.4954    
  10  Prefactor     .10013E-03    14.383        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .13122E-03    140.05        .10588E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10052E-03    63.365        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10022E-03    33.622        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     24.739        24.159        .20144E-02   -1.4713    
  15  norm          5.5831        9.0765        .42509E-02   -1.5235    
  16  norm          .10001E-03    7.5670        .67536E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          10.276        8.1464        .31249E-02   -1.5067    
  18  norm          18.791        11.507        .23100E-02   -1.4841    
  19  Prefactor     14.608        10.859        .26224E-02   -1.4943    
  20  Prefactor     71.516        51.425        .11868E-02   -1.4015    
  21  norm          .10000E-03    6.9091        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10005E-03    24.666        .95669E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.1700        1.5726        .10612E-01   -1.5492    
  24  norm          .10000E-03    3.0372        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10012E-03    28.987        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    1.7225        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     8.2333        24.561        .34945E-02   -1.5134    
  28  norm          .10000E-03    10.762        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    3.8932        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    3.8074        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Normalizat    1.2625        .20902        .51536E-01   -.84693    
  32  Prefactor     .86611        .22491        .68403E-01   -.97336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.50771e-07
Minuit parameter uncertainties:
  1  0.135008
  2  30.7828
  3  35.1015
  4  13.1049
  5  8.5342
  6  0.0034285
  7  4.402
  8  2.35759
  9  41.0482
  10  0.00270115
  11  0.132561
  12  0.0114413
  13  0.00547549
  14  24.1681
  15  9.07877
  16  0.000467865
  17  8.14728
  18  11.5085
  19  10.8609
  20  51.457
  21  5.9603e-05
  22  0.00228747
  23  1.57262
  24  1.94417e-05
  25  0.00371388
  26  4.96203e-05
  27  24.5915
  28  0.000149254
  29  3.40514e-05
  30  4.65984e-06
  31  0.209156
  32  0.225146
Done.

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

Extracting fit parameters...

4FGL J2358.0-4601
   Spectrum: PowerLaw
569    Prefactor:  1.000e-04  4.660e-06  1.000e-04  1.000e+04 ( 1.000e-12)
570        Index:  2.582e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
571        Scale:  6.628e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  8.661e-01  2.251e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.262e+00  2.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 359.522 -46.018
Photon Flux Upper Limit: 8.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/159657/likelihoodResults_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.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) = 4902.130887
delta logL = -0.00122570753047

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4902.12966131
delta logL = -1.93113010027e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5715       1.0000          .0000       10.000    
     3 'Normalizat'    1.2625       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86614       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5880E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   4902.130     FROM MIGRAD    STATUS=FAILED        90 CALLS      246 TOTAL
                     EDM=   .51E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10107E-03    154.79        .13373E-02** at limit **
   2  Index         2.4959        5.6005        .50000        .17252E-04
   3  Normalizat    1.2625        .32002E-01    .22785E-03   -.30536E-04
   4  Prefactor     .86610        .36097E-01    .30262E-03   -.15290E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   4902.130     FROM SIMPLEX   STATUS=UNCHANGED    131 CALLS      377 TOTAL
                     EDM=   .13E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10107E-03    154.79        .35439E-03** at limit **
   2  Index         2.4959        5.6005        .71042E-04    .17252E-04
   3  Normalizat    1.2625        .32002E-01    .74944E-06   -.30536E-04
   4  Prefactor     .86610        .36097E-01    .13779E-05   -.15290E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4902.130     FROM MIGRAD    STATUS=CONVERGED     43 CALLS      420 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    819.52        .26747E-03** at limit **
   2  Index         2.2897        8.8093        .50000       -.72032E-07
   3  Normalizat    1.2625        .11418        .91141E-05    .14195E-03
   4  Prefactor     .86610        .12869        .12105E-04    .11609E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.28966
  Normalizat = 1.26249
  Prefactor  = 0.866103
 **********
 **   18 **HESSE 
 **********

 FCN=   4902.130     FROM HESSE     STATUS=OK            29 CALLS      449 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.5424        .53493E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.2897        7.0770        .50000       -.57290    
   3  Normalizat    1.2625        .23858        .18228E-05   -.84693    
   4  Prefactor     .86610        .26890        .24209E-05   -.97336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.10215e-11
Minuit parameter uncertainties:
  1  1.72883e-06
  2  117.623
  3  0.238789
  4  0.269311
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/159657': 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) = 4902.12966047
delta logL = 8.21007233753e-07

Extracting fit parameters...

4FGL J2358.0-4601
   Spectrum: PowerLaw
569    Prefactor:  1.000e-04  1.729e-06  1.000e-04  1.000e+04 ( 1.000e-12)
570        Index:  2.290e+00  1.176e+02  0.000e+00  1.000e+01 (-1.000e+00)
571        Scale:  6.628e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
585    Prefactor:  8.661e-01  2.693e-01  0.000e+00  1.000e+01 ( 1.000e+00)
586        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
587        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
584   Normalization:  1.262e+00  2.388e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 359.522 -46.018

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/159657/cmap_HighResolution_677376001_677635201_4FGL_J2358.0-4601_daily_bin1690.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.90e-03', job_status='DONE', photon_flux_upper_limit='8.83e-08', time_completed='2022-06-23 01:32:01.442095', job_id='159657', GAL2='0.87', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1655973121.44', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.87', dlogl='8.21e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.58' WHERE bin_id='1690' AND source_name='4FGL J2358.0-4601' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jun 23 01:32:01 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 159657: <4FGL_J2358.0-4601_daily_bin1690> in cluster <slac> Done

Job <4FGL_J2358.0-4601_daily_bin1690> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Thu Jun 23 01:15:29 2022
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 01:18:42 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 01:18:42 2022
Terminated at Thu Jun 23 01:32:02 2022
Results reported at Thu Jun 23 01:32:02 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2358.0-4601_daily_bin1690 359.522 -46.0176 677376001 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2358.0-4601 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   637.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             290.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            993 sec.

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

