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


Performing analysis on: 4FGL_J1359.4+0202_daily_bin1759
RA = 209.859, Dec = 2.0424
tmin = 695260801, tmax = 695520001
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='559793', job_status='RUN', time_executed='2023-01-16 01:17:55.376648', time_epoch_executed='1673860675.38' WHERE source_name='4FGL J1359.4+0202' and cadence='daily' and bin_id='1759'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/559793

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/559793/ft1_4FGL_J1359.4+0202_daily_bin1759.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/559793/ft1_4FGL_J1359.4+0202_daily_bin1759.fits outfile=/scratch/kocevski/559793/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin1759.fits ra=209.859 dec=2.0424 rad=12.0 tmin=695260801.0 tmax=695520001.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.82
user 2.55
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.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/559793/ft1_filteredMKT_4FGL_J1359.4+0202_daily_bin1759.fits evtable="EVENTS" outfile="/scratch/kocevski/559793/ft1_filtered_4FGL_J1359.4+0202_daily_bin1759.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.54
user 0.36
sys 0.16

Number of photons that the gtmktime cut: 1098

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/559793/ft1_filtered_4FGL_J1359.4+0202_daily_bin1759.fits" evtable="EVENTS" scfile=/scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits sctable="SC_DATA" outfile=/scratch/kocevski/559793/ltcube_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.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/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits
.....................!
real 16.51
user 15.92
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/559793/ft1_filtered_4FGL_J1359.4+0202_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits sctable="SC_DATA" expcube=/scratch/kocevski/559793/ltcube_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.fits outfile=/scratch/kocevski/559793/expmap_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.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/559793/ltcube_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.fits
.....................!
real 192.88
user 187.23
sys 4.94

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

