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


Performing analysis on: 4FGL_J1311.0+3233_daily_bin1770
RA = 197.76, Dec = 32.5565
tmin = 698112001, tmax = 698371201
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='486554', job_status='RUN', time_executed='2023-02-18 00:53:53.788834', time_epoch_executed='1676710433.79' WHERE source_name='4FGL J1311.0+3233' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/486554

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/486554/ft1_4FGL_J1311.0+3233_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/486554/ft2_4FGL_J1311.0+3233_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/486554/ft1_4FGL_J1311.0+3233_daily_bin1770.fits outfile=/scratch/kocevski/486554/ft1_filteredMKT_4FGL_J1311.0+3233_daily_bin1770.fits ra=197.76 dec=32.5565 rad=12.0 tmin=698112001.0 tmax=698371201.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.32
user 4.10
sys 0.20

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

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

Number of photons that the gtmktime cut: 391

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/486554/ft1_filtered_4FGL_J1311.0+3233_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/486554/ft2_4FGL_J1311.0+3233_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/486554/ltcube_698112001_698371201_4FGL_J1311.0+3233_daily_bin1770.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/486554/ft2_4FGL_J1311.0+3233_daily_bin1770.fits
.....................!
real 11.74
user 11.43
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/486554/ft1_filtered_4FGL_J1311.0+3233_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/486554/ft2_4FGL_J1311.0+3233_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/486554/ltcube_698112001_698371201_4FGL_J1311.0+3233_daily_bin1770.fits outfile=/scratch/kocevski/486554/expmap_698112001_698371201_4FGL_J1311.0+3233_daily_bin1770.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/486554/ltcube_698112001_698371201_4FGL_J1311.0+3233_daily_bin1770.fits
.....................!
real 189.51
user 184.99
sys 4.17

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/486554/ft1_filtered_4FGL_J1311.0+3233_daily_bin1770.fits scfile=/scratch/kocevski/486554/ft2_4FGL_J1311.0+3233_daily_bin1770.fits outfile=/scratch/kocevski/486554/cmap_698112001_698371201_4FGL_J1311.0+3233_daily_bin1770.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/486554/ft1_filtered_4FGL_J1311.0+3233_daily_bin1770.fits scfile=/scratch/kocevski/486554/ft2_4FGL_J1311.0+3233_daily_bin1770.fits outfile=/scratch/kocevski/486554/cmap_HighResolution_698112001_698371201_4FGL_J1311.0+3233_daily_bin1770.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.53
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .62786E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .21058E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    4.0325       1.0000          .0000       .10000E+07
     4 'Prefactor '    1.8892       1.0000          .0000       .10000E+07
     5 'norm      '    2.7739       1.0000          .0000       .10000E+07
     6 'Prefactor '    2.0511       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32309E-02   1.0000          .0000       .10000E+07
     8 'Prefactor '    .48583E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .34457E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .54201E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    .76327E-02   1.0000          .0000       .10000E+07
    12 'norm      '    1.3553       1.0000          .0000       .10000E+07
    13 'Prefactor '    .19731E-03   1.0000          .0000       .10000E+07
    14 'norm      '    .30476E-02   1.0000          .0000       .10000E+07
    15 'norm      '    .15997E-02   1.0000          .0000       .10000E+07
    16 'norm      '    39.174       1.0000          .0000       .10000E+07
    17 'norm      '    12.180       1.0000          .0000       .10000E+07
    18 'norm      '    14.593       1.0000          .0000       .10000E+07
    19 'Prefactor '    .29015E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .23683E-02   1.0000          .0000       .10000E+07
    21 'norm      '    57.442       1.0000          .0000       .10000E+07
    22 'Prefactor '    .42605E-02   1.0000          .0000       .10000E+07
    23 'norm      '    1.9145       1.0000          .0000       .10000E+07
    24 'Prefactor '    .26025E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    41.854       1.0000          .0000       .10000E+07
    26 'Prefactor '    7.0203       1.0000          .0000       .10000E+07
    27 'Normalizat'    1.3384       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .51611       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=   4163.296     FROM MIGRAD    STATUS=CONVERGED    157 CALLS     2496 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        2.1425        .10500E-06** at limit **
   2  Prefactor     .55511E-09    32.389        .10663E-06** at limit **
   3  Prefactor     4.0336        3.3782       -.55821E-07   -.26417E-02
   4  Prefactor     1.8892        2.3502       -.93601E-08   -.87610E-03
   5  norm          2.7719        4.6195        .14024E-06    .52125E-03
   6  Prefactor     2.0366        2.5721       -.36908E-07    .15224E-02
   7  Prefactor     .27922E-06    6.3060        .10525E-06** at limit **
   8  Prefactor     .70055E-07    4.1849        .96145E-08** at limit **
   9  Prefactor     .42466E-07    4.2216        .10699E-06** at limit **
  10  norm           .0000        2.3036        .15724E-06** at limit **
  11  Prefactor     .68828E-06    13.519       -.83384E-06** at limit **
  12  norm          1.3561        2.2953        .91598E-08    .38033E-04
  13  Prefactor     .84377E-08    9.3374       -.73078E-07** at limit **
  14  norm          .17861E-05    33.578       -.77837E-06** at limit **
  15  norm          .20384E-06    15.134        .28287E-07** at limit **
  16  norm          39.119        6.8654       -.91977E-08   -.39822E-02
  17  norm          12.160        4.6061       -.67981E-08    .74928E-02
  18  norm          14.578        1.0237       -.91862E-09   -.44423E-02
  19  Prefactor     .55511E-10    1.8402       -.84409E-07** at limit **
  20  Prefactor     .12657E-07    6.6232        .94387E-07** at limit **
  21  norm          57.445        1.6842       -.31193E-08   -.10082    
  22  Prefactor     .20817E-07    13.231       -.60916E-06** at limit **
  23  norm          1.9101        5.0387       -.69795E-07   -.54670E-01
  24  Prefactor     .70499E-08    5.4431       -.19813E-07** at limit **
  25  Prefactor     41.787        6.5602       -.50276E-07    .10042E-01
  26  Prefactor     7.0312        5.1249        .81131E-07   -.60977E-03
  27  Normalizat    1.3387        .24403        .17086E-06   -.13312E-03
  28  Prefactor     .51594        .27975       -.47779E-05   -.86619E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 5.55112e-10
  Prefactor  = 4.03358
  Prefactor  = 1.88922
  norm       = 2.77186
  Prefactor  = 2.03656
  Prefactor  = 2.79221e-07
  Prefactor  = 7.00551e-08
  Prefactor  = 4.2466e-08
  norm       = 0
  Prefactor  = 6.88283e-07
  norm       = 1.35614
  Prefactor  = 8.43769e-09
  norm       = 1.78613e-06
  norm       = 2.03837e-07
  norm       = 39.1188
  norm       = 12.1597
  norm       = 14.5784
  Prefactor  = 5.55112e-11
  Prefactor  = 1.26565e-08
  norm       = 57.4453
  Prefactor  = 2.08167e-08
  norm       = 1.91006
  Prefactor  = 7.04992e-09
  Prefactor  = 41.7871
  Prefactor  = 7.03125
  Normalizat = 1.33867
  Prefactor  = 0.515936
 **********
 **   18 **HESSE 
 **********

 FCN=   4163.296     FROM HESSE     STATUS=OK           591 CALLS     3087 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        2.1422        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-09    9.0755        .10441E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0336        3.3936        .50191E-03   -1.5668    
   4  Prefactor     1.8892        2.3746        .75679E-03   -1.5680    
   5  norm          2.7719        4.6460        .61078E-03   -1.5675    
   6  Prefactor     2.0366        12.865        .72150E-03   -1.5679    
   7  Prefactor     .27922E-06    12.749        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .70055E-07    4.6481        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .42466E-07    4.5361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        2.3036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .68828E-06    26.335        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.3561        2.3408        .93865E-03   -1.5685    
  13  Prefactor     .84377E-08    9.5965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .17861E-05    4.9450        .54576E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .20384E-06    16.965        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          39.119        10.250        .15979E-03   -1.5583    
  17  norm          12.160        12.992        .28677E-03   -1.5638    
  18  norm          14.578        17.324        .26193E-03   -1.5632    
  19  Prefactor     .55511E-10    1.8383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .12657E-07    11.718        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          57.445        14.685        .13195E-03   -1.5556    
  22  Prefactor     .20817E-07    24.470        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.9101        13.255        .75090E-03   -1.5680    
  24  Prefactor     .70499E-08    5.4820        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     41.787        30.490        .15459E-03   -1.5579    
  26  Prefactor     7.0312        5.1277        .37838E-03   -1.5655    
  27  Normalizat    1.3387        .21882        .49448E-01   -.82419    
  28  Prefactor     .51594        .25060        .88735E-01   -1.1125    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28273e-07
