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


Performing analysis on: 4FGL_J1311.0+3233_daily_bin1766
RA = 197.76, Dec = 32.5565
tmin = 697075201, tmax = 697334401
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='849292', job_status='RUN', time_executed='2023-02-06 00:53:33.623316', time_epoch_executed='1675673613.62' WHERE source_name='4FGL J1311.0+3233' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849292

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849292/ft1_4FGL_J1311.0+3233_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849292/ft2_4FGL_J1311.0+3233_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849292/ft1_4FGL_J1311.0+3233_daily_bin1766.fits outfile=/scratch/kocevski/849292/ft1_filteredMKT_4FGL_J1311.0+3233_daily_bin1766.fits ra=197.76 dec=32.5565 rad=12.0 tmin=697075201.0 tmax=697334401.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.69
user 3.44
sys 0.23

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

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

Number of photons that the gtmktime cut: 624

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849292/ft1_filtered_4FGL_J1311.0+3233_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/849292/ft2_4FGL_J1311.0+3233_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/849292/ltcube_697075201_697334401_4FGL_J1311.0+3233_daily_bin1766.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/849292/ft2_4FGL_J1311.0+3233_daily_bin1766.fits
.....................!
real 15.02
user 14.63
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849292/ft1_filtered_4FGL_J1311.0+3233_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/849292/ft2_4FGL_J1311.0+3233_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/849292/ltcube_697075201_697334401_4FGL_J1311.0+3233_daily_bin1766.fits outfile=/scratch/kocevski/849292/expmap_697075201_697334401_4FGL_J1311.0+3233_daily_bin1766.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/849292/ltcube_697075201_697334401_4FGL_J1311.0+3233_daily_bin1766.fits
.....................!
real 192.37
user 186.48
sys 5.50

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/849292/ft1_filtered_4FGL_J1311.0+3233_daily_bin1766.fits scfile=/scratch/kocevski/849292/ft2_4FGL_J1311.0+3233_daily_bin1766.fits outfile=/scratch/kocevski/849292/cmap_697075201_697334401_4FGL_J1311.0+3233_daily_bin1766.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.56
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/849292/ft1_filtered_4FGL_J1311.0+3233_daily_bin1766.fits scfile=/scratch/kocevski/849292/ft2_4FGL_J1311.0+3233_daily_bin1766.fits outfile=/scratch/kocevski/849292/cmap_HighResolution_697075201_697334401_4FGL_J1311.0+3233_daily_bin1766.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.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.6992       1.0000          .0000       .10000E+07
     2 'Prefactor '    .39675E-05   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.7122       1.0000          .0000       .10000E+07
     4 'Prefactor '    .65109       1.0000          .0000       .10000E+07
     5 'norm      '    7.1424       1.0000          .0000       .10000E+07
     6 'Prefactor '    13.684       1.0000          .0000       .10000E+07
     7 'Prefactor '    .15513E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    5.5404       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13162E-02   1.0000          .0000       .10000E+07
    10 'norm      '    .22321E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    .14510E-03   1.0000          .0000       .10000E+07
    12 'norm      '    .40906E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .58251E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .10942E-02   1.0000          .0000       .10000E+07
    15 'norm      '    16.956       1.0000          .0000       .10000E+07
    16 'norm      '    28.177       1.0000          .0000       .10000E+07
    17 'norm      '    35.514       1.0000          .0000       .10000E+07
    18 'norm      '    22.948       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.1423       1.0000          .0000       .10000E+07
    20 'Prefactor '    17.664       1.0000          .0000       .10000E+07
    21 'norm      '    52.243       1.0000          .0000       .10000E+07
    22 'Prefactor '    .24407E-02   1.0000          .0000       .10000E+07
    23 'norm      '    .92828E-03   1.0000          .0000       .10000E+07
    24 'Prefactor '    .22039E-02   1.0000          .0000       .10000E+07
    25 'Prefactor '    .45289E-02   1.0000          .0000       .10000E+07
    26 'Prefactor '    13.087       1.0000          .0000       .10000E+07
    27 'Normalizat'    .86912       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0386       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=   6810.428     FROM MIGRAD    STATUS=CONVERGED    136 CALLS     2447 TOTAL
                     EDM=   .71E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7023        3.5022       -.48344E-06   -.25354E-02
   2  Prefactor      .0000        2.6670        .29234E-06** at limit **
   3  Prefactor     5.7084        3.2084       -.74326E-08   -.48892E-03
   4  Prefactor     .65382        2.3811        .95139E-06    .30880E-02
   5  norm          7.1413        4.4845       -.68860E-06   -.53529E-02
   6  Prefactor     13.684        1.1664        .12153E-06    .11477E-01
   7  Prefactor     .27295E-06    4.1311       -.84908E-06** at limit **
   8  Prefactor     5.5142        3.3543       -.28201E-06   -.60354E-01
   9  Prefactor     .11102E-09    4.0460       -.45001E-06** at limit **
  10  norm           .0000        1.3077        .56398E-06** at limit **
  11  Prefactor     .23481E-07    6.4441       -.39136E-05** at limit **
  12  norm           .0000        .85041        .23820E-07** at limit **
  13  Prefactor     .81685E-06    7.0007        .35456E-05** at limit **
  14  norm          .13695E-06    3.1373       -.19792E-05** at limit **
  15  norm          16.950        1.0352       -.29692E-07    .16342E-02
  16  norm          28.191        5.2967       -.35142E-07   -.65894E-01
  17  norm          35.449        2.5269       -.24001E-07   -.32279E-01
  18  norm          22.950        1.1530       -.65195E-07   -.40618E-02
  19  Prefactor     2.2431        3.9335        .32434E-06    .45417E-02
  20  Prefactor     17.015        3.5388        .46155E-06   -.21313E-01
  21  norm          52.204        1.8944       -.17631E-06   -.48463E-01
  22  Prefactor     .59786E-07    20.165       -.41085E-06** at limit **
  23  norm          .44409E-09    5.8657       -.18308E-05** at limit **
  24  Prefactor     .27978E-07    6.6532        .20522E-05** at limit **
  25  Prefactor     .67613E-07    4.8050        .10189E-05** at limit **
  26  Prefactor     13.127        4.7740       -.17260E-06   -.79167E-02
  27  Normalizat    .86930        .20051       -.90724E-06   -.59112E-04
  28  Prefactor     1.0385        .24300        .46326E-05   -.14007E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.70225
  Prefactor  = 0
  Prefactor  = 5.70839
  Prefactor  = 0.653823
  norm       = 7.1413
  Prefactor  = 13.6837
  Prefactor  = 2.72948e-07
  Prefactor  = 5.51417
  Prefactor  = 1.11022e-10
  norm       = 0
  Prefactor  = 2.34812e-08
  norm       = 0
  Prefactor  = 8.16847e-07
  norm       = 1.36946e-07
  norm       = 16.9499
  norm       = 28.1906
  norm       = 35.4486
  norm       = 22.9497
  Prefactor  = 2.24307
  Prefactor  = 17.0146
  norm       = 52.2043
  Prefactor  = 5.97855e-08
  norm       = 4.44089e-10
  Prefactor  = 2.79776e-08
  Prefactor  = 6.76126e-08
  Prefactor  = 13.1272
  Normalizat = 0.869298
  Prefactor  = 1.03855
 **********
 **   18 **HESSE 
 **********

 FCN=   6810.428     FROM HESSE     STATUS=OK           579 CALLS     3026 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7023        3.4982        .52484E-03   -1.5669    
   2  Prefactor      .0000        2.6810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.7084        3.2062        .42003E-03   -1.5660    
   4  Prefactor     .65382        2.4783        .64771E-03   -1.5692    
   5  norm          7.1413        4.4981        .37510E-03   -1.5655    
   6  Prefactor     13.684        10.825        .27051E-03   -1.5634    
   7  Prefactor     .27295E-06    12.322        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     5.5142        6.6298        .42660E-03   -1.5661    
   9  Prefactor     .11102E-09    4.0585        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        1.3133        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .23481E-07    9.9868        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm           .0000        .85104        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .81685E-06    15.182        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .13695E-06    9.7045        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          16.950        14.107        .24295E-03   -1.5626    
  16  norm          28.191        10.105        .18842E-03   -1.5602    
  17  norm          35.449        18.904        .16782E-03   -1.5589    
  18  norm          22.950        21.081        .20880E-03   -1.5612    
  19  Prefactor     2.2431        5.1003        .70386E-03   -1.5678    
  20  Prefactor     17.015        20.328        .23803E-03   -1.5625    
  21  norm          52.204        11.791        .13836E-03   -1.5563    
  22  Prefactor     .59786E-07    20.863        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .44409E-09    5.8932        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .27978E-07    7.7304        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .67613E-07    13.160        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     13.127        4.7869        .27663E-03   -1.5636    
  27  Normalizat    .86930        .17064        .44506E-01   -.97548    
  28  Prefactor     1.0385        .20579        .67935E-01   -.91455    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71029e-07
