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


Performing analysis on: 4FGL_J1311.0+3233_daily_bin1751
RA = 197.76, Dec = 32.5565
tmin = 693187201, tmax = 693446401
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='79017', job_status='RUN', time_executed='2022-12-23 00:49:19.262253', time_epoch_executed='1671785359.26' WHERE source_name='4FGL J1311.0+3233' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79017

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79017/ft1_4FGL_J1311.0+3233_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79017/ft2_4FGL_J1311.0+3233_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79017/ft1_4FGL_J1311.0+3233_daily_bin1751.fits outfile=/scratch/kocevski/79017/ft1_filteredMKT_4FGL_J1311.0+3233_daily_bin1751.fits ra=197.76 dec=32.5565 rad=12.0 tmin=693187201.0 tmax=693446401.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.66
user 3.44
sys 0.21

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

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

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79017/ft1_filtered_4FGL_J1311.0+3233_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/79017/ft2_4FGL_J1311.0+3233_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/79017/ltcube_693187201_693446401_4FGL_J1311.0+3233_daily_bin1751.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/79017/ft2_4FGL_J1311.0+3233_daily_bin1751.fits
.....................!
real 12.03
user 11.71
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79017/ft1_filtered_4FGL_J1311.0+3233_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79017/ft2_4FGL_J1311.0+3233_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/79017/ltcube_693187201_693446401_4FGL_J1311.0+3233_daily_bin1751.fits outfile=/scratch/kocevski/79017/expmap_693187201_693446401_4FGL_J1311.0+3233_daily_bin1751.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/79017/ltcube_693187201_693446401_4FGL_J1311.0+3233_daily_bin1751.fits
.....................!
real 190.59
user 185.80
sys 4.47

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/79017/ft1_filtered_4FGL_J1311.0+3233_daily_bin1751.fits scfile=/scratch/kocevski/79017/ft2_4FGL_J1311.0+3233_daily_bin1751.fits outfile=/scratch/kocevski/79017/cmap_693187201_693446401_4FGL_J1311.0+3233_daily_bin1751.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79017/ft1_filtered_4FGL_J1311.0+3233_daily_bin1751.fits scfile=/scratch/kocevski/79017/ft2_4FGL_J1311.0+3233_daily_bin1751.fits outfile=/scratch/kocevski/79017/cmap_HighResolution_693187201_693446401_4FGL_J1311.0+3233_daily_bin1751.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.2903       1.0000          .0000       .10000E+07
     2 'Prefactor '    5.9859       1.0000          .0000       .10000E+07
     3 'Prefactor '    .96900       1.0000          .0000       .10000E+07
     4 'Prefactor '    2.3267       1.0000          .0000       .10000E+07
     5 'norm      '    14.053       1.0000          .0000       .10000E+07
     6 'Prefactor '    9.3015       1.0000          .0000       .10000E+07
     7 'Prefactor '    .55998E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    .18348E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .72675E-05   1.0000          .0000       .10000E+07
    10 'norm      '    4.0206       1.0000          .0000       .10000E+07
    11 'Prefactor '    42.877       1.0000          .0000       .10000E+07
    12 'norm      '    1.2533       1.0000          .0000       .10000E+07
    13 'Prefactor '    2.8110       1.0000          .0000       .10000E+07
    14 'norm      '    .11370E-03   1.0000          .0000       .10000E+07
    15 'norm      '    2.3513       1.0000          .0000       .10000E+07
    16 'norm      '    30.005       1.0000          .0000       .10000E+07
    17 'norm      '    17.321       1.0000          .0000       .10000E+07
    18 'norm      '    49.197       1.0000          .0000       .10000E+07
    19 'Prefactor '    1.8430       1.0000          .0000       .10000E+07
    20 'Prefactor '    .46732E-04   1.0000          .0000       .10000E+07
    21 'norm      '    35.061       1.0000          .0000       .10000E+07
    22 'Prefactor '    .45072E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .18340E-04   1.0000          .0000       .10000E+07
    24 'Prefactor '    11.286       1.0000          .0000       .10000E+07
    25 'Prefactor '    24.899       1.0000          .0000       .10000E+07
    26 'Prefactor '    6.0058       1.0000          .0000       .10000E+07
    27 'Normalizat'    .87348       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .95060       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=   6718.844     FROM MIGRAD    STATUS=CONVERGED    128 CALLS     3412 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.2889        2.9547       -.45973E-07    .79123E-03
   2  Prefactor     6.0205        5.0744       -.85311E-06   -.91100E-01
   3  Prefactor     .96919        1.6366       -.52940E-08   -.30609E-03
   4  Prefactor     2.3261        1.5500        .11940E-06   -.15044E-02
   5  norm          13.996        5.4072        .72632E-06    .32485E-01
   6  Prefactor     9.3355        6.5757        .78152E-07    .77297E-01
   7  Prefactor     .86042E-08    5.2106       -.12028E-05** at limit **
   8  Prefactor     .56843E-07    4.0201       -.21511E-05** at limit **
   9  Prefactor     .99920E-09    2.7373        .41041E-06** at limit **
  10  norm          4.0166        4.4043       -.31877E-06    .31810E-03
  11  Prefactor     42.893        1.3769       -.67900E-07   -.17845E-01
  12  norm          1.2529        2.0584       -.46465E-06    .18545E-03
  13  Prefactor     2.5550        18.749       -.45592E-05    .13480E-01
  14  norm          .47912E-06    2.3891        .30537E-06** at limit **
  15  norm          2.3431        1.2275        .11334E-06    .17066E-02
  16  norm          29.953        5.3710       -.24874E-06   -.99505E-02
  17  norm          17.295        2.9745       -.18723E-06    .42891E-02
  18  norm          49.199        1.0515       -.19668E-07   -.69369E-03
  19  Prefactor     1.8543        2.9043       -.15792E-06    .18744E-04
  20  Prefactor     .14877E-07    1.9753        .31439E-06** at limit **
  21  norm          35.071        3.6559       -.39373E-06   -.66470E-01
  22  Prefactor     .13878E-08    29.446        .14648E-05** at limit **
  23  norm          .24258E-07    1.8178        .24775E-06** at limit **
  24  Prefactor     11.266        1.4092        .44221E-07    .21136E-02
  25  Prefactor     24.908        1.1422        .11265E-08    .20500E-01
  26  Prefactor     5.9964        3.9809       -.10339E-06   -.14900E-02
  27  Normalizat    .87440        .19693        .11751E-04    .58403E-04
  28  Prefactor     .95011        .23452        .80845E-06    .41781E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.28894
  Prefactor  = 6.02051
  Prefactor  = 0.96919
  Prefactor  = 2.32612
  norm       = 13.996
  Prefactor  = 9.33547
  Prefactor  = 8.60423e-09
  Prefactor  = 5.68434e-08
  Prefactor  = 9.99201e-10
  norm       = 4.01661
  Prefactor  = 42.8927
  norm       = 1.25289
  Prefactor  = 2.55499
  norm       = 4.79117e-07
  norm       = 2.34311
  norm       = 29.9527
  norm       = 17.295
  norm       = 49.1987
  Prefactor  = 1.85428
  Prefactor  = 1.4877e-08
  norm       = 35.0708
  Prefactor  = 1.38778e-09
  norm       = 2.42584e-08
  Prefactor  = 11.2661
  Prefactor  = 24.9084
  Prefactor  = 5.99642
  Normalizat = 0.874397
  Prefactor  = 0.950114
 **********
 **   18 **HESSE 
 **********

 FCN=   6718.844     FROM HESSE     STATUS=OK           589 CALLS     4001 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.2889        2.9327        .48615E-03   -1.5667    
   2  Prefactor     6.0205        8.0741        .41017E-03   -1.5659    
   3  Prefactor     .96919        1.6305        .42665E-03   -1.5688    
   4  Prefactor     2.3261        1.5502        .67210E-03   -1.5677    
   5  norm          13.996        5.4249        .26693E-03   -1.5633    
   6  Prefactor     9.3355        7.4382        .32836E-03   -1.5647    
   7  Prefactor     .86042E-08    6.0744        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .56843E-07    4.5565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .99920E-09    2.7934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          4.0166        4.6627        .50268E-03   -1.5668    
  11  Prefactor     42.893        30.651        .15273E-03   -1.5577    
  12  norm          1.2529        2.1082        .99781E-03   -1.5686    
  13  Prefactor     2.5550        20.495        .60644E-03   -1.5676    
  14  norm          .47912E-06    7.2284        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.3431        12.941        .66819E-03   -1.5677    
  16  norm          29.953        9.0689        .18259E-03   -1.5599    
  17  norm          17.295        13.875        .24038E-03   -1.5625    
  18  norm          49.199        26.082        .14258E-03   -1.5568    
  19  Prefactor     1.8543        2.9547        .76797E-03   -1.5681    
  20  Prefactor     .14877E-07    5.3004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          35.071        9.7953        .16890E-03   -1.5590    
  22  Prefactor     .13878E-08    29.527        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .24258E-07    5.0071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     11.266        10.274        .29796E-03   -1.5641    
  25  Prefactor     24.908        17.074        .20045E-03   -1.5608    
  26  Prefactor     5.9964        3.9835        .40949E-03   -1.5659    
  27  Normalizat    .87440        .16769        .44562E-01   -.97366    
  28  Prefactor     .95011        .19912        .67466E-01   -.94411    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.59087e-07
