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


Performing analysis on: 4FGL_J1012.7+2439_daily_bin1716
RA = 153.199, Dec = 24.6638
tmin = 684115201, tmax = 684374401
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='90403', job_status='RUN', time_executed='2022-09-16 15:14:02.858893', time_epoch_executed='1663366442.86' WHERE source_name='4FGL J1012.7+2439' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/90403

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/90403/ft1_4FGL_J1012.7+2439_daily_bin1716.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/90403/ft1_4FGL_J1012.7+2439_daily_bin1716.fits outfile=/scratch/kocevski/90403/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin1716.fits ra=153.199 dec=24.6638 rad=12.0 tmin=684115201.0 tmax=684374401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 4.11
user 3.87
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.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/90403/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin1716.fits evtable="EVENTS" outfile="/scratch/kocevski/90403/ft1_filtered_4FGL_J1012.7+2439_daily_bin1716.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.57
user 0.36
sys 0.17

Number of photons that the gtmktime cut: 499

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/90403/ft1_filtered_4FGL_J1012.7+2439_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/90403/ltcube_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.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/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits
.....................!
real 16.54
user 16.01
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/90403/ft1_filtered_4FGL_J1012.7+2439_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/90403/ltcube_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.fits outfile=/scratch/kocevski/90403/expmap_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.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/90403/ltcube_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.fits
.....................!
real 197.32
user 189.56
sys 5.00

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