Minuit parameter uncertainties:
  1  3.4982
  2  1.31269e-05
  3  3.20618
  4  2.47835
  5  4.49806
  6  10.8252
  7  0.00366797
  8  6.62983
  9  4.72527e-05
  10  2.66752e-06
  11  0.000968333
  12  2.42401e-06
  13  0.00704294
  14  0.00230577
  15  14.107
  16  10.1049
  17  18.9039
  18  21.0812
  19  5.10027
  20  20.328
  21  11.7915
  22  0.00223341
  23  0.000102969
  24  0.000929788
  25  0.00188653
  26  4.78691
  27  0.170742
  28  0.205951
Done.

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

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  3.545e+01  1.890e+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:  1.039e+00  2.060e-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.693e-01  1.707e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 13.21
Ra Dec: 197.760 32.556
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 9.79e-08 +/- 5.22e-08
Energy Flux (Fixed Index): 7.07e-05 +/- 3.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) = 6809.80287825
delta logL = 0.625402572513

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6809.80237208
delta logL = 0.625908738699

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    51.097       1.0000          .0000       .10000E+07
     2 'alpha     '    1.8581       1.0000          .0000       5.0000    
     3 'Normalizat'    .88626       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0294       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=   6809.802     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      315 TOTAL
                     EDM=   .12E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          51.131        21.479        .55962E-05   -.25597E-03
   2  alpha         1.8589        .36916        .91299E-02    .22695E-03
   3  Normalizat    .88614        .19589        .26247E-03    .15377E-04
   4  Prefactor     1.0295        .24207        .30200E-03    .33579E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 51.1309
  alpha      = 1.8589
  Normalizat = 0.886141
  Prefactor  = 1.02946
 **********
 **   18 **HESSE 
 **********

 FCN=   6809.802     FROM HESSE     STATUS=OK            25 CALLS      340 TOTAL
                     EDM=   .65E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          51.131        21.201        .22385E-06   -1.5565    
   2  alpha         1.8589        .36440        .18260E-02   -.25934    
   3  Normalizat    .88614        .19609        .10499E-04   -.96949    
   4  Prefactor     1.0295        .24234        .12080E-04   -.91754    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.48059e-12
