/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 1 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 = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1203.3+1119_daily_bin874
RA = 180.833, Dec = 11.3231
tmin = 465868801, tmax = 466128001
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='291719', job_status='RUN', time_executed='2021-09-04 22:16:19.433341', time_epoch_executed='1630818979.43' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='874'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/291719

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/291719/ft1_4FGL_J1203.3+1119_daily_bin874.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/291719/ft2_4FGL_J1203.3+1119_daily_bin874.fits


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

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

Done.
real 5.26
user 3.72
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/291719/ft1_filtered_4FGL_J1203.3+1119_daily_bin874.fits evtable="EVENTS" scfile=/scratch/kocevski/291719/ft2_4FGL_J1203.3+1119_daily_bin874.fits sctable="SC_DATA" expcube=/scratch/kocevski/291719/ltcube_465868801_466128001_4FGL_J1203.3+1119_daily_bin874.fits outfile=/scratch/kocevski/291719/expmap_465868801_466128001_4FGL_J1203.3+1119_daily_bin874.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/291719/ltcube_465868801_466128001_4FGL_J1203.3+1119_daily_bin874.fits
.....................!
real 190.75
user 185.94
sys 4.31

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/291719/ft1_filtered_4FGL_J1203.3+1119_daily_bin874.fits scfile=/scratch/kocevski/291719/ft2_4FGL_J1203.3+1119_daily_bin874.fits outfile=/scratch/kocevski/291719/cmap_465868801_466128001_4FGL_J1203.3+1119_daily_bin874.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.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    20.938       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.114       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .14831E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.5566       1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.8325       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .50879E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.2803       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.618       1.0000         .10000E-03   10000.    
    15 'norm      '    5.9642       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10450E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .26593       1.0000         .10000E-03   10000.    
    18 'norm      '    88.309       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    4.3717       1.0000         .10000E-03   10000.    
    21 'Prefactor '    15.287       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10078E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .66652       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .74902       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3403       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=   5552.245     FROM MIGRAD    STATUS=CONVERGED    615 CALLS     2688 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          20.939        11.531        .97652E-07   -.11168E-04
   2  Prefactor     .10000E-03    8.0402        .62348E-08** at limit **
   3  Prefactor     14.117        12.707        .12413E-06   -.56496E-04
   4  Prefactor     .10000E-03    21.505       -.15343E-05** at limit **
   5  Prefactor     .10000E-03    38.685       -.24485E-04** at limit **
   6  Prefactor     .10000E-03    4.4327        .38213E-08** at limit **
   7  Prefactor     .10013E-03    7.1980        .29921E-05** at limit **
   8  Prefactor     6.5873        18.476       -.50873E-05   -.27691E-03
   9  Prefactor     1.8328        2.7852        .26950E-07   -.26125E-03
  10  Prefactor     .10000E-03    200.29        .81258E-04** at limit **
  11  Prefactor     .10000E-03    14.322       -.32520E-06** at limit **
  12  Prefactor     1.2803        2.7491       -.31332E-06   -.97471E-03
  13  Prefactor     .10000E-03    1.1761        .23880E-07** at limit **
  14  Prefactor     20.752        39.403        .23396E-04   -.17551E-04
  15  norm          5.9623        6.1214       -.13551E-05   -.59071E-03
  16  Prefactor     .10000E-03    21.206       -.41613E-05** at limit **
  17  norm          .26601        .26532        .12422E-07   -.14694E-02
  18  norm          88.289        59.102       -.64790E-05   -.15703E-04
  19  Prefactor     .10000E-03    58.722       -.35181E-04** at limit **
  20  norm          4.3717        1.1079        .14117E-06   -.32249E-03
  21  Prefactor     15.289        11.507       -.96589E-07   -.42194E-03
  22  Prefactor     .10000E-03    65.886        .39909E-04** at limit **
  23  norm          .66658        1.8708       -.45753E-06   -.12687E-02
  24  Prefactor     .10000E-03    34.829        .25625E-04** at limit **
  25  Normalizat    .74891        .21032       -.78929E-06   -.50024E-03
  26  Prefactor     1.3402        .19410       -.36463E-06   -.58333E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 20.9389
  Prefactor  = 0.0001
  Prefactor  = 14.1174
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100134
  Prefactor  = 6.58731
  Prefactor  = 1.83276
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 1.2803
  Prefactor  = 0.0001
  Prefactor  = 20.7519
  norm       = 5.96228
  Prefactor  = 0.0001
  norm       = 0.266008
  norm       = 88.2886
  Prefactor  = 0.0001
  norm       = 4.37173
  Prefactor  = 15.2888
  Prefactor  = 0.000100001
  norm       = 0.666581
  Prefactor  = 0.0001
  Normalizat = 0.748908
  Prefactor  = 1.34017
 **********
 **   18 **HESSE 
 **********

 FCN=   5552.245     FROM HESSE     STATUS=OK           454 CALLS     3142 TOTAL
                     EDM=   .75E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          20.939        11.529        .87533E-04   -1.4792    
   2  Prefactor     .10000E-03    8.0424        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     14.117        12.692        .10661E-03   -1.4956    
   4  Prefactor     .10000E-03    21.563        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    38.654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    4.4395        .15320E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10013E-03    23.618        .38357E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     6.5873        18.518        .15673E-03   -1.5195    
   9  Prefactor     1.8328        2.7479        .14580E-03   -1.5437    
  10  Prefactor     .10000E-03    201.54        .21149E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    14.330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     1.2803        2.7110        .16799E-03   -1.5482    
  13  Prefactor     .10000E-03    1.1850        .78767E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     20.752        39.317        .88208E-04   -1.4797    
  15  norm          5.9623        6.0863        .14464E-03   -1.5220    
  16  Prefactor     .10000E-03    21.245        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .26601        .25029        .36303E-03   -1.5605    
  18  norm          88.289        59.039        .21378E-03   -1.3826    
  19  Prefactor     .10000E-03    58.644        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          4.3717        1.1013        .19263E-04   -1.5290    
  21  Prefactor     15.289        11.501        .10244E-03   -1.4926    
  22  Prefactor     .10000E-03    66.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .66658        1.8488        .15980E-03   -1.5545    
  24  Prefactor     .10000E-03    34.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .74891        .24553        .31066E-03   -1.0199    
  26  Prefactor     1.3402        .22914        .23342E-03   -.82120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.47944e-09
