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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin918
RA = 180.833, Dec = 11.3231
tmin = 477273601, tmax = 477532801
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='291814', job_status='RUN', time_executed='2021-09-04 22:16:54.762173', time_epoch_executed='1630819014.76' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='918'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/291814

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/291814/ft1_4FGL_J1203.3+1119_daily_bin918.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/291814/ft2_4FGL_J1203.3+1119_daily_bin918.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/291814/ft1_4FGL_J1203.3+1119_daily_bin918.fits outfile=/scratch/kocevski/291814/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin918.fits ra=180.833 dec=11.3231 rad=12.0 tmin=477273601.0 tmax=477532801.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.62
user 3.39
sys 0.16

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/291814/ft1_filtered_4FGL_J1203.3+1119_daily_bin918.fits evtable="EVENTS" scfile=/scratch/kocevski/291814/ft2_4FGL_J1203.3+1119_daily_bin918.fits sctable="SC_DATA" expcube=/scratch/kocevski/291814/ltcube_477273601_477532801_4FGL_J1203.3+1119_daily_bin918.fits outfile=/scratch/kocevski/291814/expmap_477273601_477532801_4FGL_J1203.3+1119_daily_bin918.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/291814/ltcube_477273601_477532801_4FGL_J1203.3+1119_daily_bin918.fits
.....................!
real 191.15
user 186.58
sys 3.66

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/291814/ft1_filtered_4FGL_J1203.3+1119_daily_bin918.fits scfile=/scratch/kocevski/291814/ft2_4FGL_J1203.3+1119_daily_bin918.fits outfile=/scratch/kocevski/291814/cmap_477273601_477532801_4FGL_J1203.3+1119_daily_bin918.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=180.833 yref=11.3231 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/291814/ft1_filtered_4FGL_J1203.3+1119_daily_bin918.fits scfile=/scratch/kocevski/291814/ft2_4FGL_J1203.3+1119_daily_bin918.fits outfile=/scratch/kocevski/291814/cmap_HighResolution_477273601_477532801_4FGL_J1203.3+1119_daily_bin918.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.36
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.0044       1.0000         .10000E-03   10000.    
     2 'Prefactor '    76.102       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .32132E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10328E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    67.535       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13564E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10219E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .18282E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11833E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .41731E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10787       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.8039       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    1.0943       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13190E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .14998       1.0000         .10000E-03   10000.    
    18 'norm      '    .86902E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    66.009       1.0000         .10000E-03   10000.    
    20 'norm      '    2.5880       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.2721       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10027E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.8692       1.0000         .10000E-03   10000.    
    24 'Prefactor '    42.783       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1951       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .81575       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=   6987.166     FROM MIGRAD    STATUS=CONVERGED    635 CALLS     3177 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.0097        8.9941        .14089E-06    .38501E-04
   2  Prefactor     76.164        45.016        .55156E-06   -.78574E-05
   3  Prefactor     .10005E-03    7.2149        .18897E-05** at limit **
   4  Prefactor     .10000E-03    9.9751       -.20883E-07** at limit **
   5  Prefactor     67.721        95.216        .40966E-06    .41858E-05
   6  Prefactor     .10000E-03    3.7635        .67063E-06** at limit **
   7  Prefactor     .10000E-03    12.506        .52409E-06** at limit **
   8  Prefactor     .10000E-03    5.2927        .36923E-07** at limit **
   9  Prefactor     .10000E-03    1.7509       -.17650E-06** at limit **
  10  Prefactor     .10000E-03    19.237        .11544E-06** at limit **
  11  Prefactor     .10002E-03    90.061        .91864E-05** at limit **
  12  Prefactor     .11072        1.4177        .36928E-06   -.66785E-03
  13  Prefactor     2.8011        3.0409        .42762E-06    .16565E-03
  14  Prefactor     .10000E-03    11.088        .37252E-08** at limit **
  15  norm          1.0966        2.2284        .32894E-06    .50451E-03
  16  Prefactor     .10000E-03    8.5570       -.23404E-06** at limit **
  17  norm          .14999        .17683       -.38063E-07   -.12311E-02
  18  norm          .10000E-03    19.321       -.20891E-06** at limit **
  19  Prefactor     65.889        85.203       -.37515E-06   -.20128E-04
  20  norm          2.5878        .66837        .16652E-07    .90080E-04
  21  Prefactor     7.2746        6.5339        .24485E-07    .90127E-06
  22  Prefactor     .10000E-03    10.665       -.15500E-06** at limit **
  23  norm          3.8711        1.6746        .28615E-08    .25222E-04
  24  Prefactor     42.470        48.906        .13448E-06    .84562E-05
  25  Normalizat    1.1951        .19349       -.26735E-05   -.13460E-03
  26  Prefactor     .81576        .16942        .30242E-05   -.84965E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 6.00974
  Prefactor  = 76.1641
  Prefactor  = 0.000100052
  Prefactor  = 0.0001
  Prefactor  = 67.7213
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100016
  Prefactor  = 0.110722
  Prefactor  = 2.80113
  Prefactor  = 0.0001
  norm       = 1.09656
  Prefactor  = 0.0001
  norm       = 0.149994
  norm       = 0.0001
  Prefactor  = 65.889
  norm       = 2.58776
  Prefactor  = 7.27456
  Prefactor  = 0.0001
  norm       = 3.87109
  Prefactor  = 42.4699
  Normalizat = 1.19506
  Prefactor  = 0.815763
 **********
 **   18 **HESSE 
 **********

 FCN=   6987.166     FROM HESSE     STATUS=OK           462 CALLS     3639 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.0097        8.9858        .16386E-03   -1.5218    
   2  Prefactor     76.164        45.067        .46029E-04   -1.3960    
   3  Prefactor     .10005E-03    24.050        .36501E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.9859        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     67.721        95.227        .24420E-03   -1.4060    
   6  Prefactor     .10000E-03    3.7955        .15878E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    13.067        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.3008        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.7982        .21595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    19.240        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10002E-03    94.214        .19441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11072        8.2789        .17076E-02   -1.5641    
  13  Prefactor     2.8011        3.0115        .13756E-03   -1.5373    
  14  Prefactor     .10000E-03    11.103        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          1.0966        1.8880        .16542E-02   -1.5499    
  16  Prefactor     .10000E-03    8.5645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .14999        .16244        .36773E-03   -1.5631    
  18  norm          .10000E-03    19.375        .20852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     65.889        85.162        .24699E-03   -1.4083    
  20  norm          2.5878        .65164        .32004E-04   -1.5386    
  21  Prefactor     7.2746        6.5353        .14874E-03   -1.5168    
  22  Prefactor     .10000E-03    10.685        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.8711        1.6710        .68122E-04   -1.5314    
  24  Prefactor     42.470        48.903        .61289E-04   -1.4404    
  25  Normalizat    1.1951        .20934        .24608E-03   -.86756    
  26  Prefactor     .81576        .18197        .26295E-03   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.58336e-09
