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


Performing analysis on: 4FGL_J0203.7+3042_daily_bin1748
RA = 30.9327, Dec = 30.7139
tmin = 692409601, tmax = 692668801
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='875634', job_status='RUN', time_executed='2022-12-14 00:06:02.897211', time_epoch_executed='1671005162.9' WHERE source_name='4FGL J0203.7+3042' and cadence='daily' and bin_id='1748'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/875634

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/875634/ft1_4FGL_J0203.7+3042_daily_bin1748.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/875634/ft1_4FGL_J0203.7+3042_daily_bin1748.fits outfile=/scratch/kocevski/875634/ft1_filteredMKT_4FGL_J0203.7+3042_daily_bin1748.fits ra=30.9327 dec=30.7139 rad=12.0 tmin=692409601.0 tmax=692668801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.81
user 3.36
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.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/875634/ft1_filteredMKT_4FGL_J0203.7+3042_daily_bin1748.fits evtable="EVENTS" outfile="/scratch/kocevski/875634/ft1_filtered_4FGL_J0203.7+3042_daily_bin1748.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.52
user 0.34
sys 0.15

Number of photons that the gtmktime cut: 849

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/875634/ft1_filtered_4FGL_J0203.7+3042_daily_bin1748.fits" evtable="EVENTS" scfile=/scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits sctable="SC_DATA" outfile=/scratch/kocevski/875634/ltcube_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.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/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits
.....................!
real 14.47
user 14.03
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/875634/ft1_filtered_4FGL_J0203.7+3042_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits sctable="SC_DATA" expcube=/scratch/kocevski/875634/ltcube_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.fits outfile=/scratch/kocevski/875634/expmap_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.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/875634/ltcube_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.fits
.....................!
real 191.08
user 185.37
sys 4.87

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 176 point sources and 0 extended sources

Setting source of interest to:
4FGL J0203.7+3042 @ 30.9327 30.7139

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/875634/ft1_filtered_4FGL_J0203.7+3042_daily_bin1748.fits scfile=/scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits outfile=/scratch/kocevski/875634/cmap_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.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=30.9327 yref=30.7139 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/875634/ft1_filtered_4FGL_J0203.7+3042_daily_bin1748.fits scfile=/scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits outfile=/scratch/kocevski/875634/cmap_HighResolution_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.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=30.9327 yref=30.7139 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.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/875634/ft1_filtered_4FGL_J0203.7+3042_daily_bin1748.fits evtable="EVENTS" scfile=/scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/875634/Model_4FGL_J0203.7+3042_daily_bin1748.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/875634/ft1_filtered_4FGL_J0203.7+3042_daily_bin1748.fits.....................!
real 98.58
user 96.28
sys 1.34

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/875634/ft1_filtered_4FGL_J0203.7+3042_daily_bin1748.fits', '/scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits', expMap='/scratch/kocevski/875634/expmap_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.fits', expCube='/scratch/kocevski/875634/ltcube_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/875634/Model_4FGL_J0203.7+3042_daily_bin1748.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0203.7+3042'

4FGL J0203.7+3042
   Spectrum: LogParabola
