/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 134 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 = 7467
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1203.3+1119_daily_bin71
RA = 180.833, Dec = 11.3231
tmin = 257731201, tmax = 257990401
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='285592', job_status='RUN', time_executed='2021-09-04 21:58:13.293320', time_epoch_executed='1630817893.29' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='71'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285592

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285592/ft1_4FGL_J1203.3+1119_daily_bin71.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285592/ft2_4FGL_J1203.3+1119_daily_bin71.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285592/ft1_4FGL_J1203.3+1119_daily_bin71.fits outfile=/scratch/kocevski/285592/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin71.fits ra=180.833 dec=11.3231 rad=12.0 tmin=257731201.0 tmax=257990401.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 1.43
user 1.19
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285592/ft1_filtered_4FGL_J1203.3+1119_daily_bin71.fits evtable="EVENTS" scfile=/scratch/kocevski/285592/ft2_4FGL_J1203.3+1119_daily_bin71.fits sctable="SC_DATA" expcube=/scratch/kocevski/285592/ltcube_257731201_257990401_4FGL_J1203.3+1119_daily_bin71.fits outfile=/scratch/kocevski/285592/expmap_257731201_257990401_4FGL_J1203.3+1119_daily_bin71.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/285592/ltcube_257731201_257990401_4FGL_J1203.3+1119_daily_bin71.fits
.....................!
real 190.94
user 184.96
sys 5.51

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/285592/ft1_filtered_4FGL_J1203.3+1119_daily_bin71.fits scfile=/scratch/kocevski/285592/ft2_4FGL_J1203.3+1119_daily_bin71.fits outfile=/scratch/kocevski/285592/cmap_257731201_257990401_4FGL_J1203.3+1119_daily_bin71.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285592/ft1_filtered_4FGL_J1203.3+1119_daily_bin71.fits scfile=/scratch/kocevski/285592/ft2_4FGL_J1203.3+1119_daily_bin71.fits outfile=/scratch/kocevski/285592/cmap_HighResolution_257731201_257990401_4FGL_J1203.3+1119_daily_bin71.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/285592/ft1_filtered_4FGL_J1203.3+1119_daily_bin71.fits evtable="EVENTS" scfile=/scratch/kocevski/285592/ft2_4FGL_J1203.3+1119_daily_bin71.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/285592/Model_4FGL_J1203.3+1119_daily_bin71.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/285592/ft1_filtered_4FGL_J1203.3+1119_daily_bin71.fits.....................!
real 62.54
user 61.12
sys 1.25

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.876       1.0000         .10000E-03   10000.    
     2 'Prefactor '    33.732       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    65.933       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .24512E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.4430       1.0000         .10000E-03   10000.    
    11 'Prefactor '    46.351       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .92929       1.0000         .10000E-03   10000.    
    13 'Prefactor '    5.2199       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.3590       1.0000         .10000E-03   10000.    
    16 'Prefactor '    60.870       1.0000         .10000E-03   10000.    
    17 'norm      '    .28968       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    127.26       1.0000         .10000E-03   10000.    
    20 'norm      '    3.5478       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .71969E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    28.469       1.0000         .10000E-03   10000.    
    23 'norm      '    5.0015       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .76869       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .92336       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=   6610.353     FROM MIGRAD    STATUS=CONVERGED    613 CALLS     3158 TOTAL
                     EDM=   .40E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.874        12.777        .39138E-06    .32639E-04
   2  Prefactor     33.713        36.968       -.98901E-06   -.10635E-03
   3  Prefactor     .10000E-03    9.0139        .31839E-06** at limit **
   4  Prefactor     .10000E-03    5.6617        .81073E-07** at limit **
   5  Prefactor     65.927        59.535       -.30889E-06   -.24968E-04
   6  Prefactor     .10000E-03    3.9583       -.62491E-06** at limit **
   7  Prefactor     .10000E-03    3.3000        .64600E-06** at limit **
   8  Prefactor     .10000E-03    4.8135       -.64746E-06** at limit **
   9  Prefactor     .10000E-03    1.5858        .20572E-06** at limit **
  10  Prefactor     8.3823        86.972       -.11627E-04   -.96908E-04
  11  Prefactor     46.366        33.471        .15458E-06    .56409E-04
  12  Prefactor     .92896        2.2573        .76923E-06    .30553E-04
  13  Prefactor     5.2198        3.0490       -.14181E-06   -.27444E-03
  14  Prefactor     .10000E-03    7.9244       -.29671E-06** at limit **
  15  norm          6.3583        4.2706        .23804E-05   -.29760E-03
  16  Prefactor     60.872        38.034       -.45562E-06   -.32034E-04
  17  norm          .28966        .18304        .24494E-08   -.32363E-03
  18  norm          .10000E-03    15.190       -.43311E-06** at limit **
  19  Prefactor     127.21        116.50       -.39637E-05   -.82644E-04
  20  norm          3.5477        .86418       -.25190E-06    .22457E-03
  21  Prefactor     .10011E-03    7.7913        .13424E-05** at limit **
  22  Prefactor     28.499        23.458       -.80705E-06   -.48558E-04
  23  norm          5.0012        1.9058       -.62325E-07   -.17838E-03
  24  Prefactor     .10000E-03    58.078        .94459E-06** at limit **
  25  Normalizat    .76879        .17600       -.75311E-07   -.29339E-03
  26  Prefactor     .92341        .15226       -.11745E-05   -.26468E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.8741
  Prefactor  = 33.713
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 65.9271
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.38235
  Prefactor  = 46.3656
  Prefactor  = 0.928963
  Prefactor  = 5.21978
  Prefactor  = 0.0001
  norm       = 6.35827
  Prefactor  = 60.8724
  norm       = 0.289656
  norm       = 0.0001
  Prefactor  = 127.214
  norm       = 3.54773
  Prefactor  = 0.000100109
  Prefactor  = 28.4988
  norm       = 5.00124
  Prefactor  = 0.0001
  Normalizat = 0.768787
  Prefactor  = 0.923411
 **********
 **   18 **HESSE 
 **********

 FCN=   6610.353     FROM HESSE     STATUS=OK           458 CALLS     3616 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.874        12.794        .94731E-04   -1.4862    
   2  Prefactor     33.713        37.193        .68996E-04   -1.4546    
   3  Prefactor     .10000E-03    9.2527        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.6630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     65.927        59.558        .24713E-03   -1.4082    
   6  Prefactor     .10000E-03    3.9728        .15777E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    9.4487        .28421E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.8137        .17404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    2.9468        .19667E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     8.3823        91.613        .13796E-03   -1.5129    
  11  Prefactor     46.366        33.399        .58893E-04   -1.4345    
  12  Prefactor     .92896        2.1692        .17051E-03   -1.5515    
  13  Prefactor     5.2198        2.9992        .97844E-04   -1.5251    
  14  Prefactor     .10000E-03    7.9350        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.3583        4.3096        .59122E-03   -1.5204    
  16  Prefactor     60.872        38.030        .51428E-04   -1.4146    
  17  norm          .28966        .18063        .26791E-04   -1.5600    
  18  norm          .10000E-03    15.211        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     127.21        116.94        .17843E-03   -1.3447    
  20  norm          3.5477        .86573        .32292E-04   -1.5331    
  21  Prefactor     .10011E-03    74.610        .41360E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     28.499        22.573        .75087E-04   -1.4640    
  23  norm          5.0012        1.9048        .66112E-04   -1.5261    
  24  Prefactor     .10000E-03    58.257        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .76879        .20630        .27709E-03   -1.0124    
  26  Prefactor     .92341        .17789        .23575E-03   -.95328    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28007e-09
