/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 14 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J0204.8+1513_daily_bin1129
RA = 31.2182, Dec = 15.2326
tmin = 531964801, tmax = 532224001
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='82889', job_status='RUN', time_executed='2021-08-15 05:32:25.217977', time_epoch_executed='1629030745.22' WHERE source_name='4FGL J0204.8+1513' and cadence='daily' and bin_id='1129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/82889

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/82889/ft1_4FGL_J0204.8+1513_daily_bin1129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/82889/ft2_4FGL_J0204.8+1513_daily_bin1129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/82889/ft1_4FGL_J0204.8+1513_daily_bin1129.fits outfile=/scratch/kocevski/82889/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1129.fits ra=31.2182 dec=15.2326 rad=12.0 tmin=531964801.0 tmax=532224001.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 8.42
user 3.28
sys 4.96

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/82889/ft2_4FGL_J0204.8+1513_daily_bin1129.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/82889/ft1_filteredMKT_4FGL_J0204.8+1513_daily_bin1129.fits evtable="EVENTS" outfile="/scratch/kocevski/82889/ft1_filtered_4FGL_J0204.8+1513_daily_bin1129.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 5.23
user 0.33
sys 4.81

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/82889/ft1_filtered_4FGL_J0204.8+1513_daily_bin1129.fits" evtable="EVENTS" scfile=/scratch/kocevski/82889/ft2_4FGL_J0204.8+1513_daily_bin1129.fits sctable="SC_DATA" outfile=/scratch/kocevski/82889/ltcube_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.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/82889/ft2_4FGL_J0204.8+1513_daily_bin1129.fits
.....................!
real 18.17
user 12.41
sys 5.65

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/82889/ft1_filtered_4FGL_J0204.8+1513_daily_bin1129.fits evtable="EVENTS" scfile=/scratch/kocevski/82889/ft2_4FGL_J0204.8+1513_daily_bin1129.fits sctable="SC_DATA" expcube=/scratch/kocevski/82889/ltcube_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.fits outfile=/scratch/kocevski/82889/expmap_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.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/82889/ltcube_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.fits
.....................!
real 197.67
user 185.18
sys 11.50

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/82889/ft1_filtered_4FGL_J0204.8+1513_daily_bin1129.fits scfile=/scratch/kocevski/82889/ft2_4FGL_J0204.8+1513_daily_bin1129.fits outfile=/scratch/kocevski/82889/cmap_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.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 5.16
user 0.37
sys 4.76

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/82889/ft1_filtered_4FGL_J0204.8+1513_daily_bin1129.fits scfile=/scratch/kocevski/82889/ft2_4FGL_J0204.8+1513_daily_bin1129.fits outfile=/scratch/kocevski/82889/cmap_HighResolution_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.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 5.14
user 0.38
sys 4.72

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/82889/ft1_filtered_4FGL_J0204.8+1513_daily_bin1129.fits', '/scratch/kocevski/82889/ft2_4FGL_J0204.8+1513_daily_bin1129.fits', expMap='/scratch/kocevski/82889/expmap_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.fits', expCube='/scratch/kocevski/82889/ltcube_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/82889/Model_4FGL_J0204.8+1513_daily_bin1129.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  1.000e-04  1.000e+04 ( 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/82889/ft1_filtered_4FGL_J0204.8+1513_daily_bin1129.fits
Spacecraft file(s): /scratch/kocevski/82889/ft2_4FGL_J0204.8+1513_daily_bin1129.fits
Exposure map: /scratch/kocevski/82889/expmap_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.fits
Exposure cube: /scratch/kocevski/82889/ltcube_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/82889/Model_4FGL_J0204.8+1513_daily_bin1129.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) = 7106.530878

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    73.760       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    15.652       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.2994       1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.413       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.0669       1.0000         .10000E-03   10000.    
     7 'norm      '    .13667E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10725E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    22.711       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    14.523       1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.8721       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10208E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    12.592       1.0000         .10000E-03   10000.    
    20 'norm      '    2.3494       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    7.3968       1.0000         .10000E-03   10000.    
    24 'Prefactor '    44.613       1.0000         .10000E-03   10000.    
    25 'Prefactor '    20.056       1.0000         .10000E-03   10000.    
    26 'Normalizat'    .58368       1.0000         .10000E-01   10.000    
    27 'Prefactor '    1.1580       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7106.528     FROM MIGRAD    STATUS=CONVERGED    633 CALLS     3256 TOTAL
                     EDM=   .18E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     73.763        41.600        .14466E-06    .12678E-04
   2  Prefactor     .10000E-03    5.2389        .29755E-06** at limit **
   3  norm          15.651        20.065       -.39293E-06   -.22787E-04
   4  Prefactor     2.3017        6.2949        .49920E-05   -.13918E-03
   5  Prefactor     22.419        137.81        .21939E-06    .30810E-05
   6  Prefactor     6.0675        3.0616       -.34347E-07   -.19009E-03
   7  norm          .10000E-03    3.5550        .23917E-05** at limit **
   8  Prefactor     .10000E-03    1.1436       -.20316E-07** at limit **
   9  Prefactor     .10000E-03    .66043        .61641E-07** at limit **
  10  norm          .10000E-03    36.042       -.14447E-06** at limit **
  11  Prefactor     .10000E-03    37.895        .70882E-06** at limit **
  12  Prefactor     22.694        30.625        .93479E-06   -.89371E-04
  13  Prefactor     .10000E-03    3.5285       -.94478E-08** at limit **
  14  Prefactor     .10000E-03    21.754       -.36369E-07** at limit **
  15  Prefactor     14.524        19.938        .11154E-07   -.80161E-05
  16  Prefactor     4.8716        7.8653        .13574E-05   -.19980E-03
  17  Prefactor     .10000E-03    21.771        .26434E-06** at limit **
  18  Prefactor     .10000E-03    12.217        .32060E-06** at limit **
  19  Prefactor     12.596        15.547       -.23660E-06   -.11533E-03
  20  norm          2.3493        .84318       -.50241E-07   -.14552E-02
  21  Prefactor     .10000E-03    17.645        .31041E-06** at limit **
  22  norm          .10000E-03    8.2132        .16108E-06** at limit **
  23  Prefactor     7.3978        15.962        .90179E-06   -.43916E-04
  24  Prefactor     44.611        39.593       -.34861E-06   -.99723E-04
  25  Prefactor     20.056        17.835        .20685E-07   -.25651E-05
  26  Normalizat    .58383        .19755       -.18717E-05   -.17412E-03
  27  Prefactor     1.1580        .11517        .53000E-07   -.22670E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 73.7625
  Prefactor  = 0.0001
  norm       = 15.6506
  Prefactor  = 2.30172
  Prefactor  = 22.4189
  Prefactor  = 6.06751
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.6937
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.5236
  Prefactor  = 4.87162
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.5956
  norm       = 2.34933
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 7.39784
  Prefactor  = 44.6113
  Prefactor  = 20.0562
  Normalizat = 0.583834
  Prefactor  = 1.15797
 **********
 **   18 **HESSE 
 **********

 FCN=   7106.528     FROM HESSE     STATUS=OK           484 CALLS     3740 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     73.763        41.590        .46749E-04   -1.3988    
   2  Prefactor     .10000E-03    5.3109        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          15.651        20.062        .10124E-03   -1.4917    
   4  Prefactor     2.3017        6.4683        .13532E-02   -1.5405    
   5  Prefactor     22.419        138.13        .84607E-04   -1.4761    
   6  Prefactor     6.0675        3.0568        .99424E-04   -1.5215    
   7  norm          .10000E-03    7.8927        .28769E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    1.1447        .88037E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .66424        .66893E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    36.046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    38.265        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     22.694        30.664        .84051E-04   -1.4755    
  13  Prefactor     .10000E-03    3.5548        .15455E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    21.759        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     14.524        19.938        .10510E-03   -1.4946    
  16  Prefactor     4.8716        7.8878        .91118E-03   -1.5266    
  17  Prefactor     .10000E-03    21.913        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    12.414        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     12.596        15.748        .11288E-03   -1.4998    
  20  norm          2.3493        .85870        .37550E-04   -1.5401    
  21  Prefactor     .10000E-03    17.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    8.2528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.3978        15.994        .73735E-03   -1.5164    
  24  Prefactor     44.611        39.586        .60024E-04   -1.4371    
  25  Prefactor     20.056        17.833        .89436E-04   -1.4812    
  26  Normalizat    .58383        .21253        .39772E-03   -1.0867    
  27  Prefactor     1.1580        .12579        .17049E-03   -.87635    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.5819e-10
