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


Performing analysis on: 4FGL_J1012.7+2439_weekly_bin732
RA = 153.199, Dec = 24.6638
tmin = 681696001, tmax = 682300801
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='189400', job_status='RUN', time_executed='2022-09-16 20:41:56.236705', time_epoch_executed='1663386116.24' WHERE source_name='4FGL J1012.7+2439' and cadence='weekly' and bin_id='732'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/189400

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/189400/ft1_4FGL_J1012.7+2439_weekly_bin732.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/189400/ft2_4FGL_J1012.7+2439_weekly_bin732.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/189400/ft1_4FGL_J1012.7+2439_weekly_bin732.fits outfile=/scratch/kocevski/189400/ft1_filteredMKT_4FGL_J1012.7+2439_weekly_bin732.fits ra=153.199 dec=24.6638 rad=12.0 tmin=681696001.0 tmax=682300801.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 9.60
user 9.18
sys 0.31

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/189400/ft2_4FGL_J1012.7+2439_weekly_bin732.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/189400/ft1_filteredMKT_4FGL_J1012.7+2439_weekly_bin732.fits evtable="EVENTS" outfile="/scratch/kocevski/189400/ft1_filtered_4FGL_J1012.7+2439_weekly_bin732.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.58
user 0.39
sys 0.18

