/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin983
RA = 180.833, Dec = 11.3231
tmin = 494121601, tmax = 494380801
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='291947', job_status='RUN', time_executed='2021-09-04 22:17:22.316216', time_epoch_executed='1630819042.32' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='983'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/291947

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/291947/ft1_4FGL_J1203.3+1119_daily_bin983.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/291947/ft2_4FGL_J1203.3+1119_daily_bin983.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/291947/ft1_4FGL_J1203.3+1119_daily_bin983.fits outfile=/scratch/kocevski/291947/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin983.fits ra=180.833 dec=11.3231 rad=12.0 tmin=494121601.0 tmax=494380801.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.75
user 3.50
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/291947/ft1_filtered_4FGL_J1203.3+1119_daily_bin983.fits" evtable="EVENTS" scfile=/scratch/kocevski/291947/ft2_4FGL_J1203.3+1119_daily_bin983.fits sctable="SC_DATA" outfile=/scratch/kocevski/291947/ltcube_494121601_494380801_4FGL_J1203.3+1119_daily_bin983.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/291947/ft2_4FGL_J1203.3+1119_daily_bin983.fits
.....................!
real 11.64
user 11.28
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/291947/ft1_filtered_4FGL_J1203.3+1119_daily_bin983.fits evtable="EVENTS" scfile=/scratch/kocevski/291947/ft2_4FGL_J1203.3+1119_daily_bin983.fits sctable="SC_DATA" expcube=/scratch/kocevski/291947/ltcube_494121601_494380801_4FGL_J1203.3+1119_daily_bin983.fits outfile=/scratch/kocevski/291947/expmap_494121601_494380801_4FGL_J1203.3+1119_daily_bin983.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/291947/ltcube_494121601_494380801_4FGL_J1203.3+1119_daily_bin983.fits
.....................!
real 191.02
user 186.62
sys 3.96

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/291947/ft1_filtered_4FGL_J1203.3+1119_daily_bin983.fits scfile=/scratch/kocevski/291947/ft2_4FGL_J1203.3+1119_daily_bin983.fits outfile=/scratch/kocevski/291947/cmap_494121601_494380801_4FGL_J1203.3+1119_daily_bin983.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.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/291947/ft1_filtered_4FGL_J1203.3+1119_daily_bin983.fits scfile=/scratch/kocevski/291947/ft2_4FGL_J1203.3+1119_daily_bin983.fits outfile=/scratch/kocevski/291947/cmap_HighResolution_494121601_494380801_4FGL_J1203.3+1119_daily_bin983.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.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.871       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10047E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .33057       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12095E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.3973       1.0000         .10000E-03   10000.    
    12 'Prefactor '    4.2481       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .22537E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    22.627       1.0000         .10000E-03   10000.    
    15 'norm      '    4.8961       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .30868       1.0000         .10000E-03   10000.    
    18 'norm      '    .10027E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.0478       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    3.7023       1.0000         .10000E-03   10000.    
    24 'Prefactor '    9.8958       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0564       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0856       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=   5883.233     FROM MIGRAD    STATUS=CONVERGED    628 CALLS     2693 TOTAL
                     EDM=   .24E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.874        18.279        .76328E-06   -.10687E-03
   2  Prefactor     .10000E-03    87.569        .15251E-04** at limit **
   3  Prefactor     .10000E-03    3.8614        .58520E-07** at limit **
   4  Prefactor     .10000E-03    11.582       -.30915E-05** at limit **
   5  Prefactor     .10000E-03    79.121       -.32926E-04** at limit **
   6  Prefactor     .10000E-03    7.5665       -.16038E-08** at limit **
   7  Prefactor     .10000E-03    11.053        .40093E-05** at limit **
   8  Prefactor     .10000E-03    9.5289       -.88827E-06** at limit **
   9  Prefactor     .29854        2.2622       -.65853E-07   -.73140E-04
  10  Prefactor     .10000E-03    132.48        .45897E-04** at limit **
  11  Prefactor     3.3906        78.238        .27831E-06   -.32911E-04
  12  Prefactor     4.2492        3.8818        .38664E-06   -.78791E-03
  13  Prefactor     .10000E-03    2.0135        .38894E-06** at limit **
  14  Prefactor     22.628        25.787        .96622E-06   -.55575E-04
  15  norm          4.8952        3.9713        .58862E-07   -.46530E-03
  16  Prefactor     .10000E-03    131.49        .44236E-04** at limit **
  17  norm          .30867        .22341        .36911E-07   -.78585E-03
  18  norm          .10000E-03    15.059        .90042E-07** at limit **
  19  Prefactor     .10000E-03    169.50       -.55230E-04** at limit **
  20  norm          1.0477        .65188        .56027E-07   -.71201E-03
  21  Prefactor     .10000E-03    3.7649        .74977E-10** at limit **
  22  Prefactor     .10000E-03    30.148        .11410E-05** at limit **
  23  norm          3.7020        2.0714       -.51852E-07   -.51030E-03
  24  Prefactor     9.9853        57.425        .12548E-03    .23913E-05
  25  Normalizat    1.0566        .19825       -.16270E-05   -.45788E-03
  26  Prefactor     1.0854        .17515       -.30449E-05   -.31077E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 40.8745
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.298536
  Prefactor  = 0.0001
  Prefactor  = 3.39064
  Prefactor  = 4.24916
  Prefactor  = 0.0001
  Prefactor  = 22.6276
  norm       = 4.89519
  Prefactor  = 0.0001
  norm       = 0.308668
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.04774
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.702
  Prefactor  = 9.98531
  Normalizat = 1.05665
  Prefactor  = 1.08535
 **********
 **   18 **HESSE 
 **********

 FCN=   5883.233     FROM HESSE     STATUS=OK           454 CALLS     3147 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.874        18.290        .62701E-04   -1.4428    
   2  Prefactor     .10000E-03    88.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.8703        .14718E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    79.212        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.6361        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    9.5663        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .29854        12.753        .21112E-02   -1.5599    
  10  Prefactor     .10000E-03    132.97        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     3.3906        77.979        .21950E-03   -1.5340    
  12  Prefactor     4.2492        3.5804        .12234E-03   -1.5296    
  13  Prefactor     .10000E-03    8.4133        .19160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     22.628        25.768        .84207E-04   -1.4756    
  15  norm          4.8952        3.9454        .12327E-03   -1.5265    
  16  Prefactor     .10000E-03    133.57        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .30867        .21987        .29763E-04   -1.5597    
  18  norm          .10000E-03    15.062        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    169.59        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.0477        .63773        .44650E-04   -1.5503    
  21  Prefactor     .10000E-03    3.7710        .14534E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    30.822        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          3.7020        2.0631        .78296E-04   -1.5323    
  24  Prefactor     9.9853        57.266        .12738E-03   -1.5076    
  25  Normalizat    1.0566        .23528        .27057E-03   -.91156    
  26  Prefactor     1.0854        .20824        .24571E-03   -.89936    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.59504e-08
