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


Performing analysis on: 4FGL_J1311.0+3233_daily_bin1746
RA = 197.76, Dec = 32.5565
tmin = 691891201, tmax = 692150401
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='727227', job_status='RUN', time_executed='2022-12-08 00:56:01.468545', time_epoch_executed='1670489761.47' WHERE source_name='4FGL J1311.0+3233' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/727227

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/727227/ft1_4FGL_J1311.0+3233_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/727227/ft1_4FGL_J1311.0+3233_daily_bin1746.fits outfile=/scratch/kocevski/727227/ft1_filteredMKT_4FGL_J1311.0+3233_daily_bin1746.fits ra=197.76 dec=32.5565 rad=12.0 tmin=691891201.0 tmax=692150401.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 4.71
user 4.48
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.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/727227/ft1_filteredMKT_4FGL_J1311.0+3233_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/727227/ft1_filtered_4FGL_J1311.0+3233_daily_bin1746.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.52
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/727227/ft1_filtered_4FGL_J1311.0+3233_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/727227/ltcube_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.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/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits
.....................!
real 12.31
user 11.94
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/727227/ft1_filtered_4FGL_J1311.0+3233_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/727227/ltcube_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.fits outfile=/scratch/kocevski/727227/expmap_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.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/727227/ltcube_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.fits
.....................!
real 190.88
user 185.65
sys 4.88

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

