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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1474
RA = 180.833, Dec = 11.3231
tmin = 621388801, tmax = 621648001
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='293596', job_status='RUN', time_executed='2021-09-04 22:23:15.481848', time_epoch_executed='1630819395.48' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1474'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293596

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293596/ft1_4FGL_J1203.3+1119_daily_bin1474.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293596/ft2_4FGL_J1203.3+1119_daily_bin1474.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293596/ft1_4FGL_J1203.3+1119_daily_bin1474.fits outfile=/scratch/kocevski/293596/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1474.fits ra=180.833 dec=11.3231 rad=12.0 tmin=621388801.0 tmax=621648001.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.23
user 3.03
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293596/ft1_filtered_4FGL_J1203.3+1119_daily_bin1474.fits" evtable="EVENTS" scfile=/scratch/kocevski/293596/ft2_4FGL_J1203.3+1119_daily_bin1474.fits sctable="SC_DATA" outfile=/scratch/kocevski/293596/ltcube_621388801_621648001_4FGL_J1203.3+1119_daily_bin1474.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/293596/ft2_4FGL_J1203.3+1119_daily_bin1474.fits
.....................!
real 12.44
user 12.04
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293596/ft1_filtered_4FGL_J1203.3+1119_daily_bin1474.fits evtable="EVENTS" scfile=/scratch/kocevski/293596/ft2_4FGL_J1203.3+1119_daily_bin1474.fits sctable="SC_DATA" expcube=/scratch/kocevski/293596/ltcube_621388801_621648001_4FGL_J1203.3+1119_daily_bin1474.fits outfile=/scratch/kocevski/293596/expmap_621388801_621648001_4FGL_J1203.3+1119_daily_bin1474.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/293596/ltcube_621388801_621648001_4FGL_J1203.3+1119_daily_bin1474.fits
.....................!
real 190.14
user 185.17
sys 4.60

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/293596/ft1_filtered_4FGL_J1203.3+1119_daily_bin1474.fits scfile=/scratch/kocevski/293596/ft2_4FGL_J1203.3+1119_daily_bin1474.fits outfile=/scratch/kocevski/293596/cmap_621388801_621648001_4FGL_J1203.3+1119_daily_bin1474.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.80
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293596/ft1_filtered_4FGL_J1203.3+1119_daily_bin1474.fits scfile=/scratch/kocevski/293596/ft2_4FGL_J1203.3+1119_daily_bin1474.fits outfile=/scratch/kocevski/293596/cmap_HighResolution_621388801_621648001_4FGL_J1203.3+1119_daily_bin1474.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.65
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.582       1.0000         .10000E-03   10000.    
     2 'Prefactor '    118.26       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.7025       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    288.38       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .29883       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.6967       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.4987       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.197       1.0000         .10000E-03   10000.    
    13 'Prefactor '    7.3211       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    48.121       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10099E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.5937       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    5.0365       1.0000         .10000E-03   10000.    
    24 'Prefactor '    58.938       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .33492       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.5997       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=   1954.984     FROM MIGRAD    STATUS=CONVERGED   1069 CALLS     3576 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.579        40.706        .84291E-04    .14398E-04
   2  Prefactor     118.23        128.97        .18501E-03    .30900E-04
   3  Prefactor     2.7382        100.32        .24779E-03    .13351E-04
   4  Prefactor     .10000E-03    21.110        .18142E-02** at limit **
   5  Prefactor     288.30        354.36        .11951E-03   -.22983E-04
   6  Prefactor     .34398        73.003        .86079E-01    .72642E-04
   7  Prefactor     3.6955        9.5892        .10502E-02    .19432E-03
   8  Prefactor     .10000E-03    17.674        .18142E-02** at limit **
   9  Prefactor     .10000E-03    25.741        .36285E-03** at limit **
  10  Prefactor     .10000E-03    113.69        .18142E-02** at limit **
  11  Prefactor     5.5379        114.42        .17135E-03   -.18561E-04
  12  Prefactor     11.196        10.177        .11039E-03    .13930E-04
  13  Prefactor     7.3197        12.336        .14824E-03    .73568E-04
  14  Prefactor     .10000E-03    78.185        .18142E-02** at limit **
  15  norm          .10000E-03    3.0710        .75427E-03** at limit **
  16  Prefactor     48.128        65.432        .57805E-04    .15242E-05
  17  norm          .10000E-03    .30661        .45583E-03** at limit **
  18  norm          .10000E-03    73.273        .18142E-02** at limit **
  19  Prefactor     .10000E-03    136.31        .18142E-02** at limit **
  20  norm          1.5935        1.1496        .33602E-04    .29494E-03
  21  Prefactor     .10000E-03    8.7395        .12762E-02** at limit **
  22  Prefactor     .10000E-03    69.447        .18142E-02** at limit **
  23  norm          5.0358        3.5060        .63122E-04    .20658E-03
  24  Prefactor     58.939        63.990        .52259E-04    .16305E-04
  25  Normalizat    .33486        .46558        .50313E-03   -.76617E-04
  26  Prefactor     1.5997        .40080        .22433E-03   -.44355E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.5791
  Prefactor  = 118.235
  Prefactor  = 2.73818
  Prefactor  = 0.0001
  Prefactor  = 288.302
  Prefactor  = 0.343981
  Prefactor  = 3.69553
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 5.53792
  Prefactor  = 11.1964
  Prefactor  = 7.31969
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 48.1279
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.59348
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 5.03576
  Prefactor  = 58.9388
  Normalizat = 0.334856
  Prefactor  = 1.59967
 **********
 **   18 **HESSE 
 **********

 FCN=   1954.984     FROM HESSE     STATUS=OK           440 CALLS     4016 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.579        40.705        .33716E-05   -1.4757    
   2  Prefactor     118.23        128.97        .37002E-04   -1.3529    
   3  Prefactor     2.7382        100.23        .99117E-05   -1.5377    
   4  Prefactor     .10000E-03    21.110        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     288.30        353.42        .23902E-04   -1.2296    
   6  Prefactor     .34398        66.470        .91115E-01   -1.5591    
   7  Prefactor     3.6955        9.5878        .42010E-04   -1.5323    
   8  Prefactor     .10000E-03    17.674        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    25.743        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    113.69        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.5379        114.38        .68538E-05   -1.5237    
  12  Prefactor     11.196        10.175        .44154E-05   -1.5039    
  13  Prefactor     7.3197        12.332        .59294E-05   -1.5167    
  14  Prefactor     .10000E-03    78.202        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    3.0711        .15085E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     48.128        65.430        .23122E-05   -1.4319    
  17  norm          .10000E-03    .30668        .91166E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    73.286        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    136.31        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5935        1.1495        .13441E-05   -1.5455    
  21  Prefactor     .10000E-03    8.7396        .25524E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    69.458        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          5.0358        3.5056        .25249E-05   -1.5259    
  24  Prefactor     58.939        63.989        .10452E-04   -1.4171    
  25  Normalizat    .33486        .46511        .20125E-04   -1.2082    
  26  Prefactor     1.5997        .40067        .44865E-04   -.74785    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.97155e-10