Minuit parameter uncertainties:
  1  8.98778
  2  45.0871
  3  0.0022467
  4  5.76906e-06
  5  95.4426
  6  3.71081e-05
  7  2.39907e-05
  8  1.22794e-06
  9  1.05747e-05
  10  1.30628e-05
  11  0.00248498
  12  1.91425
  13  3.01165
  14  4.80471e-06
  15  1.88811
  16  2.09495e-05
  17  0.162436
  18  3.85693e-05
  19  85.3199
  20  0.651639
  21  6.53595
  22  1.4325e-05
  23  1.67101
  24  48.9497
  25  0.209489
  26  0.182109
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.306e-05  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:  8.158e-01  1.821e-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.195e+00  2.095e-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: 4.22e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.24e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/291814/likelihoodResults_477273601_477532801_4FGL_J1203.3+1119_daily_bin918.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) = 6987.16651631
delta logL = -0.000246937295742

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6987.16627096
delta logL = -1.57859994943e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7296       1.0000          .0000       10.000    
     3 'Normalizat'    1.1951       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81577       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=   6987.166     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      279 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10434E-03    5.8937        .18142E-01** at limit **
   2  Index         2.6289        7.3097        .50000        .21838E-04
   3  Normalizat    1.1951        .28532E-02    .24609E-03   -.20096E-04
   4  Prefactor     .81576        .25837E-02    .26295E-03   -.59665E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000104338
  Index      = 2.62886
  Normalizat = 1.19506
  Prefactor  = 0.815763
 **********
 **   18 **HESSE 
 **********

 FCN=   6987.166     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      308 TOTAL
                     EDM=   .84E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10434E-03    64.244        .30213E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6289        5.8731        .50000       -.49409    
   3  Normalizat    1.1951        .94619E-02    .98435E-05   -.86755    
   4  Prefactor     .81576        .85685E-02    .10518E-04   -.99150    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.36636e-09
Minuit parameter uncertainties:
  1  0.0334228
  2  260.03
  3  0.00946192
  4  0.00856847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/291814': 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) = 6987.16627058
delta logL = -1.20494132716e-06

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.043e-04  3.342e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.629e+00  2.600e+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:  8.158e-01  8.568e-03  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.195e+00  9.462e-03  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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/291814/cmap_HighResolution_477273601_477532801_4FGL_J1203.3+1119_daily_bin918.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.24e-03', job_status='DONE', photon_flux_upper_limit='4.22e-08', time_completed='2021-09-04 22:30:55.224305', job_id='291814', GAL2='0.82', fit_tolerance='1e-08', EG2='1.20', EG='1.20', time_epoch_completed='1630819855.22', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.82', dlogl='-1.20e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='918' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:30:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 291814: <4FGL_J1203.3+1119_daily_bin918> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin918> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 22:16:07 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:16:09 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:09 2021
Terminated at Sat Sep  4 22:30:56 2021
Results reported at Sat Sep  4 22:30:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin918 180.833 11.3231 477273601 477532801 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 :                                   837.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             299.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   886 sec.
    Turnaround time :                            889 sec.

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

