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


Performing analysis on: 4FGL_J1359.1+5544_daily_bin1667
RA = 209.785, Dec = 55.7479
tmin = 671414401, tmax = 671673601
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='477869', job_status='RUN', time_executed='2022-04-15 03:29:29.418001', time_epoch_executed='1650018569.42' WHERE source_name='4FGL J1359.1+5544' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/477869

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/477869/ft1_4FGL_J1359.1+5544_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/477869/ft1_4FGL_J1359.1+5544_daily_bin1667.fits outfile=/scratch/kocevski/477869/ft1_filteredMKT_4FGL_J1359.1+5544_daily_bin1667.fits ra=209.785 dec=55.7479 rad=12.0 tmin=671414401.0 tmax=671673601.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.54
user 3.29
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.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/477869/ft1_filteredMKT_4FGL_J1359.1+5544_daily_bin1667.fits evtable="EVENTS" outfile="/scratch/kocevski/477869/ft1_filtered_4FGL_J1359.1+5544_daily_bin1667.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.36
sys 0.14

Number of photons that the gtmktime cut: 520

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/477869/ft1_filtered_4FGL_J1359.1+5544_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/477869/ltcube_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.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/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits
.....................!
real 13.47
user 13.06
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/477869/ft1_filtered_4FGL_J1359.1+5544_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/477869/ltcube_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.fits outfile=/scratch/kocevski/477869/expmap_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.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/477869/ltcube_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.fits
.....................!
real 192.29
user 186.43
sys 5.40

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

Setting source of interest to:
4FGL J1359.1+5544 @ 209.785 55.7479

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/477869/ft1_filtered_4FGL_J1359.1+5544_daily_bin1667.fits scfile=/scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits outfile=/scratch/kocevski/477869/cmap_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.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=209.785 yref=55.7479 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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/477869/ft1_filtered_4FGL_J1359.1+5544_daily_bin1667.fits scfile=/scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits outfile=/scratch/kocevski/477869/cmap_HighResolution_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.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=209.785 yref=55.7479 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.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/477869/ft1_filtered_4FGL_J1359.1+5544_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/477869/Model_4FGL_J1359.1+5544_daily_bin1667.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/477869/ft1_filtered_4FGL_J1359.1+5544_daily_bin1667.fits....................!
real 48.27
user 46.92
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/477869/ft1_filtered_4FGL_J1359.1+5544_daily_bin1667.fits', '/scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits', expMap='/scratch/kocevski/477869/expmap_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.fits', expCube='/scratch/kocevski/477869/ltcube_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/477869/Model_4FGL_J1359.1+5544_daily_bin1667.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1359.1+5544'

4FGL J1359.1+5544
   Spectrum: LogParabola