Minuit parameter uncertainties:
  1  21.2011
  2  0.365797
  3  0.196245
  4  0.242599
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849292': 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) = 6809.80236511
delta logL = 0.625915704888

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  5.113e+01  2.120e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  1.859e+00  3.658e-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:  1.029e+00  2.426e-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.861e-01  1.962e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.36
Ra Dec: 197.760 32.556
Photon Index (Free Index): 1.86 +/- 0.37
Photon Flux (Free Index): 7.42e-08 +/- 3.50e-08
Energy Flux (Free Index): 9.85e-05 +/- 4.64e-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/849292/cmap_HighResolution_697075201_697334401_4FGL_J1311.0+3233_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.79e-08', energy_flux2='9.85e-05', photon_flux_error='5.22e-08', dlogl='6.26e-01', energy_flux='7.07e-05', photon_flux2='7.42e-08', job_status='DONE', time_completed='2023-02-06 01:05:01.563340', photon_index_error2='0.37', photon_index2='1.86', ts='13.21', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', energy_flux_error2='4.64e-05', EG='0.87', time_epoch_completed='1675674301.56', return_code='0', job_id='849292', GAL2='1.03', EG2='0.89', return_code2='0', energy_flux_error='3.77e-05', photon_flux_error2='3.50e-08', ts2='15.36', photon_index='2.27' WHERE bin_id='1766' AND source_name='4FGL J1311.0+3233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:05:01 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0021>
Subject: Job 849292: <4FGL_J1311.0+3233_daily_bin1766> in cluster <slac> Done

Job <4FGL_J1311.0+3233_daily_bin1766> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Feb  6 00:50:15 2023
Job was executed on host(s) <bullet0021>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 00:52:47 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 00:52:47 2023
Terminated at Mon Feb  6 01:05:02 2023
Results reported at Mon Feb  6 01:05:02 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1311.0+3233_daily_bin1766 197.76 32.5565 697075201 697334401 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 :                                   689.51 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   736 sec.
    Turnaround time :                            887 sec.

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