Number of photons that the gtmktime cut: 1086

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/189400/ft1_filtered_4FGL_J1012.7+2439_weekly_bin732.fits" evtable="EVENTS" scfile=/scratch/kocevski/189400/ft2_4FGL_J1012.7+2439_weekly_bin732.fits sctable="SC_DATA" outfile=/scratch/kocevski/189400/ltcube_681696001_682300801_4FGL_J1012.7+2439_weekly_bin732.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/189400/ft2_4FGL_J1012.7+2439_weekly_bin732.fits
.....................!
real 34.95
user 34.30
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/189400/ft1_filtered_4FGL_J1012.7+2439_weekly_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/189400/ft2_4FGL_J1012.7+2439_weekly_bin732.fits sctable="SC_DATA" expcube=/scratch/kocevski/189400/ltcube_681696001_682300801_4FGL_J1012.7+2439_weekly_bin732.fits outfile=/scratch/kocevski/189400/expmap_681696001_682300801_4FGL_J1012.7+2439_weekly_bin732.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/189400/ltcube_681696001_682300801_4FGL_J1012.7+2439_weekly_bin732.fits
.....................!
real 194.41
user 187.56
sys 5.13

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/189400/ft1_filtered_4FGL_J1012.7+2439_weekly_bin732.fits scfile=/scratch/kocevski/189400/ft2_4FGL_J1012.7+2439_weekly_bin732.fits outfile=/scratch/kocevski/189400/cmap_681696001_682300801_4FGL_J1012.7+2439_weekly_bin732.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.60
user 0.42
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/189400/ft1_filtered_4FGL_J1012.7+2439_weekly_bin732.fits scfile=/scratch/kocevski/189400/ft2_4FGL_J1012.7+2439_weekly_bin732.fits outfile=/scratch/kocevski/189400/cmap_HighResolution_681696001_682300801_4FGL_J1012.7+2439_weekly_bin732.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.61
user 0.43
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/189400/ft1_filtered_4FGL_J1012.7+2439_weekly_bin732.fits evtable="EVENTS" scfile=/scratch/kocevski/189400/ft2_4FGL_J1012.7+2439_weekly_bin732.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/189400/Model_4FGL_J1012.7+2439_weekly_bin732.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/189400/ft1_filtered_4FGL_J1012.7+2439_weekly_bin732.fits.....................!
real 101.29
user 99.41
sys 1.30

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .28246E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .48020E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    6.8777       1.0000          .0000       .10000E+07
     4 'Prefactor '    6.0056       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14699E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    1.2020       1.0000          .0000       .10000E+07
     7 'norm      '    18.186       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.2065       1.0000          .0000       .10000E+07
     9 'Prefactor '    21.853       1.0000          .0000       .10000E+07
    10 'Prefactor '    1.0971       1.0000          .0000       .10000E+07
    11 'Prefactor '    .11476E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    7.2762       1.0000          .0000       .10000E+07
    13 'Prefactor '    1.0124       1.0000          .0000       .10000E+07
    14 'Prefactor '    8.4401       1.0000          .0000       .10000E+07
    15 'Prefactor '    .10758E-01   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22943E-06   1.0000          .0000       .10000E+07
    17 'Prefactor '    .23771E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.8083       1.0000          .0000       .10000E+07
    19 'Normalizat'    .99334       1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2901       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=   12367.70     FROM MIGRAD    STATUS=CONVERGED    147 CALLS     1228 TOTAL
                     EDM=   .15E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .14898E-03    534.38       -.60342E-05** at limit **
   2  Prefactor     .55511E-10    24.877       -.24299E-07** at limit **
   3  Prefactor     6.7341        11.618       -.50888E-06   -.10787    
   4  Prefactor     6.0460        4.5970       -.75007E-09   -.44899E-03
   5  Prefactor     .55511E-10    2.6460        .43859E-08** at limit **
   6  Prefactor     1.2023        1.4461       -.41602E-08   -.11510E-02
   7  norm          18.097        6.3353       -.72088E-08   -.23512E-02
   8  Prefactor     2.2340        3.3205        .86433E-08   -.70337E-04
   9  Prefactor     21.724        15.904        .17846E-07   -.91409E-01
  10  Prefactor     1.0648        3.8128       -.51086E-07   -.99015E-03
  11  Prefactor     .37081E-07    22.325       -.38561E-07** at limit **
  12  Prefactor     7.2532        4.9671        .13593E-07    .77889E-03
  13  Prefactor     1.0119        1.7125       -.80792E-08   -.76353E-03
  14  Prefactor     8.5984        7.1055       -.18551E-07    .35294E-02
  15  Prefactor     .27756E-09    10.828       -.48776E-08** at limit **
  16  Prefactor     .55511E-10    4.7268        .10039E-06** at limit **
  17  Prefactor     .61062E-09    2.4890       -.18119E-07** at limit **
  18  Prefactor     2.5363        3.1359       -.27103E-07   -.71713E-02
  19  Normalizat    .99339        .15510        .42896E-06    .85618E-04
  20  Prefactor     1.2904        .15610       -.33888E-07    .47724E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000148979
  Prefactor  = 5.55112e-11
  Prefactor  = 6.73412
  Prefactor  = 6.04599
  Prefactor  = 5.55112e-11
  Prefactor  = 1.20228
  norm       = 18.0969
  Prefactor  = 2.23396
  Prefactor  = 21.7241
  Prefactor  = 1.06483
  Prefactor  = 3.70814e-08
  Prefactor  = 7.25321
  Prefactor  = 1.0119
  Prefactor  = 8.5984
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  Prefactor  = 6.10623e-10
  Prefactor  = 2.53633
  Normalizat = 0.993389
  Prefactor  = 1.29044
 **********
 **   18 **HESSE 
 **********

 FCN=   12367.70     FROM HESSE     STATUS=OK           345 CALLS     1573 TOTAL
                     EDM=   .19E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .14898E-03    1.5800        .50932E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .55511E-10    24.132        .15620E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     6.7341        23.379        .38233E-03   -1.5656    
   4  Prefactor     6.0460        4.6067        .40949E-03   -1.5659    
   5  Prefactor     .55511E-10    2.6506        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     1.2023        1.4772        .10345E-02   -1.5686    
   7  norm          18.097        6.3510        .23459E-03   -1.5623    
   8  Prefactor     2.2340        3.7598        .69226E-03   -1.5678    
   9  Prefactor     21.724        17.337        .21397E-03   -1.5615    
  10  Prefactor     1.0648        4.3438        .11365E-02   -1.5687    
  11  Prefactor     .37081E-07    22.326        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.2532        4.9896        .37161E-03   -1.5654    
  13  Prefactor     1.0119        1.7297        .44202E-03   -1.5688    
  14  Prefactor     8.5984        9.3728        .34482E-03   -1.5649    
  15  Prefactor     .27756E-09    10.858        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .55511E-10    4.7461        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .61062E-09    2.5074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.5363        23.981        .60676E-03   -1.5676    
  19  Normalizat    .99339        .13350        .46083E-01   -.93252    
  20  Prefactor     1.2904        .13340        .56399E-01   -.83592    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.91308e-06
