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


Performing analysis on: 4FGL_J1229.0+0202_daily_bin1711
RA = 187.268, Dec = 2.0454
tmin = 682819201, tmax = 683078401
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='119182', job_status='RUN', time_executed='2022-09-16 16:48:14.326220', time_epoch_executed='1663372094.33' WHERE source_name='4FGL J1229.0+0202' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119182

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/119182/ft1_4FGL_J1229.0+0202_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119182/ft1_4FGL_J1229.0+0202_daily_bin1711.fits outfile=/scratch/kocevski/119182/ft1_filteredMKT_4FGL_J1229.0+0202_daily_bin1711.fits ra=187.268 dec=2.0454 rad=12.0 tmin=682819201.0 tmax=683078401.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.70
user 4.39
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.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/119182/ft1_filteredMKT_4FGL_J1229.0+0202_daily_bin1711.fits evtable="EVENTS" outfile="/scratch/kocevski/119182/ft1_filtered_4FGL_J1229.0+0202_daily_bin1711.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.50
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 618

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/119182/ft1_filtered_4FGL_J1229.0+0202_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/119182/ltcube_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.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/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits
.....................!
real 14.18
user 13.47
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119182/ft1_filtered_4FGL_J1229.0+0202_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/119182/ltcube_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.fits outfile=/scratch/kocevski/119182/expmap_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.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/119182/ltcube_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.fits
.....................!
real 191.87
user 185.80
sys 5.15

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 187 point sources and 0 extended sources

Setting source of interest to:
4FGL J1229.0+0202 @ 187.268 2.0454

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/119182/ft1_filtered_4FGL_J1229.0+0202_daily_bin1711.fits scfile=/scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits outfile=/scratch/kocevski/119182/cmap_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.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=187.268 yref=2.0454 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.57
user 0.40
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119182/ft1_filtered_4FGL_J1229.0+0202_daily_bin1711.fits scfile=/scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits outfile=/scratch/kocevski/119182/cmap_HighResolution_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.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=187.268 yref=2.0454 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.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/119182/ft1_filtered_4FGL_J1229.0+0202_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/119182/Model_4FGL_J1229.0+0202_daily_bin1711.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/119182/ft1_filtered_4FGL_J1229.0+0202_daily_bin1711.fits.....................!
real 57.80
user 56.42
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/119182/ft1_filtered_4FGL_J1229.0+0202_daily_bin1711.fits', '/scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits', expMap='/scratch/kocevski/119182/expmap_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.fits', expCube='/scratch/kocevski/119182/ltcube_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/119182/Model_4FGL_J1229.0+0202_daily_bin1711.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1229.0+0202'

4FGL J1229.0+0202
   Spectrum: LogParabola
