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


Performing analysis on: 4FGL_J0203.7+3042_daily_bin735
RA = 30.9327, Dec = 30.7139
tmin = 429840001, tmax = 430099201
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='69432', job_status='RUN', time_executed='2021-08-15 04:49:31.394041', time_epoch_executed='1629028171.39' WHERE source_name='4FGL J0203.7+3042' and cadence='daily' and bin_id='735'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/69432

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/69432/ft1_4FGL_J0203.7+3042_daily_bin735.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/69432/ft2_4FGL_J0203.7+3042_daily_bin735.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/69432/ft1_4FGL_J0203.7+3042_daily_bin735.fits outfile=/scratch/kocevski/69432/ft1_filteredMKT_4FGL_J0203.7+3042_daily_bin735.fits ra=30.9327 dec=30.7139 rad=12.0 tmin=429840001.0 tmax=430099201.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 6.19
user 4.65
sys 1.48

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/69432/ft2_4FGL_J0203.7+3042_daily_bin735.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/69432/ft1_filteredMKT_4FGL_J0203.7+3042_daily_bin735.fits evtable="EVENTS" outfile="/scratch/kocevski/69432/ft1_filtered_4FGL_J0203.7+3042_daily_bin735.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 1.62
user 0.29
sys 1.30

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/69432/ft1_filtered_4FGL_J0203.7+3042_daily_bin735.fits" evtable="EVENTS" scfile=/scratch/kocevski/69432/ft2_4FGL_J0203.7+3042_daily_bin735.fits sctable="SC_DATA" outfile=/scratch/kocevski/69432/ltcube_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.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/69432/ft2_4FGL_J0203.7+3042_daily_bin735.fits
.....................!
real 14.74
user 12.57
sys 1.71

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/69432/ft1_filtered_4FGL_J0203.7+3042_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/69432/ft2_4FGL_J0203.7+3042_daily_bin735.fits sctable="SC_DATA" expcube=/scratch/kocevski/69432/ltcube_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.fits outfile=/scratch/kocevski/69432/expmap_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.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/69432/ltcube_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.fits
.....................!
real 159.37
user 153.21
sys 5.20

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/69432/ft1_filtered_4FGL_J0203.7+3042_daily_bin735.fits scfile=/scratch/kocevski/69432/ft2_4FGL_J0203.7+3042_daily_bin735.fits outfile=/scratch/kocevski/69432/cmap_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.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 1.73
user 0.33
sys 1.33

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/69432/ft1_filtered_4FGL_J0203.7+3042_daily_bin735.fits scfile=/scratch/kocevski/69432/ft2_4FGL_J0203.7+3042_daily_bin735.fits outfile=/scratch/kocevski/69432/cmap_HighResolution_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.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 1.81
user 0.34
sys 1.26

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/69432/ft1_filtered_4FGL_J0203.7+3042_daily_bin735.fits evtable="EVENTS" scfile=/scratch/kocevski/69432/ft2_4FGL_J0203.7+3042_daily_bin735.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/69432/Model_4FGL_J0203.7+3042_daily_bin735.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/69432/ft1_filtered_4FGL_J0203.7+3042_daily_bin735.fits.....................!
real 57.36
user 54.06
sys 2.74

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/69432/ft1_filtered_4FGL_J0203.7+3042_daily_bin735.fits', '/scratch/kocevski/69432/ft2_4FGL_J0203.7+3042_daily_bin735.fits', expMap='/scratch/kocevski/69432/expmap_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.fits', expCube='/scratch/kocevski/69432/ltcube_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/69432/Model_4FGL_J0203.7+3042_daily_bin735.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  1.000e-04  1.000e+04 ( 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  0.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/69432/ft1_filtered_4FGL_J0203.7+3042_daily_bin735.fits
Spacecraft file(s): /scratch/kocevski/69432/ft2_4FGL_J0203.7+3042_daily_bin735.fits
Exposure map: /scratch/kocevski/69432/expmap_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.fits
Exposure cube: /scratch/kocevski/69432/ltcube_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/69432/Model_4FGL_J0203.7+3042_daily_bin735.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) = 5635.23858891

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1251       1.0000         .10000E-03   10000.    
     2 'Prefactor '    51.866       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.926       1.0000         .10000E-03   10000.    
     5 'Prefactor '    35.432       1.0000         .10000E-03   10000.    
     6 'norm      '    2.4094       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    130.43       1.0000         .10000E-03   10000.    
     9 'norm      '    1.6963       1.0000         .10000E-03   10000.    
    10 'Prefactor '    10.290       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    7.4288       1.0000         .10000E-03   10000.    
    13 'Prefactor '    16.024       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    8.6412       1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.9758       1.0000         .10000E-03   10000.    
    17 'Prefactor '    27.982       1.0000         .10000E-03   10000.    
    18 'Prefactor '    12.298       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.8958       1.0000         .10000E-03   10000.    
    21 'norm      '    2.8306       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    4.0644       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'norm      '    5.6135       1.0000         .10000E-03   10000.    
    28 'Prefactor '    6.0318       1.0000         .10000E-03   10000.    
    29 'Prefactor '    32.683       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .65279       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .94933       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5635.235     FROM MIGRAD    STATUS=CONVERGED    789 CALLS     4182 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1250        1.9823        .70707E-06    .23184E-03
   2  Prefactor     51.900        63.414        .90290E-06    .25399E-04
   3  Prefactor     .10000E-03    8.0605        .16386E-05** at limit **
   4  Prefactor     11.928        10.130        .41262E-06   -.10326E-03
   5  Prefactor     35.437        21.769        .57372E-06   -.75634E-05
   6  norm          2.4093        1.5808        .12840E-08    .61659E-05
   7  Prefactor     .10000E-03    18.902        .28912E-06** at limit **
   8  Prefactor     130.44        122.08        .10925E-05    .97508E-05
   9  norm          1.6963        .90500        .56471E-08    .20886E-03
  10  Prefactor     10.292        12.592        .75084E-06    .32068E-04
  11  Prefactor     .10000E-03    27.403        .42903E-06** at limit **
  12  Prefactor     7.4263        4.4215        .10251E-05    .14342E-03
  13  Prefactor     16.024        18.444        .72950E-07   -.24537E-06
  14  Prefactor     .10000E-03    72.283        .34194E-06** at limit **
  15  norm          8.6416        6.7231        .21915E-06    .29125E-04
  16  Prefactor     3.4550        1823.5       -.22392E-03    .70963E-05
  17  Prefactor     27.982        12.697       -.17988E-06   -.20195E-04
  18  Prefactor     12.299        7.3711        .14121E-06    .75363E-04
  19  norm          .10000E-03    1.3627        .33104E-07** at limit **
  20  Prefactor     4.8972        9.0660        .76645E-05    .29566E-03
  21  norm          2.8307        .83808       -.96303E-07   -.22570E-03
  22  norm          .10000E-03    44.246        .31887E-06** at limit **
  23  Prefactor     4.0636        5.3716        .67176E-06    .71037E-05
  24  Prefactor     .10000E-03    33.085        .24345E-06** at limit **
  25  norm          .10000E-03    2.7856       -.95978E-07** at limit **
  26  Prefactor     .10000E-03    16.961        .24794E-07** at limit **
  27  norm          5.6135        2.2747       -.24884E-07    .22134E-04
  28  Prefactor     6.0318        8.0555        .41892E-05    .27378E-03
  29  Prefactor     32.679        57.948        .13404E-06    .83920E-05
  30  Normalizat    .65261        .27284       -.11275E-04   -.56138E-05
  31  Prefactor     .94940        .13543        .25892E-05   -.24741E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.12499
  Prefactor  = 51.9
  Prefactor  = 0.0001
  Prefactor  = 11.928
  Prefactor  = 35.4367
  norm       = 2.40934
  Prefactor  = 0.0001
  Prefactor  = 130.437
  norm       = 1.69625
  Prefactor  = 10.2918
  Prefactor  = 0.0001
  Prefactor  = 7.4263
  Prefactor  = 16.0241
  Prefactor  = 0.0001
  norm       = 8.64155
  Prefactor  = 3.45501
  Prefactor  = 27.9822
  Prefactor  = 12.2991
  norm       = 0.0001
  Prefactor  = 4.89718
  norm       = 2.83067
  norm       = 0.0001
  Prefactor  = 4.06362
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 5.61353
  Prefactor  = 6.03178
  Prefactor  = 32.6795
  Normalizat = 0.652613
  Prefactor  = 0.949395
 **********
 **   18 **HESSE 
 **********

 FCN=   5635.235     FROM HESSE     STATUS=OK           630 CALLS     4812 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1250        1.9262        .12756E-03   -1.5496    
   2  Prefactor     51.900        63.328        .55689E-04   -1.4266    
   3  Prefactor     .10000E-03    8.0856        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.928        10.073        .11600E-03   -1.5017    
   5  Prefactor     35.437        21.766        .67325E-04   -1.4517    
   6  norm          2.4093        1.5854        .74395E-04   -1.5398    
   7  Prefactor     .10000E-03    18.915        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     130.44        122.33        .35255E-04   -1.3419    
   9  norm          1.6963        .90356        .48731E-04   -1.5447    
  10  Prefactor     10.292        12.591        .12491E-03   -1.5066    
  11  Prefactor     .10000E-03    28.256        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     7.4263        4.4302        .57433E-03   -1.5163    
  13  Prefactor     16.024        18.440        .10005E-03   -1.4907    
  14  Prefactor     .10000E-03    72.389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          8.6416        6.7218        .13636E-03   -1.5120    
  16  Prefactor     3.4550        1947.1        .20228E-02   -1.5336    
  17  Prefactor     27.982        12.701        .75736E-04   -1.4650    
  18  Prefactor     12.299        7.3700        .11423E-03   -1.5006    
  19  norm          .10000E-03    1.3703        .85440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     4.8972        9.2421        .90893E-03   -1.5265    
  21  norm          2.8307        .83690        .35183E-04   -1.5371    
  22  norm          .10000E-03    44.273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     4.0636        5.3567        .18918E-03   -1.5305    
  24  Prefactor     .10000E-03    33.143        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    2.7912        .12227E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    16.973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  norm          5.6135        2.2743        .68750E-04   -1.5234    
  28  Prefactor     6.0318        8.1674        .81743E-03   -1.5217    
  29  Prefactor     32.679        58.087        .70090E-04   -1.4564    
  30  Normalizat    .65261        .29842        .40694E-03   -1.0579    
  31  Prefactor     .94940        .15139        .18777E-03   -.94436    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.99028e-10
