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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1516
RA = 180.833, Dec = 11.3231
tmin = 632275201, tmax = 632534401
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='293638', job_status='RUN', time_executed='2021-09-04 22:21:44.021931', time_epoch_executed='1630819304.02' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1516'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293638

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293638/ft1_4FGL_J1203.3+1119_daily_bin1516.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293638/ft2_4FGL_J1203.3+1119_daily_bin1516.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293638/ft1_4FGL_J1203.3+1119_daily_bin1516.fits outfile=/scratch/kocevski/293638/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1516.fits ra=180.833 dec=11.3231 rad=12.0 tmin=632275201.0 tmax=632534401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.73
user 3.50
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293638/ft1_filtered_4FGL_J1203.3+1119_daily_bin1516.fits" evtable="EVENTS" scfile=/scratch/kocevski/293638/ft2_4FGL_J1203.3+1119_daily_bin1516.fits sctable="SC_DATA" outfile=/scratch/kocevski/293638/ltcube_632275201_632534401_4FGL_J1203.3+1119_daily_bin1516.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/293638/ft2_4FGL_J1203.3+1119_daily_bin1516.fits
.....................!
real 11.77
user 11.41
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293638/ft1_filtered_4FGL_J1203.3+1119_daily_bin1516.fits evtable="EVENTS" scfile=/scratch/kocevski/293638/ft2_4FGL_J1203.3+1119_daily_bin1516.fits sctable="SC_DATA" expcube=/scratch/kocevski/293638/ltcube_632275201_632534401_4FGL_J1203.3+1119_daily_bin1516.fits outfile=/scratch/kocevski/293638/expmap_632275201_632534401_4FGL_J1203.3+1119_daily_bin1516.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/293638/ltcube_632275201_632534401_4FGL_J1203.3+1119_daily_bin1516.fits
.....................!
real 191.37
user 186.01
sys 4.93

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/293638/ft1_filtered_4FGL_J1203.3+1119_daily_bin1516.fits scfile=/scratch/kocevski/293638/ft2_4FGL_J1203.3+1119_daily_bin1516.fits outfile=/scratch/kocevski/293638/cmap_632275201_632534401_4FGL_J1203.3+1119_daily_bin1516.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.53
user 0.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293638/ft1_filtered_4FGL_J1203.3+1119_daily_bin1516.fits scfile=/scratch/kocevski/293638/ft2_4FGL_J1203.3+1119_daily_bin1516.fits outfile=/scratch/kocevski/293638/cmap_HighResolution_632275201_632534401_4FGL_J1203.3+1119_daily_bin1516.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.53
user 0.38
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.859       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.0755       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.6531       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .13591E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.6629       1.0000         .10000E-03   10000.    
    10 'Prefactor '    98.262       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.689       1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.4427       1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.8230       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.0470       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10758       1.0000         .10000E-03   10000.    
    18 'norm      '    39.807       1.0000         .10000E-03   10000.    
    19 'Prefactor '    169.94       1.0000         .10000E-03   10000.    
    20 'norm      '    2.0274       1.0000         .10000E-03   10000.    
    21 'Prefactor '    3.7871       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.1092       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .98589       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .92582       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=   7291.057     FROM MIGRAD    STATUS=CONVERGED    589 CALLS     3041 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.859        9.9142       -.55938E-06    .29728E-06
   2  Prefactor     .10000E-03    18.057       -.41012E-05** at limit **
   3  Prefactor     5.0741        10.342       -.13727E-05   -.11871E-03
   4  Prefactor     .10000E-03    5.2455       -.16705E-06** at limit **
   5  Prefactor     .10000E-03    18.142       -.38761E-05** at limit **
   6  Prefactor     .10000E-03    2.4893        .59694E-07** at limit **
   7  Prefactor     9.6540        6.6478        .99714E-06   -.64415E-04
   8  Prefactor     .10000E-03    14.124        .57757E-05** at limit **
   9  Prefactor     1.6631        3.0159       -.36313E-06   -.72329E-03
  10  Prefactor     98.242        73.079       -.18118E-04   -.43333E-04
  11  Prefactor     11.662        25.062       -.37463E-04   -.93321E-04
  12  Prefactor     2.4420        3.1409       -.14398E-05   -.72180E-03
  13  Prefactor     4.8225        3.6240        .88533E-06   -.15264E-03
  14  Prefactor     .10000E-03    8.8053       -.53763E-06** at limit **
  15  norm          2.0538        3.8861        .89434E-05    .17716E-03
  16  Prefactor     .10000E-03    30.164        .95597E-05** at limit **
  17  norm          .10764        .18920       -.19620E-06   -.52649E-02
  18  norm          39.774        38.004       -.38465E-04   -.16217E-03
  19  Prefactor     169.90        116.03       -.31982E-04   -.44708E-04
  20  norm          2.0265        .61907        .24011E-06   -.41531E-02
  21  Prefactor     3.7874        8.3216       -.12574E-05   -.23681E-03
  22  Prefactor     .10000E-03    5.4017        .24893E-06** at limit **
  23  norm          3.1089        1.4128       -.31613E-07   -.47936E-03
  24  Prefactor     .10000E-03    19.166       -.21407E-05** at limit **
  25  Normalizat    .98620        .18165        .28590E-05   -.23236E-03
  26  Prefactor     .92552        .15858        .20426E-05   -.14260E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.8587
  Prefactor  = 0.0001
  Prefactor  = 5.07412
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.65397
  Prefactor  = 0.0001
  Prefactor  = 1.66314
  Prefactor  = 98.2424
  Prefactor  = 11.6615
  Prefactor  = 2.44196
  Prefactor  = 4.82246
  Prefactor  = 0.0001
  norm       = 2.05383
  Prefactor  = 0.0001
  norm       = 0.107639
  norm       = 39.7738
  Prefactor  = 169.901
  norm       = 2.02648
  Prefactor  = 3.78745
  Prefactor  = 0.0001
  norm       = 3.10895
  Prefactor  = 0.0001
  Normalizat = 0.986201
  Prefactor  = 0.925517
 **********
 **   18 **HESSE 
 **********

 FCN=   7291.057     FROM HESSE     STATUS=OK           460 CALLS     3501 TOTAL
                     EDM=   .16E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.859        9.9150        .11170E-03   -1.4991    
   2  Prefactor     .10000E-03    18.091        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.0741        10.306        .17847E-03   -1.5257    
   4  Prefactor     .10000E-03    5.2462        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.141        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.4925        .13156E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     9.6540        6.6443        .12898E-03   -1.5086    
   8  Prefactor     .10000E-03    14.229        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.6631        2.9685        .18677E-03   -1.5450    
  10  Prefactor     98.242        73.206        .20276E-03   -1.3722    
  11  Prefactor     11.662        25.095        .11717E-03   -1.5025    
  12  Prefactor     2.4420        3.0825        .14386E-03   -1.5395    
  13  Prefactor     4.8225        3.5874        .11956E-03   -1.5269    
  14  Prefactor     .10000E-03    8.8100        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.0538        3.7982        .18326E-03   -1.5421    
  16  Prefactor     .10000E-03    30.763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10764        .15931        .46984E-03   -1.5642    
  18  norm          39.774        37.762        .63530E-04   -1.4446    
  19  Prefactor     169.90        115.98        .15474E-03   -1.3094    
  20  norm          2.0265        .61532        .33480E-04   -1.5423    
  21  Prefactor     3.7874        8.3188        .20743E-03   -1.5319    
  22  Prefactor     .10000E-03    5.4033        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.1089        1.4101        .65799E-04   -1.5355    
  24  Prefactor     .10000E-03    19.175        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .98620        .21225        .26304E-03   -.93494    
  26  Prefactor     .92552        .18621        .24875E-03   -.95255    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.61233e-09