335         norm:  2.732e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-10)
336        alpha:  2.615e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
337         beta:  9.652e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
338           Eb:  3.071e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/119182/ft1_filtered_4FGL_J1229.0+0202_daily_bin1711.fits
Spacecraft file(s): /scratch/kocevski/119182/ft2_4FGL_J1229.0+0202_daily_bin1711.fits
Exposure map: /scratch/kocevski/119182/expmap_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.fits
Exposure cube: /scratch/kocevski/119182/ltcube_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/119182/Model_4FGL_J1229.0+0202_daily_bin1711.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) = 6854.16893402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11707E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    2.6391       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11839E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    15.786       1.0000          .0000       .10000E+07
     5 'Prefactor '    .49172E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .55191E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.782       1.0000          .0000       .10000E+07
     8 'Prefactor '    .18794E-03   1.0000          .0000       .10000E+07
     9 'Prefactor '    .39078E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .30966E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .44237E-06   1.0000          .0000       .10000E+07
    12 'norm      '    .61103E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    13.944       1.0000          .0000       .10000E+07
    14 'norm      '    84.943       1.0000          .0000       .10000E+07
    15 'norm      '    1.2344       1.0000          .0000       .10000E+07
    16 'Prefactor '    .57534E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.7064       1.0000          .0000       .10000E+07
    18 'norm      '    2.5018       1.0000          .0000       .10000E+07
    19 'Prefactor '    10.156       1.0000          .0000       .10000E+07
    20 'Prefactor '    22.548       1.0000          .0000       .10000E+07
    21 'norm      '    .16899E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    4.8910       1.0000          .0000       .10000E+07
    23 'norm      '    .41193       1.0000          .0000       .10000E+07
    24 'Prefactor '    .83452E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    1.1658       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .91709       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6854.074     FROM MIGRAD    STATUS=CONVERGED    161 CALLS     2255 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10059E-05    44.300       -.52965E-07** at limit **
   2  Prefactor     2.6480        7.0429        .54318E-07   -.21751E-03
   3  Prefactor     .16653E-09    2.1192        .67585E-07** at limit **
   4  Prefactor     15.730        2.5843        .43212E-07   -.24861E-01
   5  Prefactor      .0000        34.204       -.10573E-06** at limit **
   6  Prefactor     .98733E-04    112.47       -.32133E-05** at limit **
   7  Prefactor     13.115        3.6499       -.49367E-07   -.32859E-01
   8  Prefactor     .62894E-07    7.5454       -.47504E-06** at limit **
   9  Prefactor     .37165E-06    18.160        .49969E-06** at limit **
  10  Prefactor     .80325E-07    7.8921       -.40958E-06** at limit **
  11  norm           .0000        .65606        .25727E-07** at limit **
  12  norm          .11102E-08    6.9320       -.67482E-06** at limit **
  13  Prefactor     13.708        1.5815        .75768E-08    .19313E-01
  14  norm          86.257        17.323        .28820E-06    .44035    
  15  norm          1.2288        .51633       -.24776E-07    .13893E-02
  16  Prefactor     .36637E-08    11.037        .24552E-06** at limit **
  17  Prefactor     7.9303        9.7221       -.18433E-06   -.53207E-03
  18  norm          2.5002        1.3908        .84294E-07   -.11864E-02
  19  Prefactor     10.122        6.7428        .21973E-06   -.16639E-03
  20  Prefactor     22.308        2.5868        .21882E-07    .52094E-01
  21  norm          .20156E-06    10.000        .68291E-06** at limit **
  22  Prefactor     4.8657        3.3565        .63965E-07   -.17724E-01
  23  norm          .41209        .18203       -.83343E-09    .29898E-02
  24  Prefactor     .35699E-06    10.820        .70449E-06** at limit **
  25  Normalizat    1.1673        .23091       -.21038E-05    .28734E-04
  26  Prefactor     .91611        .18319        .22489E-06    .31438E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.00586e-06
  Prefactor  = 2.64795
  Prefactor  = 1.66533e-10
  Prefactor  = 15.73
  Prefactor  = 0
  Prefactor  = 9.87329e-05
  Prefactor  = 13.1154
  Prefactor  = 6.28941e-08
  Prefactor  = 3.71647e-07
  Prefactor  = 8.03246e-08
  norm       = 0
  norm       = 1.11022e-09
  Prefactor  = 13.7085
  norm       = 86.2568
  norm       = 1.22881
  Prefactor  = 3.66374e-09
  Prefactor  = 7.93027
  norm       = 2.50022
  Prefactor  = 10.1218
  Prefactor  = 22.3075
  norm       = 2.01561e-07
  Prefactor  = 4.86568
  norm       = 0.412087
  Prefactor  = 3.56992e-07
  Normalizat = 1.16734
  Prefactor  = 0.916105
 **********
 **   18 **HESSE 
 **********

 FCN=   6854.074     FROM HESSE     STATUS=OK           508 CALLS     2763 TOTAL
                     EDM=   .58E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10059E-05    45.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.6480        7.0759        .62737E-03   -1.5675    
   3  Prefactor     .16653E-09    2.1271        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     15.730        13.553        .25182E-03   -1.5629    
   5  Prefactor      .0000        34.216        .15574E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .98733E-04    129.38        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.115        33.238        .26955E-03   -1.5636    
   8  Prefactor     .62894E-07    7.8301        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .37165E-06    18.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .80325E-07    8.1576        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .66216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .11102E-08    6.7847        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     13.708        27.462        .26797E-03   -1.5634    
  14  norm          86.257        45.175        .10851E-03   -1.5522    
  15  norm          1.2288        .53420        .81651E-03   -1.5686    
  16  Prefactor     .36637E-08    11.074        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.9303        9.7638        .36099E-03   -1.5652    
  18  norm          2.5002        1.3951        .64583E-03   -1.5676    
  19  Prefactor     10.122        6.7590        .31417E-03   -1.5644    
  20  Prefactor     22.308        27.592        .21065E-03   -1.5614    
  21  norm          .20156E-06    21.034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.8657        13.864        .45458E-03   -1.5664    
  23  norm          .41209        .18755        .51047E-03   -1.5695    
  24  Prefactor     .35699E-06    20.815        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1673        .20367        .62065E-01   -.87618    
  26  Prefactor     .91611        .15543        .45222E-01   -.95581    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.80198e-06
