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 186 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7719
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1308.5+3547_daily_bin1751
RA = 197.129, Dec = 35.7918
tmin = 693187201, tmax = 693446401
emin = 100.0, emax = 100000.0
irfs = P8R3_SOURCE_V2
ROI = 12
zmax = 90

Fitting strategies:
Fix sources to their catalog values = True
Leave variable source normalizations free = True
Perform pre-fit where ALL sources are frozen to catalog values = False
Perform secondary fit with a free spectral index = True
Remove all catalog sources = False
Remove weak (TS < 2) catalog sources = False
Freeze Galactic component = False

Likelihood fit parameters:
Statistic: UNBINNED
Optimizer: MINUIT

Catalog: 4FGL

Repository job = True

LAT data source:
Data catalog

Updating database...

UPDATE lightcurve_data_v2 SET job_id='77763', job_status='RUN', time_executed='2022-12-23 00:43:38.099689', time_epoch_executed='1671785018.1' WHERE source_name='4FGL J1308.5+3547' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/77763

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/77763/ft1_4FGL_J1308.5+3547_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/77763/ft1_4FGL_J1308.5+3547_daily_bin1751.fits outfile=/scratch/kocevski/77763/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin1751.fits ra=197.129 dec=35.7918 rad=12.0 tmin=693187201.0 tmax=693446401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.61
user 3.36
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits sctable="SC_DATA" filter="IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))" roicut=no evfile=/scratch/kocevski/77763/ft1_filteredMKT_4FGL_J1308.5+3547_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/77763/ft1_filtered_4FGL_J1308.5+3547_daily_bin1751.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.33
sys 0.15

Number of photons that the gtmktime cut: 584

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/77763/ft1_filtered_4FGL_J1308.5+3547_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/77763/ltcube_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits dcostheta=0.025 binsz=1.0 phibins=0 tmin=0.0 tmax=0.0 file_version="1" zmin=0.0 zmax=90.0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Working on file /scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits
.....................!
real 11.87
user 11.52
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/77763/ft1_filtered_4FGL_J1308.5+3547_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/77763/ltcube_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits outfile=/scratch/kocevski/77763/expmap_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits irfs="P8R3_SOURCE_V2" evtype="INDEF" srcrad=30.0 nlong=88 nlat=88 nenergies=10 submap=no nlongmin=0 nlongmax=0 nlatmin=0 nlatmax=0 chatter=2 clobber=yes debug=no gui=no mode="ql"

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

The exposure maps generated by this tool are meant
to be used for *unbinned* likelihood analysis only.
Do not use them for binned analyses.
Computing the ExposureMap using /scratch/kocevski/77763/ltcube_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits
.....................!
real 191.56
user 185.29
sys 5.92

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 188 point sources and 0 extended sources

