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


Performing analysis on: 4FGL_J1359.1+5544_daily_bin1752
RA = 209.785, Dec = 55.7479
tmin = 693446401, tmax = 693705601
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='264971', job_status='RUN', time_executed='2022-12-26 01:02:09.856004', time_epoch_executed='1672045329.86' WHERE source_name='4FGL J1359.1+5544' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264971

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264971/ft1_4FGL_J1359.1+5544_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264971/ft2_4FGL_J1359.1+5544_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264971/ft1_4FGL_J1359.1+5544_daily_bin1752.fits outfile=/scratch/kocevski/264971/ft1_filteredMKT_4FGL_J1359.1+5544_daily_bin1752.fits ra=209.785 dec=55.7479 rad=12.0 tmin=693446401.0 tmax=693705601.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.52
user 3.26
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/264971/ft2_4FGL_J1359.1+5544_daily_bin1752.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/264971/ft1_filteredMKT_4FGL_J1359.1+5544_daily_bin1752.fits evtable="EVENTS" outfile="/scratch/kocevski/264971/ft1_filtered_4FGL_J1359.1+5544_daily_bin1752.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.53
user 0.36
sys 0.15

Number of photons that the gtmktime cut: 452

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264971/ft1_filtered_4FGL_J1359.1+5544_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/264971/ft2_4FGL_J1359.1+5544_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/264971/ltcube_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.fits outfile=/scratch/kocevski/264971/expmap_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.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/264971/ltcube_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.fits
.....................!
real 190.99
user 185.27
sys 5.23

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/264971/ft1_filtered_4FGL_J1359.1+5544_daily_bin1752.fits scfile=/scratch/kocevski/264971/ft2_4FGL_J1359.1+5544_daily_bin1752.fits outfile=/scratch/kocevski/264971/cmap_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.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.58
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264971/ft1_filtered_4FGL_J1359.1+5544_daily_bin1752.fits scfile=/scratch/kocevski/264971/ft2_4FGL_J1359.1+5544_daily_bin1752.fits outfile=/scratch/kocevski/264971/cmap_HighResolution_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.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.56
user 0.40
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/264971/ft1_filtered_4FGL_J1359.1+5544_daily_bin1752.fits', '/scratch/kocevski/264971/ft2_4FGL_J1359.1+5544_daily_bin1752.fits', expMap='/scratch/kocevski/264971/expmap_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.fits', expCube='/scratch/kocevski/264971/ltcube_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/264971/Model_4FGL_J1359.1+5544_daily_bin1752.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  0.000e+00  1.000e+06 ( 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 -5.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/264971/ft1_filtered_4FGL_J1359.1+5544_daily_bin1752.fits
Spacecraft file(s): /scratch/kocevski/264971/ft2_4FGL_J1359.1+5544_daily_bin1752.fits
Exposure map: /scratch/kocevski/264971/expmap_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.fits
Exposure cube: /scratch/kocevski/264971/ltcube_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/264971/Model_4FGL_J1359.1+5544_daily_bin1752.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) = 5021.07108202

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .29729E-03   1.0000          .0000       .10000E+07
     2 'norm      '    7.0441       1.0000          .0000       .10000E+07
     3 'norm      '    6.5826       1.0000          .0000       .10000E+07
     4 'Prefactor '    .20266E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .10327E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .18468E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .31154E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .33016       1.0000          .0000       .10000E+07
     9 'norm      '    1.4188       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18338       1.0000          .0000       .10000E+07
    11 'Prefactor '    .58237       1.0000          .0000       .10000E+07
    12 'norm      '    .62563       1.0000          .0000       .10000E+07
    13 'norm      '    2.8249       1.0000          .0000       .10000E+07
    14 'Prefactor '    33.694       1.0000          .0000       .10000E+07
    15 'Prefactor '    .25440E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    64.895       1.0000          .0000       .10000E+07
    17 'Prefactor '    .74193E-05   1.0000          .0000       .10000E+07
    18 'Prefactor '    7.2065       1.0000          .0000       .10000E+07
    19 'Prefactor '    3.9300       1.0000          .0000       .10000E+07
    20 'Prefactor '    8.7493       1.0000          .0000       .10000E+07
    21 'Prefactor '    .19620E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    24.093       1.0000          .0000       .10000E+07
    23 'Prefactor '    11.212       1.0000          .0000       .10000E+07
    24 'Prefactor '    .20170E-02   1.0000          .0000       .10000E+07
    25 'norm      '    2.9475       1.0000          .0000       .10000E+07
    26 'Prefactor '    .18581E-03   1.0000          .0000       .10000E+07
    27 'Prefactor '    5.8651       1.0000          .0000       .10000E+07
    28 'Normalizat'    .48475       1.0000         .10000E-01   10.000    
    29 'Prefactor '    1.3389       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6850E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5021.065     FROM MIGRAD    STATUS=CONVERGED    156 CALLS     2791 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    3.4369        .16200E-06** at limit **
   2  norm          7.0396        2.8043        .94085E-07   -.14963E-02
   3  norm          6.5749        2.6861        .40419E-07   -.98169E-03
   4  Prefactor     .37642E-06    6.9880       -.65903E-07** at limit **
   5  Prefactor     .23315E-08    7.5882        .32203E-06** at limit **
   6  norm          .61062E-09    6.8874       -.40966E-06** at limit **
   7  Prefactor     .11502E-05    13.184        .30049E-06** at limit **
   8  Prefactor     .26439E-05    21.027       -.49878E-06** at limit **
   9  norm          1.4212        2.1142       -.59468E-07    .52489E-03
  10  Prefactor     .10303E-06    1.6887       -.10100E-06** at limit **
  11  Prefactor     .57439        9.4318       -.86434E-07   -.64326E-04
  12  norm          .62709        .63118       -.51540E-07    .37021E-02
  13  norm          2.8170        4.5764       -.56960E-07    .60439E-03
  14  Prefactor     33.202        6.8837       -.12076E-06    .53196E-01
  15  Prefactor     .28685E-05    49.136       -.17497E-05** at limit **
  16  Prefactor     65.213        11.815        .10577E-06   -.23448    
  17  Prefactor      .0000        2.5118       -.11850E-06** at limit **
  18  Prefactor     7.1936        1.9077       -.23267E-07   -.12222E-01
  19  Prefactor     3.9289        2.9450        .29638E-08    .11424E-02
  20  Prefactor     8.7631        1.0997       -.14635E-07    .44559E-02
  21  Prefactor     .50709E-06    29.816       -.10044E-05** at limit **
  22  Prefactor     24.137        1.0085        .79042E-09   -.92916E-03
  23  Prefactor     11.202        2.5826        .36975E-07    .55516E-01
  24  Prefactor     .41206E-06    7.2721       -.73945E-07** at limit **
  25  norm          2.9466        1.7566        .14909E-07   -.15670E-03
  26  Prefactor     .33307E-09    7.0174        .33549E-06** at limit **
  27  Prefactor     5.8469        7.1536       -.14447E-06    .31817E-03
  28  Normalizat    .48476        .19593       -.12017E-04    .97102E-04
  29  Prefactor     1.3395        .24513        .62726E-05    .82422E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  norm       = 7.03956
  norm       = 6.57487
  Prefactor  = 3.76421e-07
  Prefactor  = 2.33147e-09
  norm       = 6.10623e-10
  Prefactor  = 1.15019e-06
  Prefactor  = 2.64389e-06
  norm       = 1.42125
  Prefactor  = 1.03029e-07
  Prefactor  = 0.574394
  norm       = 0.62709
  norm       = 2.81703
  Prefactor  = 33.2024
  Prefactor  = 2.86854e-06
  Prefactor  = 65.2135
  Prefactor  = 0
  Prefactor  = 7.19362
  Prefactor  = 3.92887
  Prefactor  = 8.76308
  Prefactor  = 5.07094e-07
  Prefactor  = 24.1373
  Prefactor  = 11.2017
  Prefactor  = 4.12059e-07
  norm       = 2.94663
  Prefactor  = 3.33067e-10
  Prefactor  = 5.84685
  Normalizat = 0.484764
  Prefactor  = 1.33949
 **********
 **   18 **HESSE 
 **********

 FCN=   5021.065     FROM HESSE     STATUS=OK           619 CALLS     3410 TOTAL
                     EDM=   .30E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    3.4523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          7.0396        2.8053        .37774E-03   -1.5655    
   3  norm          6.5749        2.6870        .39090E-03   -1.5657    
   4  Prefactor     .37642E-06    15.754        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .23315E-08    7.6576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .61062E-09    6.8700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .11502E-05    15.078        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .26439E-05    17.314        .98070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          1.4212        2.1446        .90812E-03   -1.5684    
  10  Prefactor     .10303E-06    51.558        .12079E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .57439        9.7593        .70822E-03   -1.5693    
  12  norm          .62709        .62065        .66963E-03   -1.5692    
  13  norm          2.8170        4.6163        .60485E-03   -1.5674    
  14  Prefactor     33.202        37.455        .17230E-03   -1.5593    
  15  Prefactor     .28685E-05    51.315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     65.213        44.548        .12414E-03   -1.5546    
  17  Prefactor      .0000        2.5065        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     7.1936        14.685        .37342E-03   -1.5654    
  19  Prefactor     3.9289        3.1553        .50864E-03   -1.5668    
  20  Prefactor     8.7631        26.141        .33863E-03   -1.5649    
  21  Prefactor     .50709E-06    30.573        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     24.137        35.295        .20378E-03   -1.5610    
  23  Prefactor     11.202        11.712        .29894E-03   -1.5641    
  24  Prefactor     .41206E-06    15.829        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.9466        1.7612        .59131E-03   -1.5674    
  26  Prefactor     .33307E-09    7.1035        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     5.8469        7.1585        .41444E-03   -1.5660    
  28  Normalizat    .48476        .17043        .63435E-01   -1.1313    
  29  Prefactor     1.3395        .20639        .50644E-01   -.82140    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.03541e-06
