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


Performing analysis on: 4FGL_J1311.0+3233_daily_bin1748
RA = 197.76, Dec = 32.5565
tmin = 692409601, tmax = 692668801
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='886381', job_status='RUN', time_executed='2022-12-14 00:43:04.428223', time_epoch_executed='1671007384.43' WHERE source_name='4FGL J1311.0+3233' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/886381

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/886381/ft1_4FGL_J1311.0+3233_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/886381/ft2_4FGL_J1311.0+3233_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/886381/ft1_4FGL_J1311.0+3233_daily_bin1748.fits outfile=/scratch/kocevski/886381/ft1_filteredMKT_4FGL_J1311.0+3233_daily_bin1748.fits ra=197.76 dec=32.5565 rad=12.0 tmin=692409601.0 tmax=692668801.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.56
user 3.32
sys 0.23

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

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

Number of photons that the gtmktime cut: 689

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/886381/ft1_filtered_4FGL_J1311.0+3233_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/886381/ft2_4FGL_J1311.0+3233_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/886381/ltcube_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.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/886381/ft2_4FGL_J1311.0+3233_daily_bin1748.fits
.....................!
real 12.20
user 11.86
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/886381/ft1_filtered_4FGL_J1311.0+3233_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/886381/ft2_4FGL_J1311.0+3233_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/886381/ltcube_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.fits outfile=/scratch/kocevski/886381/expmap_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.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/886381/ltcube_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.fits
.....................!
real 190.05
user 184.97
sys 4.71

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/886381/ft1_filtered_4FGL_J1311.0+3233_daily_bin1748.fits scfile=/scratch/kocevski/886381/ft2_4FGL_J1311.0+3233_daily_bin1748.fits outfile=/scratch/kocevski/886381/cmap_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.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.54
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/886381/ft1_filtered_4FGL_J1311.0+3233_daily_bin1748.fits scfile=/scratch/kocevski/886381/ft2_4FGL_J1311.0+3233_daily_bin1748.fits outfile=/scratch/kocevski/886381/cmap_HighResolution_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.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/886381/ft1_filtered_4FGL_J1311.0+3233_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/886381/ft2_4FGL_J1311.0+3233_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/886381/Model_4FGL_J1311.0+3233_daily_bin1748.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/886381/ft1_filtered_4FGL_J1311.0+3233_daily_bin1748.fits.....................!
real 58.71
user 57.41
sys 1.15

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/886381/ft1_filtered_4FGL_J1311.0+3233_daily_bin1748.fits', '/scratch/kocevski/886381/ft2_4FGL_J1311.0+3233_daily_bin1748.fits', expMap='/scratch/kocevski/886381/expmap_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.fits', expCube='/scratch/kocevski/886381/ltcube_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/886381/Model_4FGL_J1311.0+3233_daily_bin1748.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/886381/ft1_filtered_4FGL_J1311.0+3233_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/886381/ft2_4FGL_J1311.0+3233_daily_bin1748.fits
Exposure map: /scratch/kocevski/886381/expmap_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.fits
Exposure cube: /scratch/kocevski/886381/ltcube_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/886381/Model_4FGL_J1311.0+3233_daily_bin1748.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) = 7553.91918333

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .96660       1.0000          .0000       .10000E+07
     2 'Prefactor '    13.734       1.0000          .0000       .10000E+07
     3 'Prefactor '    5.3861       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2515       1.0000          .0000       .10000E+07
     5 'norm      '    6.8135       1.0000          .0000       .10000E+07
     6 'Prefactor '    21.608       1.0000          .0000       .10000E+07
     7 'Prefactor '    2.8373       1.0000          .0000       .10000E+07
     8 'Prefactor '    .94455E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .10661E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .90870E-04   1.0000          .0000       .10000E+07
    11 'Prefactor '    12.733       1.0000          .0000       .10000E+07
    12 'norm      '    .26869E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .75691E-02   1.0000          .0000       .10000E+07
    14 'norm      '    .20249E-03   1.0000          .0000       .10000E+07
    15 'norm      '    .19723E-03   1.0000          .0000       .10000E+07
    16 'norm      '    31.197       1.0000          .0000       .10000E+07
    17 'norm      '    .34805E-07   1.0000          .0000       .10000E+07
    18 'norm      '    5.7607       1.0000          .0000       .10000E+07
    19 'Prefactor '    .28959E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    13.417       1.0000          .0000       .10000E+07
    21 'norm      '    31.009       1.0000          .0000       .10000E+07
    22 'Prefactor '    .11882E-03   1.0000          .0000       .10000E+07
    23 'norm      '    11.864       1.0000          .0000       .10000E+07
    24 'Prefactor '    .27585E-03   1.0000          .0000       .10000E+07
    25 'Prefactor '    9.0048       1.0000          .0000       .10000E+07
    26 'Prefactor '    1.3195       1.0000          .0000       .10000E+07
    27 'Normalizat'    .79914       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.2905       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=   7553.875     FROM MIGRAD    STATUS=CONVERGED    137 CALLS     1950 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .96592        1.9790        .14260E-07   -.12352E-02
   2  Prefactor     13.749        5.3545        .16985E-05    .13161    
   3  Prefactor     5.3861        2.7341       -.12450E-06   -.72132E-03
   4  Prefactor     1.2511        1.7160       -.12270E-06   -.26740E-02
   5  norm          6.8454        4.4850       -.96354E-07    .72276E-03
   6  Prefactor     21.642        1.1804       -.13281E-06   -.69819E-02
   7  Prefactor     2.8031        1.6494       -.78869E-06    .26083E-02
   8  Prefactor     .11102E-09    2.2417        .44919E-07** at limit **
   9  Prefactor      .0000        1.8285        .52526E-07** at limit **
  10  norm          .46757E-06    7.6913       -.50076E-05** at limit **
  11  Prefactor     13.744        22.843        .31346E-05   -.59641E-02
  12  norm          .11435E-07    2.7583       -.12415E-05** at limit **
  13  Prefactor     .35083E-07    4.4274        .24982E-05** at limit **
  14  norm           .0000        1.4852        .14433E-06** at limit **
  15  norm          .27200E-08    3.3951       -.71554E-06** at limit **
  16  norm          31.140        5.8250       -.60662E-07    .16126E-01
  17  norm          .34528E-07    3.6906        .12224E-05** at limit **
  18  norm          5.7649        1.3717       -.17758E-06    .30376E-02
  19  Prefactor      .0000        1.2773       -.39469E-07** at limit **
  20  Prefactor     13.277        1.2647        .86033E-07   -.46986E-02
  21  norm          31.015        1.0293        .11063E-07    .15922E-01
  22  Prefactor     .47851E-07    12.449        .21303E-05** at limit **
  23  norm          11.866        1.3910        .35145E-06    .29040E-01
  24  Prefactor     .99920E-09    3.0833        .69870E-06** at limit **
  25  Prefactor     9.0126        1.4124        .41080E-06    .19831E-01
  26  Prefactor     1.3199        2.7394        .50385E-06   -.33149E-02
  27  Normalizat    .79831        .19278       -.87527E-05    .29084E-03
  28  Prefactor     1.2908        .23862       -.18277E-05    .21825E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.965921
  Prefactor  = 13.7487
  Prefactor  = 5.3861
  Prefactor  = 1.25106
  norm       = 6.84536
  Prefactor  = 21.6423
  Prefactor  = 2.80309
  Prefactor  = 1.11022e-10
  Prefactor  = 0
  norm       = 4.6757e-07
  Prefactor  = 13.744
  norm       = 1.14353e-08
  Prefactor  = 3.5083e-08
  norm       = 0
  norm       = 2.72005e-09
  norm       = 31.1403
  norm       = 3.45279e-08
  norm       = 5.7649
  Prefactor  = 0
  Prefactor  = 13.2769
  norm       = 31.0152
  Prefactor  = 4.78506e-08
  norm       = 11.8664
  Prefactor  = 9.99201e-10
  Prefactor  = 9.01255
  Prefactor  = 1.31989
  Normalizat = 0.798309
  Prefactor  = 1.2908
 **********
 **   18 **HESSE 
 **********

 FCN=   7553.875     FROM HESSE     STATUS=OK           585 CALLS     2535 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .96592        1.9869        .42579E-03   -1.5688    
   2  Prefactor     13.749        9.9370        .27001E-03   -1.5634    
   3  Prefactor     5.3861        2.7365        .43277E-03   -1.5662    
   4  Prefactor     1.2511        1.7657        .99901E-03   -1.5686    
   5  norm          6.8454        4.5028        .38414E-03   -1.5656    
   6  Prefactor     21.642        11.921        .21519E-03   -1.5615    
   7  Prefactor     2.8031        27.809        .60344E-03   -1.5674    
   8  Prefactor     .11102E-09    2.2418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        1.8295        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .46757E-06    10.020        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.744        23.992        .28046E-03   -1.5634    
  12  norm          .11435E-07    2.1644        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .35083E-07    8.3073        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm           .0000        1.4859        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .27200E-08    3.4155        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          31.140        6.1377        .17906E-03   -1.5596    
  17  norm          .34528E-07    8.3986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.7649        17.500        .41823E-03   -1.5660    
  19  Prefactor      .0000        1.2741        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     13.277        14.785        .27320E-03   -1.5635    
  21  norm          31.015        9.6204        .17960E-03   -1.5597    
  22  Prefactor     .47851E-07    12.838        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          11.866        9.2954        .29059E-03   -1.5639    
  24  Prefactor     .99920E-09    3.0938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     9.0126        9.7021        .33376E-03   -1.5648    
  26  Prefactor     1.3199        2.7839        .95776E-03   -1.5685    
  27  Normalizat    .79831        .16119        .62325E-01   -1.0013    
  28  Prefactor     1.2908        .19791        .63032E-01   -.83581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.3572e-07
