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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1401
RA = 180.833, Dec = 11.3231
tmin = 602467201, tmax = 602726401
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='293488', job_status='RUN', time_executed='2021-09-04 22:24:42.468250', time_epoch_executed='1630819482.47' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1401'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293488

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293488/ft1_4FGL_J1203.3+1119_daily_bin1401.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293488/ft2_4FGL_J1203.3+1119_daily_bin1401.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293488/ft1_4FGL_J1203.3+1119_daily_bin1401.fits outfile=/scratch/kocevski/293488/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1401.fits ra=180.833 dec=11.3231 rad=12.0 tmin=602467201.0 tmax=602726401.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.21
user 2.99
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293488/ft1_filtered_4FGL_J1203.3+1119_daily_bin1401.fits" evtable="EVENTS" scfile=/scratch/kocevski/293488/ft2_4FGL_J1203.3+1119_daily_bin1401.fits sctable="SC_DATA" outfile=/scratch/kocevski/293488/ltcube_602467201_602726401_4FGL_J1203.3+1119_daily_bin1401.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/293488/ft2_4FGL_J1203.3+1119_daily_bin1401.fits
.....................!
real 13.28
user 12.90
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293488/ft1_filtered_4FGL_J1203.3+1119_daily_bin1401.fits evtable="EVENTS" scfile=/scratch/kocevski/293488/ft2_4FGL_J1203.3+1119_daily_bin1401.fits sctable="SC_DATA" expcube=/scratch/kocevski/293488/ltcube_602467201_602726401_4FGL_J1203.3+1119_daily_bin1401.fits outfile=/scratch/kocevski/293488/expmap_602467201_602726401_4FGL_J1203.3+1119_daily_bin1401.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/293488/ltcube_602467201_602726401_4FGL_J1203.3+1119_daily_bin1401.fits
.....................!
real 191.30
user 186.26
sys 4.50

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/293488/ft1_filtered_4FGL_J1203.3+1119_daily_bin1401.fits scfile=/scratch/kocevski/293488/ft2_4FGL_J1203.3+1119_daily_bin1401.fits outfile=/scratch/kocevski/293488/cmap_602467201_602726401_4FGL_J1203.3+1119_daily_bin1401.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.56
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293488/ft1_filtered_4FGL_J1203.3+1119_daily_bin1401.fits scfile=/scratch/kocevski/293488/ft2_4FGL_J1203.3+1119_daily_bin1401.fits outfile=/scratch/kocevski/293488/cmap_HighResolution_602467201_602726401_4FGL_J1203.3+1119_daily_bin1401.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.58
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .14161E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    22.060       1.0000         .10000E-03   10000.    
     3 'Prefactor '    26.539       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10063E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    248.69       1.0000         .10000E-03   10000.    
     6 'Prefactor '    6.2421       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10200E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10944E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.615       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .11846E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10135E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.0720       1.0000         .10000E-03   10000.    
    16 'Prefactor '    2.4309       1.0000         .10000E-03   10000.    
    17 'norm      '    .14088       1.0000         .10000E-03   10000.    
    18 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .14841E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .86493       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10263E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    37.407       1.0000         .10000E-03   10000.    
    23 'norm      '    4.2503       1.0000         .10000E-03   10000.    
    24 'Prefactor '    76.817       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1752       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90224       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=   1811.243     FROM MIGRAD    STATUS=CONVERGED    604 CALLS     3659 TOTAL
                     EDM=   .92E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    69.518       -.34495E-04** at limit **
   2  Prefactor     22.193        378.53        .26367E-03    .64595E-05
   3  Prefactor     26.514        35.674       -.70426E-05   -.27324E-04
   4  Prefactor     .10000E-03    23.826        .31241E-04** at limit **
   5  Prefactor     248.47        436.99       -.14245E-03   -.25735E-04
   6  Prefactor     6.3037        56.245        .36699E-04   -.70627E-04
   7  Prefactor     .10000E-03    10.731        .43492E-06** at limit **
   8  Prefactor     .10007E-03    183.83        .82717E-04** at limit **
   9  Prefactor     17.626        16.180       -.15629E-05   -.15937E-04
  10  Prefactor     .10000E-03    97.359        .44650E-04** at limit **
  11  Prefactor     .10000E-03    57.203       -.91896E-05** at limit **
  12  Prefactor     .10000E-03    2.4538       -.99727E-07** at limit **
  13  Prefactor     .10000E-03    2.0149       -.38593E-07** at limit **
  14  Prefactor     .10000E-03    24.188       -.33282E-04** at limit **
  15  norm          5.0752        5.5614        .20276E-05    .47769E-03
  16  Prefactor     2.3646        558.33       -.25137E-03    .30294E-04
  17  norm          .14081        .53920       -.56479E-06   -.98109E-03
  18  norm          .10000E-03    40.167        .12227E-04** at limit **
  19  Prefactor     .10002E-03    278.60       -.14316E-03** at limit **
  20  norm          .86452        1.0046       -.60387E-07    .51848E-03
  21  Prefactor     .10000E-03    11.758       -.18544E-06** at limit **
  22  Prefactor     37.467        37.412        .92494E-05    .28049E-04
  23  norm          4.2514        2.8485        .60773E-07    .38308E-03
  24  Prefactor     76.818        86.118        .39965E-06    .14407E-04
  25  Normalizat    1.1756        .42056       -.27456E-05    .20368E-03
  26  Prefactor     .90189        .32774        .10895E-04    .55790E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100013
  Prefactor  = 22.1927
  Prefactor  = 26.5142
  Prefactor  = 0.0001
  Prefactor  = 248.47
  Prefactor  = 6.30367
  Prefactor  = 0.0001
  Prefactor  = 0.000100073
  Prefactor  = 17.6261
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.07524
  Prefactor  = 2.36459
  norm       = 0.140812
  norm       = 0.0001
  Prefactor  = 0.000100019
  norm       = 0.864521
  Prefactor  = 0.0001
  Prefactor  = 37.4667
  norm       = 4.25136
  Prefactor  = 76.8177
  Normalizat = 1.17563
  Prefactor  = 0.90189
 **********
 **   18 **HESSE 
 **********

 FCN=   1811.243     FROM HESSE     STATUS=OK           450 CALLS     4109 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    69.781        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     22.193        386.30        .85280E-04   -1.4765    
   3  Prefactor     26.514        35.676        .77763E-04   -1.4678    
   4  Prefactor     .10000E-03    23.842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     248.47        441.05        .12843E-03   -1.2542    
   6  Prefactor     6.3037        55.060        .16067E-03   -1.5206    
   7  Prefactor     .10000E-03    10.749        .13616E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10007E-03    185.33        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     17.626        16.189        .95429E-04   -1.4868    
  10  Prefactor     .10000E-03    97.343        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    57.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.4565        .65086E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.0188        .58995E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    24.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.0752        5.5264        .96277E-04   -1.5257    
  16  Prefactor     2.3646        564.96        .26246E-03   -1.5400    
  17  norm          .14081        .55353        .56027E-03   -1.5633    
  18  norm          .10000E-03    40.170        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10002E-03    277.89        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .86452        .97675        .41852E-04   -1.5522    
  21  Prefactor     .10000E-03    11.796        .14252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     37.467        37.569        .32765E-03   -1.4483    
  23  norm          4.2514        2.8456        .55946E-04   -1.5296    
  24  Prefactor     76.818        86.227        .45816E-04   -1.3953    
  25  Normalizat    1.1756        .49765        .27710E-03   -.87359    
  26  Prefactor     .90189        .38083        .27137E-03   -.96075    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97175e-09