Minuit parameter uncertainties:
  1  1.99946e-05
  2  2.80528
  3  2.68701
  4  0.00487053
  5  0.000265815
  6  0.000128328
  7  0.00832893
  8  0.0135316
  9  2.14463
  10  0.00460968
  11  4.73527
  12  0.620652
  13  4.61635
  14  37.4549
  15  0.0242654
  16  44.5482
  17  4.97606e-08
  18  14.6848
  19  3.15531
  20  26.1416
  21  0.00787492
  22  35.2949
  23  11.7121
  24  0.00510786
  25  1.76117
  26  0.000100051
  27  7.15851
  28  0.170615
  29  0.206516
Done.

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

Extracting fit parameters...

4FGL J1359.1+5544
   Spectrum: LogParabola
333         norm:  2.817e+00  4.616e+00  0.000e+00  1.000e+06 ( 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 -5.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:  1.339e+00  2.065e-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:  4.848e-01  1.706e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/264971/likelihoodResults_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.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) = 5021.05633676
delta logL = 0.00847821079697

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5021.055285
delta logL = 0.00952997972036

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0121       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2097       1.0000          .0000       5.0000    
     3 'Normalizat'    .48754       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3371       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=   5021.055     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      207 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0092        272.44        .58454E-03    .39378E-02
   2  alpha         2.2089        3.8080        .41508        .54006E-05
   3  Normalizat    .48766        .66596E-01    .63255E-01   -.67352E-05
   4  Prefactor     1.3370        .81789E-01    .50683E-01   -.38562E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.00917
  alpha      = 2.20893
  Normalizat = 0.487655
  Prefactor  = 1.33701
 **********
 **   18 **HESSE 
 **********

 FCN=   5021.055     FROM HESSE     STATUS=OK            31 CALLS      238 TOTAL
                     EDM=   .36E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0092        4.9490        .18955E-04   -1.5673    
   2  alpha         2.2089        1.0652        .24202E-01   -.11669    
   3  Normalizat    .48766        .19149        .27993E-03   -1.1299    
   4  Prefactor     1.3370        .24439        .22406E-03   -.82213    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.60514e-12