Minuit parameter uncertainties:
  1  41.6068
  2  5.16678e-05
  3  20.0707
  4  6.47023
  5  111.679
  6  3.05686
  7  0.00020618
  8  2.37818e-06
  9  3.02273e-06
  10  7.35726e-05
  11  0.00014723
  12  30.6855
  13  2.53318e-06
  14  5.23491e-05
  15  19.9472
  16  7.88952
  17  0.000169918
  18  0.000130613
  19  15.7528
  20  0.858705
  21  5.68028e-05
  22  1.21628e-05
  23  16.0031
  24  39.6089
  25  17.8374
  26  0.212829
  27  0.125825
Done.

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

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  6.068e+00  3.057e+00  1.000e-04  1.000e+04 ( 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.158e+00  1.258e-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:  5.838e-01  2.128e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.57
Ra Dec: 31.218 15.233
Photon Index (Fixed Index): 2.31 +/- 0.00
Photon Flux (Fixed Index): 9.09e-08 +/- 4.57e-08
Energy Flux (Fixed Index): 3.36e-05 +/- 1.69e-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) = 7106.49712546
delta logL = 0.0310877554293

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7106.49606708
delta logL = 0.0321461322528

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4856       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4300       1.0000          .0000       10.000    
     3 'Normalizat'    .57417       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1614       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=   7106.496     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      261 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4871        46.198        .42888E-02    .21727E-03
   2  Index         2.4303        3.0017        .14190        .11894E-03
   3  Normalizat    .57454        .10146        .90427E-01    .41796E-04
   4  Prefactor     1.1611        .47385E-01    .35614E-01   -.67565E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.48708
  Index      = 2.43027
  Normalizat = 0.574544
  Prefactor  = 1.16112
 **********
 **   18 **HESSE 
 **********

 FCN=   7106.496     FROM HESSE     STATUS=OK            33 CALLS      294 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4871        3.8775        .92715E-04   -1.5239    
   2  Index         2.4303        .48889        .52502E-02   -.53978    
   3  Normalizat    .57454        .21355        .40068E-03   -1.0908    
   4  Prefactor     1.1611        .12411        .17028E-03   -.87536    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.96233e-09