Minuit parameter uncertainties:
  1  0.00187026
  2  186.607
  3  35.7051
  4  3.09851e-05
  5  447.18
  6  37.3058
  7  0.000114788
  8  0.00739581
  9  16.1934
  10  0.000275721
  11  0.000806247
  12  6.01019e-06
  13  6.26613e-06
  14  0.000214048
  15  5.52699
  16  73.814
  17  0.553547
  18  3.94339e-05
  19  0.00459033
  20  0.976768
  21  4.3514e-05
  22  37.5928
  23  2.8457
  24  86.3683
  25  0.499671
  26  0.381958
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  2.757e-04  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.019e-01  3.820e-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.176e+00  4.997e-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: 1.78e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.37e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/293488/likelihoodResults_602467201_602726401_4FGL_J1203.3+1119_daily_bin1401.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) = 1811.24328266
delta logL = -4.88064340516e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1811.24323415
delta logL = -2.99480689137e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11270E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6347       1.0000          .0000       10.000    
     3 'Normalizat'    1.1756       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90190       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=   1811.243     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      282 TOTAL
                     EDM=   .72E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10245E-03    40.801        .18142E-01** at limit **
   2  Index         2.5623        5.8532        .50000        .36764E-05
   3  Normalizat    1.1756        .69941E-02    .27710E-03    .37950E-06
   4  Prefactor     .90190        .61206E-02    .27136E-03   -.36658E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102449
  Index      = 2.56226
  Normalizat = 1.17562
  Prefactor  = 0.901895
 **********
 **   18 **HESSE 
 **********

 FCN=   1811.243     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      311 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10245E-03    242.08        .36269E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5623        7.6560        .50000       -.50928    
   3  Normalizat    1.1756        .17132E-01    .11084E-04   -.87359    
   4  Prefactor     .90190        .14992E-01    .10854E-04   -.96075    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.27487e-10
Minuit parameter uncertainties:
  1  0.0488937
  2  398.172
  3  0.0171317
  4  0.0149923
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293488': 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) = 1811.24323401
delta logL = -1.59955334311e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.024e-04  4.889e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.562e+00  3.982e+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:  9.019e-01  1.499e-02  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.176e+00  1.713e-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/293488/cmap_HighResolution_602467201_602726401_4FGL_J1203.3+1119_daily_bin1401.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.37e-02', job_status='DONE', photon_flux_upper_limit='1.78e-07', time_completed='2021-09-04 22:32:39.112329', job_id='293488', GAL2='0.90', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1630819959.11', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.90', dlogl='-1.60e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1401' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:32:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 293488: <4FGL_J1203.3+1119_daily_bin1401> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1401> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:20:45 2021
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:20:48 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:20:48 2021
Terminated at Sat Sep  4 22:32:39 2021
Results reported at Sat Sep  4 22:32:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1401 180.833 11.3231 602467201 602726401 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 :                                   464.36 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             215.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   712 sec.
    Turnaround time :                            714 sec.

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

