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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1020
RA = 180.833, Dec = 11.3231
tmin = 503712001, tmax = 503971201
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='292019', job_status='RUN', time_executed='2021-09-04 22:17:43.363278', time_epoch_executed='1630819063.36' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1020'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/292019

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/292019/ft1_4FGL_J1203.3+1119_daily_bin1020.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/292019/ft1_4FGL_J1203.3+1119_daily_bin1020.fits outfile=/scratch/kocevski/292019/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1020.fits ra=180.833 dec=11.3231 rad=12.0 tmin=503712001.0 tmax=503971201.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 5.62
user 5.28
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.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/292019/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1020.fits evtable="EVENTS" outfile="/scratch/kocevski/292019/ft1_filtered_4FGL_J1203.3+1119_daily_bin1020.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.66
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/292019/ft1_filtered_4FGL_J1203.3+1119_daily_bin1020.fits" evtable="EVENTS" scfile=/scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits sctable="SC_DATA" outfile=/scratch/kocevski/292019/ltcube_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.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/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits
.....................!
real 13.06
user 12.62
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/292019/ft1_filtered_4FGL_J1203.3+1119_daily_bin1020.fits evtable="EVENTS" scfile=/scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits sctable="SC_DATA" expcube=/scratch/kocevski/292019/ltcube_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.fits outfile=/scratch/kocevski/292019/expmap_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.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/292019/ltcube_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.fits
.....................!
real 190.44
user 184.92
sys 5.02

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

Setting source of interest to:
4FGL J1203.3+1119 @ 180.833 11.3231

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/292019/ft1_filtered_4FGL_J1203.3+1119_daily_bin1020.fits scfile=/scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits outfile=/scratch/kocevski/292019/cmap_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.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=180.833 yref=11.3231 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.52
user 0.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/292019/ft1_filtered_4FGL_J1203.3+1119_daily_bin1020.fits scfile=/scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits outfile=/scratch/kocevski/292019/cmap_HighResolution_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.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=180.833 yref=11.3231 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/292019/ft1_filtered_4FGL_J1203.3+1119_daily_bin1020.fits evtable="EVENTS" scfile=/scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/292019/Model_4FGL_J1203.3+1119_daily_bin1020.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/292019/ft1_filtered_4FGL_J1203.3+1119_daily_bin1020.fits.....................!
real 59.02
user 57.52
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/292019/ft1_filtered_4FGL_J1203.3+1119_daily_bin1020.fits', '/scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits', expMap='/scratch/kocevski/292019/expmap_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.fits', expCube='/scratch/kocevski/292019/ltcube_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/292019/Model_4FGL_J1203.3+1119_daily_bin1020.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1203.3+1119'

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  8.766e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/292019/ft1_filtered_4FGL_J1203.3+1119_daily_bin1020.fits
Spacecraft file(s): /scratch/kocevski/292019/ft2_4FGL_J1203.3+1119_daily_bin1020.fits
Exposure map: /scratch/kocevski/292019/expmap_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.fits
Exposure cube: /scratch/kocevski/292019/ltcube_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/292019/Model_4FGL_J1203.3+1119_daily_bin1020.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) = 6070.54265442

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2972       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.172       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10348E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.2553       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    9.4662       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10601E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    77.742       1.0000         .10000E-03   10000.    
    20 'norm      '    2.9863       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.3151       1.0000         .10000E-03   10000.    
    22 'Prefactor '    20.165       1.0000         .10000E-03   10000.    
    23 'norm      '    .10042E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .21608E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.9441       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .64227       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6070.534     FROM MIGRAD    STATUS=CONVERGED    640 CALLS     3103 TOTAL
                     EDM=   .30E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.6381        .13710E-06** at limit **
   2  Prefactor     5.2982        16.018        .17166E-06   -.12763E-05
   3  Prefactor     12.171        10.004        .96001E-07   -.10280E-04
   4  Prefactor     .10000E-03    27.863        .30445E-06** at limit **
   5  Prefactor     .10000E-03    120.75        .52187E-06** at limit **
   6  Prefactor     .10000E-03    5.4957        .15195E-06** at limit **
   7  Prefactor     .10000E-03    6.6200        .32369E-06** at limit **
   8  Prefactor     .10000E-03    10.556        .19646E-06** at limit **
   9  Prefactor     .10000E-03    5.5277        .39220E-06** at limit **
  10  Prefactor     .10000E-03    31.531        .62730E-07** at limit **
  11  Prefactor     .10000E-03    69.640        .81873E-06** at limit **
  12  Prefactor     .10000E-03    2.0667       -.69874E-06** at limit **
  13  Prefactor     1.2637        3.5811        .19320E-05    .31759E-03
  14  Prefactor     .10000E-03    24.824       -.89111E-06** at limit **
  15  norm          9.4686        5.6215        .31660E-06    .73290E-05
  16  Prefactor     .10000E-03    19.803       -.23272E-05** at limit **
  17  norm          .10000E-03    .93661E-01    .66454E-07** at limit **
  18  norm          .10000E-03    47.962       -.38450E-06** at limit **
  19  Prefactor     77.145        142.19       -.16630E-05   -.95923E-05
  20  norm          2.9862        .96828       -.89816E-08    .80460E-04
  21  Prefactor     9.3137        13.370        .29503E-07   -.13007E-04
  22  Prefactor     20.145        35.091        .87163E-07   -.14271E-04
  23  norm          .10000E-03    1.1576       -.52005E-06** at limit **
  24  Prefactor     .10000E-03    200.59        .13888E-05** at limit **
  25  Normalizat    1.9446        .25598       -.32092E-05    .19037E-03
  26  Prefactor     .64182        .21340        .34523E-05   -.75831E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 5.29824
  Prefactor  = 12.1712
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.26369
  Prefactor  = 0.0001
  norm       = 9.46857
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 77.1446
  norm       = 2.98619
  Prefactor  = 9.31375
  Prefactor  = 20.1452
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.9446
  Prefactor  = 0.641825
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.534     FROM HESSE     STATUS=OK           452 CALLS     3555 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.6482        .16388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.2982        16.008        .17463E-03   -1.5248    
   3  Prefactor     12.171        10.003        .11482E-03   -1.5010    
   4  Prefactor     .10000E-03    27.929        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    120.84        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    5.5124        .17839E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    6.6611        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    10.584        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    5.7572        .35731E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    31.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    69.951        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.6581        .21015E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     1.2637        3.6547        .23898E-03   -1.5483    
  14  Prefactor     .10000E-03    24.874        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          9.4686        5.6184        .12403E-03   -1.5092    
  16  Prefactor     .10000E-03    19.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .10186        .46367E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    48.020        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     77.145        142.45        .22772E-03   -1.3949    
  20  norm          2.9862        .96981        .38963E-04   -1.5362    
  21  Prefactor     9.3137        13.328        .13131E-03   -1.5098    
  22  Prefactor     20.145        35.002        .89195E-04   -1.4810    
  23  norm          .10000E-03    1.1816        .16239E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    201.86        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.9446        .27261        .24730E-03   -.65946    
  26  Prefactor     .64182        .23113        .34476E-03   -1.0585    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.45523e-10
