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 10 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_J1229.0+0202_daily_bin1716
RA = 187.268, Dec = 2.0454
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='119189', job_status='RUN', time_executed='2022-09-16 16:48:11.816844', time_epoch_executed='1663372091.82' WHERE source_name='4FGL J1229.0+0202' and cadence='daily' and bin_id='1716'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/119189

Creating custom pfile directory:
/scratch/kocevski/119189/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/119189/ft1_4FGL_J1229.0+0202_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/119189/ft2_4FGL_J1229.0+0202_daily_bin1716.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/119189/ft1_4FGL_J1229.0+0202_daily_bin1716.fits outfile=/scratch/kocevski/119189/ft1_filteredMKT_4FGL_J1229.0+0202_daily_bin1716.fits ra=187.268 dec=2.0454 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.17
user 3.92
sys 0.23

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

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

Number of photons that the gtmktime cut: 476

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/119189/ft1_filtered_4FGL_J1229.0+0202_daily_bin1716.fits" evtable="EVENTS" scfile=/scratch/kocevski/119189/ft2_4FGL_J1229.0+0202_daily_bin1716.fits sctable="SC_DATA" outfile=/scratch/kocevski/119189/ltcube_684115201_684374401_4FGL_J1229.0+0202_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/119189/ft2_4FGL_J1229.0+0202_daily_bin1716.fits
.....................!
real 15.02
user 14.60
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/119189/ft1_filtered_4FGL_J1229.0+0202_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/119189/ft2_4FGL_J1229.0+0202_daily_bin1716.fits sctable="SC_DATA" expcube=/scratch/kocevski/119189/ltcube_684115201_684374401_4FGL_J1229.0+0202_daily_bin1716.fits outfile=/scratch/kocevski/119189/expmap_684115201_684374401_4FGL_J1229.0+0202_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/119189/ltcube_684115201_684374401_4FGL_J1229.0+0202_daily_bin1716.fits
.....................!
real 191.81
user 186.09
sys 4.91

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/119189/ft1_filtered_4FGL_J1229.0+0202_daily_bin1716.fits scfile=/scratch/kocevski/119189/ft2_4FGL_J1229.0+0202_daily_bin1716.fits outfile=/scratch/kocevski/119189/cmap_684115201_684374401_4FGL_J1229.0+0202_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=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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/119189/ft1_filtered_4FGL_J1229.0+0202_daily_bin1716.fits scfile=/scratch/kocevski/119189/ft2_4FGL_J1229.0+0202_daily_bin1716.fits outfile=/scratch/kocevski/119189/cmap_HighResolution_684115201_684374401_4FGL_J1229.0+0202_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=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.56
user 0.40
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/119189/ft1_filtered_4FGL_J1229.0+0202_daily_bin1716.fits evtable="EVENTS" scfile=/scratch/kocevski/119189/ft2_4FGL_J1229.0+0202_daily_bin1716.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/119189/Model_4FGL_J1229.0+0202_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/119189/ft1_filtered_4FGL_J1229.0+0202_daily_bin1716.fits.....................!
real 47.10
user 45.70
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/119189/ft1_filtered_4FGL_J1229.0+0202_daily_bin1716.fits', '/scratch/kocevski/119189/ft2_4FGL_J1229.0+0202_daily_bin1716.fits', expMap='/scratch/kocevski/119189/expmap_684115201_684374401_4FGL_J1229.0+0202_daily_bin1716.fits', expCube='/scratch/kocevski/119189/ltcube_684115201_684374401_4FGL_J1229.0+0202_daily_bin1716.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/119189/Model_4FGL_J1229.0+0202_daily_bin1716.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/119189/ft1_filtered_4FGL_J1229.0+0202_daily_bin1716.fits
Spacecraft file(s): /scratch/kocevski/119189/ft2_4FGL_J1229.0+0202_daily_bin1716.fits
Exposure map: /scratch/kocevski/119189/expmap_684115201_684374401_4FGL_J1229.0+0202_daily_bin1716.fits
Exposure cube: /scratch/kocevski/119189/ltcube_684115201_684374401_4FGL_J1229.0+0202_daily_bin1716.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/119189/Model_4FGL_J1229.0+0202_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) = 5307.25843456

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .60439E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .22753E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    3.9101       1.0000          .0000       .10000E+07
     4 'Prefactor '    62.003       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45820E-01   1.0000          .0000       .10000E+07
     6 'Prefactor '    .51814E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .27153E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .88419E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    18.863       1.0000          .0000       .10000E+07
    10 'Prefactor '    .63716E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .69389E-08   1.0000          .0000       .10000E+07
    12 'norm      '    1.9891       1.0000          .0000       .10000E+07
    13 'Prefactor '    21.210       1.0000          .0000       .10000E+07
    14 'norm      '    21.680       1.0000          .0000       .10000E+07
    15 'norm      '    1.5499       1.0000          .0000       .10000E+07
    16 'Prefactor '    15.490       1.0000          .0000       .10000E+07
    17 'Prefactor '    .35717E-02   1.0000          .0000       .10000E+07
    18 'norm      '    1.2108       1.0000          .0000       .10000E+07
    19 'Prefactor '    17.076       1.0000          .0000       .10000E+07
    20 'Prefactor '    .60428E-03   1.0000          .0000       .10000E+07
    21 'norm      '    19.362       1.0000          .0000       .10000E+07
    22 'Prefactor '    .38204E-03   1.0000          .0000       .10000E+07
    23 'norm      '    .48712       1.0000          .0000       .10000E+07
    24 'Prefactor '    8.5250       1.0000          .0000       .10000E+07
    25 'Normalizat'    1.0184       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0088       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=   5307.115     FROM MIGRAD    STATUS=CONVERGED    178 CALLS     2292 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .57732E-08    48.729        .92725E-06** at limit **
   2  Prefactor      .0000        10.014       -.14580E-06** at limit **
   3  Prefactor     3.9052        5.3787        .23127E-08   -.76537E-04
   4  Prefactor     62.300        7.0850       -.42306E-07    .41925E-01
   5  Prefactor     .55511E-10    47.140       -.33456E-06** at limit **
   6  Prefactor     .17208E-08    39.143        .22516E-06** at limit **
   7  Prefactor      .0000        17.306        .37011E-07** at limit **
   8  Prefactor     .12768E-07    22.440        .95128E-06** at limit **
   9  Prefactor     19.642        3.4476       -.18740E-07   -.79503E-02
  10  Prefactor      .0000        4.8085       -.15946E-06** at limit **
  11  norm          .55511E-10    1.1812       -.37904E-06** at limit **
  12  norm          1.9912        3.7847       -.14266E-06    .13596E-02
  13  Prefactor     21.263        1.4732        .96056E-08   -.13168E-02
  14  norm          21.866        1.3016       -.59018E-08   -.10868E-02
  15  norm          1.5519        .67166       -.55652E-07    .82418E-02
  16  Prefactor     15.630        11.725        .39976E-07    .13480E-03
  17  Prefactor     .55511E-10    6.3481       -.38415E-06** at limit **
  18  norm          1.2157        1.2359       -.14599E-06    .39710E-02
  19  Prefactor     17.006        9.5933       -.21870E-06    .12881E-02
  20  Prefactor     .18763E-07    21.289        .22354E-06** at limit **
  21  norm          19.216        3.4985        .41065E-07   -.10447E-02
  22  Prefactor      .0000        8.4198       -.27306E-07** at limit **
  23  norm          .47826        .26107       -.62094E-07    .16047E-01
  24  Prefactor     23.849        88.180       -.65215E-06   -.23800E-03
  25  Normalizat    1.0183        .26981       -.81029E-05   -.32062E-05
  26  Prefactor     1.0046        .21423        .12396E-04   -.85960E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.77316e-09
  Prefactor  = 0
  Prefactor  = 3.90524
  Prefactor  = 62.3001
  Prefactor  = 5.55112e-11
  Prefactor  = 1.72085e-09
  Prefactor  = 0
  Prefactor  = 1.27676e-08
  Prefactor  = 19.6424
  Prefactor  = 0
  norm       = 5.55112e-11
  norm       = 1.99119
  Prefactor  = 21.2635
  norm       = 21.8656
  norm       = 1.55191
  Prefactor  = 15.6297
  Prefactor  = 5.55112e-11
  norm       = 1.21565
  Prefactor  = 17.006
  Prefactor  = 1.87628e-08
  norm       = 19.2157
  Prefactor  = 0
  norm       = 0.478261
  Prefactor  = 23.8492
  Normalizat = 1.01827
  Prefactor  = 1.00458
 **********
 **   18 **HESSE 
 **********

 FCN=   5307.115     FROM HESSE     STATUS=OK           510 CALLS     2802 TOTAL
                     EDM=   .24E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .57732E-08    48.825        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        9.9762        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     3.9052        5.3736        .50997E-03   -1.5668    
   4  Prefactor     62.300        25.373        .12701E-03   -1.5550    
   5  Prefactor     .55511E-10    47.159        .15711E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .17208E-08    39.649        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor      .0000        17.318        .16605E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .12768E-07    23.373        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     19.642        32.162        .23033E-03   -1.5619    
  10  Prefactor      .0000        4.8117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .55511E-10    1.1750        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          1.9912        4.0721        .73438E-03   -1.5680    
  13  Prefactor     21.263        27.158        .21720E-03   -1.5616    
  14  norm          21.866        30.510        .21483E-03   -1.5614    
  15  norm          1.5519        .68158        .80160E-03   -1.5683    
  16  Prefactor     15.630        11.735        .25422E-03   -1.5629    
  17  Prefactor     .55511E-10    6.3377        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.2157        1.2489        .10278E-02   -1.5686    
  19  Prefactor     17.006        9.6526        .24210E-03   -1.5625    
  20  Prefactor     .18763E-07    22.237        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          19.216        23.218        .22734E-03   -1.5620    
  22  Prefactor      .0000        8.3873        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .47826        .26261        .58575E-03   -1.5694    
  24  Prefactor     23.849        87.872        .34309E-03   -1.5610    
  25  Normalizat    1.0183        .23120        .66689E-01   -.92421    
  26  Prefactor     1.0046        .18282        .43502E-01   -.92577    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.42746e-08
