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


Performing analysis on: 4FGL_J0204.8+1513_daily_bin1723
RA = 31.2182, Dec = 15.2326
tmin = 685929601, tmax = 686188801
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='430258', job_status='RUN', time_executed='2022-09-30 00:07:49.467231', time_epoch_executed='1664521669.47' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1723'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430258

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

Retrieving the FT1 file...

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

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

Retrieving 45 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430258/ft1_4FGL_J0204.8+1513_daily_bin1723.fits


Retrieving the FT1 file...

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

Retrieving 45 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430258/ft1_4FGL_J0204.8+1513_daily_bin1723.fits outfile=/scratch/kocevski/430258/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1723.fits ra=31.2182 dec=15.2326 rad=12.0 tmin=685929601.0 tmax=686188801.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.59
user 3.35
sys 0.23

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.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/430258/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1723.fits evtable="EVENTS" outfile="/scratch/kocevski/430258/ft1_filtered_4FGL_J0204.8+1513_daily_bin1723.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.54
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 630

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430258/ft1_filtered_4FGL_J0204.8+1513_daily_bin1723.fits" evtable="EVENTS" scfile=/scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits sctable="SC_DATA" outfile=/scratch/kocevski/430258/ltcube_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.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/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits
.....................!
real 12.16
user 11.80
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430258/ft1_filtered_4FGL_J0204.8+1513_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits sctable="SC_DATA" expcube=/scratch/kocevski/430258/ltcube_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.fits outfile=/scratch/kocevski/430258/expmap_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.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/430258/ltcube_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.fits
.....................!
real 191.86
user 186.36
sys 5.16

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