Minuit parameter uncertainties:
  1  1.98693
  2  9.93697
  3  2.73653
  4  1.76571
  5  4.50277
  6  11.9212
  7  17.6581
  8  3.42402e-05
  9  8.10072e-06
  10  0.00432907
  11  23.9924
  12  0.000314278
  13  0.00107958
  14  8.66777e-06
  15  0.000193635
  16  6.13771
  17  0.00107688
  18  17.4998
  19  1.1664e-05
  20  14.7854
  21  9.62038
  22  0.00156722
  23  9.29543
  24  0.000112283
  25  9.70215
  26  2.78393
  27  0.161286
  28  0.198021
Done.

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

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  3.453e-08  1.077e-03  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:  1.291e+00  1.980e-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:  7.983e-01  1.613e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 197.760 32.556
Photon Flux Upper Limit: 5.05e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/886381/likelihoodResults_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7553.87513359
delta logL = -0.00031487717024

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7553.87481953
delta logL = -8.24152266432e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15317E-05   1.0000          .0000       .10000E+07
     2 'alpha     '    .26844       1.0000          .0000       5.0000    
     3 'Normalizat'    .79820       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2909       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=   7553.875     FROM MIGRAD    STATUS=CONVERGED     36 CALLS      263 TOTAL
                     EDM=   .96E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .61062E-09    8.5902       -.11538E-05** at limit **
   2  alpha         2.3766        3.5045       -.24143E-04   -.16133E-10
   3  Normalizat    .79831        .18876        .14236E-04   -.12956E-03
   4  Prefactor     1.2908        .23812       -.12494E-04    .30200E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.10623e-10
  alpha      = 2.37655
  Normalizat = 0.798306
  Prefactor  = 1.29081
 **********
 **   18 **HESSE 
 **********

 FCN=   7553.875     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      298 TOTAL
                     EDM=   .57E-11    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .61062E-09    .57605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3766        3.2076        .51000       -.49399E-01
   3  Normalizat    .79831        .10157E-02    .62325E-01   -1.0013    
   4  Prefactor     1.2908        .12786E-02    .63032E-01   -.83581    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.68836e-12