Minuit parameter uncertainties:
  1  1.06728e-06
  2  0.000143686
  3  3.39363
  4  2.37458
  5  4.64602
  6  10.2372
  7  0.0037736
  8  0.00114122
  9  0.000877835
  10  3.98522e-06
  11  0.00851483
  12  2.34083
  13  0.00056824
  14  0.00594388
  15  0.00371891
  16  10.2502
  17  12.992
  18  17.3238
  19  1.90147e-05
  20  0.000769951
  21  14.6851
  22  0.00142772
  23  10.0634
  24  0.000393552
  25  30.4898
  26  5.12767
  27  0.218969
  28  0.251144
Done.

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

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  1.216e+01  1.299e+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:  5.159e-01  2.511e-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.339e+00  2.190e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.91
Ra Dec: 197.760 32.556
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 3.36e-08 +/- 3.59e-08
Energy Flux (Fixed Index): 2.43e-05 +/- 2.59e-05

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

Saving results to:
/scratch/kocevski/486554/likelihoodResults_698112001_698371201_4FGL_J1311.0+3233_daily_bin1770.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) = 4162.8265039
delta logL = 0.469630059958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4162.76920464
delta logL = 0.52692931952

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.036       1.0000          .0000       .10000E+07
     2 'alpha     '    1.4010       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3492       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .51127       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=   4162.769     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      260 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.033        15.337        .96954E-05    .40220E-03
   2  alpha         1.4010        .75437        .19294E-01    .12595E-04
   3  Normalizat    1.3492        .23871        .21807E-03    .54273E-03
   4  Prefactor     .51123        .27863        .39519E-03    .25903E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.0335
  alpha      = 1.40097
  Normalizat = 1.3492
  Prefactor  = 0.511228
 **********
 **   18 **HESSE 
 **********

 FCN=   4162.769     FROM HESSE     STATUS=OK            25 CALLS      285 TOTAL
                     EDM=   .37E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.033        15.419        .38782E-06   -1.5625    
   2  alpha         1.4010        .75833        .77178E-03   -.45517    
   3  Normalizat    1.3492        .23882        .43614E-04   -.82109    
   4  Prefactor     .51123        .27877        .15807E-04   -1.1146    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.72078e-10