Setting source of interest to:
4FGL J1311.0+3233 @ 197.76 32.5565

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/727227/ft1_filtered_4FGL_J1311.0+3233_daily_bin1746.fits scfile=/scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits outfile=/scratch/kocevski/727227/cmap_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.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=197.76 yref=32.5565 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.55
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/727227/ft1_filtered_4FGL_J1311.0+3233_daily_bin1746.fits scfile=/scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits outfile=/scratch/kocevski/727227/cmap_HighResolution_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.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=197.76 yref=32.5565 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/727227/ft1_filtered_4FGL_J1311.0+3233_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/727227/Model_4FGL_J1311.0+3233_daily_bin1746.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/727227/ft1_filtered_4FGL_J1311.0+3233_daily_bin1746.fits.....................!
real 56.58
user 55.19
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/727227/ft1_filtered_4FGL_J1311.0+3233_daily_bin1746.fits', '/scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits', expMap='/scratch/kocevski/727227/expmap_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.fits', expCube='/scratch/kocevski/727227/ltcube_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/727227/Model_4FGL_J1311.0+3233_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1311.0+3233'

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  1.854e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.273e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
334         beta:  2.509e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  2.327e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/727227/ft1_filtered_4FGL_J1311.0+3233_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/727227/ft2_4FGL_J1311.0+3233_daily_bin1746.fits
Exposure map: /scratch/kocevski/727227/expmap_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.fits
Exposure cube: /scratch/kocevski/727227/ltcube_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/727227/Model_4FGL_J1311.0+3233_daily_bin1746.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) = 6842.65747023

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9265       1.0000          .0000       .10000E+07
     2 'Prefactor '    .78092       1.0000          .0000       .10000E+07
     3 'Prefactor '    .66613E-09   1.0000          .0000       .10000E+07
     4 'Prefactor '    3.1831       1.0000          .0000       .10000E+07
     5 'norm      '    4.8793       1.0000          .0000       .10000E+07
     6 'Prefactor '    .42063E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    .86000E-05   1.0000          .0000       .10000E+07
     8 'Prefactor '    8.0723       1.0000          .0000       .10000E+07
     9 'Prefactor '    4.1442       1.0000          .0000       .10000E+07
    10 'norm      '    3.9577       1.0000          .0000       .10000E+07
    11 'Prefactor '    .32229E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .17398E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .10501E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .65750E-05   1.0000          .0000       .10000E+07
    15 'norm      '    20.419       1.0000          .0000       .10000E+07
    16 'norm      '    29.684       1.0000          .0000       .10000E+07
    17 'norm      '    15.011       1.0000          .0000       .10000E+07
    18 'norm      '    33.535       1.0000          .0000       .10000E+07
    19 'Prefactor '    .58231E-07   1.0000          .0000       .10000E+07
    20 'Prefactor '    17.845       1.0000          .0000       .10000E+07
    21 'norm      '    9.4594       1.0000          .0000       .10000E+07
    22 'Prefactor '    .31783E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .39287E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .47524E-05   1.0000          .0000       .10000E+07
    25 'Prefactor '    .29917       1.0000          .0000       .10000E+07
    26 'Prefactor '    .33248E-04   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.4610       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .42269       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5970E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6842.595     FROM MIGRAD    STATUS=CONVERGED    195 CALLS     2548 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9266        2.4862        .16265E-07    .71672E-03
   2  Prefactor     .77970        .87752        .65610E-07    .74260E-01
   3  Prefactor      .0000        .80312       -.28580E-07** at limit **
   4  Prefactor     3.1828        2.4896        .77632E-08   -.88726E-04
   5  norm          4.8808        3.4279       -.19610E-07   -.18793E-02
   6  Prefactor      .0000        2.6791       -.39593E-07** at limit **
   7  Prefactor     .12712E-07    3.0262        .32068E-07** at limit **
   8  Prefactor     8.0684        6.6544       -.68082E-07   -.20976E-02
   9  Prefactor     4.2233        4.7053        .11328E-07    .53461E-03
  10  norm          3.9569        3.1853        .44987E-07    .19997E-02
  11  Prefactor     .11102E-09    6.1074       -.20617E-06** at limit **
  12  norm          .13323E-08    3.7338        .50827E-07** at limit **
  13  Prefactor     .22093E-07    2.7970       -.15967E-08** at limit **
  14  norm           .0000        1.3910       -.45674E-08** at limit **
  15  norm          20.446        6.4870        .17166E-06   -.17394E-01
  16  norm          29.592        8.7828        .14449E-06   -.12766E-02
  17  norm          15.171        13.297       -.37532E-06   -.10938E-01
  18  norm          33.544        1.6928       -.84068E-08    .96653E-02
  19  Prefactor      .0000        1.7253        .24364E-07** at limit **
  20  Prefactor     17.832        4.9568       -.10898E-06    .60731E-01
  21  norm          9.4645        6.1241       -.78032E-07   -.14085E-02
  22  Prefactor     .12934E-07    23.921        .26739E-06** at limit **
  23  norm          .44409E-09    3.7045       -.77435E-07** at limit **
  24  Prefactor     .50238E-07    23.178       -.29629E-06** at limit **
  25  Prefactor     .11281E-01    3698.5        .55345E-05** at limit **
  26  Prefactor      .0000        1.8785       -.54717E-07** at limit **
  27  Normalizat    1.4614        .19577       -.26390E-05   -.65189E-03
  28  Prefactor     .42245        .22572       -.10591E-07   -.30452E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.92662
  Prefactor  = 0.779704
  Prefactor  = 0
  Prefactor  = 3.18277
  norm       = 4.88085
  Prefactor  = 0
  Prefactor  = 1.27121e-08
  Prefactor  = 8.06835
  Prefactor  = 4.22334
  norm       = 3.95693
  Prefactor  = 1.11022e-10
  norm       = 1.33227e-09
  Prefactor  = 2.20934e-08
  norm       = 0
  norm       = 20.4459
  norm       = 29.5923
  norm       = 15.1712
  norm       = 33.5439
  Prefactor  = 0
  Prefactor  = 17.8317
  norm       = 9.46452
  Prefactor  = 1.29341e-08
  norm       = 4.44089e-10
  Prefactor  = 5.02376e-08
  Prefactor  = 0.0112806
  Prefactor  = 0
  Normalizat = 1.46141
  Prefactor  = 0.422446
 **********
 **   18 **HESSE 
 **********

 FCN=   6842.595     FROM HESSE     STATUS=OK           585 CALLS     3133 TOTAL
                     EDM=   .22E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9266        2.4848        .50887E-03   -1.5668    
   2  Prefactor     .77970        5.0517        .54368E-03   -1.5690    
   3  Prefactor      .0000        .80279        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.1828        2.4985        .56773E-03   -1.5672    
   5  norm          4.8808        3.4326        .45513E-03   -1.5664    
   6  Prefactor      .0000        2.6791        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .12712E-07    5.7614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.0684        6.6859        .35265E-03   -1.5651    
   9  Prefactor     4.2233        4.7078        .49489E-03   -1.5667    
  10  norm          3.9569        3.1918        .50679E-03   -1.5668    
  11  Prefactor     .11102E-09    6.1233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .13323E-08    3.7245        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22093E-07    5.7878        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.3916        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          20.446        16.885        .22137E-03   -1.5618    
  16  norm          29.592        9.1523        .18357E-03   -1.5599    
  17  norm          15.171        14.745        .25825E-03   -1.5630    
  18  norm          33.544        21.110        .17271E-03   -1.5592    
  19  Prefactor      .0000        1.7224        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     17.832        18.030        .23682E-03   -1.5624    
  21  norm          9.4645        6.2145        .32560E-03   -1.5646    
  22  Prefactor     .12934E-07    24.047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .44409E-09    3.7159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .50238E-07    23.534        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .11281E-01    17.387        .11807E-01   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor      .0000        1.8763        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.4614        .17796        .46827E-01   -.78869    
  28  Prefactor     .42245        .20883        .95602E-01   -1.1568    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16494e-07