Minuit parameter uncertainties:
  1  3.73817e-05
  2  38310.6
  3  0.00101566
  4  0.0012786
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/886381': 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) = 7553.87481871
delta logL = 2.00361682801e-09

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  6.106e-10  3.738e-05  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.377e+00  3.831e+04  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:  1.291e+00  1.279e-03  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:  7.983e-01  1.016e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 197.760 32.556

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/886381/cmap_HighResolution_692409601_692668801_4FGL_J1311.0+3233_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.65e-05', job_status='DONE', photon_flux_upper_limit='5.05e-08', time_completed='2022-12-14 00:54:56.681143', job_id='886381', GAL2='1.29', fit_tolerance='1e-08', EG2='0.80', EG='0.80', time_epoch_completed='1671008096.68', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.29', dlogl='2.00e-09', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1748' AND source_name='4FGL J1311.0+3233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:54:56 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0082>
Subject: Job 886381: <4FGL_J1311.0+3233_daily_bin1748> in cluster <slac> Done

Job <4FGL_J1311.0+3233_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:40:20 2022
Job was executed on host(s) <bullet0082>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:40:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:40:22 2022
Terminated at Wed Dec 14 00:54:57 2022
Results reported at Wed Dec 14 00:54:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1311.0+3233_daily_bin1748 197.76 32.5565 692409601 692668801 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 :                                   714.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             312.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            877 sec.

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