Minuit parameter uncertainties:
  1  2.93269
  2  8.07412
  3  1.63055
  4  1.55016
  5  5.42485
  6  7.43819
  7  0.000457753
  8  0.00101789
  9  0.000104432
  10  4.66275
  11  30.6514
  12  2.10817
  13  14.4728
  14  0.00372208
  15  11.0131
  16  9.06889
  17  13.8751
  18  26.0825
  19  2.9547
  20  0.000561186
  21  9.79526
  22  0.000406186
  23  0.00069671
  24  10.2736
  25  17.074
  26  3.98352
  27  0.167787
  28  0.199273
Done.

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

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  1.730e+01  1.388e+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:  9.501e-01  1.993e-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:  8.744e-01  1.678e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.05
Ra Dec: 197.760 32.556
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 4.77e-08 +/- 3.83e-08
Energy Flux (Fixed Index): 3.45e-05 +/- 2.77e-05

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) = 6718.83474851
delta logL = 0.00950921160438

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6718.82557786
delta logL = 0.018679861284

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.447       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4035       1.0000          .0000       5.0000    
     3 'Normalizat'    .87017       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95222       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6718.826     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      251 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.453        14.883        .10183E-04    .11768E-02
   2  alpha         2.4031        .72669        .11576E-01    .30928E-03
   3  Normalizat    .87012        .19007        .25174E-03   -.15323E-03
   4  Prefactor     .95243        .23343        .29800E-03    .14382E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 15.4531
  alpha      = 2.40313
  Normalizat = 0.870118
  Prefactor  = 0.952428
 **********
 **   18 **HESSE 
 **********

 FCN=   6718.826     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.453        13.764        .40731E-06   -1.5629    
   2  alpha         2.4031        .67329        .23152E-02   -.38757E-01
   3  Normalizat    .87012        .18992        .10070E-04   -.97518    
   4  Prefactor     .95243        .23355        .11920E-04   -.94332    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.54164e-10