Setting source of interest to:
4FGL J1012.7+2439 @ 153.199 24.6638

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/90403/ft1_filtered_4FGL_J1012.7+2439_daily_bin1716.fits scfile=/scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits outfile=/scratch/kocevski/90403/cmap_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.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=153.199 yref=24.6638 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.61
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/90403/ft1_filtered_4FGL_J1012.7+2439_daily_bin1716.fits scfile=/scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits outfile=/scratch/kocevski/90403/cmap_HighResolution_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.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=153.199 yref=24.6638 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.58
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/90403/ft1_filtered_4FGL_J1012.7+2439_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/90403/Model_4FGL_J1012.7+2439_daily_bin1716.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/90403/ft1_filtered_4FGL_J1012.7+2439_daily_bin1716.fits.....................!
real 52.73
user 50.79
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/90403/ft1_filtered_4FGL_J1012.7+2439_daily_bin1716.fits', '/scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits', expMap='/scratch/kocevski/90403/expmap_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.fits', expCube='/scratch/kocevski/90403/ltcube_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/90403/Model_4FGL_J1012.7+2439_daily_bin1716.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1012.7+2439'

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  8.685e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
208        alpha:  2.169e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.367e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  6.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/90403/ft1_filtered_4FGL_J1012.7+2439_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/90403/ft2_4FGL_J1012.7+2439_daily_bin1716.fits
Exposure map: /scratch/kocevski/90403/expmap_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.fits
Exposure cube: /scratch/kocevski/90403/ltcube_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/90403/Model_4FGL_J1012.7+2439_daily_bin1716.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) = 5583.13607747

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .55761E-06   1.0000          .0000       .10000E+07
     2 'Prefactor '    .34677E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    38.580       1.0000          .0000       .10000E+07
     4 'Prefactor '    .70335E-01   1.0000          .0000       .10000E+07
     5 'Prefactor '    .19432E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    .43421E-06   1.0000          .0000       .10000E+07
     7 'norm      '    15.376       1.0000          .0000       .10000E+07
     8 'Prefactor '    3.5989       1.0000          .0000       .10000E+07
     9 'Prefactor '    39.653       1.0000          .0000       .10000E+07
    10 'Prefactor '    .52166       1.0000          .0000       .10000E+07
    11 'Prefactor '    29.409       1.0000          .0000       .10000E+07
    12 'Prefactor '    5.8272       1.0000          .0000       .10000E+07
    13 'Prefactor '    .48875       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.0093       1.0000          .0000       .10000E+07
    15 'Prefactor '    .16107E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .19799E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    1.1177       1.0000          .0000       .10000E+07
    18 'Prefactor '    .21332E-03   1.0000          .0000       .10000E+07
    19 'Normalizat'    .99241       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.0867       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5583.122     FROM MIGRAD    STATUS=CONVERGED    149 CALLS     1554 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.2510       -.13043E-06** at limit **
   2  Prefactor     .29421E-08    7.5566       -.69385E-07** at limit **
   3  Prefactor     38.952        19.771        .33100E-07   -.61909E-01
   4  Prefactor     .11405E-05    38.486       -.66526E-06** at limit **
   5  Prefactor     .55511E-10    2.3950        .16417E-07** at limit **
   6  Prefactor     .55511E-10    1.9994        .48835E-07** at limit **
   7  norm          15.330        5.2019        .61570E-07   -.13824    
   8  Prefactor     3.5944        3.1230        .10105E-06    .46091E-02
   9  Prefactor     40.225        28.337        .30751E-07    .10840    
  10  Prefactor     .52923        5.6136        .48102E-06    .19661E-02
  11  Prefactor     29.681        17.431        .39091E-07   -.98504E-01
  12  Prefactor     5.8675        8.1088       -.17116E-06    .10200E-01
  13  Prefactor     .49216        1.6771       -.19566E-08   -.15358E-02
  14  Prefactor     8.8684        9.7184        .12430E-06    .22715E-01
  15  Prefactor      .0000        11.415       -.88593E-07** at limit **
  16  Prefactor     .38303E-08    9.9526       -.98387E-07** at limit **
  17  Prefactor     1.1114        16.689       -.14341E-07   -.32361E-02
  18  Prefactor     .10103E-07    15.768        .67464E-07** at limit **
  19  Normalizat    .99278        .21255       -.84411E-06    .62757E-04
  20  Prefactor     1.0862        .21526        .10225E-05    .67351E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 2.94209e-09
  Prefactor  = 38.9517
  Prefactor  = 1.14048e-06
  Prefactor  = 5.55112e-11
  Prefactor  = 5.55112e-11
  norm       = 15.3303
  Prefactor  = 3.59436
  Prefactor  = 40.2247
  Prefactor  = 0.529226
  Prefactor  = 29.6807
  Prefactor  = 5.8675
  Prefactor  = 0.492162
  Prefactor  = 8.86842
  Prefactor  = 0
  Prefactor  = 3.83027e-09
  Prefactor  = 1.1114
  Prefactor  = 1.0103e-08
  Normalizat = 0.992785
  Prefactor  = 1.08624
 **********
 **   18 **HESSE 
 **********

 FCN=   5583.122     FROM HESSE     STATUS=OK           339 CALLS     1893 TOTAL
                     EDM=   .28E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.2507        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .29421E-08    7.5927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     38.952        40.371        .16101E-03   -1.5583    
   4  Prefactor     .11405E-05    3.7871        .10236E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .55511E-10    2.4019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .55511E-10    1.9846        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          15.330        10.046        .25516E-03   -1.5630    
   8  Prefactor     3.5944        3.1685        .53239E-03   -1.5670    
   9  Prefactor     40.225        35.457        .15882E-03   -1.5581    
  10  Prefactor     .52923        5.7388        .76559E-03   -1.5693    
  11  Prefactor     29.681        43.350        .18443E-03   -1.5599    
  12  Prefactor     5.8675        8.1887        .41580E-03   -1.5660    
  13  Prefactor     .49216        1.7268        .79849E-03   -1.5694    
  14  Prefactor     8.8684        9.8214        .33368E-03   -1.5648    
  15  Prefactor      .0000        12.110        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .38303E-08    10.383        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.1114        16.530        .11122E-02   -1.5687    
  18  Prefactor     .10103E-07    15.872        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .99278        .18431        .46072E-01   -.93273    
  20  Prefactor     1.0862        .18206        .55625E-01   -.89908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79407e-06