Setting source of interest to:
4FGL J1359.4+0202 @ 209.859 2.0424

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/559793/ft1_filtered_4FGL_J1359.4+0202_daily_bin1759.fits scfile=/scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits outfile=/scratch/kocevski/559793/cmap_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.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.859 yref=2.0424 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.60
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/559793/ft1_filtered_4FGL_J1359.4+0202_daily_bin1759.fits scfile=/scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits outfile=/scratch/kocevski/559793/cmap_HighResolution_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.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.859 yref=2.0424 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.57
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/559793/ft1_filtered_4FGL_J1359.4+0202_daily_bin1759.fits evtable="EVENTS" scfile=/scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/559793/Model_4FGL_J1359.4+0202_daily_bin1759.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/559793/ft1_filtered_4FGL_J1359.4+0202_daily_bin1759.fits.....................!
real 80.38
user 78.26
sys 1.42

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/559793/ft1_filtered_4FGL_J1359.4+0202_daily_bin1759.fits', '/scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits', expMap='/scratch/kocevski/559793/expmap_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.fits', expCube='/scratch/kocevski/559793/ltcube_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/559793/Model_4FGL_J1359.4+0202_daily_bin1759.xml', optimizer='MINUIT')

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

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  1.682e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/559793/ft1_filtered_4FGL_J1359.4+0202_daily_bin1759.fits
Spacecraft file(s): /scratch/kocevski/559793/ft2_4FGL_J1359.4+0202_daily_bin1759.fits
Exposure map: /scratch/kocevski/559793/expmap_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.fits
Exposure cube: /scratch/kocevski/559793/ltcube_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/559793/Model_4FGL_J1359.4+0202_daily_bin1759.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) = 11753.5018997

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.748       1.0000          .0000       .10000E+07
     2 'Prefactor '    .82712E-08   1.0000          .0000       .10000E+07
     3 'norm      '    2.4627       1.0000          .0000       .10000E+07
     4 'Prefactor '    .56851E-03   1.0000          .0000       .10000E+07
     5 'norm      '    4.5900       1.0000          .0000       .10000E+07
     6 'Prefactor '    .63283E-08   1.0000          .0000       .10000E+07
     7 'Prefactor '    .17490E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    2.4080       1.0000          .0000       .10000E+07
     9 'Prefactor '    .31407       1.0000          .0000       .10000E+07
    10 'norm      '    27.258       1.0000          .0000       .10000E+07
    11 'Prefactor '    .95390E-04   1.0000          .0000       .10000E+07
    12 'norm      '    14.298       1.0000          .0000       .10000E+07
    13 'norm      '    6.3116       1.0000          .0000       .10000E+07
    14 'norm      '    .12079E-01   1.0000          .0000       .10000E+07
    15 'Prefactor '    65.707       1.0000          .0000       .10000E+07
    16 'Prefactor '    .24199E-03   1.0000          .0000       .10000E+07
    17 'norm      '    42.283       1.0000          .0000       .10000E+07
    18 'Normalizat'    1.0430       1.0000         .10000E-01   10.000    
    19 'Prefactor '    1.0743       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11753.49     FROM MIGRAD    STATUS=CONVERGED    114 CALLS     1437 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.772        1.6065        .17308E-06    .15261E-01
   2  Prefactor      .0000        1.4294        .40344E-07** at limit **
   3  norm          2.4623        1.3007       -.86001E-08   -.73589E-03
   4  Prefactor     .10414E-06    12.057       -.14890E-05** at limit **
   5  norm          4.5519        1.0559       -.80337E-07    .19206E-02
   6  Prefactor      .0000        1.1715        .60115E-08** at limit **
   7  Prefactor     .22204E-09    6.6051       -.89150E-07** at limit **
   8  Prefactor     2.4104        2.7773       -.13901E-07    .14765E-03
   9  Prefactor     .35337        52.388       -.91947E-05   -.78774E-02
  10  norm          27.249        3.5286       -.98584E-08   -.59565E-03
  11  Prefactor     .55511E-10    5.3975        .19801E-06** at limit **
  12  norm          14.268        9.7719        .90427E-06    .20748E-02
  13  norm          6.3969        5.6306       -.26904E-07   -.28252E-03
  14  norm          .53269E-06    38.773       -.97650E-06** at limit **
  15  Prefactor     65.842        9.4083        .11468E-05   -.19770    
  16  Prefactor     .14433E-07    10.903        .82627E-06** at limit **
  17  norm          42.381        18.577       -.26283E-05   -.57376E-01
  18  Normalizat    1.0429        .19386        .25330E-05   -.17499E-03
  19  Prefactor     1.0743        .13797        .26395E-05   -.25916E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.7719
  Prefactor  = 0
  norm       = 2.46232
  Prefactor  = 1.04139e-07
  norm       = 4.55191
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  Prefactor  = 2.41042
  Prefactor  = 0.353366
  norm       = 27.2493
  Prefactor  = 5.55112e-11
  norm       = 14.2682
  norm       = 6.39689
  norm       = 5.32685e-07
  Prefactor  = 65.842
  Prefactor  = 1.44329e-08
  norm       = 42.3807
  Normalizat = 1.04293
  Prefactor  = 1.07426
 **********
 **   18 **HESSE 
 **********

 FCN=   11753.49     FROM HESSE     STATUS=OK           308 CALLS     1745 TOTAL
                     EDM=   .15E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.772        16.103        .18987E-03   -1.5603    
   2  Prefactor      .0000        1.4323        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.4623        1.3043        .65141E-03   -1.5677    
   4  Prefactor     .10414E-06    22.270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.5519        19.631        .46959E-03   -1.5665    
   6  Prefactor      .0000        1.1656        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    6.6196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.4104        2.7886        .65948E-03   -1.5677    
   9  Prefactor     .35337        4.5960        .10021E-01   -1.5696    
  10  norm          27.249        3.5289        .19157E-03   -1.5604    
  11  Prefactor     .55511E-10    5.3993        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          14.268        9.7680        .26462E-03   -1.5632    
  13  norm          6.3969        5.6288        .39931E-03   -1.5657    
  14  norm          .53269E-06    38.611        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     65.842        50.389        .12337E-03   -1.5546    
  16  Prefactor     .14433E-07    22.595        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          42.381        18.917        .15380E-03   -1.5578    
  18  Normalizat    1.0429        .16563        .70192E-01   -.91606    
  19  Prefactor     1.0743        .11638        .38655E-01   -.90293    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.53205e-06
