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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin474
RA = 180.833, Dec = 11.3231
tmin = 362188801, tmax = 362448001
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='288499', job_status='RUN', time_executed='2021-09-04 22:07:04.293401', time_epoch_executed='1630818424.29' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='474'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288499

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288499/ft1_4FGL_J1203.3+1119_daily_bin474.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288499/ft2_4FGL_J1203.3+1119_daily_bin474.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288499/ft1_4FGL_J1203.3+1119_daily_bin474.fits outfile=/scratch/kocevski/288499/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin474.fits ra=180.833 dec=11.3231 rad=12.0 tmin=362188801.0 tmax=362448001.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 4.16
user 3.91
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/288499/ft2_4FGL_J1203.3+1119_daily_bin474.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/288499/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin474.fits evtable="EVENTS" outfile="/scratch/kocevski/288499/ft1_filtered_4FGL_J1203.3+1119_daily_bin474.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.33
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/288499/ft1_filtered_4FGL_J1203.3+1119_daily_bin474.fits" evtable="EVENTS" scfile=/scratch/kocevski/288499/ft2_4FGL_J1203.3+1119_daily_bin474.fits sctable="SC_DATA" outfile=/scratch/kocevski/288499/ltcube_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.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/288499/ft2_4FGL_J1203.3+1119_daily_bin474.fits
.....................!
real 12.38
user 12.01
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288499/ft1_filtered_4FGL_J1203.3+1119_daily_bin474.fits evtable="EVENTS" scfile=/scratch/kocevski/288499/ft2_4FGL_J1203.3+1119_daily_bin474.fits sctable="SC_DATA" expcube=/scratch/kocevski/288499/ltcube_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.fits outfile=/scratch/kocevski/288499/expmap_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.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/288499/ltcube_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.fits
.....................!
real 190.24
user 185.28
sys 4.38

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/288499/ft1_filtered_4FGL_J1203.3+1119_daily_bin474.fits scfile=/scratch/kocevski/288499/ft2_4FGL_J1203.3+1119_daily_bin474.fits outfile=/scratch/kocevski/288499/cmap_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288499/ft1_filtered_4FGL_J1203.3+1119_daily_bin474.fits scfile=/scratch/kocevski/288499/ft2_4FGL_J1203.3+1119_daily_bin474.fits outfile=/scratch/kocevski/288499/cmap_HighResolution_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.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.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/288499/ft1_filtered_4FGL_J1203.3+1119_daily_bin474.fits', '/scratch/kocevski/288499/ft2_4FGL_J1203.3+1119_daily_bin474.fits', expMap='/scratch/kocevski/288499/expmap_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.fits', expCube='/scratch/kocevski/288499/ltcube_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/288499/Model_4FGL_J1203.3+1119_daily_bin474.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/288499/ft1_filtered_4FGL_J1203.3+1119_daily_bin474.fits
Spacecraft file(s): /scratch/kocevski/288499/ft2_4FGL_J1203.3+1119_daily_bin474.fits
Exposure map: /scratch/kocevski/288499/expmap_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.fits
Exposure cube: /scratch/kocevski/288499/ltcube_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/288499/Model_4FGL_J1203.3+1119_daily_bin474.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) = 7732.96753365

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    19.341       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .49490       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    12.284       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .15443E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    174.54       1.0000         .10000E-03   10000.    
    11 'Prefactor '    25.952       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.6807       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.3677       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.552       1.0000         .10000E-03   10000.    
    17 'norm      '    1.6423       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.5421       1.0000         .10000E-03   10000.    
    21 'Prefactor '    12.593       1.0000         .10000E-03   10000.    
    22 'Prefactor '    29.983       1.0000         .10000E-03   10000.    
    23 'norm      '    5.6259       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1489       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0614       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=   7732.958     FROM MIGRAD    STATUS=CONVERGED    594 CALLS     3042 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          19.342        13.459        .12686E-06   -.66049E-04
   2  Prefactor     .10000E-03    11.564        .10402E-04** at limit **
   3  Prefactor     .49125        5.6319       -.21455E-06   -.97959E-04
   4  Prefactor     .10000E-03    10.269       -.92655E-05** at limit **
   5  Prefactor     .10000E-03    23.108        .23260E-04** at limit **
   6  Prefactor     .10000E-03    11.048        .75181E-05** at limit **
   7  Prefactor     .10000E-03    2.0580       -.92626E-07** at limit **
   8  Prefactor     12.283        17.764       -.40625E-05   -.11043E-03
   9  Prefactor     .10000E-03    2.5862        .90209E-07** at limit **
  10  Prefactor     174.56        107.14        .19028E-04   -.79078E-04
  11  Prefactor     25.953        28.494        .14278E-05   -.22528E-04
  12  Prefactor     1.6802        1.6922        .15033E-06   -.11906E-03
  13  Prefactor     .10000E-03    .70391        .43755E-07** at limit **
  14  Prefactor     .10000E-03    10.593       -.24559E-06** at limit **
  15  norm          4.3682        2.7663        .10034E-07   -.45183E-04
  16  Prefactor     12.552        14.990       -.13445E-07    .23770E-05
  17  norm          1.6423        .38834        .20682E-07   -.28302E-03
  18  norm          .10000E-03    15.574       -.10766E-04** at limit **
  19  Prefactor     .10000E-03    38.668       -.14922E-04** at limit **
  20  norm          1.5421        .55942        .24647E-07   -.22892E-04
  21  Prefactor     12.593        8.3637        .12936E-07   -.43712E-06
  22  Prefactor     29.983        24.481        .57113E-07   -.87298E-05
  23  norm          5.6259        1.8797        .28249E-07   -.22169E-04
  24  Prefactor     .10000E-03    15.317       -.10117E-04** at limit **
  25  Normalizat    1.1489        .19067       -.14948E-05   -.55017E-04
  26  Prefactor     1.0613        .16648       -.19405E-06   -.14026E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 19.342
  Prefactor  = 0.0001
  Prefactor  = 0.491255
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 12.2835
  Prefactor  = 0.0001
  Prefactor  = 174.564
  Prefactor  = 25.9535
  Prefactor  = 1.6802
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.36822
  Prefactor  = 12.5518
  norm       = 1.64228
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.54211
  Prefactor  = 12.5926
  Prefactor  = 29.983
  norm       = 5.62594
  Prefactor  = 0.0001
  Normalizat = 1.14891
  Prefactor  = 1.06133
 **********
 **   18 **HESSE 
 **********

 FCN=   7732.958     FROM HESSE     STATUS=OK           462 CALLS     3504 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          19.342        13.472        .91072E-04   -1.4828    
   2  Prefactor     .10000E-03    11.586        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .49125        51.469        .39273E-02   -1.5568    
   4  Prefactor     .10000E-03    10.290        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    23.160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    11.164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.0628        .12319E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     12.283        17.757        .11429E-03   -1.5007    
   9  Prefactor     .10000E-03    5.9436        .26952E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     174.56        106.79        .15273E-03   -1.3058    
  11  Prefactor     25.953        28.522        .78636E-04   -1.4689    
  12  Prefactor     1.6802        1.6856        .11085E-03   -1.5449    
  13  Prefactor     .10000E-03    .70681        .72030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    10.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.3682        2.7634        .10918E-03   -1.5290    
  16  Prefactor     12.552        14.990        .11307E-03   -1.4999    
  17  norm          1.6423        .38870        .25701E-04   -1.5452    
  18  norm          .10000E-03    15.595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    38.694        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5421        .55647        .37225E-04   -1.5460    
  21  Prefactor     12.593        8.3628        .11288E-03   -1.4998    
  22  Prefactor     29.983        24.487        .73171E-04   -1.4612    
  23  norm          5.6259        1.8789        .66869E-04   -1.5234    
  24  Prefactor     .10000E-03    15.329        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1489        .22777        .28498E-03   -.88197    
  26  Prefactor     1.0613        .19929        .26873E-03   -.90712    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.09322e-10