Minuit parameter uncertainties:
  1  12.796
  2  37.2182
  3  2.35161e-05
  4  3.41027e-06
  5  59.6124
  6  1.7619e-05
  7  0.000366457
  8  1.5814e-05
  9  3.01459e-05
  10  55.5312
  11  33.4124
  12  2.16943
  13  2.99924
  14  3.62292e-05
  15  4.30982
  16  38.0453
  17  0.180627
  18  6.59777e-05
  19  117.156
  20  0.86573
  21  0.00570733
  22  22.58
  23  1.9048
  24  0.000158284
  25  0.206506
  26  0.178004
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  8.382e+00  5.553e+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.234e-01  1.780e-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:  7.688e-01  2.065e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/285592/likelihoodResults_257731201_257990401_4FGL_J1203.3+1119_daily_bin71.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) = 6610.32492109
delta logL = 0.0281117001086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6610.32208172
delta logL = 0.0309510690295

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2839       1.0000         .10000E-03   10000.    
     2 'Index     '    2.9249       1.0000          .0000       10.000    
     3 'Normalizat'    .76284       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92603       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6610.322     FROM MIGRAD    STATUS=FAILED        97 CALLS      289 TOTAL
                     EDM=   .33E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2655        120.08        .16013E-03   -.23642E-04
   2  Index         2.9256        3.3415        .12937E-01    .21455E-03
   3  Normalizat    .76263        .19280        .27814E-03   -.24353E-03
   4  Prefactor     .92618        .17753        .23543E-03   -.38232E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6610.322     FROM SIMPLEX   STATUS=UNCHANGED     75 CALLS      364 TOTAL
                     EDM=   .18E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2655        120.08        .81134E-03   -1.5207    
   2  Index         2.9256        3.3415        .30015E-02   -.42782    
   3  Normalizat    .76263        .19280        .33452E-03   -1.0147    
   4  Prefactor     .92618        .17753        .30395E-03   -.95232    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6610.322     FROM MIGRAD    STATUS=CONVERGED     29 CALLS      393 TOTAL
                     EDM=   .42E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2652        51.576        .64052E-05   -.35143E-04
   2  Index         2.9256        2.3395        .25875E-02   -.66345E-06
   3  Normalizat    .76263        .19286        .11125E-04   -.10300E-03
   4  Prefactor     .92618        .17739        .47085E-04   -.15767E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.26518
  Index      = 2.92559
  Normalizat = 0.762626
  Prefactor  = 0.926185
 **********
 **   18 **HESSE 
 **********

 FCN=   6610.322     FROM HESSE     STATUS=OK            23 CALLS      416 TOTAL
                     EDM=   .39E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2652        46.652        .12810E-05   -1.5207    
   2  Index         2.9256        2.2332        .10350E-03   -.42781    
   3  Normalizat    .76263        .19291        .22251E-05   -1.0147    
   4  Prefactor     .92618        .17744        .94171E-05   -.95232    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.86521e-11
Minuit parameter uncertainties:
  1  34.2298
  2  2.33428
  3  0.193081
  4  0.177548
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285592': 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) = 6610.32208079
delta logL = 0.0309519998664

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  6.265e+00  3.423e+01  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.926e+00  2.334e+00  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.262e-01  1.775e-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:  7.626e-01  1.931e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
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/285592/cmap_HighResolution_257731201_257990401_4FGL_J1203.3+1119_daily_bin71.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.46e-03', job_status='DONE', photon_flux_upper_limit='7.10e-08', time_completed='2021-09-04 22:11:59.195390', job_id='285592', GAL2='0.93', fit_tolerance='1e-08', EG2='0.76', EG='0.77', time_epoch_completed='1630818719.2', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='3.10e-02', ts2='0.09', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='71' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:11:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0093>
Subject: Job 285592: <4FGL_J1203.3+1119_daily_bin71> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin71> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 21:55:44 2021
Job was executed on host(s) <bullet0093>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 21:55:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 21:55:47 2021
Terminated at Sat Sep  4 22:11:59 2021
Results reported at Sat Sep  4 22:11:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin71 180.833 11.3231 257731201 257990401 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 :                                   825.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             292.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   972 sec.
    Turnaround time :                            975 sec.

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