Minuit parameter uncertainties:
  1  0.030685
  2  6.83893e-05
  3  23.3794
  4  4.60669
  5  2.55282e-05
  6  1.4772
  7  6.35102
  8  3.7598
  9  17.3374
  10  4.30139
  11  0.00182005
  12  4.98965
  13  1.72967
  14  9.37279
  15  0.000108065
  16  3.38243e-05
  17  7.90975e-05
  18  15.5979
  19  0.133546
  20  0.133437
Done.

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

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.810e+01  6.351e+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

GAL_V02
   Spectrum: PowerLaw
518    Prefactor:  1.290e+00  1.334e-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.934e-01  1.335e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 24.24
Ra Dec: 153.199 24.664
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 6.52e-08 +/- 2.29e-08
Energy Flux (Fixed Index): 2.57e-05 +/- 9.01e-06

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) = 12364.8776865
delta logL = 2.82720909079

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12364.6155761
delta logL = 3.08931953959

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.856       1.0000          .0000       .10000E+07
     2 'alpha     '    1.3338       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0235       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2789       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=   12364.62     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      227 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.856        5.1674        .27912E-03   -.14600E-02
   2  alpha         1.3338        .24423        .26736       -.75799E-04
   3  Normalizat    1.0235        .12533        .42881E-01    .42666E-04
   4  Prefactor     1.2789        .13287        .56641E-01   -.52146E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 12.8564
  alpha      = 1.33379
  Normalizat = 1.02352
  Prefactor  = 1.27892
 **********
 **   18 **HESSE 
 **********

 FCN=   12364.62     FROM HESSE     STATUS=OK            33 CALLS      260 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.856        6.6223        .11165E-04   -1.5636    
   2  alpha         1.3338        .32632        .11323E-01   -.48531    
   3  Normalizat    1.0235        .14643        .26170E-03   -.92247    
   4  Prefactor     1.2789        .15533        .25046E-03   -.83936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61652e-11
Minuit parameter uncertainties:
  1  6.62227
  2  0.327517
  3  0.146483
  4  0.155389
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/189400': 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) = 12364.615576
delta logL = 3.08931957055

Extracting fit parameters...

4FGL J1012.7+2439
   Spectrum: LogParabola
207         norm:  1.286e+01  6.622e+00  0.000e+00  1.000e+06 ( 1.000e-12)
208        alpha:  1.334e+00  3.275e-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.279e+00  1.554e-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.024e+00  1.465e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 30.50
Ra Dec: 153.199 24.664
Photon Index (Free Index): 1.33 +/- 0.33
Photon Flux (Free Index): 2.91e-08 +/- 1.54e-08
Energy Flux (Free Index): 4.80e-05 +/- 2.53e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/189400/cmap_HighResolution_681696001_682300801_4FGL_J1012.7+2439_weekly_bin732.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.52e-08', energy_flux2='4.80e-05', photon_flux_error='2.29e-08', dlogl='3.09e+00', energy_flux='2.57e-05', photon_flux2='2.91e-08', job_status='DONE', time_completed='2022-09-16 20:54:06.166135', photon_index_error2='0.33', photon_index2='1.33', ts='24.24', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', energy_flux_error2='2.53e-05', EG='0.99', time_epoch_completed='1663386846.17', return_code='0', job_id='189400', GAL2='1.28', EG2='1.02', return_code2='0', energy_flux_error='9.01e-06', photon_flux_error2='1.54e-08', ts2='30.50', photon_index='2.17' WHERE bin_id='732' AND source_name='4FGL J1012.7+2439' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Sep 16 20:54:06 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 189400: <4FGL_J1012.7+2439_weekly_bin732> in cluster <slac> Done

Job <4FGL_J1012.7+2439_weekly_bin732> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 16 20:40:24 2022
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 20:40:52 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 20:40:52 2022
Terminated at Fri Sep 16 20:54:06 2022
Results reported at Fri Sep 16 20:54:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1012.7+2439_weekly_bin732 153.199 24.6638 681696001 682300801 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 :                                   723.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             328.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   794 sec.
    Turnaround time :                            822 sec.

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