Minuit parameter uncertainties:
  1  18.2927
  2  0.00023243
  3  1.01952e-05
  4  1.19521e-05
  5  0.000180495
  6  3.00662e-05
  7  6.408e-05
  8  2.16497e-05
  9  3.90266
  10  0.000173769
  11  32.5681
  12  3.58054
  13  0.00011595
  14  25.781
  15  3.94561
  16  0.000368341
  17  0.21987
  18  6.2158e-06
  19  0.000111235
  20  0.63773
  21  4.90841e-06
  22  2.76195e-05
  23  2.06319
  24  47.8949
  25  0.235511
  26  0.208395
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.738e-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.085e+00  2.084e-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.057e+00  2.355e-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.12e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.25e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/291947/likelihoodResults_494121601_494380801_4FGL_J1203.3+1119_daily_bin983.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) = 5883.23345097
delta logL = -3.57004537364e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5883.23341513
delta logL = 1.41286363942e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5389       1.0000          .0000       10.000    
     3 'Normalizat'    1.0566       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0854       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=   5883.233     FROM MIGRAD    STATUS=CONVERGED     64 CALLS      253 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10003E-03    100.76        .90712E-02** at limit **
   2  Index         2.6169        6.1272        .50000       -.32980E-05
   3  Normalizat    1.0567        .29568E-02    .61178E-01    .13830E-04
   4  Prefactor     1.0854        .27299E-02    .55571E-01    .45862E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100028
  Index      = 2.61693
  Normalizat = 1.05665
  Prefactor  = 1.08535
 **********
 **   18 **HESSE 
 **********

 FCN=   5883.233     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      286 TOTAL
                     EDM=   .23E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10003E-03    623.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6169        5.3394        .50000       -.49680    
   3  Normalizat    1.0567        .73467E-02    .27057E-03   -.91156    
   4  Prefactor     1.0854        .67856E-02    .24571E-03   -.89936    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.29907e-08
Minuit parameter uncertainties:
  1  0.00847765
  2  221.658
  3  0.0073467
  4  0.00678557
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/291947': 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) = 5883.23341507
delta logL = 2.01060174732e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  8.478e-03  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.617e+00  2.217e+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:  1.085e+00  6.786e-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.057e+00  7.347e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/291947/cmap_HighResolution_494121601_494380801_4FGL_J1203.3+1119_daily_bin983.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.25e-03', job_status='DONE', photon_flux_upper_limit='8.12e-08', time_completed='2021-09-04 22:29:48.379958', job_id='291947', GAL2='1.09', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630819788.38', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='2.01e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='983' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:29:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0103>
Subject: Job 291947: <4FGL_J1203.3+1119_daily_bin983> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin983 180.833 11.3231 494121601 494380801 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 :                                   708.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             322.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   810 sec.
    Turnaround time :                            813 sec.

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