Minuit parameter uncertainties:
  1  1.92628
  2  63.4101
  3  3.58684e-05
  4  10.0746
  5  21.7704
  6  1.58539
  7  8.00418e-05
  8  122.57
  9  0.903568
  10  12.5942
  11  1.29325e-05
  12  4.43043
  13  18.4468
  14  5.45034e-05
  15  6.72243
  16  169.921
  17  12.7019
  18  7.37057
  19  1.88523e-06
  20  9.24482
  21  0.836899
  22  0.000192562
  23  5.35736
  24  7.61644e-07
  25  3.45628e-07
  26  1.90281e-05
  27  2.27433
  28  8.16895
  29  58.1881
  30  0.299161
  31  0.151455
Done.

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

Extracting fit parameters...

4FGL J0203.7+3042
   Spectrum: LogParabola
255         norm:  8.642e+00  6.722e+00  1.000e-04  1.000e+04 ( 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  0.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.494e-01  1.515e-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:  6.526e-01  2.992e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.65
Ra Dec: 30.933 30.714
Photon Index (Fixed Index): 2.14 +/- 0.00
Photon Flux (Fixed Index): 6.33e-08 +/- 4.93e-08
Energy Flux (Fixed Index): 2.91e-05 +/- 2.27e-05

TS (Fixed Index): 3.65
Ra Dec: 30.933 30.714
Photon Flux Upper Limit: 1.61e-07 ph cm-2 s-1
Energy Flux Upper Limit: 7.42e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/69432/likelihoodResults_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.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) = 5634.63643933
delta logL = 0.598168490603

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5634.6157025
delta logL = 0.618905326612

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.9277       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.7598       1.0000          .0000       5.0000    
     3 'Normalizat'    .61348       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96093       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=   5634.616     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      237 TOTAL
                     EDM=   .75E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.9277        74.045        .41233E-02    .36711E-03
   2  alpha         2.7598        3.8799        .25100        .54181E-04
   3  Normalizat    .61343        .10909        .94398E-01    .32591E-04
   4  Prefactor     .96096        .54765E-01    .45777E-01    .97476E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 5.92773
  alpha      = 2.75984
  Normalizat = 0.613427
  Prefactor  = 0.960958
 **********
 **   18 **HESSE 
 **********

 FCN=   5634.616     FROM HESSE     STATUS=OK            33 CALLS      270 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.9277        5.5960        .10281E-03   -1.5221    
   2  alpha         2.7598        .61506        .99922E-02    .10412    
   3  Normalizat    .61343        .26479        .41828E-03   -1.0742    
   4  Prefactor     .96096        .14508        .18661E-03   -.94042    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.62103e-09