333         norm:  2.033e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  2.361e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  7.465e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/477869/ft1_filtered_4FGL_J1359.1+5544_daily_bin1667.fits
Spacecraft file(s): /scratch/kocevski/477869/ft2_4FGL_J1359.1+5544_daily_bin1667.fits
Exposure map: /scratch/kocevski/477869/expmap_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.fits
Exposure cube: /scratch/kocevski/477869/ltcube_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/477869/Model_4FGL_J1359.1+5544_daily_bin1667.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) = 5658.01899603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    2.1692       1.0000         .10000E-03   10000.    
     3 'norm      '    3.2488       1.0000         .10000E-03   10000.    
     4 'Prefactor '    75.825       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10125E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    49.330       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    2.5604       1.0000         .10000E-03   10000.    
    11 'Prefactor '    33.103       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10085E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    29.633       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .82818       1.0000         .10000E-03   10000.    
    16 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.6132       1.0000         .10000E-03   10000.    
    18 'Prefactor '    83.686       1.0000         .10000E-03   10000.    
    19 'Prefactor '    200.39       1.0000         .10000E-03   10000.    
    20 'Prefactor '    36.448       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10059E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10277E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    1.5367       1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.1783       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    36.465       1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10814E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    37.999       1.0000         .10000E-03   10000.    
    31 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    .11166E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    7.7687       1.0000         .10000E-03   10000.    
    34 'Prefactor '    .16530       1.0000         .10000E-03   10000.    
    35 'Normalizat'    .96503       1.0000         .10000E-01   10.000    
    36 'Prefactor '    .80109       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5657.910     FROM MIGRAD    STATUS=CONVERGED    987 CALLS     6068 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.1435       -.22256E-06** at limit **
   2  norm          2.1691        1.4965        .78368E-08    .26945E-03
   3  norm          3.2487        2.3377        .30476E-08   -.11835E-03
   4  Prefactor     75.838        43.158        .11025E-04    .26795E-05
   5  Prefactor     .10000E-03    5.8445       -.12310E-05** at limit **
   6  norm          .10000E-03    1.0426        .16457E-06** at limit **
   7  Prefactor     49.334        35.774        .49347E-05    .13092E-03
   8  Prefactor     .10000E-03    10.248        .51834E-05** at limit **
   9  Prefactor     .10000E-03    37.387       -.16933E-04** at limit **
  10  norm          2.5603        2.8775       -.10347E-06   -.17755E-03
  11  Prefactor     33.110        33.830        .72335E-05    .23415E-04
  12  Prefactor     .10000E-03    3.0377       -.45862E-06** at limit **
  13  Prefactor     29.631        42.929       -.28795E-05    .40734E-04
  14  Prefactor     .10000E-03    6.0919        .12353E-05** at limit **
  15  norm          .82827        1.2276       -.72167E-07   -.11102E-02
  16  norm          .10000E-03    28.562        .95217E-05** at limit **
  17  norm          1.6130        4.0853       -.36962E-05   -.80035E-03
  18  Prefactor     83.696        50.467        .94138E-05    .10533E-05
  19  Prefactor     200.57        455.01        .12875E-03    .24608E-05
  20  Prefactor     36.441        39.031       -.74492E-05    .81911E-05
  21  Prefactor     .10000E-03    24.956        .52976E-05** at limit **
  22  Prefactor     .10000E-03    1.3805        .10728E-06** at limit **
  23  Prefactor     .10000E-03    13.190       -.31141E-06** at limit **
  24  Prefactor     1.5370        2.2861        .17213E-05    .54601E-03
  25  Prefactor     3.1655        55.614       -.29120E-04   -.27808E-04
  26  Prefactor     .10000E-03    18.317       -.10970E-04** at limit **
  27  Prefactor     .10000E-03    12.935        .13802E-05** at limit **
  28  Prefactor     36.465        31.996        .28568E-05    .11789E-03
  29  Prefactor     .10007E-03    6.9186        .22660E-05** at limit **
  30  Prefactor     38.000        22.503        .53137E-06    .67669E-05
  31  Prefactor     .10000E-03    8.6719       -.43772E-05** at limit **
  32  norm          .10000E-03    .57572        .19323E-06** at limit **
  33  Prefactor     7.7578        8.1923        .70966E-06    .42310E-04
  34  Prefactor     .19986        3.5121       -.30932E-06    .11542E-03
  35  Normalizat    .96527        .16500        .13075E-05   -.18635E-04
  36  Prefactor     .80078        .18961       -.39182E-05    .14108E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 2.16906
  norm       = 3.24875
  Prefactor  = 75.838
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 49.3338
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.56035
  Prefactor  = 33.1095
  Prefactor  = 0.0001
  Prefactor  = 29.6307
  Prefactor  = 0.0001
  norm       = 0.828267
  norm       = 0.0001
  norm       = 1.61302
  Prefactor  = 83.6962
  Prefactor  = 200.57
  Prefactor  = 36.4414
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.53704
  Prefactor  = 3.16545
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.4654
  Prefactor  = 0.000100074
  Prefactor  = 38
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.75779
  Prefactor  = 0.199861
  Normalizat = 0.965274
  Prefactor  = 0.800783
 **********
 **   18 **HESSE 
 **********

 FCN=   5657.910     FROM HESSE     STATUS=OK           813 CALLS     6881 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.1531        .10753E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          2.1691        1.5060        .74477E-04   -1.5413    
   3  norm          3.2487        2.3381        .94229E-04   -1.5347    
   4  Prefactor     75.838        43.096        .23056E-03   -1.3964    
   5  Prefactor     .10000E-03    5.8922        .17754E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    1.0461        .74978E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     49.334        35.791        .57095E-04   -1.4302    
   8  Prefactor     .10000E-03    10.298        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    37.573        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.5603        2.8714        .13025E-03   -1.5388    
  11  Prefactor     33.110        33.840        .69646E-04   -1.4557    
  12  Prefactor     .10000E-03    3.1021        .12790E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     29.631        43.082        .73600E-04   -1.4619    
  14  Prefactor     .10000E-03    6.1378        .18117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .82827        1.1257        .97539E-03   -1.5526    
  16  norm          .10000E-03    28.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.6130        4.0735        .22459E-03   -1.5454    
  18  Prefactor     83.696        50.395        .43910E-04   -1.3876    
  19  Prefactor     200.57        453.36        .14272E-03   -1.2866    
  20  Prefactor     36.441        38.925        .66383E-04   -1.4500    
  21  Prefactor     .10000E-03    25.041        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    1.3878        .86303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    13.324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     1.5370        2.2353        .12688E-03   -1.5460    
  25  Prefactor     3.1655        54.563        .22731E-03   -1.5352    
  26  Prefactor     .10000E-03    18.386        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    12.938        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     36.465        31.784        .66368E-04   -1.4499    
  29  Prefactor     .10007E-03    30.758        .38126E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     38.000        22.497        .65019E-04   -1.4474    
  31  Prefactor     .10000E-03    8.7045        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          .10000E-03    .99492        .11046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     7.7578        8.3126        .14387E-03   -1.5151    
  34  Prefactor     .19986        33.531        .25527E-02   -1.5619    
  35  Normalizat    .96527        .19735        .20913E-03   -.94203    
  36  Prefactor     .80078        .22448        .27462E-03   -.99699    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.09492e-09