Setting source of interest to:
4FGL J1308.5+3547 @ 197.129 35.7918

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/77763/ft1_filtered_4FGL_J1308.5+3547_daily_bin1751.fits scfile=/scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits outfile=/scratch/kocevski/77763/cmap_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=197.129 yref=35.7918 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/77763/ft1_filtered_4FGL_J1308.5+3547_daily_bin1751.fits scfile=/scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits outfile=/scratch/kocevski/77763/cmap_HighResolution_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=197.129 yref=35.7918 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.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/77763/ft1_filtered_4FGL_J1308.5+3547_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/77763/Model_4FGL_J1308.5+3547_daily_bin1751.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

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

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/77763/ft1_filtered_4FGL_J1308.5+3547_daily_bin1751.fits.....................!
real 49.77
user 48.42
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/77763/ft1_filtered_4FGL_J1308.5+3547_daily_bin1751.fits', '/scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits', expMap='/scratch/kocevski/77763/expmap_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits', expCube='/scratch/kocevski/77763/ltcube_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/77763/Model_4FGL_J1308.5+3547_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1308.5+3547'

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.918e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/77763/ft1_filtered_4FGL_J1308.5+3547_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/77763/ft2_4FGL_J1308.5+3547_daily_bin1751.fits
Exposure map: /scratch/kocevski/77763/expmap_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits
Exposure cube: /scratch/kocevski/77763/ltcube_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/77763/Model_4FGL_J1308.5+3547_daily_bin1751.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.2966       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27787       1.0000          .0000       .10000E+07
     3 'Prefactor '    9.8292       1.0000          .0000       .10000E+07
     4 'Prefactor '    .61468E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .14416E-04   1.0000          .0000       .10000E+07
     6 'norm      '    4.0483       1.0000          .0000       .10000E+07
     7 'Prefactor '    43.387       1.0000          .0000       .10000E+07
     8 'norm      '    1.7314       1.0000          .0000       .10000E+07
     9 'Prefactor '    3.3348       1.0000          .0000       .10000E+07
    10 'norm      '    .24085E-03   1.0000          .0000       .10000E+07
    11 'norm      '    2.7181       1.0000          .0000       .10000E+07
    12 'norm      '    30.817       1.0000          .0000       .10000E+07
    13 'norm      '    16.712       1.0000          .0000       .10000E+07
    14 'Prefactor '    1.9427       1.0000          .0000       .10000E+07
    15 'Prefactor '    .38096E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10994E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    11.526       1.0000          .0000       .10000E+07
    18 'Prefactor '    24.867       1.0000          .0000       .10000E+07
    19 'norm      '    .35294E-06   1.0000          .0000       .10000E+07
    20 'Prefactor '    5.9099       1.0000          .0000       .10000E+07
    21 'norm      '    8.7477       1.0000          .0000       .10000E+07
    22 'Normalizat'    .79469       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0347       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6273.604     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1854 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3297        8.2135       -.15862E-06   -.46734E-02
   2  Prefactor     .27698        1.4322       -.48895E-06    .32041E-03
   3  Prefactor     9.8450        7.7104        .12133E-06    .88814E-03
   4  Prefactor     .96034E-08    5.9842        .62228E-06** at limit **
   5  Prefactor     .16653E-09    2.8117       -.98561E-07** at limit **
   6  norm          4.0314        4.6457       -.25020E-06   -.41569E-03
   7  Prefactor     44.042        30.003        .13198E-05   -.23304E-01
   8  norm          1.7340        2.4283        .51224E-06    .14086E-02
   9  Prefactor     3.7645        14.451        .49338E-06    .64189E-02
  10  norm          .38525E-07    4.9968       -.18046E-05** at limit **
  11  norm          2.7206        1.6388        .96809E-07    .23360E-02
  12  norm          30.750        6.2864       -.10420E-06   -.22022E-01
  13  norm          16.555        4.9861       -.30908E-06    .25267E-01
  14  Prefactor     1.9457        2.9450        .12495E-06    .86197E-04
  15  Prefactor     .11657E-08    4.7146        .11929E-05** at limit **
  16  Prefactor     .93259E-08    29.662        .18623E-05** at limit **
  17  Prefactor     11.500        5.2918       -.81839E-06   -.43709E-01
  18  Prefactor     24.964        6.6703        .36469E-06   -.10363    
  19  norm           .0000        .75746       -.24688E-06** at limit **
  20  Prefactor     5.9622        3.9634       -.32301E-06    .19780E-02
  21  norm          8.7581        3.3343       -.35822E-06   -.81495E-02
  22  Normalizat    .79312        .18734        .92456E-06   -.11198E-03
  23  Prefactor     1.0354        .23095        .46194E-05   -.55888E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.32966
  Prefactor  = 0.276977
  Prefactor  = 9.84497
  Prefactor  = 9.60343e-09
  Prefactor  = 1.66533e-10
  norm       = 4.03135
  Prefactor  = 44.0421
  norm       = 1.73402
  Prefactor  = 3.76453
  norm       = 3.85247e-08
  norm       = 2.72058
  norm       = 30.7499
  norm       = 16.5553
  Prefactor  = 1.94569
  Prefactor  = 1.16573e-09
  Prefactor  = 9.32587e-09
  Prefactor  = 11.4997
  Prefactor  = 24.9638
  norm       = 0
  Prefactor  = 5.96218
  norm       = 8.75809
  Normalizat = 0.793117
  Prefactor  = 1.0354
 **********
 **   18 **HESSE 
 **********

 FCN=   6273.604     FROM HESSE     STATUS=OK           424 CALLS     2278 TOTAL
                     EDM=   .17E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3297        8.2620        .37108E-03   -1.5654    
   2  Prefactor     .27698        1.4765        .10527E-02   -1.5697    
   3  Prefactor     9.8450        7.7205        .31938E-03   -1.5645    
   4  Prefactor     .96034E-08    6.1792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .16653E-09    2.8315        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.0314        4.7125        .50091E-03   -1.5668    
   7  Prefactor     44.042        31.092        .15183E-03   -1.5575    
   8  norm          1.7340        2.4473        .79746E-03   -1.5682    
   9  Prefactor     3.7645        14.781        .55401E-03   -1.5669    
  10  norm          .38525E-07    6.7818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.7206        12.172        .61748E-03   -1.5675    
  12  norm          30.750        9.0948        .18017E-03   -1.5597    
  13  norm          16.555        13.725        .24473E-03   -1.5627    
  14  Prefactor     1.9457        2.9873        .74450E-03   -1.5680    
  15  Prefactor     .11657E-08    5.3675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .93259E-08    29.723        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     11.500        10.443        .29483E-03   -1.5640    
  18  Prefactor     24.964        17.094        .20058E-03   -1.5608    
  19  norm           .0000        .74777        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     5.9622        3.9661        .41284E-03   -1.5659    
  21  norm          8.7581        11.199        .33866E-03   -1.5649    
  22  Normalizat    .79312        .15835        .43541E-01   -1.0032    
  23  Prefactor     1.0354        .19491        .62043E-01   -.91559    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.73486e-07