Minuit parameter uncertainties:
  1  1.32366e-06
  2  16.0208
  3  10.0046
  4  5.56224e-06
  5  9.71353e-05
  6  3.51943e-06
  7  6.5679e-06
  8  4.71231e-06
  9  1.01758e-05
  10  4.05197e-06
  11  3.58972e-05
  12  9.58076e-05
  13  3.65539
  14  5.65872e-06
  15  5.61869
  16  3.86855e-06
  17  1.42361e-07
  18  2.54261e-05
  19  143.087
  20  0.969814
  21  13.3325
  22  35.0372
  23  3.24991e-06
  24  7.91131e-05
  25  0.272829
  26  0.231475
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  4.052e-06  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  6.418e-01  2.315e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.945e+00  2.728e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 6.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.13e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/292019/likelihoodResults_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.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): 102
logL (Free Index) = 6070.53365859
delta logL = -0.000150614145241

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6070.53350891
delta logL = -9.27764631342e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11126E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6726       1.0000          .0000       10.000    
     3 'Normalizat'    1.9446       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64185       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6070.534     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      280 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10258E-03    11.318        .18142E-01** at limit **
   2  Index         2.6017        5.7505        .50000        .10957E-04
   3  Normalizat    1.9446        .39278E-02    .24730E-03    .11309E-04
   4  Prefactor     .64183        .33917E-02    .34475E-03    .17676E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102576
  Index      = 2.60168
  Normalizat = 1.94459
  Prefactor  = 0.641829
 **********
 **   18 **HESSE 
 **********

 FCN=   6070.534     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      309 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10258E-03    82.006        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6017        6.2362        .50000       -.50027    
   3  Normalizat    1.9446        .10609E-01    .98920E-05   -.65947    
   4  Prefactor     .64183        .91613E-02    .13790E-04   -1.0585    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.4624e-09
Minuit parameter uncertainties:
  1  0.0291084
  2  251.791
  3  0.0106092
  4  0.00916136
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/292019': 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) = 6070.53350852
delta logL = -5.38611857337e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.026e-04  2.911e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.602e+00  2.518e+02  0.000e+00  1.000e+01 (-1.000e+00)
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  6.418e-01  9.161e-03  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.945e+00  1.061e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.833 11.323

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/292019/cmap_HighResolution_503712001_503971201_4FGL_J1203.3+1119_daily_bin1020.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.13e-03', job_status='DONE', photon_flux_upper_limit='6.66e-08', time_completed='2021-09-04 22:31:49.696723', job_id='292019', GAL2='0.64', fit_tolerance='1e-08', EG2='1.94', EG='1.94', time_epoch_completed='1630819909.7', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.64', dlogl='-5.39e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1020' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:31:49 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0273>
Subject: Job 292019: <4FGL_J1203.3+1119_daily_bin1020> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1020> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 22:16:20 2021
Job was executed on host(s) <bullet0273>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:16:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 22:16:22 2021
Terminated at Sat Sep  4 22:31:50 2021
Results reported at Sat Sep  4 22:31:50 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1020 180.833 11.3231 503712001 503971201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1203.3+1119 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   780.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.76 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   927 sec.
    Turnaround time :                            930 sec.

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