Minuit parameter uncertainties:
  1  0.00106107
  2  3.86702e-06
  3  5.37363
  4  25.3728
  5  0.000108011
  6  0.000521105
  7  9.28315e-06
  8  0.00109274
  9  32.1621
  10  1.88503e-05
  11  1.2951e-05
  12  4.07209
  13  27.1582
  14  30.5105
  15  0.681584
  16  11.7351
  17  3.66837e-05
  18  1.24893
  19  9.65265
  20  0.0012917
  21  23.2181
  22  3.79168e-06
  23  0.26261
  24  87.8763
  25  0.231431
  26  0.18293
Done.

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

Extracting fit parameters...

4FGL J1229.0+0202
   Spectrum: LogParabola
335         norm:  1.552e+00  6.816e-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:  1.005e+00  1.829e-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.018e+00  2.314e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 10.76
Ra Dec: 187.268 2.045
Photon Index (Fixed Index): 2.61 +/- 0.00
Photon Flux (Fixed Index): 1.70e-07 +/- 7.48e-08
Energy Flux (Fixed Index): 4.05e-05 +/- 1.78e-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) = 5307.09152755
delta logL = 0.0231812965294

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5307.08892545
delta logL = 0.025783401491

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.5185       1.0000          .0000       .10000E+07
     2 'alpha     '    2.4923       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0352       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .99508       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=   5307.089     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      200 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.5188        .74900        .81449E-03    .29909E-02
   2  alpha         2.4925        .52881        .31929       -.25061E-04
   3  Normalizat    1.0352        .22493        .66232E-01    .12057E-04
   4  Prefactor     .99503        .18068        .46206E-01    .74592E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.51877
  alpha      = 2.49247
  Normalizat = 1.03518
  Prefactor  = 0.995031
 **********
 **   18 **HESSE 
 **********

 FCN=   5307.089     FROM HESSE     STATUS=OK            33 CALLS      233 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.5188        .67326        .36249E-05   -1.5683    
   2  alpha         2.4925        .52725        .12866E-01   -.30128E-02
   3  Normalizat    1.0352        .27343        .29299E-03   -.91861    
   4  Prefactor     .99503        .21543        .24167E-03   -.92895    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53932e-10