Minuit parameter uncertainties:
  1  7.68827e-07
  2  1.50605
  3  2.33815
  4  43.1138
  5  2.2632e-06
  6  4.06405e-06
  7  35.8064
  8  2.25614e-05
  9  0.000287432
  10  2.87159
  11  33.8597
  12  3.78385e-05
  13  43.1272
  14  5.7549e-05
  15  1.12572
  16  6.67689e-06
  17  4.07421
  18  50.4209
  19  461.654
  20  38.9524
  21  8.67329e-05
  22  2.15357e-06
  23  2.16244e-05
  24  2.23541
  25  26.3121
  26  0.000154183
  27  3.09271e-06
  28  31.7985
  29  0.00301719
  30  22.5016
  31  1.54135e-05
  32  5.81254e-06
  33  8.31388
  34  5.17913
  35  0.1975
  36  0.224739
Done.

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

Extracting fit parameters...

4FGL J1359.1+5544
   Spectrum: LogParabola
333         norm:  1.613e+00  4.074e+00  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  2.361e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
335         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  7.465e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  8.008e-01  2.247e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  9.653e-01  1.975e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 209.785 55.748
Photon Flux Upper Limit: 7.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.49e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/477869/likelihoodResults_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.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) = 5657.22410908
delta logL = 0.685628770452

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5657.20668622
delta logL = 0.703051627881

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .61427       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.0476       1.0000          .0000       5.0000    
     3 'Normalizat'    .90992       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84381       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5657.207     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      241 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61244        8.9726        .11216E-01    .24356E-02
   2  alpha         4.0497        4.5239        .44257        .35054E-04
   3  Normalizat    .90984        .35379E-01    .45028E-01   -.35156E-04
   4  Prefactor     .84394        .43015E-01    .44285E-01   -.23201E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.612441
  alpha      = 4.04969
  Normalizat = 0.909836
  Prefactor  = 0.843939
 **********
 **   18 **HESSE 
 **********

 FCN=   5657.207     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      274 TOTAL
                     EDM=   .41E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61244        23.591        .51161E-03   -1.5551    
   2  alpha         4.0497        3.2386        .19452E-02    .66859    
   3  Normalizat    .90984        .17720        .21449E-03   -.96115    
   4  Prefactor     .84394        .21581        .26812E-03   -.98128    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.05198e-08