Setting source of interest to:
4FGL J0204.8+1513 @ 31.2182 15.2326

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430258/ft1_filtered_4FGL_J0204.8+1513_daily_bin1723.fits scfile=/scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits outfile=/scratch/kocevski/430258/cmap_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.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=31.2182 yref=15.2326 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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430258/ft1_filtered_4FGL_J0204.8+1513_daily_bin1723.fits scfile=/scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits outfile=/scratch/kocevski/430258/cmap_HighResolution_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.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=31.2182 yref=15.2326 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.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430258/ft1_filtered_4FGL_J0204.8+1513_daily_bin1723.fits evtable="EVENTS" scfile=/scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430258/Model_4FGL_J0204.8+1513_daily_bin1723.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/430258/ft1_filtered_4FGL_J0204.8+1513_daily_bin1723.fits.....................!
real 81.57
user 80.04
sys 1.30

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430258/ft1_filtered_4FGL_J0204.8+1513_daily_bin1723.fits', '/scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits', expMap='/scratch/kocevski/430258/expmap_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.fits', expCube='/scratch/kocevski/430258/ltcube_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430258/Model_4FGL_J0204.8+1513_daily_bin1723.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0204.8+1513'

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  1.139e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
233        Scale:  9.796e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430258/ft1_filtered_4FGL_J0204.8+1513_daily_bin1723.fits
Spacecraft file(s): /scratch/kocevski/430258/ft2_4FGL_J0204.8+1513_daily_bin1723.fits
Exposure map: /scratch/kocevski/430258/expmap_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.fits
Exposure cube: /scratch/kocevski/430258/ltcube_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430258/Model_4FGL_J0204.8+1513_daily_bin1723.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) = 6857.9621958

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .18465E-01   1.0000          .0000       .10000E+07
     2 'Prefactor '    10.078       1.0000          .0000       .10000E+07
     3 'norm      '    5.4436       1.0000          .0000       .10000E+07
     4 'Prefactor '    12.299       1.0000          .0000       .10000E+07
     5 'Prefactor '    .88157       1.0000          .0000       .10000E+07
     6 'norm      '    .25573E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .21635E-04   1.0000          .0000       .10000E+07
     8 'Prefactor '    4.3105       1.0000          .0000       .10000E+07
     9 'norm      '    .31323       1.0000          .0000       .10000E+07
    10 'Prefactor '    .21773       1.0000          .0000       .10000E+07
    11 'Prefactor '    9.7949       1.0000          .0000       .10000E+07
    12 'Prefactor '    .16952E-01   1.0000          .0000       .10000E+07
    13 'Prefactor '    55.689       1.0000          .0000       .10000E+07
    14 'Prefactor '    .11874E-03   1.0000          .0000       .10000E+07
    15 'Prefactor '    .61645E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .22260E-03   1.0000          .0000       .10000E+07
    17 'norm      '    1.3012       1.0000          .0000       .10000E+07
    18 'Prefactor '    29.495       1.0000          .0000       .10000E+07
    19 'norm      '    .48571E-03   1.0000          .0000       .10000E+07
    20 'Prefactor '    .19497E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .30827E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .13794E-02   1.0000          .0000       .10000E+07
    23 'Normalizat'    .77844       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0341       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6857.961     FROM MIGRAD    STATUS=CONVERGED    116 CALLS     2042 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .44592E-06    89.233       -.16879E-06** at limit **
   2  Prefactor     10.094        2.7776        .20864E-07    .38121E-01
   3  norm          5.4434        1.0334       -.20517E-08   -.20123E-02
   4  Prefactor     12.280        3.8424       -.45675E-08    .86213E-01
   5  Prefactor     .80444        2.6722       -.16264E-07   -.28649E-01
   6  norm          .20867E-06    8.5183        .10103E-06** at limit **
   7  Prefactor     .22204E-09    2.7221       -.99777E-07** at limit **
   8  Prefactor     4.3172        2.6667        .61257E-08    .75881E-03
   9  norm          .64948E-08    3.3557        .22256E-07** at limit **
  10  Prefactor     .54513E-05    19.769        .17499E-06** at limit **
  11  Prefactor     9.7725        4.2074       -.17059E-07    .85126E-02
  12  Prefactor      .0000        24.182       -.19370E-07** at limit **
  13  Prefactor     55.722        3.0084        .59335E-08   -.38105E-01
  14  Prefactor     .11102E-09    2.4522        .14979E-06** at limit **
  15  Prefactor     .87708E-07    9.0362        .39550E-07** at limit **
  16  Prefactor     .44409E-09    3.8028       -.31142E-07** at limit **
  17  norm          1.3011        .51342       -.23214E-07   -.44526E-02
  18  Prefactor     29.546        22.136        .48010E-07   -.56398E-01
  19  norm          .33307E-09    2.9628       -.12054E-06** at limit **
  20  Prefactor     .11102E-09    5.6797       -.16305E-06** at limit **
  21  Prefactor     .28477E-06    5.9161        .11946E-06** at limit **
  22  Prefactor     .53296E-06    11.143        .15235E-06** at limit **
  23  Normalizat    .77967        .21498        .96371E-05    .21114E-03
  24  Prefactor     1.0339        .12052       -.14677E-05    .29715E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.45921e-07
  Prefactor  = 10.0941
  norm       = 5.44337
  Prefactor  = 12.2798
  Prefactor  = 0.804439
  norm       = 2.08666e-07
  Prefactor  = 2.22045e-10
  Prefactor  = 4.31718
  norm       = 6.4948e-09
  Prefactor  = 5.45131e-06
  Prefactor  = 9.7725
  Prefactor  = 0
  Prefactor  = 55.722
  Prefactor  = 1.11022e-10
  Prefactor  = 8.77076e-08
  Prefactor  = 4.44089e-10
  norm       = 1.30108
  Prefactor  = 29.5463
  norm       = 3.33067e-10
  Prefactor  = 1.11022e-10
  Prefactor  = 2.84772e-07
  Prefactor  = 5.32963e-07
  Normalizat = 0.779669
  Prefactor  = 1.03395
 **********
 **   18 **HESSE 
 **********

 FCN=   6857.961     FROM HESSE     STATUS=OK           443 CALLS     2485 TOTAL
                     EDM=   .41E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .44592E-06    20.347        .17140E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.094        11.933        .31540E-03   -1.5644    
   3  norm          5.4434        10.333        .43044E-03   -1.5661    
   4  Prefactor     12.280        7.5767        .28538E-03   -1.5638    
   5  Prefactor     .80444        3.0493        .47043E-03   -1.5690    
   6  norm          .20867E-06    9.6248        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .22204E-09    2.7309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.3172        2.6813        .48497E-03   -1.5666    
   9  norm          .64948E-08    66.225        .10032E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .54513E-05    54.948        .11468E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     9.7725        32.425        .31994E-03   -1.5645    
  12  Prefactor      .0000        24.145        .17246E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     55.722        50.279        .13401E-03   -1.5559    
  14  Prefactor     .11102E-09    2.4548        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .87708E-07    11.927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .44409E-09    3.8019        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.3011        .51467        .81423E-03   -1.5685    
  18  Prefactor     29.546        29.569        .18416E-03   -1.5599    
  19  norm          .33307E-09    2.9705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    5.6826        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .28477E-06    14.139        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .53296E-06    15.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    .77967        .19684        .77015E-01   -1.0083    
  24  Prefactor     1.0339        .10704        .40948E-01   -.91606    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.13622e-07