Minuit parameter uncertainties:
  1  0.673257
  2  0.53124
  3  0.273799
  4  0.21562
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/119189': 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) = 5307.08892525
delta logL = 0.0257835955554

Extracting fit parameters...

4FGL J1229.0+0202
   Spectrum: LogParabola
335         norm:  1.519e+00  6.733e-01  0.000e+00  1.000e+06 ( 1.000e-10)
336        alpha:  2.492e+00  5.312e-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.950e-01  2.156e-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.035e+00  2.738e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.79
Ra Dec: 187.268 2.045
Photon Index (Free Index): 2.49 +/- 0.53
Photon Flux (Free Index): 1.57e-07 +/- 8.86e-08
Energy Flux (Free Index): 4.06e-05 +/- 1.73e-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/119189/cmap_HighResolution_684115201_684374401_4FGL_J1229.0+0202_daily_bin1716.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.70e-07', energy_flux2='4.06e-05', photon_flux_error='7.48e-08', dlogl='2.58e-02', energy_flux='4.05e-05', photon_flux2='1.57e-07', job_status='DONE', time_completed='2022-09-16 16:57:45.290566', photon_index_error2='0.53', photon_index2='2.49', ts='10.76', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='1.73e-05', EG='1.02', time_epoch_completed='1663372665.29', return_code='0', job_id='119189', GAL2='1.00', EG2='1.04', return_code2='0', energy_flux_error='1.78e-05', photon_flux_error2='8.86e-08', ts2='10.79', photon_index='2.61' WHERE bin_id='1716' AND source_name='4FGL J1229.0+0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 16:57:45 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0227>
Subject: Job 119189: <4FGL_J1229.0+0202_daily_bin1716> in cluster <slac> Done

Job <4FGL_J1229.0+0202_daily_bin1716> 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) <bullet0227>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 16:47: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 16:47:52 2022
Terminated at Fri Sep 16 16:57:47 2022
Results reported at Fri Sep 16 16:57:47 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1229.0+0202_daily_bin1716 187.268 2.0454 684115201 684374401 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 :                                   573.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             343.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   593 sec.
    Turnaround time :                            744 sec.

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