Minuit parameter uncertainties:
  1  7.60477
  2  7.53145
  3  0.17731
  4  0.216028
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/477869': 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): 102
logL (Free Index) = 5657.20668531
delta logL = 0.703052545874

Extracting fit parameters...

4FGL J1359.1+5544
   Spectrum: LogParabola
333         norm:  6.124e-01  7.605e+00  1.000e-04  1.000e+04 ( 1.000e-12)
334        alpha:  4.050e+00  7.531e+00  0.000e+00  5.000e+00 ( 1.000e+00)
335         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
336           Eb:  7.465e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
682    Prefactor:  8.439e-01  2.160e-01  0.000e+00  1.000e+01 ( 1.000e+00)
683        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
684        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
681   Normalization:  9.098e-01  1.773e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.67
Ra Dec: 209.785 55.748
Photon Index (Free Index): 4.05 +/- 7.53
Photon Flux (Free Index): 4.98e-08 +/- 4.45e-08
Energy Flux (Free Index): 7.75e-06 +/- 1.26e-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/477869/cmap_HighResolution_671414401_671673601_4FGL_J1359.1+5544_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.49e-05', comment='SUCCESS', energy_flux2='7.75e-06', dlogl='7.03e-01', photon_flux2='4.98e-08', job_status='DONE', time_completed='2022-04-15 03:49:21.709115', photon_index_error2='7.53', photon_index2='4.05', ts='0.19', fit_tolerance='1e-08', GAL='0.80', photon_index_error='0.00', photon_flux_upper_limit='7.38e-08', energy_flux_error2='1.26e-05', EG='0.97', time_epoch_completed='1650019761.71', return_code='0', job_id='477869', GAL2='0.84', EG2='0.91', return_code2='102', photon_flux_error2='4.45e-08', ts2='1.67', photon_index='2.36' WHERE bin_id='1667' AND source_name='4FGL J1359.1+5544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:49:21 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0168>
Subject: Job 477867: <4FGL_J1359.1+5544_daily_bin1667> in cluster <slac> Done

Job <4FGL_J1359.1+5544_daily_bin1667> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Apr 15 00:07:23 2022
Job was executed on host(s) <bullet0168>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:26:35 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:26:35 2022
Terminated at Fri Apr 15 03:47:31 2022
Results reported at Fri Apr 15 03:47:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1359.1+5544_daily_bin1667 209.785 55.7479 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1359.1+5544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   978.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.98 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   1255 sec.
    Turnaround time :                            13208 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0200>
Subject: Job 477869: <4FGL_J1359.1+5544_daily_bin1667> in cluster <slac> Done

Job <4FGL_J1359.1+5544_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 00:07:23 2022
Job was executed on host(s) <bullet0200>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:26:36 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:26:36 2022
Terminated at Fri Apr 15 03:49:23 2022
Results reported at Fri Apr 15 03:49:23 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1359.1+5544_daily_bin1667 209.785 55.7479 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1359.1+5544 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   1185.53 sec.
    Max Memory :                                 627 MB
    Average Memory :                             272.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2930 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   1365 sec.
    Turnaround time :                            13320 sec.

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