Minuit parameter uncertainties:
  1  8.26198
  2  1.27901
  3  7.72047
  4  0.000487067
  5  4.01099e-05
  6  4.7125
  7  31.0925
  8  2.4473
  9  14.7814
  10  0.00102212
  11  11.509
  12  9.09481
  13  13.7255
  14  2.98735
  15  0.000158836
  16  0.00105187
  17  10.4428
  18  17.094
  19  2.55698e-06
  20  3.96609
  21  11.1986
  22  0.158439
  23  0.195039
Done.

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

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  3.852e-08  1.022e-03  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  2.182e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.035e+00  1.950e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  7.931e-01  1.584e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 197.129 35.792
Photon Flux Upper Limit: 4.38e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.81e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/77763/likelihoodResults_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.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) = 6273.24167174
delta logL = 0.362027450351

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6273.23739587
delta logL = 0.366303319477

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .19774       1.0000          .0000       .10000E+07
     2 'alpha     '    4.8290       1.0000          .0000       5.0000    
     3 'Normalizat'    .74816       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0693       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6010E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6273.237     FROM MIGRAD    STATUS=FAILED        83 CALLS      323 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19794        14.816        .41589E-05** at limit **
   2  alpha         4.8291        2.5621        .84493E-01    .12363E-04
   3  Normalizat    .74796        .17699        .25015E-03    .51827E-03
   4  Prefactor     1.0695        .22240        .27030E-03    .34247E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6273.237     FROM SIMPLEX   STATUS=UNCHANGED     89 CALLS      412 TOTAL
                     EDM=   .87E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19794        14.816        .38385E-05** at limit **
   2  alpha         4.8291        2.5621        .30679E-02    .12363E-04
   3  Normalizat    .74796        .17699        .21312E-03    .51827E-03
   4  Prefactor     1.0695        .22240        .16919E-03    .34247E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6273.237     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      441 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19792        .88165        .16636E-06** at limit **
   2  alpha         4.8292        4.9110        .33797E-02    .27523E-04
   3  Normalizat    .74796        .18782        .50030E-04    .54024E-03
   4  Prefactor     1.0695        .23369        .54060E-04    .35006E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.197918
  alpha      = 4.82917
  Normalizat = 0.747962
  Prefactor  = 1.0695
 **********
 **   18 **HESSE 
 **********

 FCN=   6273.237     FROM HESSE     STATUS=OK            23 CALLS      464 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19792        .84555        .37429E-06   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         4.8292        4.9144        .13519E-03    1.1990    
   3  Normalizat    .74796        .18791        .10006E-04   -1.0203    
   4  Prefactor     1.0695        .23377        .10812E-04   -.90447    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.46834e-10
Minuit parameter uncertainties:
  1  0.818169
  2  2.53145
  3  0.188069
  4  0.23399
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/77763': 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) = 6273.23739505
delta logL = 0.366304143039

Extracting fit parameters...

4FGL J1308.5+3547
   Spectrum: LogParabola
317         norm:  1.979e-01  8.182e-01  0.000e+00  1.000e+06 ( 1.000e-12)
318        alpha:  4.829e+00  2.531e+00  0.000e+00  5.000e+00 ( 1.000e+00)
319         beta:  2.294e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
320           Eb:  7.382e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
598    Prefactor:  1.069e+00  2.340e-01  0.000e+00  1.000e+01 ( 1.000e+00)
599        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
600        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
597   Normalization:  7.480e-01  1.881e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 197.129 35.792

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/77763/cmap_HighResolution_693187201_693446401_4FGL_J1308.5+3547_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.81e-05', job_status='DONE', photon_flux_upper_limit='4.38e-08', time_completed='2022-12-23 00:53:54.543778', job_id='77763', GAL2='1.07', fit_tolerance='1e-08', EG2='0.75', EG='0.79', time_epoch_completed='1671785634.54', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='3.66e-01', ts2='0.78', photon_index_error='0.00', photon_index='2.18' WHERE bin_id='1751' AND source_name='4FGL J1308.5+3547' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:53:54 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0259>
Subject: Job 77763: <4FGL_J1308.5+3547_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1308.5+3547_daily_bin1751> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Dec 23 00:40:22 2022
Job was executed on host(s) <bullet0259>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:40:23 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:40:23 2022
Terminated at Fri Dec 23 00:53:55 2022
Results reported at Fri Dec 23 00:53:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1308.5+3547_daily_bin1751 197.129 35.7918 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1308.5+3547 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   618.57 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             310.23 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.

