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


Performing analysis on: 4FGL_J1311.0+3233_daily_bin1749
RA = 197.76, Dec = 32.5565
tmin = 692668801, tmax = 692928001
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='953060', job_status='RUN', time_executed='2022-12-17 00:46:53.951968', time_epoch_executed='1671266813.95' WHERE source_name='4FGL J1311.0+3233' and cadence='daily' and bin_id='1749'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/953060

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/953060/ft1_4FGL_J1311.0+3233_daily_bin1749.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/953060/ft2_4FGL_J1311.0+3233_daily_bin1749.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/953060/ft1_4FGL_J1311.0+3233_daily_bin1749.fits outfile=/scratch/kocevski/953060/ft1_filteredMKT_4FGL_J1311.0+3233_daily_bin1749.fits ra=197.76 dec=32.5565 rad=12.0 tmin=692668801.0 tmax=692928001.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.64
user 3.41
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/953060/ft1_filtered_4FGL_J1311.0+3233_daily_bin1749.fits evtable="EVENTS" scfile=/scratch/kocevski/953060/ft2_4FGL_J1311.0+3233_daily_bin1749.fits sctable="SC_DATA" expcube=/scratch/kocevski/953060/ltcube_692668801_692928001_4FGL_J1311.0+3233_daily_bin1749.fits outfile=/scratch/kocevski/953060/expmap_692668801_692928001_4FGL_J1311.0+3233_daily_bin1749.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/953060/ltcube_692668801_692928001_4FGL_J1311.0+3233_daily_bin1749.fits
.....................!
real 190.87
user 185.60
sys 4.96

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/953060/ft1_filtered_4FGL_J1311.0+3233_daily_bin1749.fits scfile=/scratch/kocevski/953060/ft2_4FGL_J1311.0+3233_daily_bin1749.fits outfile=/scratch/kocevski/953060/cmap_692668801_692928001_4FGL_J1311.0+3233_daily_bin1749.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=197.76 yref=32.5565 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.5966       1.0000          .0000       .10000E+07
     2 'Prefactor '    .73121E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.8185       1.0000          .0000       .10000E+07
     4 'Prefactor '    3.8134       1.0000          .0000       .10000E+07
     5 'norm      '    22.035       1.0000          .0000       .10000E+07
     6 'Prefactor '    .61018E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.787       1.0000          .0000       .10000E+07
     8 'Prefactor '    .49687       1.0000          .0000       .10000E+07
     9 'Prefactor '    .12862E-04   1.0000          .0000       .10000E+07
    10 'norm      '    2.1220       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.4122       1.0000          .0000       .10000E+07
    12 'norm      '    .11963       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27321E-04   1.0000          .0000       .10000E+07
    14 'norm      '    .18941E-02   1.0000          .0000       .10000E+07
    15 'norm      '    14.390       1.0000          .0000       .10000E+07
    16 'norm      '    31.851       1.0000          .0000       .10000E+07
    17 'norm      '    20.229       1.0000          .0000       .10000E+07
    18 'norm      '    11.439       1.0000          .0000       .10000E+07
    19 'Prefactor '    .21030E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    .70375E-02   1.0000          .0000       .10000E+07
    21 'norm      '    41.807       1.0000          .0000       .10000E+07
    22 'Prefactor '    .40131E-01   1.0000          .0000       .10000E+07
    23 'norm      '    2.7196       1.0000          .0000       .10000E+07
    24 'Prefactor '    19.252       1.0000          .0000       .10000E+07
    25 'Prefactor '    .55646E-03   1.0000          .0000       .10000E+07
    26 'Prefactor '    .10246E-03   1.0000          .0000       .10000E+07
    27 'Normalizat'    1.1928       1.0000         .10000E-01   10.000    
    28 'Prefactor '    .64885       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=   7058.587     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     2558 TOTAL
                     EDM=   .47E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.5720        3.3255        .21975E-07    .96462E-03
   2  Prefactor     .91149E-07    5.5446       -.12669E-06** at limit **
   3  Prefactor     2.8250        1.9672       -.25683E-07   -.21773E-02
   4  Prefactor     3.8142        1.9152       -.97369E-08   -.19136E-02
   5  norm          22.005        6.3939       -.19518E-07   -.56188E-02
   6  Prefactor     .89762E-07    4.3710       -.41138E-07** at limit **
   7  Prefactor     10.798        1.4222       -.29750E-08    .53865E-02
   8  Prefactor     .52312        1.8568        .13017E-07    .32689E-02
   9  Prefactor     .22204E-09    1.4956        .16932E-07** at limit **
  10  norm          2.1518        3.5565        .12306E-06    .23634E-02
  11  Prefactor     9.0326        2.5016       -.90689E-08    .11578E-01
  12  norm          .11967        8.9682       -.18822E-06** at limit **
  13  Prefactor     .55511E-10    3.1812        .54109E-07** at limit **
  14  norm          .24980E-08    5.7006        .50997E-07** at limit **
  15  norm          14.398        1.4662       -.52284E-08   -.49698E-02
  16  norm          31.799        5.3707       -.67265E-08   -.95631E-03
  17  norm          20.111        3.1575       -.66486E-08    .64045E-02
  18  norm          11.432        1.0591       -.44279E-09    .58704E-02
  19  Prefactor     .53807E-06    8.0009        .41540E-07** at limit **
  20  Prefactor     .75440E-07    8.9774       -.71157E-07** at limit **
  21  norm          41.848        2.1217        .22057E-08    .78375E-01
  22  Prefactor     .94424E-07    27.023       -.68839E-07** at limit **
  23  norm          2.7095        2.5434        .10160E-07    .23882E-01
  24  Prefactor     19.310        3.5357       -.10028E-07    .60398E-02
  25  Prefactor     .33307E-09    27.085       -.83624E-07** at limit **
  26  Prefactor     .18319E-08    2.8285       -.33773E-07** at limit **
  27  Normalizat    1.1937        .19058       -.57104E-06   -.18755E-03
  28  Prefactor     .64818        .22587       -.12796E-05   -.11529E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.572
  Prefactor  = 9.11493e-08
  Prefactor  = 2.82504
  Prefactor  = 3.81421
  norm       = 22.0047
  Prefactor  = 8.97615e-08
  Prefactor  = 10.7984
  Prefactor  = 0.523122
  Prefactor  = 2.22045e-10
  norm       = 2.15183
  Prefactor  = 9.03265
  norm       = 0.119673
  Prefactor  = 5.55112e-11
  norm       = 2.498e-09
  norm       = 14.3983
  norm       = 31.7994
  norm       = 20.1111
  norm       = 11.4325
  Prefactor  = 5.3807e-07
  Prefactor  = 7.54397e-08
  norm       = 41.8485
  Prefactor  = 9.44245e-08
  norm       = 2.70952
  Prefactor  = 19.31
  Prefactor  = 3.33067e-10
  Prefactor  = 1.83187e-09
  Normalizat = 1.19371
  Prefactor  = 0.648183
 **********
 **   18 **HESSE 
 **********

 FCN=   7058.587     FROM HESSE     STATUS=OK           593 CALLS     3151 TOTAL
                     EDM=   .90E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.5720        3.3143        .39048E-03   -1.5657    
   2  Prefactor     .91149E-07    7.1810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     2.8250        1.9616        .60558E-03   -1.5674    
   4  Prefactor     3.8142        1.9257        .51663E-03   -1.5669    
   5  norm          22.005        6.4004        .21309E-03   -1.5614    
   6  Prefactor     .89762E-07    6.3523        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.798        21.325        .30481E-03   -1.5642    
   8  Prefactor     .52312        8.3868        .79025E-03   -1.5693    
   9  Prefactor     .22204E-09    1.4938        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          2.1518        3.8079        .70768E-03   -1.5679    
  11  Prefactor     9.0326        24.938        .32642E-03   -1.5648    
  12  norm          .11967        1.4628        .54096E-02   -1.5715    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    3.2273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .24980E-08    5.8306        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          14.398        12.880        .26378E-03   -1.5632    
  16  norm          31.799        8.8326        .17721E-03   -1.5595    
  17  norm          20.111        13.380        .22241E-03   -1.5618    
  18  norm          11.432        11.741        .29596E-03   -1.5640    
  19  Prefactor     .53807E-06    2.5645        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .75440E-07    9.9716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          41.848        12.383        .15467E-03   -1.5579    
  22  Prefactor     .94424E-07    33.842        .15958E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.7095        11.549        .61729E-03   -1.5675    
  24  Prefactor     19.310        15.976        .22799E-03   -1.5620    
  25  Prefactor     .33307E-09    27.301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .18319E-08    2.8416        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Normalizat    1.1937        .16542        .50533E-01   -.86797    
  28  Prefactor     .64818        .19423        .79443E-01   -1.0559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.01573e-08