Minuit parameter uncertainties:
  1  5.59648
  2  0.621514
  3  0.265334
  4  0.145141
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/69432': 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) = 5634.61570246
delta logL = 0.61890536549

Extracting fit parameters...

4FGL J0203.7+3042
   Spectrum: LogParabola
255         norm:  5.928e+00  5.596e+00  1.000e-04  1.000e+04 ( 1.000e-12)
256        alpha:  2.760e+00  6.215e-01  0.000e+00  5.000e+00 ( 1.000e+00)
257         beta:  9.853e-02  0.000e+00  0.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.610e-01  1.451e-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:  6.134e-01  2.653e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.99
Ra Dec: 30.933 30.714
Photon Index (Free Index): 2.76 +/- 0.62
Photon Flux (Free Index): 1.03e-07 +/- 6.47e-08
Energy Flux (Free Index): 2.55e-05 +/- 1.58e-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/69432/cmap_HighResolution_429840001_430099201_4FGL_J0203.7+3042_daily_bin735.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.42e-05', comment='SUCCESS', photon_flux='6.33e-08', energy_flux2='2.55e-05', photon_flux_error='4.93e-08', dlogl='6.19e-01', energy_flux='2.91e-05', photon_flux2='1.03e-07', job_status='DONE', time_completed='2021-08-15 05:02:06.742653', photon_index_error2='0.62', photon_index2='2.76', ts='3.65', fit_tolerance='1e-08', GAL='0.95', photon_index_error='0.00', photon_flux_upper_limit='1.61e-07', energy_flux_error2='1.58e-05', EG='0.65', time_epoch_completed='1629028926.74', return_code='0', job_id='69432', GAL2='0.96', EG2='0.61', return_code2='0', energy_flux_error='2.27e-05', photon_flux_error2='6.47e-08', ts2='4.99', photon_index='2.14' WHERE bin_id='735' AND source_name='4FGL J0203.7+3042' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Aug 15 05:02:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0135>
Subject: Job 69432: <4FGL_J0203.7+3042_daily_bin735> in cluster <slac> Done

Job <4FGL_J0203.7+3042_daily_bin735> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Aug 15 04:45:43 2021
Job was executed on host(s) <bullet0135>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Aug 15 04:48:25 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Aug 15 04:48:25 2021
Terminated at Sun Aug 15 05:02:07 2021
Results reported at Sun Aug 15 05:02:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0203.7+3042_daily_bin735 30.9327 30.7139 429840001 430099201 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 :                                   765.21 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             304.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   822 sec.
    Turnaround time :                            984 sec.

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