Minuit parameter uncertainties:
  1  16.103
  2  1.35747e-06
  3  1.30433
  4  0.00304583
  5  18.9061
  6  8.17589e-07
  7  7.21069e-05
  8  2.78859
  9  2.54878
  10  3.52892
  11  3.61872e-05
  12  9.76804
  13  5.62877
  14  0.00907054
  15  50.3897
  16  0.00114105
  17  18.9173
  18  0.165709
  19  0.116403
Done.

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

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  3.534e-01  2.549e+00  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.385e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.074e+00  1.164e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.043e+00  1.657e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 209.859 2.042
Photon Flux Upper Limit: 6.77e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.23e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/559793/likelihoodResults_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.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) = 11753.4902098
delta logL = 7.03818277543e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11753.4899165
delta logL = 0.000363692197425

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .35504       1.0000          .0000       .10000E+07
     2 'Index     '    2.5035       1.0000          .0000       10.000    
     3 'Normalizat'    1.0426       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5220E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11753.49     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      236 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36785        5.2502        .94892E-02    .42634E-02
   2  Index         2.4994        .76700        .50000        .12831E-05
   3  Normalizat    1.0426        .48770E-02    .70202E-01    .30704E-04
   4  Prefactor     1.0744        .35001E-02    .38653E-01    .14432E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.367846
  Index      = 2.49941
  Normalizat = 1.04258
  Prefactor  = 1.07435
 **********
 **   18 **HESSE 
 **********

 FCN=   11753.49     FROM HESSE     STATUS=OK            35 CALLS      271 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36785        137.26        .39726E-03   -1.5696    
   2  Index         2.4994        5.6344        .15438E-01   -.52373    
   3  Normalizat    1.0426        .19218        .31061E-03   -.91617    
   4  Prefactor     1.0744        .13670        .21893E-03   -.90291    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.66107e-07
Minuit parameter uncertainties:
  1  14.2116
  2  7.63744
  3  0.19231
  4  0.136741
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/559793': 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) = 11753.489915
delta logL = 0.000365221412721

Extracting fit parameters...

4FGL J1359.4+0202
   Spectrum: PowerLaw
268    Prefactor:  3.678e-01  1.421e+01  0.000e+00  1.000e+06 ( 1.000e-13)
269        Index:  2.499e+00  7.637e+00  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  1.283e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.074e+00  1.367e-01  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.043e+00  1.923e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 209.859 2.042

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/559793/cmap_HighResolution_695260801_695520001_4FGL_J1359.4+0202_daily_bin1759.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.23e-03', job_status='DONE', photon_flux_upper_limit='6.77e-08', time_completed='2023-01-16 01:29:27.487680', job_id='559793', GAL2='1.07', fit_tolerance='1e-08', EG2='1.04', EG='1.04', time_epoch_completed='1673861367.49', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.07', dlogl='3.65e-04', ts2='0.00', photon_index_error='0.00', photon_index='2.39' WHERE bin_id='1759' AND source_name='4FGL J1359.4+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Jan 16 01:29:27 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0260>
Subject: Job 559793: <4FGL_J1359.4+0202_daily_bin1759> in cluster <slac> Done

Job <4FGL_J1359.4+0202_daily_bin1759> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Jan 16 01:15:25 2023
Job was executed on host(s) <bullet0260>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Jan 16 01:16:08 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Jan 16 01:16:08 2023
Terminated at Mon Jan 16 01:29:28 2023
Results reported at Mon Jan 16 01:29:28 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1359.4+0202_daily_bin1759 209.859 2.0424 695260801 695520001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1359.4+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   692.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             332.56 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            843 sec.

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