Minuit parameter uncertainties:
  1  9.91625
  2  3.75724e-05
  3  10.3101
  4  1.49538e-08
  5  3.42365e-05
  6  1.30157e-05
  7  6.64477
  8  0.000162414
  9  2.96872
  10  73.2736
  11  25.1179
  12  3.08275
  13  3.58751
  14  2.56135e-06
  15  3.79866
  16  3.66169e-05
  17  0.159308
  18  37.7849
  19  116.137
  20  0.615317
  21  8.32129
  22  5.63521e-06
  23  1.41015
  24  2.0507e-05
  25  0.212435
  26  0.18634
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  9.824e+01  7.327e+01  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:  9.255e-01  1.863e-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:  9.862e-01  2.124e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.01
Ra Dec: 180.833 11.323
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 4.05e-08 +/- 3.02e-08
Energy Flux (Fixed Index): 1.45e-05 +/- 1.08e-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) = 7291.04982031
delta logL = 0.00762424641744

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7291.03860348
delta logL = 0.0188410682895

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    82.392       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5062       1.0000          .0000       10.000    
     3 'Normalizat'    .97599       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93178       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=   7291.039     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      284 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     82.393        120.07        .44251E-04    .34067E-04
   2  Index         2.5062        1.0107        .59973E-02    .48271E-04
   3  Normalizat    .97599        .20996        .26425E-03    .41388E-04
   4  Prefactor     .93178        .18783        .24801E-03    .52303E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 82.3933
  Index      = 2.50616
  Normalizat = 0.975994
  Prefactor  = 0.93178
 **********
 **   18 **HESSE 
 **********

 FCN=   7291.039     FROM HESSE     STATUS=OK            25 CALLS      309 TOTAL
                     EDM=   .14E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     82.393        102.96        .88502E-05   -1.3890    
   2  Index         2.5062        .86630        .23989E-03   -.52218    
   3  Normalizat    .97599        .20771        .10570E-04   -.93839    
   4  Prefactor     .93178        .18680        .99204E-05   -.95039    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.42441e-11
