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


Performing analysis on: 4FGL_J1311.0+3233_daily_bin1779
RA = 197.76, Dec = 32.5565
tmin = 700444801, tmax = 700704001
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='26398', job_status='RUN', time_executed='2023-03-17 01:42:16.769291', time_epoch_executed='1679042536.77' WHERE source_name='4FGL J1311.0+3233' and cadence='daily' and bin_id='1779'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/26398

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/26398/ft1_4FGL_J1311.0+3233_daily_bin1779.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/26398/ft2_4FGL_J1311.0+3233_daily_bin1779.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/26398/ft1_4FGL_J1311.0+3233_daily_bin1779.fits outfile=/scratch/kocevski/26398/ft1_filteredMKT_4FGL_J1311.0+3233_daily_bin1779.fits ra=197.76 dec=32.5565 rad=12.0 tmin=700444801.0 tmax=700704001.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 5.32
user 5.06
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/26398/ft1_filtered_4FGL_J1311.0+3233_daily_bin1779.fits evtable="EVENTS" scfile=/scratch/kocevski/26398/ft2_4FGL_J1311.0+3233_daily_bin1779.fits sctable="SC_DATA" expcube=/scratch/kocevski/26398/ltcube_700444801_700704001_4FGL_J1311.0+3233_daily_bin1779.fits outfile=/scratch/kocevski/26398/expmap_700444801_700704001_4FGL_J1311.0+3233_daily_bin1779.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/26398/ltcube_700444801_700704001_4FGL_J1311.0+3233_daily_bin1779.fits
.....................!
real 190.98
user 186.32
sys 4.33

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/26398/ft1_filtered_4FGL_J1311.0+3233_daily_bin1779.fits scfile=/scratch/kocevski/26398/ft2_4FGL_J1311.0+3233_daily_bin1779.fits outfile=/scratch/kocevski/26398/cmap_700444801_700704001_4FGL_J1311.0+3233_daily_bin1779.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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/26398/ft1_filtered_4FGL_J1311.0+3233_daily_bin1779.fits scfile=/scratch/kocevski/26398/ft2_4FGL_J1311.0+3233_daily_bin1779.fits outfile=/scratch/kocevski/26398/cmap_HighResolution_700444801_700704001_4FGL_J1311.0+3233_daily_bin1779.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.54
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.4128       1.0000          .0000       .10000E+07
     2 'Prefactor '    16.960       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10426E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    1.2330       1.0000          .0000       .10000E+07
     5 'norm      '    2.3581       1.0000          .0000       .10000E+07
     6 'Prefactor '    .41362E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    17.019       1.0000          .0000       .10000E+07
     8 'Prefactor '    .34225E-04   1.0000          .0000       .10000E+07
     9 'Prefactor '    .83149E-03   1.0000          .0000       .10000E+07
    10 'norm      '    .77194E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    33.364       1.0000          .0000       .10000E+07
    12 'norm      '    1.4914       1.0000          .0000       .10000E+07
    13 'Prefactor '    14.582       1.0000          .0000       .10000E+07
    14 'norm      '    6.0399       1.0000          .0000       .10000E+07
    15 'norm      '    2.0231       1.0000          .0000       .10000E+07
    16 'norm      '    13.035       1.0000          .0000       .10000E+07
    17 'norm      '    .18657E-02   1.0000          .0000       .10000E+07
    18 'norm      '    .22198E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    .56020E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    .18063E-01   1.0000          .0000       .10000E+07
    21 'norm      '    19.378       1.0000          .0000       .10000E+07
    22 'Prefactor '    .37980E-04   1.0000          .0000       .10000E+07
    23 'norm      '    .11116E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    3.5648       1.0000          .0000       .10000E+07
    25 'Prefactor '    5.9902       1.0000          .0000       .10000E+07
    26 'Prefactor '    5.4987       1.0000          .0000       .10000E+07
    27 'Normalizat'    .84375       1.0000         .10000E-01   10.000    
    28 'Prefactor '    1.0083       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=   4761.215     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     2523 TOTAL
                     EDM=   .45E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.4113        2.3560        .35869E-06    .17766E-02
   2  Prefactor     16.957        1.2570       -.10482E-06   -.27434E-01
   3  Prefactor      .0000        .96321        .31501E-06** at limit **
   4  Prefactor     1.2319        1.8788       -.27878E-06   -.27957E-02
   5  norm          2.3863        3.4780       -.35278E-06    .48801E-03
   6  Prefactor     .11102E-08    7.3692        .13055E-05** at limit **
   7  Prefactor     16.950        1.5831       -.11845E-06    .13928E-01
   8  Prefactor      .0000        2.5894        .27614E-06** at limit **
   9  Prefactor     .42577E-07    20.939       -.28480E-05** at limit **
  10  norm           .0000        3.6364        .78474E-06** at limit **
  11  Prefactor     33.366        1.4155        .71416E-07    .19376E-01
  12  norm          1.4909        2.3402        .13233E-06   -.94301E-03
  13  Prefactor     14.642        4.1970       -.24999E-06    .66001E-01
  14  norm          5.9718        5.7348        .14271E-06   -.19753E-02
  15  norm          2.0293        2.0341        .56540E-06   -.71491E-02
  16  norm          13.053        5.9329       -.19059E-06   -.83989E-02
  17  norm          .91038E-08    38.527       -.99754E-05** at limit **
  18  norm          .74385E-08    9.4778        .31265E-06** at limit **
  19  Prefactor      .0000        1.2004        .42590E-06** at limit **
  20  Prefactor     .22204E-09    16.398        .17261E-06** at limit **
  21  norm          19.378        9.0018        .32886E-06   -.20319E-02
  22  Prefactor     .14211E-07    89.109       -.13301E-06** at limit **
  23  norm          .94924E-08    14.801        .33709E-05** at limit **
  24  Prefactor     3.6464        12.491        .37487E-05    .62586E-02
  25  Prefactor     5.6866        2.5364       -.68537E-06    .16911E-01
  26  Prefactor     5.4807        4.8472       -.15722E-06    .30897E-03
  27  Normalizat    .84377        .22088       -.49316E-05    .22040E-03
  28  Prefactor     1.0086        .26256       -.15033E-05    .18320E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.41125
  Prefactor  = 16.9574
  Prefactor  = 0
  Prefactor  = 1.23188
  norm       = 2.38627
  Prefactor  = 1.11022e-09
  Prefactor  = 16.9501
  Prefactor  = 0
  Prefactor  = 4.25771e-08
  norm       = 0
  Prefactor  = 33.3659
  norm       = 1.49086
  Prefactor  = 14.6425
  norm       = 5.97182
  norm       = 2.02931
  norm       = 13.0526
  norm       = 9.10383e-09
  norm       = 7.43849e-09
  Prefactor  = 0
  Prefactor  = 2.22045e-10
  norm       = 19.3777
  Prefactor  = 1.42109e-08
  norm       = 9.49241e-09
  Prefactor  = 3.64636
  Prefactor  = 5.68657
  Prefactor  = 5.4807
  Normalizat = 0.843769
  Prefactor  = 1.00862
 **********
 **   18 **HESSE 
 **********

 FCN=   4761.215     FROM HESSE     STATUS=OK           579 CALLS     3102 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.4113        2.3496        .65877E-03   -1.5677    
   2  Prefactor     16.957        12.518        .24293E-03   -1.5626    
   3  Prefactor      .0000        .96371        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2319        1.9220        .10116E-02   -1.5686    
   5  norm          2.3863        3.4825        .66714E-03   -1.5677    
   6  Prefactor     .11102E-08    7.3562        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     16.950        17.789        .24251E-03   -1.5626    
   8  Prefactor      .0000        2.5908        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .42577E-07    21.234        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm           .0000        3.6337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     33.366        37.782        .17315E-03   -1.5592    
  12  norm          1.4909        2.3771        .87744E-03   -1.5684    
  13  Prefactor     14.642        17.940        .26203E-03   -1.5631    
  14  norm          5.9718        5.9846        .40831E-03   -1.5659    
  15  norm          2.0293        21.514        .72722E-03   -1.5679    
  16  norm          13.053        6.3831        .27718E-03   -1.5636    
  17  norm          .91038E-08    38.564        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .74385E-08    9.6086        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor      .0000        1.2029        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .22204E-09    15.863        .17168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          19.378        9.0227        .22725E-03   -1.5620    
  22  Prefactor     .14211E-07    89.347        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .94924E-08    14.869        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     3.6464        12.967        .53504E-03   -1.5670    
  25  Prefactor     5.6866        29.387        .41002E-03   -1.5660    
  26  Prefactor     5.4807        4.8652        .42824E-03   -1.5661    
  27  Normalizat    .84377        .19336        .44179E-01   -.98465    
  28  Prefactor     1.0086        .22765        .43586E-01   -.92443    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55167e-07