Minuit parameter uncertainties:
  1  13.4738
  2  2.21365e-06
  3  10.0646
  4  9.58257e-06
  5  1.2019e-05
  6  0.000263338
  7  6.83009e-07
  8  17.7644
  9  5.8239e-05
  10  106.909
  11  28.5372
  12  1.68567
  13  9.82171e-08
  14  2.13752e-07
  15  2.76349
  16  14.9944
  17  0.388701
  18  6.4608e-06
  19  2.91126e-06
  20  0.556473
  21  8.3636
  22  24.495
  23  1.87896
  24  3.78644e-06
  25  0.227963
  26  0.199429
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.746e+02  1.069e+02  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:  1.061e+00  1.994e-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.149e+00  2.280e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.49
Ra Dec: 180.833 11.323
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 7.20e-08 +/- 4.41e-08
Energy Flux (Fixed Index): 2.57e-05 +/- 1.57e-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) = 7732.94462315
delta logL = 0.0130468965572

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7732.93241965
delta logL = 0.025250401146

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    157.35       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4458       1.0000          .0000       10.000    
     3 'Normalizat'    1.1397       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0661       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=   7732.932     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      283 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     157.35        127.49        .32142E-04   -.34663E-05
   2  Index         2.4458        .50897        .54744E-02    .75536E-03
   3  Normalizat    1.1396        .22356        .28593E-03    .57255E-05
   4  Prefactor     1.0661        .20013        .26818E-03    .78850E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 157.351
  Index      = 2.44583
  Normalizat = 1.13964
  Prefactor  = 1.06611
 **********
 **   18 **HESSE 
 **********

 FCN=   7732.932     FROM HESSE     STATUS=OK            25 CALLS      308 TOTAL
                     EDM=   .24E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     157.35        120.16        .64284E-05   -1.3193    
   2  Index         2.4458        .47923        .10949E-02   -.53615    
   3  Normalizat    1.1396        .22347        .11437E-04   -.88489    
   4  Prefactor     1.0661        .20018        .10727E-04   -.90557    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.35659e-13
