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


Performing analysis on: 4FGL_J0230.8+4032_daily_bin1742
RA = 37.7086, Dec = 40.5416
tmin = 690854401, tmax = 691113601
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='217443', job_status='RUN', time_executed='2022-11-26 00:12:52.192105', time_epoch_executed='1669450372.19' WHERE source_name='4FGL J0230.8+4032' and cadence='daily' and bin_id='1742'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/217443

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/217443/ft1_4FGL_J0230.8+4032_daily_bin1742.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/217443/ft1_4FGL_J0230.8+4032_daily_bin1742.fits outfile=/scratch/kocevski/217443/ft1_filteredMKT_4FGL_J0230.8+4032_daily_bin1742.fits ra=37.7086 dec=40.5416 rad=12.0 tmin=690854401.0 tmax=691113601.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 2.90
user 2.68
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.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/217443/ft1_filteredMKT_4FGL_J0230.8+4032_daily_bin1742.fits evtable="EVENTS" outfile="/scratch/kocevski/217443/ft1_filtered_4FGL_J0230.8+4032_daily_bin1742.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: 321

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/217443/ft1_filtered_4FGL_J0230.8+4032_daily_bin1742.fits" evtable="EVENTS" scfile=/scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits sctable="SC_DATA" outfile=/scratch/kocevski/217443/ltcube_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.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/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits
.....................!
real 16.09
user 15.64
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/217443/ft1_filtered_4FGL_J0230.8+4032_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits sctable="SC_DATA" expcube=/scratch/kocevski/217443/ltcube_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.fits outfile=/scratch/kocevski/217443/expmap_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.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/217443/ltcube_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.fits
.....................!
real 193.45
user 186.69
sys 5.03

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
Extended source W 3 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_8years/Templates/W3.fits is the correct path to the extended template.
Added 185 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0230.8+4032 @ 37.7086 40.5416

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/217443/ft1_filtered_4FGL_J0230.8+4032_daily_bin1742.fits scfile=/scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits outfile=/scratch/kocevski/217443/cmap_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.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=37.7086 yref=40.5416 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/217443/ft1_filtered_4FGL_J0230.8+4032_daily_bin1742.fits scfile=/scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits outfile=/scratch/kocevski/217443/cmap_HighResolution_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.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=37.7086 yref=40.5416 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.40
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/217443/ft1_filtered_4FGL_J0230.8+4032_daily_bin1742.fits evtable="EVENTS" scfile=/scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/217443/Model_4FGL_J0230.8+4032_daily_bin1742.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
adding source W 3
Working on...
/scratch/kocevski/217443/ft1_filtered_4FGL_J0230.8+4032_daily_bin1742.fits.....................!
real 50.03
user 48.16
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/217443/ft1_filtered_4FGL_J0230.8+4032_daily_bin1742.fits', '/scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits', expMap='/scratch/kocevski/217443/expmap_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.fits', expCube='/scratch/kocevski/217443/ltcube_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/217443/Model_4FGL_J0230.8+4032_daily_bin1742.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0230.8+4032'

4FGL J0230.8+4032
   Spectrum: LogParabola