Minuit parameter uncertainties:
  1  11.5305
  2  2.63447e-06
  3  12.694
  4  2.38106e-05
  5  1.32563e-05
  6  2.34977e-06
  7  0.00355912
  8  18.5343
  9  2.74807
  10  0.000806464
  11  3.50308e-05
  12  2.71122
  13  3.74093e-06
  14  39.3657
  15  6.08688
  16  4.81353e-05
  17  0.250287
  18  59.0779
  19  3.45854e-05
  20  1.10127
  21  11.5027
  22  0.000393788
  23  1.84897
  24  3.81379e-06
  25  0.24589
  26  0.229318
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  8.065e-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:  1.340e+00  2.293e-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.489e-01  2.459e-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: 8.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.73e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/291719/likelihoodResults_465868801_466128001_4FGL_J1203.3+1119_daily_bin874.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) = 5552.24511168
delta logL = -2.34991712205e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5552.24508817
delta logL = 1.31694832817e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3692       1.0000          .0000       10.000    
     3 'Normalizat'    .74891       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3402       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.

 FCN=   5552.245     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      246 TOTAL
                     EDM=   .40E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9883.0        .90712E-02** at limit **
   2  Index         2.4144        6.7689        .50000       -.18675E-05
   3  Normalizat    .74891        .73750E-01    .70200E-01    .92367E-06
   4  Prefactor     1.3402        .71988E-01    .52798E-01   -.21366E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.41444
  Normalizat = 0.74891
  Prefactor  = 1.34017
 **********
 **   18 **HESSE 
 **********

 FCN=   5552.245     FROM HESSE     STATUS=OK            31 CALLS      277 TOTAL
                     EDM=   .91E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    246.55        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4144        6.2040        .50000       -.54347    
   3  Normalizat    .74891        .23054        .31066E-03   -1.0199    
   4  Prefactor     1.3402        .22627        .23342E-03   -.82120    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.12846e-12
Minuit parameter uncertainties:
  1  0.00067843
  2  4.61441
  3  0.230837
  4  0.226437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/291719': 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) = 5552.24508815
delta logL = 3.2850948628e-08

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  6.784e-04  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.414e+00  4.614e+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:  1.340e+00  2.264e-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.489e-01  2.308e-01  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/291719/cmap_HighResolution_465868801_466128001_4FGL_J1203.3+1119_daily_bin874.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.75e-08', time_completed='2021-09-04 22:28:11.848023', job_id='291719', GAL2='1.34', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630819691.85', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.34', dlogl='3.29e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='874' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:28:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 291719: <4FGL_J1203.3+1119_daily_bin874> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin874 180.833 11.3231 465868801 466128001 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 :                                   706.24 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             354.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   728 sec.
    Turnaround time :                            730 sec.

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