Minuit parameter uncertainties:
  1  0.00602417
  2  11.9327
  3  10.3328
  4  7.5767
  5  3.04929
  6  0.00283418
  7  4.76764e-05
  8  2.68134
  9  0.00131356
  10  0.0346145
  11  32.426
  12  5.02814e-06
  13  50.279
  14  2.96247e-05
  15  0.00204558
  16  8.27452e-05
  17  0.514665
  18  29.5694
  19  6.1153e-05
  20  4.91536e-05
  21  0.00401318
  22  0.00573944
  23  0.19702
  24  0.107063
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  8.044e-01  3.049e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  2.315e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
233        Scale:  9.796e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.034e+00  1.071e-01  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  7.797e-01  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.08
Ra Dec: 31.218 15.233
Photon Flux Upper Limit: 1.15e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.84e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430258/likelihoodResults_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.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) = 6857.3378732
delta logL = 0.623226181492

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6857.24411699
delta logL = 0.716982396327

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10296       1.0000          .0000       .10000E+07
     2 'Index     '    4.3760       1.0000          .0000       10.000    
     3 'Normalizat'    .70901       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0574       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5330E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6857.244     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      273 TOTAL
                     EDM=   .74E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10179        1.4992        .52330E-03** at limit **
   2  Index         4.3815        2.8029        .11580       -.14833E-03
   3  Normalizat    .70878        .44771E-01    .80439E-01   -.13333E-03
   4  Prefactor     1.0576        .25642E-01    .39496E-01   -.21984E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.101789
  Index      = 4.38153
  Normalizat = 0.708776
  Prefactor  = 1.05759
 **********
 **   18 **HESSE 
 **********

 FCN=   6857.244     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      306 TOTAL
                     EDM=   .92E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10179        4.0915        .24167E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.3815        7.1455        .59246E-02   -.12401    
   3  Normalizat    .70878        .16215        .35618E-03   -1.0355    
   4  Prefactor     1.0576        .91972E-01    .16900E-03   -.90834    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 9.229e-10
Minuit parameter uncertainties:
  1  1.29068
  2  6.23271
  3  0.162264
  4  0.0919857
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430258': 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): 102
logL (Free Index) = 6857.24411415
delta logL = 0.716985231335

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  1.018e-01  1.291e+00  0.000e+00  1.000e+06 ( 1.000e-12)
232        Index:  4.382e+00  6.233e+00  0.000e+00  1.000e+01 (-1.000e+00)
233        Scale:  9.796e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
530    Prefactor:  1.058e+00  9.199e-02  0.000e+00  1.000e+01 ( 1.000e+00)
531        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
532        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
529   Normalization:  7.088e-01  1.623e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.64
Ra Dec: 31.218 15.233
Photon Index (Free Index): 4.38 +/- 6.23
Photon Flux (Free Index): 6.65e-08 +/- 6.05e-08
Energy Flux (Free Index): 9.42e-06 +/- 1.28e-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/430258/cmap_HighResolution_685929601_686188801_4FGL_J0204.8+1513_daily_bin1723.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.84e-03', comment='SUCCESS', energy_flux2='9.42e-06', dlogl='7.17e-01', photon_flux2='6.65e-08', job_status='DONE', time_completed='2022-09-30 00:19:03.365914', photon_index_error2='6.23', photon_index2='4.38', ts='0.08', fit_tolerance='1e-08', GAL='1.03', photon_index_error='0.00', photon_flux_upper_limit='1.15e-07', energy_flux_error2='1.28e-05', EG='0.78', time_epoch_completed='1664522343.37', return_code='0', job_id='430258', GAL2='1.06', EG2='0.71', return_code2='102', photon_flux_error2='6.05e-08', ts2='1.64', photon_index='2.31' WHERE bin_id='1723' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 30 00:19:03 PDT 2022


------------------------------------------------------------
Sender: LSF System <scs@bullet0116>
Subject: Job 430258: <4FGL_J0204.8+1513_daily_bin1723> in cluster <slac> Done

Job <4FGL_J0204.8+1513_daily_bin1723> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 30 00:05:06 2022
Job was executed on host(s) <bullet0116>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 30 00:05:19 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 30 00:05:19 2022
Terminated at Fri Sep 30 00:19:04 2022
Results reported at Fri Sep 30 00:19:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0204.8+1513_daily_bin1723 31.2182 15.2326 685929601 686188801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0204.8+1513 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   676.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             332.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   824 sec.
    Turnaround time :                            838 sec.

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