305         norm:  3.060e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  2.306e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.406e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  7.188e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/217443/ft1_filtered_4FGL_J0230.8+4032_daily_bin1742.fits
Spacecraft file(s): /scratch/kocevski/217443/ft2_4FGL_J0230.8+4032_daily_bin1742.fits
Exposure map: /scratch/kocevski/217443/expmap_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.fits
Exposure cube: /scratch/kocevski/217443/ltcube_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/217443/Model_4FGL_J0230.8+4032_daily_bin1742.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) = 3594.35462898

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.5508       1.0000          .0000       .10000E+07
     2 'Prefactor '    26.591       1.0000          .0000       .10000E+07
     3 'Prefactor '    .21205E-06   1.0000          .0000       .10000E+07
     4 'Prefactor '    .11756E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    49.484       1.0000          .0000       .10000E+07
     6 'norm      '    .32458       1.0000          .0000       .10000E+07
     7 'Prefactor '    .19271E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .97902       1.0000          .0000       .10000E+07
     9 'norm      '    .16609E-06   1.0000          .0000       .10000E+07
    10 'norm      '    .83657       1.0000          .0000       .10000E+07
    11 'Prefactor '    .33201E-04   1.0000          .0000       .10000E+07
    12 'norm      '    18.792       1.0000          .0000       .10000E+07
    13 'norm      '    .19151E-07   1.0000          .0000       .10000E+07
    14 'norm      '    23.167       1.0000          .0000       .10000E+07
    15 'Prefactor '    2.0261       1.0000          .0000       .10000E+07
    16 'Prefactor '    .88766E-05   1.0000          .0000       .10000E+07
    17 'norm      '    22.893       1.0000          .0000       .10000E+07
    18 'norm      '    .13687       1.0000          .0000       .10000E+07
    19 'Prefactor '    .39097E-02   1.0000          .0000       .10000E+07
    20 'norm      '    3.9733       1.0000          .0000       .10000E+07
    21 'Normalizat'    .57317E-01   1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5462       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3594.287     FROM MIGRAD    STATUS=CONVERGED    191 CALLS     1831 TOTAL
                     EDM=   .58E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.5508        1.6561        .82801E-07   -.18818E-02
   2  Prefactor     26.386        1.9611       -.39312E-06   -.70775E-02
   3  Prefactor      .0000        3.1418       -.64210E-06** at limit **
   4  Prefactor     .28311E-08    20.150        .15823E-05** at limit **
   5  Prefactor     49.669        8.0293        .11797E-05   -.52674E-01
   6  norm          .31137        37.431        .22646E-05    .75154E-03
   7  Prefactor     .16653E-09    15.058        .11358E-05** at limit **
   8  norm          .98356        7.3142        .13631E-06    .29080E-03
   9  norm           .0000        .72932        .25046E-06** at limit **
  10  norm          .83769        .63245       -.12816E-06   -.72988E-02
  11  Prefactor     .16653E-09    8.1882       -.17385E-05** at limit **
  12  norm          18.534        17.308        .35644E-05    .38995E-02
  13  norm          .16653E-09    3.2659        .46603E-06** at limit **
  14  norm          24.062        38.815       -.71177E-05   -.47613E-02
  15  Prefactor     .31214E-06    355.32       -.93908E-05** at limit **
  16  Prefactor      .0000        3.4588       -.47783E-06** at limit **
  17  norm          22.278        3.4601        .50715E-07   -.20515E-01
  18  norm          .11219E-05    5.1042       -.41319E-06** at limit **
  19  Prefactor     .58842E-08    27.741       -.34466E-05** at limit **
  20  norm          3.9842        3.3885       -.89653E-07   -.37724E-02
  21  Normalizat    .60142E-01    .78464        .12398E-03    .64006E-04
  22  Prefactor     1.5455        .18424        .10292E-04   -.45536E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.55078
  Prefactor  = 26.3861
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  Prefactor  = 49.6688
  norm       = 0.31137
  Prefactor  = 1.66533e-10
  norm       = 0.983558
  norm       = 0
  norm       = 0.837686
  Prefactor  = 1.66533e-10
  norm       = 18.5338
  norm       = 1.66533e-10
  norm       = 24.062
  Prefactor  = 3.12139e-07
  Prefactor  = 0
  norm       = 22.2783
  norm       = 1.12194e-06
  Prefactor  = 5.88418e-09
  norm       = 3.98424
  Normalizat = 0.0601422
  Prefactor  = 1.54549
 **********
 **   18 **HESSE 
 **********

 FCN=   3594.287     FROM HESSE     STATUS=OK           388 CALLS     2219 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.5508        1.6578        .63905E-03   -1.5676    
   2  Prefactor     26.386        22.141        .19396E-03   -1.5605    
   3  Prefactor      .0000        3.1458        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .28311E-08    20.702        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     49.669        66.840        .14217E-03   -1.5567    
   6  norm          .31137        8.1726        .55432E-02   -1.5697    
   7  Prefactor     .16653E-09    15.071        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .98356        7.3138        .43022E-03   -1.5688    
   9  norm           .0000        .72657        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .83769        .63777        .50248E-03   -1.5690    
  11  Prefactor     .16653E-09    8.2046        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          18.534        17.402        .23077E-03   -1.5622    
  13  norm          .16653E-09    3.2672        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          24.062        38.963        .20781E-03   -1.5610    
  15  Prefactor     .31214E-06    357.38        .72661E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        3.4588        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          22.278        22.450        .20905E-03   -1.5614    
  18  norm          .11219E-05    185.59        .13029E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .58842E-08    27.918        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.9842        3.3910        .50577E-03   -1.5668    
  21  Normalizat    .60142E-01    .15579        .32875       -1.7126    
  22  Prefactor     1.5455        .11501        .29303E-01   -.76274    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.68619e-07
Minuit parameter uncertainties:
  1  1.65784
  2  22.1407
  3  1.68064e-05
  4  0.000482396
  5  66.841
  6  3.19044
  7  9.40499e-05
  8  5.36416
  9  3.67391e-06
  10  0.637774
  11  7.3745e-05
  12  17.402
  13  4.70483e-05
  14  38.9634
  15  0.0211241
  16  5.83334e-06
  17  22.4502
  18  0.0288607
  19  0.000810563
  20  3.39099
  21  0.157084
  22  0.115031