Minuit parameter uncertainties:
  1  3.31428
  2  0.00161814
  3  1.96161
  4  1.92569
  5  6.40042
  6  0.00151017
  7  21.3254
  8  4.18918
  9  3.47917e-05
  10  3.80794
  11  24.9381
  12  0.836809
  13  3.05075e-05
  14  0.000240184
  15  12.8797
  16  8.83265
  17  13.3802
  18  11.7415
  19  0.00234931
  20  0.00173467
  21  12.3828
  22  0.00357485
  23  11.1879
  24  15.976
  25  0.000188839
  26  0.000145257
  27  0.165489
  28  0.194433
Done.

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

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  2.011e+01  1.338e+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:  6.482e-01  1.944e-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.194e+00  1.655e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.50
Ra Dec: 197.760 32.556
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.55e-08 +/- 3.69e-08
Energy Flux (Fixed Index): 4.01e-05 +/- 2.67e-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) = 7058.58309104
delta logL = 0.00405586421221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7058.57990032
delta logL = 0.00724658627314

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    21.181       1.0000          .0000       .10000E+07
     2 'alpha     '    2.2047       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1963       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64685       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=   7058.580     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      251 TOTAL
                     EDM=   .44E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          21.181        14.475        .86939E-05   -.25343E-02
   2  alpha         2.2047        .58415        .12023E-01   -.13711E-04
   3  Normalizat    1.1963        .18996        .22325E-03   -.81805E-04
   4  Prefactor     .64684        .22607        .35220E-03   -.45030E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 21.1814
  alpha      = 2.2047
  Normalizat = 1.19628
  Prefactor  = 0.64684
 **********
 **   18 **HESSE 
 **********

 FCN=   7058.580     FROM HESSE     STATUS=OK            25 CALLS      276 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          21.181        13.882        .34776E-06   -1.5616    
   2  alpha         2.2047        .56040        .48093E-03   -.11840    
   3  Normalizat    1.1963        .18993        .44649E-04   -.86718    
   4  Prefactor     .64684        .22619        .14088E-04   -1.0565    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.91345e-11