255         norm:  3.872e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
256        alpha:  2.141e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  9.853e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  8.799e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/875634/ft1_filtered_4FGL_J0203.7+3042_daily_bin1748.fits
Spacecraft file(s): /scratch/kocevski/875634/ft2_4FGL_J0203.7+3042_daily_bin1748.fits
Exposure map: /scratch/kocevski/875634/expmap_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.fits
Exposure cube: /scratch/kocevski/875634/ltcube_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/875634/Model_4FGL_J0203.7+3042_daily_bin1748.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) = 9013.54478012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.396       1.0000          .0000       .10000E+07
     2 'Prefactor '    .99712E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .50621E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.494       1.0000          .0000       .10000E+07
     5 'norm      '    2.6014       1.0000          .0000       .10000E+07
     6 'Prefactor '    .10676E-01   1.0000          .0000       .10000E+07
     7 'norm      '    .97358E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    29.952       1.0000          .0000       .10000E+07
     9 'Prefactor '    .32281E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15504E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    6.8786       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.0263       1.0000          .0000       .10000E+07
    13 'norm      '    2.7617       1.0000          .0000       .10000E+07
    14 'Prefactor '    .32386E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    3.6890       1.0000          .0000       .10000E+07
    16 'norm      '    7.8220       1.0000          .0000       .10000E+07
    17 'norm      '    1.3952       1.0000          .0000       .10000E+07
    18 'norm      '    .23908E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.0316       1.0000          .0000       .10000E+07
    20 'Prefactor '    33.152       1.0000          .0000       .10000E+07
    21 'norm      '    7.9353       1.0000          .0000       .10000E+07
    22 'norm      '    2.7458       1.0000          .0000       .10000E+07
    23 'Prefactor '    .50737E-02   1.0000          .0000       .10000E+07
    24 'Prefactor '    .67352E-02   1.0000          .0000       .10000E+07
    25 'Normalizat'    .91723       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .96673       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5740E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9013.508     FROM MIGRAD    STATUS=CONVERGED    163 CALLS     2287 TOTAL
                     EDM=   .46E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.398        2.5566        .34630E-07    .91695E-03
   2  Prefactor     .55511E-10    8.9100       -.34934E-07** at limit **
   3  Prefactor     .44409E-09    3.3576        .96760E-07** at limit **
   4  Prefactor     10.479        6.1870       -.86299E-07    .12887E-01
   5  norm          2.6024        1.2695       -.49398E-07   -.84787E-03
   6  Prefactor     .12496E-05    17.260       -.67266E-06** at limit **
   7  norm          .96659E-01    .40496        .18202E-07** at limit **
   8  Prefactor     29.969        10.634       -.61455E-07   -.14589E-01
   9  Prefactor     .15934E-05    33.790       -.91589E-06** at limit **
  10  Prefactor     .16653E-09    3.7860        .81456E-07** at limit **
  11  Prefactor     6.8622        7.9876       -.18100E-06    .18022E-01
  12  Prefactor     3.5559        62.006        .89689E-07    .19506E-01
  13  norm          2.7625        2.5237        .16076E-07    .56318E-03
  14  Prefactor     .44409E-09    3.1421        .10882E-06** at limit **
  15  Prefactor     3.6587        5.2473       -.25201E-06   -.23901E-03
  16  norm          7.8148        4.3041       -.85892E-07   -.62902E-03
  17  norm          1.3954        .71269       -.23556E-07   -.15508E-02
  18  norm          .42133E-07    23.482       -.88127E-06** at limit **
  19  Prefactor     3.0204        6.0909       -.19370E-06   -.63519E-03
  20  Prefactor     32.768        28.171       -.85523E-07    .75509E-01
  21  norm          7.9526        6.9960        .43198E-08    .10298E-02
  22  norm          2.7455        1.6304       -.37657E-07   -.25742E-03
  23  Prefactor      .0000        4.8113       -.15214E-06** at limit **
  24  Prefactor     .17506E-05    14.138       -.81115E-06** at limit **
  25  Normalizat    .91740        .23155        .17838E-05    .22220E-04
  26  Prefactor     .96679        .12190        .20356E-05    .55494E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 17.3975
  Prefactor  = 5.55112e-11
  Prefactor  = 4.44089e-10
  Prefactor  = 10.4789
  norm       = 2.60238
  Prefactor  = 1.24956e-06
  norm       = 0.0966594
  Prefactor  = 29.9694
  Prefactor  = 1.59345e-06
  Prefactor  = 1.66533e-10
  Prefactor  = 6.86218
  Prefactor  = 3.55585
  norm       = 2.76247
  Prefactor  = 4.44089e-10
  Prefactor  = 3.65873
  norm       = 7.81481
  norm       = 1.39538
  norm       = 4.2133e-08
  Prefactor  = 3.02041
  Prefactor  = 32.7685
  norm       = 7.95261
  norm       = 2.74548
  Prefactor  = 0
  Prefactor  = 1.7506e-06
  Normalizat = 0.917398
  Prefactor  = 0.966792
 **********
 **   18 **HESSE 
 **********

 FCN=   9013.508     FROM HESSE     STATUS=OK           526 CALLS     2813 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.398        2.5584        .23986E-03   -1.5625    
   2  Prefactor     .55511E-10    8.9230        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .44409E-09    3.3592        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.479        13.566        .30905E-03   -1.5643    
   5  norm          2.6024        1.2688        .63228E-03   -1.5676    
   6  Prefactor     .12496E-05    30.729        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .96659E-01    .29551        .23615E-02   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     29.969        12.670        .18275E-03   -1.5598    
   9  Prefactor     .15934E-05    5.0339        .11234E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .16653E-09    3.6730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     6.8622        11.302        .38230E-03   -1.5656    
  12  Prefactor     3.5559        109.62        .58309E-03   -1.5670    
  13  norm          2.7625        2.5284        .61223E-03   -1.5675    
  14  Prefactor     .44409E-09    3.1297        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     3.6587        5.2654        .52559E-03   -1.5670    
  16  norm          7.8148        4.2992        .35829E-03   -1.5652    
  17  norm          1.3954        .71431        .91899E-03   -1.5684    
  18  norm          .42133E-07    23.650        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.0204        6.2188        .58255E-03   -1.5673    
  20  Prefactor     32.768        44.503        .17370E-03   -1.5593    
  21  norm          7.9526        7.1072        .35570E-03   -1.5652    
  22  norm          2.7455        1.6335        .61412E-03   -1.5675    
  23  Prefactor      .0000        4.8100        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .17506E-05    29.196        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .91740        .20441        .81254E-01   -.95851    
  26  Prefactor     .96679        .10558        .45850E-01   -.93845    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.15428e-06