Minuit parameter uncertainties:
  1  103.18
  2  0.872179
  3  0.207881
  4  0.186928
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293638': 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) = 7291.03860348
delta logL = 0.0188410719074

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  8.239e+01  1.032e+02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.506e+00  8.722e-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:  9.318e-01  1.869e-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:  9.760e-01  2.079e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.03
Ra Dec: 180.833 11.323
Photon Index (Free Index): 2.51 +/- 0.87
Photon Flux (Free Index): 4.75e-08 +/- 4.92e-08
Energy Flux (Free Index): 1.37e-05 +/- 1.02e-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/293638/cmap_HighResolution_632275201_632534401_4FGL_J1203.3+1119_daily_bin1516.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.05e-08', energy_flux2='1.37e-05', photon_flux_error='3.02e-08', dlogl='1.88e-02', energy_flux='1.45e-05', photon_flux2='4.75e-08', job_status='DONE', time_completed='2021-09-04 22:34:19.198548', photon_index_error2='0.87', photon_index2='2.51', ts='4.01', fit_tolerance='1e-08', GAL='0.93', photon_index_error='0.00', energy_flux_error2='1.02e-05', EG='0.99', time_epoch_completed='1630820059.2', return_code='0', job_id='293638', GAL2='0.93', EG2='0.98', return_code2='0', energy_flux_error='1.08e-05', photon_flux_error2='4.92e-08', ts2='4.03', photon_index='2.34' WHERE bin_id='1516' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:34:19 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 293638: <4FGL_J1203.3+1119_daily_bin1516> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1516> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:20:59 2021
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:21:00 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:21:00 2021
Terminated at Sat Sep  4 22:34:19 2021
Results reported at Sat Sep  4 22:34:19 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1516 180.833 11.3231 632275201 632534401 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 :                                   748.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             309.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   799 sec.
    Turnaround time :                            800 sec.

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