Minuit parameter uncertainties:
  1  40.7549
  2  129.275
  3  33.1932
  4  2.21442e-05
  5  356.102
  6  9.57278
  7  9.59174
  8  5.3416e-06
  9  0.000504866
  10  0.000775853
  11  50.4455
  12  10.1767
  13  12.3367
  14  0.000463842
  15  8.64894e-06
  16  65.5283
  17  6.18677e-06
  18  0.000123166
  19  0.000259091
  20  1.14948
  21  2.17742e-05
  22  0.00076329
  23  3.50572
  24  64.064
  25  0.470619
  26  0.401472
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  7.759e-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.600e+00  4.015e-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:  3.349e-01  4.706e-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: 2.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.62e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/293596/likelihoodResults_621388801_621648001_4FGL_J1203.3+1119_daily_bin1474.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) = 1954.98445396
delta logL = -4.10190880302e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1954.9844141
delta logL = -1.15744660434e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .22530E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5683       1.0000          .0000       10.000    
     3 'Normalizat'    .33477       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.5997       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=   1954.984     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      287 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10643E-03    54.611        .18142E-01** at limit **
   2  Index         2.4620        8.7651        .50000        .52544E-05
   3  Normalizat    .33487        .72464E-02    .50316E-03    .79674E-04
   4  Prefactor     1.5997        .66980E-02    .22433E-03   -.15888E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010643
  Index      = 2.46197
  Normalizat = 0.334871
  Prefactor  = 1.59966
 **********
 **   18 **HESSE 
 **********

 FCN=   1954.984     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      316 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10643E-03    278.65        .36285E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4620        5.9550        .50000       -.53240    
   3  Normalizat    .33487        .16469E-01    .20127E-04   -1.2081    
   4  Prefactor     1.5997        .15223E-01    .89731E-05   -.74786    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.75388e-10
Minuit parameter uncertainties:
  1  0.085054
  2  408.444
  3  0.0164697
  4  0.0152233
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293596': 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) = 1954.98441311
delta logL = -1.6394233171e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.064e-04  8.505e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.462e+00  4.084e+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.600e+00  1.522e-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:  3.349e-01  1.647e-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/293596/cmap_HighResolution_621388801_621648001_4FGL_J1203.3+1119_daily_bin1474.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.62e-02', job_status='DONE', photon_flux_upper_limit='2.10e-07', time_completed='2021-09-04 22:31:15.739216', job_id='293596', GAL2='1.60', fit_tolerance='1e-08', EG2='0.33', EG='0.33', time_epoch_completed='1630819875.74', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.60', dlogl='-1.64e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1474' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:31:15 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 293596: <4FGL_J1203.3+1119_daily_bin1474> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1474> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:20:54 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:20:56 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:56 2021
Terminated at Sat Sep  4 22:31:16 2021
Results reported at Sat Sep  4 22:31:16 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1474 180.833 11.3231 621388801 621648001 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 :                                   466.45 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             288.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            622 sec.

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