Minuit parameter uncertainties:
  1  3.8777
  2  0.489959
  3  0.213859
  4  0.124142
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/82889': 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) = 7106.49606354
delta logL = 0.0321496814449

Extracting fit parameters...

4FGL J0204.8+1513
   Spectrum: PowerLaw
231    Prefactor:  5.487e+00  3.878e+00  1.000e-04  1.000e+04 ( 1.000e-12)
232        Index:  2.430e+00  4.900e-01  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.161e+00  1.241e-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:  5.745e-01  2.139e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.61
Ra Dec: 31.218 15.233
Photon Index (Free Index): 2.43 +/- 0.49
Photon Flux (Free Index): 9.83e-08 +/- 5.54e-08
Energy Flux (Free Index): 3.10e-05 +/- 1.87e-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/82889/cmap_HighResolution_531964801_532224001_4FGL_J0204.8+1513_daily_bin1129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.09e-08', energy_flux2='3.10e-05', photon_flux_error='4.57e-08', dlogl='3.21e-02', energy_flux='3.36e-05', photon_flux2='9.83e-08', job_status='DONE', time_completed='2021-08-15 05:45:59.365741', photon_index_error2='0.49', photon_index2='2.43', ts='7.57', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', energy_flux_error2='1.87e-05', EG='0.58', time_epoch_completed='1629031559.37', return_code='0', job_id='82889', GAL2='1.16', EG2='0.57', return_code2='0', energy_flux_error='1.69e-05', photon_flux_error2='5.54e-08', ts2='7.61', photon_index='2.31' WHERE bin_id='1129' AND source_name='4FGL J0204.8+1513' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 05:45:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0267>
Subject: Job 82889: <4FGL_J0204.8+1513_daily_bin1129> in cluster <slac> Done

Job <4FGL_J0204.8+1513_daily_bin1129> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sun Aug 15 05:30:31 2021
Job was executed on host(s) <bullet0267>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 05:30:39 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 05:30:39 2021
Terminated at Sun Aug 15 05:46:01 2021
Results reported at Sun Aug 15 05:46:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0204.8+1513_daily_bin1129 31.2182 15.2326 531964801 532224001 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 :                                   869.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   921 sec.
    Turnaround time :                            930 sec.

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