Minuit parameter uncertainties:
  1  13.7644
  2  0.681724
  3  0.190064
  4  0.233801
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79017': 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) = 6718.82557678
delta logL = 0.0186809408015

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  1.545e+01  1.376e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.403e+00  6.817e-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:  9.524e-01  2.338e-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:  8.701e-01  1.901e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.33
Ra Dec: 197.760 32.556
Photon Index (Free Index): 2.40 +/- 0.68
Photon Flux (Free Index): 5.41e-08 +/- 4.62e-08
Energy Flux (Free Index): 3.31e-05 +/- 2.08e-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/79017/cmap_HighResolution_693187201_693446401_4FGL_J1311.0+3233_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.77e-08', energy_flux2='3.31e-05', photon_flux_error='3.83e-08', dlogl='1.87e-02', energy_flux='3.45e-05', photon_flux2='5.41e-08', job_status='DONE', time_completed='2022-12-23 01:01:42.230859', photon_index_error2='0.68', photon_index2='2.40', ts='4.05', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', energy_flux_error2='2.08e-05', EG='0.87', time_epoch_completed='1671786102.23', return_code='0', job_id='79017', GAL2='0.95', EG2='0.87', return_code2='0', energy_flux_error='2.77e-05', photon_flux_error2='4.62e-08', ts2='4.33', photon_index='2.27' WHERE bin_id='1751' AND source_name='4FGL J1311.0+3233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 01:01:42 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 79017: <4FGL_J1311.0+3233_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1311.0+3233_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:45:20 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:45:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:45:21 2022
Terminated at Fri Dec 23 01:01:43 2022
Results reported at Fri Dec 23 01:01:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1311.0+3233_daily_bin1751 197.76 32.5565 693187201 693446401 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 :                                   745.05 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             278.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   981 sec.
    Turnaround time :                            983 sec.

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

