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


Performing analysis on: 4FGL_J1012.7+2439_daily_bin1755
RA = 153.199, Dec = 24.6638
tmin = 694224001, tmax = 694483201
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='820480', job_status='RUN', time_executed='2023-01-04 00:53:03.733610', time_epoch_executed='1672822383.73' WHERE source_name='4FGL J1012.7+2439' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/820480

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/820480/ft1_4FGL_J1012.7+2439_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/820480/ft1_4FGL_J1012.7+2439_daily_bin1755.fits outfile=/scratch/kocevski/820480/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin1755.fits ra=153.199 dec=24.6638 rad=12.0 tmin=694224001.0 tmax=694483201.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.07
user 2.80
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.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/820480/ft1_filteredMKT_4FGL_J1012.7+2439_daily_bin1755.fits evtable="EVENTS" outfile="/scratch/kocevski/820480/ft1_filtered_4FGL_J1012.7+2439_daily_bin1755.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

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

Number of photons that the gtmktime cut: 102

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/820480/ft1_filtered_4FGL_J1012.7+2439_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/820480/ltcube_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.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/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.fits
.....................!
real 17.65
user 17.22
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/820480/ft1_filtered_4FGL_J1012.7+2439_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/820480/ltcube_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.fits outfile=/scratch/kocevski/820480/expmap_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.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/820480/ltcube_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.fits
.....................!
real 193.37
user 187.04
sys 5.46

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/820480/ft1_filtered_4FGL_J1012.7+2439_daily_bin1755.fits scfile=/scratch/kocevski/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.fits outfile=/scratch/kocevski/820480/cmap_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.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.58
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/820480/ft1_filtered_4FGL_J1012.7+2439_daily_bin1755.fits scfile=/scratch/kocevski/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.fits outfile=/scratch/kocevski/820480/cmap_HighResolution_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.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.39
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/820480/ft1_filtered_4FGL_J1012.7+2439_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/820480/Model_4FGL_J1012.7+2439_daily_bin1755.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/820480/ft1_filtered_4FGL_J1012.7+2439_daily_bin1755.fits.....................!
real 22.37
user 20.88
sys 1.32

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/820480/ft1_filtered_4FGL_J1012.7+2439_daily_bin1755.fits', '/scratch/kocevski/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.fits', expMap='/scratch/kocevski/820480/expmap_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.fits', expCube='/scratch/kocevski/820480/ltcube_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/820480/Model_4FGL_J1012.7+2439_daily_bin1755.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/820480/ft1_filtered_4FGL_J1012.7+2439_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/820480/ft2_4FGL_J1012.7+2439_daily_bin1755.fits
Exposure map: /scratch/kocevski/820480/expmap_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.fits
Exposure cube: /scratch/kocevski/820480/ltcube_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/820480/Model_4FGL_J1012.7+2439_daily_bin1755.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) = 1201.08869745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.590       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13327E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    .45321E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    23.391       1.0000          .0000       .10000E+07
     5 'Prefactor '    .13306E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .22260E-07   1.0000          .0000       .10000E+07
     7 'norm      '    .37248E-07   1.0000          .0000       .10000E+07
     8 'Prefactor '    .55511E-10   1.0000          .0000       .10000E+07
     9 'Prefactor '    .21604E-05   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10447E-06   1.0000          .0000       .10000E+07
    11 'Prefactor '    162.71       1.0000          .0000       .10000E+07
    12 'Prefactor '    6.1844       1.0000          .0000       .10000E+07
    13 'Prefactor '    .27707       1.0000          .0000       .10000E+07
    14 'Prefactor '    .52458E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    .70305E-06   1.0000          .0000       .10000E+07
    16 'Prefactor '    33.506       1.0000          .0000       .10000E+07
    17 'Prefactor '    .49960E-09   1.0000          .0000       .10000E+07
    18 'Prefactor '    31.072       1.0000          .0000       .10000E+07
    19 'Normalizat'    1.7082       1.0000         .10000E-01   10.000    
    20 'Prefactor '    .32219       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=   1201.087     FROM MIGRAD    STATUS=CONVERGED    170 CALLS     1874 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.517        1.5202        .15131E-07    .17681E-02
   2  Prefactor     .17323E-05    347.78        .21157E-05** at limit **
   3  Prefactor     .40511E-05    87.326        .42594E-06** at limit **
   4  Prefactor     23.399        3.2023       -.21978E-07    .99983E-02
   5  Prefactor     .31641E-08    20.691        .68738E-07** at limit **
   6  Prefactor     .12768E-08    11.250       -.14364E-06** at limit **
   7  norm          .66613E-09    12.019        .66150E-07** at limit **
   8  Prefactor      .0000        5.1533       -.43799E-08** at limit **
   9  Prefactor     .72737E-05    69.174        .89600E-07** at limit **
  10  Prefactor      .0000        9.3356       -.20597E-07** at limit **
  11  Prefactor     162.71        1.0070        .40618E-09    .42606E-02
  12  Prefactor     6.1842        13.132        .11212E-07   -.99463E-02
  13  Prefactor     .26670        33.913       -.17418E-06    .29141E-02
  14  Prefactor      .0000        6.9743       -.13739E-07** at limit **
  15  Prefactor     .60707E-06    62.963        .29406E-06** at limit **
  16  Prefactor     33.493        7.7226       -.32724E-08   -.17963    
  17  Prefactor     .44409E-09    7.4358       -.14371E-06** at limit **
  18  Prefactor     31.057        7.4119       -.73045E-08   -.91476E-01
  19  Normalizat    1.7085        .49370        .15376E-05   -.36609E-04
  20  Prefactor     .32224        .44783       -.33693E-05   -.36641E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.5175
  Prefactor  = 1.73228e-06
  Prefactor  = 4.05115e-06
  Prefactor  = 23.3995
  Prefactor  = 3.16414e-09
  Prefactor  = 1.27676e-09
  norm       = 6.66134e-10
  Prefactor  = 0
  Prefactor  = 7.27368e-06
  Prefactor  = 0
  Prefactor  = 162.707
  Prefactor  = 6.1842
  Prefactor  = 0.266695
  Prefactor  = 0
  Prefactor  = 6.0707e-07
  Prefactor  = 33.4933
  Prefactor  = 4.44089e-10
  Prefactor  = 31.0568
  Normalizat = 1.70848
  Prefactor  = 0.322237
 **********
 **   18 **HESSE 
 **********

 FCN=   1201.087     FROM HESSE     STATUS=OK           333 CALLS     2207 TOTAL
                     EDM=   .82E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.517        327.77        .23853E-03   -1.5624    
   2  Prefactor     .17323E-05    350.02        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .40511E-05    92.722        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     23.399        40.885        .20681E-03   -1.5611    
   5  Prefactor     .31641E-08    20.685        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .12768E-08    11.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .66613E-09    12.057        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        5.1449        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .72737E-05    78.418        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        9.3518        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     162.71        131.53        .78401E-04   -1.5453    
  12  Prefactor     6.1842        13.236        .40345E-03   -1.5658    
  13  Prefactor     .26670        6.8379        .52376E-02   -1.5698    
  14  Prefactor      .0000        6.9933        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .60707E-06    63.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     33.493        24.792        .17278E-03   -1.5592    
  17  Prefactor     .44409E-09    7.4461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     31.057        31.540        .17942E-03   -1.5597    
  19  Normalizat    1.7085        .48087        .49296E-01   -.72077    
  20  Prefactor     .32224        .42753        .97435E-01   -1.2098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.17676e-07