Minuit parameter uncertainties:
  1  8.19331e-06
  2  0.000297633
  3  40.3716
  4  0.00415649
  5  2.24708e-05
  6  1.51233e-05
  7  10.046
  8  3.16852
  9  35.4569
  10  3.48549
  11  43.3504
  12  8.18873
  13  1.72682
  14  9.82139
  15  9.42883e-07
  16  0.0003996
  17  8.57252
  18  0.000801862
  19  0.184429
  20  0.18216
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.533e+01  1.005e+01  0.000e+00  1.000e+06 ( 1.000e-12)
208        alpha:  2.169e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.367e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  6.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.086e+00  1.822e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  9.928e-01  1.844e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.82
Ra Dec: 153.199 24.664
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 5.52e-08 +/- 3.62e-08
Energy Flux (Fixed Index): 2.18e-05 +/- 1.43e-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) = 5582.96455735
delta logL = 0.157335072518

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5582.96398201
delta logL = 0.157910411405

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    15.405       1.0000          .0000       .10000E+07
     2 'alpha     '    2.6501       1.0000          .0000       5.0000    
     3 'Normalizat'    .94789       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1127       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5210E+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=   5582.964     FROM MIGRAD    STATUS=CONVERGED    102 CALLS      284 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          15.418        9.7653        .50984E-04   -.68679E-04
   2  alpha         2.6517        .80617        .15071E-01    .19040E-03
   3  Normalizat    .94776        .21814        .24679E-03   -.67717E-05
   4  Prefactor     1.1126        .21972        .24324E-03   -.47673E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 15.4177
  alpha      = 2.65175
  Normalizat = 0.947762
  Prefactor  = 1.11265
 **********
 **   18 **HESSE 
 **********

 FCN=   5582.964     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .12E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          15.418        9.4251        .20394E-05   -1.5629    
   2  alpha         2.6517        .77694        .30142E-02    .60737E-01
   3  Normalizat    .94776        .21760        .98717E-05   -.94802    
   4  Prefactor     1.1126        .21943        .97297E-05   -.89063    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17318e-13
Minuit parameter uncertainties:
  1  9.4251
  2  0.79007
  3  0.217807
  4  0.219609
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/90403': 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) = 5582.96397586
delta logL = 0.157916562195

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.542e+01  9.425e+00  0.000e+00  1.000e+06 ( 1.000e-12)
208        alpha:  2.652e+00  7.901e-01  0.000e+00  5.000e+00 ( 1.000e+00)
209         beta:  1.367e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  6.187e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.113e+00  2.196e-01  0.000e+00  1.000e+01 ( 1.000e+00)
519        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
520        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
517   Normalization:  9.478e-01  2.178e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.15
Ra Dec: 153.199 24.664
Photon Index (Free Index): 2.65 +/- 0.79
Photon Flux (Free Index): 9.20e-08 +/- 7.67e-08
Energy Flux (Free Index): 2.37e-05 +/- 1.31e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/90403/cmap_HighResolution_684115201_684374401_4FGL_J1012.7+2439_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.52e-08', energy_flux2='2.37e-05', photon_flux_error='3.62e-08', dlogl='1.58e-01', energy_flux='2.18e-05', photon_flux2='9.20e-08', job_status='DONE', time_completed='2022-09-16 15:22:30.300486', photon_index_error2='0.79', photon_index2='2.65', ts='7.82', fit_tolerance='1e-08', GAL='1.09', photon_index_error='0.00', energy_flux_error2='1.31e-05', EG='0.99', time_epoch_completed='1663366950.3', return_code='0', job_id='90403', GAL2='1.11', EG2='0.95', return_code2='0', energy_flux_error='1.43e-05', photon_flux_error2='7.67e-08', ts2='8.15', photon_index='2.17' WHERE bin_id='1716' AND source_name='4FGL J1012.7+2439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:22:30 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 90403: <4FGL_J1012.7+2439_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1012.7+2439_daily_bin1716> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 15:10:29 2022
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 15:11:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 15:11:21 2022
Terminated at Fri Sep 16 15:22:31 2022
Results reported at Fri Sep 16 15:22:31 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin1716 153.199 24.6638 684115201 684374401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1012.7+2439 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   504.22 sec.
    Max Memory :                                 1092 MB
    Average Memory :                             269.75 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            722 sec.

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