Minuit parameter uncertainties:
  1  2.55843
  2  4.4213e-05
  3  7.55448e-05
  4  13.5665
  5  1.26875
  6  0.0123933
  7  0.295506
  8  12.6699
  9  0.00566433
  10  4.84612e-05
  11  11.302
  12  39.4875
  13  2.52845
  14  7.27422e-05
  15  5.26542
  16  4.29923
  17  0.714314
  18  0.00199652
  19  6.21878
  20  44.503
  21  7.1072
  22  1.63355
  23  7.52855e-06
  24  0.0142984
  25  0.204587
  26  0.105599
Done.

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

Extracting fit parameters...

4FGL J0203.7+3042
   Spectrum: LogParabola
255         norm:  2.762e+00  2.528e+00  0.000e+00  1.000e+06 ( 1.000e-12)
256        alpha:  2.141e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
257         beta:  9.853e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  8.799e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.668e-01  1.056e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.174e-01  2.046e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.90
Ra Dec: 30.933 30.714
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 2.02e-08 +/- 1.85e-08
Energy Flux (Fixed Index): 9.32e-06 +/- 8.53e-06

TS (Fixed Index): 2.90
Ra Dec: 30.933 30.714
Photon Flux Upper Limit: 6.99e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.22e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/875634/likelihoodResults_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.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) = 9013.41949596
delta logL = 0.088712573448

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9013.41825501
delta logL = 0.089953518629

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   9013.418     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      257 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2418        133.64        .56255E-03    .15228E-02
   2  alpha         1.8113        3.5191        .43329        .56069E-05
   3  Normalizat    .92336        .13981        .81009E-01    .29769E-03
   4  Prefactor     .96440        .67294E-01    .45821E-01    .51330E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.24175
  alpha      = 1.81133
  Normalizat = 0.923364
  Prefactor  = 0.964402
 **********
 **   18 **HESSE 
 **********

 FCN=   9013.418     FROM HESSE     STATUS=OK            31 CALLS      288 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2418        3.0047        .15096E-04   -1.5672    
   2  alpha         1.8113        .72466        .22362E-01   -.27908    
   3  Normalizat    .92336        .21806        .35861E-03   -.95644    
   4  Prefactor     .96440        .12023        .19253E-03   -.93926    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17846e-10
Minuit parameter uncertainties:
  1  3.00469
  2  0.736115
  3  0.218269
  4  0.12026
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/875634': 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) = 9013.41825372
delta logL = 0.0899548094967

Extracting fit parameters...

4FGL J0203.7+3042
   Spectrum: LogParabola
255         norm:  3.242e+00  3.005e+00  0.000e+00  1.000e+06 ( 1.000e-12)
256        alpha:  1.811e+00  7.361e-01  0.000e+00  5.000e+00 ( 1.000e+00)
257         beta:  9.853e-02  0.000e+00 -5.000e+00  1.000e+01 ( 1.000e+00) fixed
258           Eb:  8.799e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
571    Prefactor:  9.644e-01  1.203e-01  0.000e+00  1.000e+01 ( 1.000e+00)
572        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
573        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
570   Normalization:  9.234e-01  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.08
Ra Dec: 30.933 30.714
Photon Index (Free Index): 1.81 +/- 0.74
Photon Flux (Free Index): 1.66e-08 +/- 1.72e-08
Energy Flux (Free Index): 1.35e-05 +/- 1.82e-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/875634/cmap_HighResolution_692409601_692668801_4FGL_J0203.7+3042_daily_bin1748.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.22e-05', comment='SUCCESS', photon_flux='2.02e-08', energy_flux2='1.35e-05', photon_flux_error='1.85e-08', dlogl='9.00e-02', energy_flux='9.32e-06', photon_flux2='1.66e-08', job_status='DONE', time_completed='2022-12-14 00:20:13.634503', photon_index_error2='0.74', photon_index2='1.81', ts='2.90', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', photon_flux_upper_limit='6.99e-08', energy_flux_error2='1.82e-05', EG='0.92', time_epoch_completed='1671006013.63', return_code='0', job_id='875634', GAL2='0.96', EG2='0.92', return_code2='0', energy_flux_error='8.53e-06', photon_flux_error2='1.72e-08', ts2='3.08', photon_index='2.14' WHERE bin_id='1748' AND source_name='4FGL J0203.7+3042' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Dec 14 00:20:13 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 875634: <4FGL_J0203.7+3042_daily_bin1748> in cluster <slac> Done

Job <4FGL_J0203.7+3042_daily_bin1748> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Dec 14 00:04:56 2022
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Dec 14 00:04:57 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Dec 14 00:04:57 2022
Terminated at Wed Dec 14 00:20:14 2022
Results reported at Wed Dec 14 00:20:14 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0203.7+3042_daily_bin1748 30.9327 30.7139 692409601 692668801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0203.7+3042 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   829.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             301.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            918 sec.

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