Minuit parameter uncertainties:
  1  151.558
  2  0.0492504
  3  0.0387629
  4  40.8854
  5  0.000510026
  6  0.000240701
  7  0.00017849
  8  1.96762e-05
  9  0.0477661
  10  2.65337e-05
  11  131.532
  12  13.2359
  13  2.70085
  14  1.68475e-05
  15  0.0124499
  16  24.7922
  17  0.000113897
  18  31.54
  19  0.482199
  20  0.431817
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  6.661e-10  1.785e-04  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:  3.222e-01  4.318e-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:  1.708e+00  4.822e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 153.199 24.664
Photon Flux Upper Limit: 2.22e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.73e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/820480/likelihoodResults_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.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): 0
logL (Free Index) = 1201.12675292
delta logL = -0.0395751028691

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1200.11137032
delta logL = 0.975807497989

Fit tolerance = 1e-08

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

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

 FCN=   1200.111     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      244 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.1743        2.4226        .69829E-03    .43246E-01
   2  alpha         5.0000        1.0774        .46267    ** at limit **
   3  Normalizat    1.4342        .44133        .52523E-01   -.16355E-03
   4  Prefactor     .49115        .40258        .79834E-01   -.60735E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.17431
  alpha      = 5
  Normalizat = 1.43416
  Prefactor  = 0.491149
 **********
 **   18 **HESSE 
 **********

 FCN=   1200.111     FROM HESSE     STATUS=OK            27 CALLS      271 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.1743        1.9445        .41711E-05   -1.5678    
   2  alpha         5.0000        .96965        .25195E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.4342        .51805        .23221E-03   -.79646    
   4  Prefactor     .49115        .46873        .35368E-03   -1.1238    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.37703e-09
Minuit parameter uncertainties:
  1  1.94445
  2  5.14885e-05
  3  0.519969
  4  0.47249
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/820480': 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) = 1200.11136259
delta logL = 0.975815225228

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  2.174e+00  1.944e+00  0.000e+00  1.000e+06 ( 1.000e-12)
208        alpha:  5.000e+00  5.149e-05  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:  4.911e-01  4.725e-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:  1.434e+00  5.200e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.14
Ra Dec: 153.199 24.664
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 3.52e-07 +/- 3.13e-07
Energy Flux (Free Index): 4.82e-05 +/- 4.30e-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/820480/cmap_HighResolution_694224001_694483201_4FGL_J1012.7+2439_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.73e-05', comment='SUCCESS', energy_flux2='4.82e-05', dlogl='9.76e-01', photon_flux2='3.52e-07', job_status='DONE', time_completed='2023-01-04 00:59:14.866689', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.32', photon_index_error='0.00', photon_flux_upper_limit='2.22e-07', energy_flux_error2='4.30e-05', EG='1.71', time_epoch_completed='1672822754.87', return_code='0', job_id='820480', GAL2='0.49', EG2='1.43', return_code2='0', photon_flux_error2='3.13e-07', ts2='2.14', photon_index='2.17' WHERE bin_id='1755' AND source_name='4FGL J1012.7+2439' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 00:59:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 820480: <4FGL_J1012.7+2439_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1012.7+2439_daily_bin1755> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Wed Jan  4 00:50:14 2023
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 00:50:30 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 00:50:30 2023
Terminated at Wed Jan  4 00:59:15 2023
Results reported at Wed Jan  4 00:59:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_daily_bin1755 153.199 24.6638 694224001 694483201 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 :                                   373.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             283.94 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   525 sec.
    Turnaround time :                            541 sec.

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