Minuit parameter uncertainties:
  1  15.4191
  2  0.773535
  3  0.239019
  4  0.279518
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/486554': 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) = 4162.7692046
delta logL = 0.526929351818

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  1.703e+01  1.542e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  1.401e+00  7.735e-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:  5.112e-01  2.795e-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.349e+00  2.390e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.03
Ra Dec: 197.760 32.556
Photon Index (Free Index): 1.40 +/- 0.77
Photon Flux (Free Index): 1.57e-08 +/- 1.76e-08
Energy Flux (Free Index): 4.50e-05 +/- 4.96e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/486554/cmap_HighResolution_698112001_698371201_4FGL_J1311.0+3233_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.90e-05', comment='SUCCESS', photon_flux='3.36e-08', energy_flux2='4.50e-05', photon_flux_error='3.59e-08', dlogl='5.27e-01', energy_flux='2.43e-05', photon_flux2='1.57e-08', job_status='DONE', time_completed='2023-02-18 01:03:47.636107', photon_index_error2='0.77', photon_index2='1.40', ts='1.91', fit_tolerance='1e-08', GAL='0.52', photon_index_error='0.00', photon_flux_upper_limit='1.09e-07', energy_flux_error2='4.96e-05', EG='1.34', time_epoch_completed='1676711027.64', return_code='0', job_id='486554', GAL2='0.51', EG2='1.35', return_code2='0', energy_flux_error='2.59e-05', photon_flux_error2='1.76e-08', ts2='3.03', photon_index='2.27' WHERE bin_id='1770' AND source_name='4FGL J1311.0+3233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:03:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0182>
Subject: Job 486554: <4FGL_J1311.0+3233_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1311.0+3233_daily_bin1770> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Feb 18 00:50:15 2023
Job was executed on host(s) <bullet0182>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:50:16 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:50:16 2023
Terminated at Sat Feb 18 01:03:48 2023
Results reported at Sat Feb 18 01:03:48 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1311.0+3233_daily_bin1770 197.76 32.5565 698112001 698371201 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 :                                   596.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             243.32 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   811 sec.
    Turnaround time :                            813 sec.

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