Done.

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

Extracting fit parameters...

4FGL J0230.8+4032
   Spectrum: LogParabola
305         norm:  1.853e+01  1.740e+01  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  2.306e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
307         beta:  1.406e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  7.188e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.545e+00  1.150e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  6.014e-02  1.571e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.33
Ra Dec: 37.709 40.542
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 1.02e-07 +/- 9.60e-08
Energy Flux (Fixed Index): 3.63e-05 +/- 3.41e-05

TS (Fixed Index): 2.33
Ra Dec: 37.709 40.542
Photon Flux Upper Limit: 3.30e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.17e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/217443/likelihoodResults_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.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) = 3594.24268054
delta logL = 0.0443275568841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3594.23657119
delta logL = 0.0504369043001

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3594.237     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      242 TOTAL
                     EDM=   .90E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.716        254.16        .22539E-03   -.39679E-03
   2  alpha         1.9047        3.0327        .42729       -.80557E-05
   3  Normalizat    .90017E-01    9.0371        .33057        .23364E-04
   4  Prefactor     1.5376        1.1315        .29391E-01   -.81018E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 19.7162
  alpha      = 1.90466
  Normalizat = 0.0900172
  Prefactor  = 1.53762
 **********
 **   18 **HESSE 
 **********

 FCN=   3594.237     FROM HESSE     STATUS=OK            35 CALLS      277 TOTAL
                     EDM=   .85E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.716        18.780        .90155E-05   -1.5619    
   2  alpha         1.9047        1.1070        .19471E-01   -.24044    
   3  Normalizat    .90017E-01    .55852        .11685E-01   -1.3916    
   4  Prefactor     1.5376        .19176        .16505E-03   -.76492    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.46003e-11
Minuit parameter uncertainties:
  1  18.7805
  2  1.14945
  3  0.428649
  4  0.191851
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/217443': 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) = 3594.23656928
delta logL = 0.0504388162917

Extracting fit parameters...

4FGL J0230.8+4032
   Spectrum: LogParabola
305         norm:  1.972e+01  1.878e+01  0.000e+00  1.000e+06 ( 1.000e-12)
306        alpha:  1.905e+00  1.149e+00  0.000e+00  5.000e+00 ( 1.000e+00)
307         beta:  1.406e-01  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
308           Eb:  7.188e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
621    Prefactor:  1.538e+00  1.919e-01  0.000e+00  1.000e+01 ( 1.000e+00)
622        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
623        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
620   Normalization:  9.002e-02  4.286e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.42
Ra Dec: 37.709 40.542
Photon Index (Free Index): 1.90 +/- 1.15
Photon Flux (Free Index): 7.31e-08 +/- 1.05e-07
Energy Flux (Free Index): 4.32e-05 +/- 5.07e-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/217443/cmap_HighResolution_690854401_691113601_4FGL_J0230.8+4032_daily_bin1742.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.17e-04', comment='SUCCESS', photon_flux='1.02e-07', energy_flux2='4.32e-05', photon_flux_error='9.60e-08', dlogl='5.04e-02', energy_flux='3.63e-05', photon_flux2='7.31e-08', job_status='DONE', time_completed='2022-11-26 00:21:13.161372', photon_index_error2='1.15', photon_index2='1.90', ts='2.33', fit_tolerance='1e-08', GAL='1.55', photon_index_error='0.00', photon_flux_upper_limit='3.30e-07', energy_flux_error2='5.07e-05', EG='0.06', time_epoch_completed='1669450873.16', return_code='0', job_id='217443', GAL2='1.54', EG2='0.09', return_code2='0', energy_flux_error='3.41e-05', photon_flux_error2='1.05e-07', ts2='2.42', photon_index='2.31' WHERE bin_id='1742' AND source_name='4FGL J0230.8+4032' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Nov 26 00:21:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0218>
Subject: Job 217443: <4FGL_J0230.8+4032_daily_bin1742> in cluster <slac> Done

Job <4FGL_J0230.8+4032_daily_bin1742> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Nov 26 00:05:02 2022
Job was executed on host(s) <bullet0218>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Nov 26 00:12:33 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Nov 26 00:12:33 2022
Terminated at Sat Nov 26 00:21:14 2022
Results reported at Sat Nov 26 00:21:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0230.8+4032_daily_bin1742 37.7086 40.5416 690854401 691113601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0230.8+4032 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   499.62 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             363.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   520 sec.
    Turnaround time :                            972 sec.

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