Minuit parameter uncertainties:
  1  4.94905
  2  1.10096
  3  0.19175
  4  0.244596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264971': 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) = 5021.0552844
delta logL = 0.00953057952847

Extracting fit parameters...

4FGL J1359.1+5544
   Spectrum: LogParabola
333         norm:  3.009e+00  4.949e+00  0.000e+00  1.000e+06 ( 1.000e-12)
334        alpha:  2.209e+00  1.101e+00  0.000e+00  5.000e+00 ( 1.000e+00)
335         beta:  1.132e-01  0.000e+00 -5.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:  1.337e+00  2.446e-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:  4.877e-01  1.917e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.49
Ra Dec: 209.785 55.748

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/264971/cmap_HighResolution_693446401_693705601_4FGL_J1359.1+5544_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', job_status='DONE', photon_flux_upper_limit='9.12e-08', time_completed='2022-12-26 01:13:55.862162', job_id='264971', GAL2='1.34', fit_tolerance='1e-08', EG2='0.49', EG='0.48', time_epoch_completed='1672046035.86', return_code2='0', ts='0.49', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='9.53e-03', ts2='0.50', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1752' AND source_name='4FGL J1359.1+5544' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:13:55 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0171>
Subject: Job 264971: <4FGL_J1359.1+5544_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1359.1+5544_daily_bin1752> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Dec 26 01:00:23 2022
Job was executed on host(s) <bullet0171>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:00:50 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:00:50 2022
Terminated at Mon Dec 26 01:13:56 2022
Results reported at Mon Dec 26 01:13:56 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1359.1+5544_daily_bin1752 209.785 55.7479 693446401 693705601 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 :                                   707.47 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             308.64 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   786 sec.
    Turnaround time :                            813 sec.

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