Minuit parameter uncertainties:
  1  2.34959
  2  12.5176
  3  2.62287e-06
  4  1.92196
  5  3.48254
  6  0.000179096
  7  17.7887
  8  8.18586e-06
  9  0.00190104
  10  1.63882e-05
  11  37.7825
  12  2.37714
  13  17.9402
  14  5.98456
  15  13.215
  16  6.38311
  17  0.00118563
  18  0.000534104
  19  9.60264e-06
  20  0.000125355
  21  9.02276
  22  0.00225526
  23  0.000751167
  24  12.967
  25  25.8544
  26  4.86525
  27  0.193516
  28  0.227871
Done.

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

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  9.104e-09  1.186e-03  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.273e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
334         beta:  2.509e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
335           Eb:  2.327e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
594    Prefactor:  1.009e+00  2.279e-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.438e-01  1.935e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/26398/likelihoodResults_700444801_700704001_4FGL_J1311.0+3233_daily_bin1779.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4761.21488849
delta logL = -0.000183214928256

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4761.21478008
delta logL = -7.48045395085e-05

Fit tolerance = 1e-08

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

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

 FCN=   4761.215     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      290 TOTAL
                     EDM=   .33E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .95580E-02    1.0987        .94716E-02** at limit **
   2  alpha         2.9314        2.6058        .41939        .30772E-05
   3  Normalizat    .84373        .40995E-02    .44175E-01    .90529E-04
   4  Prefactor     1.0086        .48807E-02    .43540E-01    .21420E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.00955799
  alpha      = 2.93144
  Normalizat = 0.843729
  Prefactor  = 1.00861
 **********
 **   18 **HESSE 
 **********

 FCN=   4761.215     FROM HESSE     STATUS=NOT POSDEF    43 CALLS      333 TOTAL
                     EDM=   .28E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .95580E-02    19.785        .27358E-02   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.9314        3.8274        .50000        .17345    
   3  Normalizat    .84373        .64504E-02    .25100E-03   -.98467    
   4  Prefactor     1.0086        .76811E-02    .27417E-03   -.92443    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.83344e-10