Minuit parameter uncertainties:
  1  13.8822
  2  0.565273
  3  0.190039
  4  0.226515
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/953060': 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) = 7058.57990032
delta logL = 0.00724658792842

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  2.118e+01  1.388e+01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.205e+00  5.653e-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:  6.468e-01  2.265e-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.196e+00  1.900e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.84
Ra Dec: 197.760 32.556
Photon Index (Free Index): 2.20 +/- 0.57
Photon Flux (Free Index): 5.20e-08 +/- 3.96e-08
Energy Flux (Free Index): 4.12e-05 +/- 2.31e-05

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/953060/cmap_HighResolution_692668801_692928001_4FGL_J1311.0+3233_daily_bin1749.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.55e-08', energy_flux2='4.12e-05', photon_flux_error='3.69e-08', dlogl='7.25e-03', energy_flux='4.01e-05', photon_flux2='5.20e-08', job_status='DONE', time_completed='2022-12-17 00:58:16.777363', photon_index_error2='0.57', photon_index2='2.20', ts='6.50', fit_tolerance='1e-08', GAL='0.65', photon_index_error='0.00', energy_flux_error2='2.31e-05', EG='1.19', time_epoch_completed='1671267496.78', return_code='0', job_id='953060', GAL2='0.65', EG2='1.20', return_code2='0', energy_flux_error='2.67e-05', photon_flux_error2='3.96e-08', ts2='6.84', photon_index='2.27' WHERE bin_id='1749' AND source_name='4FGL J1311.0+3233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Dec 17 00:58:16 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0197>
Subject: Job 953060: <4FGL_J1311.0+3233_daily_bin1749> in cluster <slac> Done

Job <4FGL_J1311.0+3233_daily_bin1749> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Sat Dec 17 00:45:22 2022
Job was executed on host(s) <bullet0197>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Dec 17 00:45:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Dec 17 00:45:23 2022
Terminated at Sat Dec 17 00:58:17 2022
Results reported at Sat Dec 17 00:58:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1311.0+3233_daily_bin1749 197.76 32.5565 692668801 692928001 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 :                                   685.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   774 sec.
    Turnaround time :                            775 sec.

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