Minuit parameter uncertainties:
  1  120.347
  2  0.480231
  3  0.223652
  4  0.200323
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288499': 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) = 7732.93241964
delta logL = 0.0252504068858

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.574e+02  1.203e+02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.446e+00  4.802e-01  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:  1.066e+00  2.003e-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.140e+00  2.237e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.53
Ra Dec: 180.833 11.323
Photon Index (Free Index): 2.45 +/- 0.48
Photon Flux (Free Index): 8.02e-08 +/- 5.61e-08
Energy Flux (Free Index): 2.48e-05 +/- 1.41e-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/288499/cmap_HighResolution_362188801_362448001_4FGL_J1203.3+1119_daily_bin474.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.20e-08', energy_flux2='2.48e-05', photon_flux_error='4.41e-08', dlogl='2.53e-02', energy_flux='2.57e-05', photon_flux2='8.02e-08', job_status='DONE', time_completed='2021-09-04 22:20:10.259426', photon_index_error2='0.48', photon_index2='2.45', ts='7.49', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.41e-05', EG='1.15', time_epoch_completed='1630819210.26', return_code='0', job_id='288499', GAL2='1.07', EG2='1.14', return_code2='0', energy_flux_error='1.57e-05', photon_flux_error2='5.61e-08', ts2='7.53', photon_index='2.34' WHERE bin_id='474' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:20:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0073>
Subject: Job 288499: <4FGL_J1203.3+1119_daily_bin474> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin474> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:05:26 2021
Job was executed on host(s) <bullet0073>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:05:27 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:05:27 2021
Terminated at Sat Sep  4 22:20:11 2021
Results reported at Sat Sep  4 22:20:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin474 180.833 11.3231 362188801 362448001 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 :                                   782.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   884 sec.
    Turnaround time :                            885 sec.

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