Minuit parameter uncertainties:
  1  0.0134867
  2  7.07594
  3  3.67652e-05
  4  13.5529
  5  1.30582e-05
  6  0.22605
  7  33.2386
  8  0.00140337
  9  0.00521257
  10  0.00161915
  11  4.14328e-07
  12  0.000171594
  13  27.4626
  14  45.1752
  15  0.534195
  16  0.000401382
  17  9.76379
  18  1.3951
  19  6.75902
  20  27.5922
  21  0.00411783
  22  13.8636
  23  0.187546
  24  0.00545187
  25  0.20381
  26  0.155502
Done.

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

Extracting fit parameters...

4FGL J1229.0+0202
   Spectrum: LogParabola
335         norm:  1.229e+00  5.342e-01  0.000e+00  1.000e+06 ( 1.000e-10)
336        alpha:  2.615e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
337         beta:  9.652e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
338           Eb:  3.071e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.161e-01  1.555e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.167e+00  2.038e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.42
Ra Dec: 187.268 2.045
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.35e-07 +/- 5.86e-08
Energy Flux (Fixed Index): 3.21e-05 +/- 1.40e-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) = 6854.01744379
delta logL = 0.0563031622123

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6854.01437108
delta logL = 0.0593758698305

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.2175       1.0000          .0000       .10000E+07
     2 'alpha     '    2.8081       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1482       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92760       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6050E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6854.014     FROM MIGRAD    STATUS=CONVERGED     45 CALLS      205 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.2175        9.4774        .79198E-03   -.98052E-02
   2  alpha         2.8081        3.2810        .40076        .17662E-04
   3  Normalizat    1.1482        .12328        .62491E-01   -.22386E-04
   4  Prefactor     .92760        .12702        .45356E-01    .30229E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.21747
  alpha      = 2.80813
  Normalizat = 1.14818
  Prefactor  = 0.927604
 **********
 **   18 **HESSE 
 **********

 FCN=   6854.014     FROM HESSE     STATUS=OK            33 CALLS      238 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.2175        .50772        .35335E-05   -1.5686    
   2  alpha         2.8081        .57568        .15792E-01    .12357    
   3  Normalizat    1.1482        .23621        .27641E-03   -.88219    
   4  Prefactor     .92760        .18527        .24319E-03   -.95183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.9697e-11
Minuit parameter uncertainties:
  1  0.507717
  2  0.580973
  3  0.236424
  4  0.185392
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119182': 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) = 6854.01437108
delta logL = 0.0593758699233

Extracting fit parameters...

4FGL J1229.0+0202
   Spectrum: LogParabola
335         norm:  1.217e+00  5.077e-01  0.000e+00  1.000e+06 ( 1.000e-10)
336        alpha:  2.808e+00  5.810e-01  0.000e+00  5.000e+00 ( 1.000e+00)
337         beta:  9.652e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
338           Eb:  3.071e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
602    Prefactor:  9.276e-01  1.854e-01  0.000e+00  1.000e+01 ( 1.000e+00)
603        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
604        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
601   Normalization:  1.148e+00  2.364e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.72
Ra Dec: 187.268 2.045
Photon Index (Free Index): 2.81 +/- 0.58
Photon Flux (Free Index): 1.48e-07 +/- 6.97e-08
Energy Flux (Free Index): 3.17e-05 +/- 1.30e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/119182/cmap_HighResolution_682819201_683078401_4FGL_J1229.0+0202_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='3.17e-05', photon_flux_error='5.86e-08', dlogl='5.94e-02', energy_flux='3.21e-05', photon_flux2='1.48e-07', job_status='DONE', time_completed='2022-09-16 16:58:59.288547', photon_index_error2='0.58', photon_index2='2.81', ts='10.42', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.30e-05', EG='1.17', time_epoch_completed='1663372739.29', return_code='0', job_id='119182', GAL2='0.93', EG2='1.15', return_code2='0', energy_flux_error='1.40e-05', photon_flux_error2='6.97e-08', ts2='10.72', photon_index='2.61' WHERE bin_id='1711' AND source_name='4FGL J1229.0+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:58:59 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 119182: <4FGL_J1229.0+0202_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1229.0+0202_daily_bin1711> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Fri Sep 16 16:45:23 2022
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:47:47 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 16:47:47 2022
Terminated at Fri Sep 16 16:59:00 2022
Results reported at Fri Sep 16 16:59:00 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1229.0+0202_daily_bin1711 187.268 2.0454 682819201 683078401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1229.0+0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   644.14 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             367.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   672 sec.
    Turnaround time :                            817 sec.

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