Minuit parameter uncertainties:
  1  0.86972
  2  20.9368
  3  0.00645043
  4  0.0076811
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/26398': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4761.21470287
delta logL = 2.40716508415e-06

Extracting fit parameters...

4FGL J1311.0+3233
   Spectrum: LogParabola
332         norm:  9.558e-03  8.697e-01  0.000e+00  1.000e+06 ( 1.000e-13)
333        alpha:  2.931e+00  2.094e+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.009e+00  7.681e-03  0.000e+00  1.000e+01 ( 1.000e+00)
595        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
596        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
593   Normalization:  8.437e-01  6.450e-03  1.000e-02  1.000e+01 ( 1.000e+00)


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

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

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.50e-05', job_status='DONE', photon_flux_upper_limit='6.22e-08', time_completed='2023-03-17 01:52:10.169615', job_id='26398', GAL2='1.01', fit_tolerance='1e-08', EG2='0.84', EG='0.84', time_epoch_completed='1679043130.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.01', dlogl='2.41e-06', ts2='0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='1779' AND source_name='4FGL J1311.0+3233' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Mar 17 01:52:10 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0158>
Subject: Job 26398: <4FGL_J1311.0+3233_daily_bin1779> in cluster <slac> Done

Job <4FGL_J1311.0+3233_daily_bin1779> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Mar 17 01:40:17 2023
Job was executed on host(s) <bullet0158>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Mar 17 01:40:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Mar 17 01:40:17 2023
Terminated at Fri Mar 17 01:52:11 2023
Results reported at Fri Mar 17 01:52:11 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1311.0+3233_daily_bin1779 197.76 32.5565 700444801 700704001 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 :                                   595.31 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             279.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   713 sec.
    Turnaround time :                            714 sec.

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