Minuit parameter uncertainties:
  1  2.48483
  2  3.96931
  3  4.55177e-06
  4  2.49853
  5  3.43256
  6  2.98956e-06
  7  0.000541003
  8  6.68593
  9  4.70781
  10  3.19182
  11  5.01219e-05
  12  0.000141706
  13  0.000715428
  14  3.63375e-07
  15  16.8846
  16  9.15232
  17  14.7454
  18  21.1096
  19  8.07358e-06
  20  18.0301
  21  6.21448
  22  0.00111482
  23  8.36975e-05
  24  0.00217412
  25  0.885759
  26  1.04507e-05
  27  0.178034
  28  0.209202
Done.

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

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  1.517e+01  1.475e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.273e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
334         beta:  2.509e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  2.327e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  4.224e-01  2.092e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.461e+00  1.780e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.13
Ra Dec: 197.760 32.556
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.19e-08 +/- 4.07e-08
Energy Flux (Fixed Index): 3.03e-05 +/- 2.94e-05

TS (Fixed Index): 3.13
Ra Dec: 197.760 32.556
Photon Flux Upper Limit: 1.02e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.35e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/727227/likelihoodResults_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.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) = 6842.52594337
delta logL = 0.0690753782783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6842.52341595
delta logL = 0.0716027948965

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6842.523     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      246 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          18.339        380.87        .23370E-03    .23890E-03
   2  alpha         2.0398        2.9206        .25466        .55076E-04
   3  Normalizat    1.4664        .10372        .46781E-01   -.10877E-04
   4  Prefactor     .42005        .93484E-01    .95897E-01    .48594E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 18.3388
  alpha      = 2.03983
  Normalizat = 1.46637
  Prefactor  = 0.420046
 **********
 **   18 **HESSE 
 **********

 FCN=   6842.523     FROM HESSE     STATUS=OK            33 CALLS      279 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          18.339        14.707        .93482E-05   -1.5622    
   2  alpha         2.0398        .62678        .14691E-01   -.18512    
   3  Normalizat    1.4664        .19239        .20678E-03   -.78728    
   4  Prefactor     .42005        .22369        .42510E-03   -1.1580    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.23538e-09
Minuit parameter uncertainties:
  1  14.7071
  2  0.633787
  3  0.19249
  4  0.224158
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/727227': 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) = 6842.52341156
delta logL = 0.0716071879415

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  1.834e+01  1.471e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.040e+00  6.338e-01  0.000e+00  5.000e+00 ( 1.000e+00)
334         beta:  2.509e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  2.327e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  4.200e-01  2.242e-01  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  1.466e+00  1.925e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.46
Ra Dec: 197.760 32.556
Photon Index (Free Index): 2.04 +/- 0.63
Photon Flux (Free Index): 3.45e-08 +/- 3.09e-08
Energy Flux (Free Index): 3.46e-05 +/- 2.73e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/727227/cmap_HighResolution_691891201_692150401_4FGL_J1311.0+3233_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.35e-05', comment='SUCCESS', photon_flux='4.19e-08', energy_flux2='3.46e-05', photon_flux_error='4.07e-08', dlogl='7.16e-02', energy_flux='3.03e-05', photon_flux2='3.45e-08', job_status='DONE', time_completed='2022-12-08 01:08:31.237966', photon_index_error2='0.63', photon_index2='2.04', ts='3.13', fit_tolerance='1e-08', GAL='0.42', photon_index_error='0.00', photon_flux_upper_limit='1.02e-07', energy_flux_error2='2.73e-05', EG='1.46', time_epoch_completed='1670490511.24', return_code='0', job_id='727227', GAL2='0.42', EG2='1.47', return_code2='0', energy_flux_error='2.94e-05', photon_flux_error2='3.09e-08', ts2='3.46', photon_index='2.27' WHERE bin_id='1746' AND source_name='4FGL J1311.0+3233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:08:31 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0076>
Subject: Job 727227: <4FGL_J1311.0+3233_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1311.0+3233_daily_bin1746> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Dec  8 00:55:14 2022
Job was executed on host(s) <bullet0076>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 00:55:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 00:55:15 2022
Terminated at Thu Dec  8 01:08:32 2022
Results reported at Thu Dec  8 01:08:32 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1311.0+3233_daily_bin1746 197.76 32.5565 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1311.0+3233 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   751.47 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            798 sec.

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

