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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1085
RA = 180.833, Dec = 11.3231
tmin = 520560001, tmax = 520819201
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='292147', job_status='RUN', time_executed='2021-09-04 22:19:51.968939', time_epoch_executed='1630819191.97' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1085'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/292147

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/292147/ft1_4FGL_J1203.3+1119_daily_bin1085.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/292147/ft2_4FGL_J1203.3+1119_daily_bin1085.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/292147/ft1_4FGL_J1203.3+1119_daily_bin1085.fits outfile=/scratch/kocevski/292147/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1085.fits ra=180.833 dec=11.3231 rad=12.0 tmin=520560001.0 tmax=520819201.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.50
user 4.97
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/292147/ft1_filtered_4FGL_J1203.3+1119_daily_bin1085.fits evtable="EVENTS" scfile=/scratch/kocevski/292147/ft2_4FGL_J1203.3+1119_daily_bin1085.fits sctable="SC_DATA" expcube=/scratch/kocevski/292147/ltcube_520560001_520819201_4FGL_J1203.3+1119_daily_bin1085.fits outfile=/scratch/kocevski/292147/expmap_520560001_520819201_4FGL_J1203.3+1119_daily_bin1085.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/292147/ltcube_520560001_520819201_4FGL_J1203.3+1119_daily_bin1085.fits
.....................!
real 190.25
user 185.57
sys 4.25

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/292147/ft1_filtered_4FGL_J1203.3+1119_daily_bin1085.fits scfile=/scratch/kocevski/292147/ft2_4FGL_J1203.3+1119_daily_bin1085.fits outfile=/scratch/kocevski/292147/cmap_520560001_520819201_4FGL_J1203.3+1119_daily_bin1085.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/292147/ft1_filtered_4FGL_J1203.3+1119_daily_bin1085.fits scfile=/scratch/kocevski/292147/ft2_4FGL_J1203.3+1119_daily_bin1085.fits outfile=/scratch/kocevski/292147/cmap_HighResolution_520560001_520819201_4FGL_J1203.3+1119_daily_bin1085.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.59
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.637       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10068E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.0848       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10820E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.0383       1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.098       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .39771E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.8718       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.4319       1.0000         .10000E-03   10000.    
    14 'Prefactor '    33.040       1.0000         .10000E-03   10000.    
    15 'norm      '    .67441       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2916       1.0000         .10000E-03   10000.    
    17 'norm      '    .40923       1.0000         .10000E-03   10000.    
    18 'norm      '    67.502       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.5665       1.0000         .10000E-03   10000.    
    20 'norm      '    1.9218       1.0000         .10000E-03   10000.    
    21 'Prefactor '    19.907       1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.431       1.0000         .10000E-03   10000.    
    23 'norm      '    3.2731       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1125       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .79311       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=   3991.508     FROM MIGRAD    STATUS=CONVERGED    609 CALLS     3090 TOTAL
                     EDM=   .68E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.631        10.325        .57808E-07   -.60260E-05
   2  Prefactor     .10000E-03    30.255        .48664E-06** at limit **
   3  Prefactor     4.0865        8.1533        .98656E-06    .29356E-04
   4  Prefactor     .10000E-03    15.687        .91863E-07** at limit **
   5  Prefactor     .10000E-03    194.61        .38596E-06** at limit **
   6  Prefactor     .10000E-03    3.3578        .12252E-06** at limit **
   7  Prefactor     4.0386        10.800        .92818E-06    .31567E-04
   8  Prefactor     11.081        18.409       -.91949E-06   -.49918E-04
   9  Prefactor     .10000E-03    1.6903       -.81219E-08** at limit **
  10  Prefactor     .10000E-03    385.38        .85633E-05** at limit **
  11  Prefactor     .10000E-03    20.509        .72912E-07** at limit **
  12  Prefactor     5.8718        3.9342        .57879E-07   -.36274E-04
  13  Prefactor     1.4320        2.4394        .20402E-06    .63263E-04
  14  Prefactor     33.041        41.944        .13670E-05    .51009E-04
  15  norm          .67512        5.9033       -.20473E-05   -.74258E-05
  16  Prefactor     9.3042        36.932       -.40146E-05   -.13814E-04
  17  norm          .40923        .26423        .74084E-08   -.55950E-04
  18  norm          67.491        53.387        .15501E-05    .65797E-04
  19  Prefactor     2.1827        6263.3       -.99529E-04    .40669E-05
  20  norm          1.9218        .88206        .11489E-06    .71648E-03
  21  Prefactor     19.908        12.672        .10031E-06   -.32927E-05
  22  Prefactor     22.419        23.041       -.27833E-06   -.73475E-05
  23  norm          3.2733        2.4890       -.81138E-07    .68200E-04
  24  Prefactor     .10000E-03    33.013        .29892E-07** at limit **
  25  Normalizat    1.1125        .22635       -.20663E-05    .10855E-04
  26  Prefactor     .79319        .20062        .13075E-05   -.65804E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.6307
  Prefactor  = 0.0001
  Prefactor  = 4.08649
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.0386
  Prefactor  = 11.0812
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 5.87183
  Prefactor  = 1.43201
  Prefactor  = 33.0408
  norm       = 0.675121
  Prefactor  = 9.30418
  norm       = 0.409235
  norm       = 67.4912
  Prefactor  = 2.18274
  norm       = 1.92175
  Prefactor  = 19.9077
  Prefactor  = 22.4193
  norm       = 3.27331
  Prefactor  = 0.0001
  Normalizat = 1.1125
  Prefactor  = 0.79319
 **********
 **   18 **HESSE 
 **********

 FCN=   3991.508     FROM HESSE     STATUS=OK           464 CALLS     3554 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.631        10.326        .11744E-03   -1.5026    
   2  Prefactor     .10000E-03    30.421        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     4.0865        8.1621        .19948E-03   -1.5304    
   4  Prefactor     .10000E-03    15.690        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    195.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    3.3602        .11308E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.0386        10.820        .20066E-03   -1.5306    
   8  Prefactor     11.081        18.496        .12026E-03   -1.5042    
   9  Prefactor     .10000E-03    1.7006        .80162E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    395.37        .21266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    20.518        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     5.8718        3.9174        .94101E-04   -1.5223    
  13  Prefactor     1.4320        2.3901        .12092E-03   -1.5469    
  14  Prefactor     33.041        41.362        .69712E-04   -1.4558    
  15  norm          .67512        5.4952        .25247E-03   -1.5544    
  16  Prefactor     9.3042        36.992        .13148E-03   -1.5098    
  17  norm          .40923        .26008        .25234E-04   -1.5580    
  18  norm          67.491        52.860        .24426E-03   -1.4063    
  19  Prefactor     2.1827        6298.8        .25480E-02   -1.5412    
  20  norm          1.9218        .87666        .37059E-04   -1.5431    
  21  Prefactor     19.908        12.677        .89769E-04   -1.4815    
  22  Prefactor     22.419        23.043        .84572E-04   -1.4761    
  23  norm          3.2733        2.4800        .82516E-04   -1.5346    
  24  Prefactor     .10000E-03    33.030        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1125        .26310        .24023E-03   -.89351    
  26  Prefactor     .79319        .23212        .25922E-03   -.99980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.36784e-10
Minuit parameter uncertainties:
  1  10.3275
  2  3.8032e-05
  3  8.16432
  4  2.56694e-06
  5  0.000232507
  6  5.03262e-06
  7  10.8248
  8  18.5053
  9  7.97471e-07
  10  0.00197445
  11  1.55e-05
  12  3.91752
  13  2.39024
  14  41.3979
  15  3.85245
  16  37.083
  17  0.260078
  18  52.8963
  19  162.438
  20  0.876663
  21  12.6786
  22  23.0521
  23  2.48012
  24  1.44131e-05
  25  0.263412
  26  0.23241
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.974e-03  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:  7.932e-01  2.324e-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.113e+00  2.634e-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.81e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.78e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/292147/likelihoodResults_520560001_520819201_4FGL_J1203.3+1119_daily_bin1085.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) = 3991.50759638
delta logL = -1.18992461466e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3991.50758447
delta logL = 7.79391484684e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.3614       1.0000          .0000       10.000    
     3 'Normalizat'    1.1125       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79319       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=   3991.508     FROM MIGRAD    STATUS=CONVERGED     62 CALLS      256 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    7222.0        .90712E-02** at limit **
   2  Index         2.4377        7.7339        .50000       -.15393E-05
   3  Normalizat    1.1125        .76073E-01    .54330E-01   -.61260E-04
   4  Prefactor     .79319        .70583E-01    .43629E-01    .80417E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100004
  Index      = 2.43773
  Normalizat = 1.1125
  Prefactor  = 0.793192
 **********
 **   18 **HESSE 
 **********

 FCN=   3991.508     FROM HESSE     STATUS=OK            33 CALLS      289 TOTAL
                     EDM=   .37E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    477.98        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4377        6.2189        .50000       -.53804    
   3  Normalizat    1.1125        .24558        .24023E-03   -.89351    
   4  Prefactor     .79319        .22875        .25922E-03   -.99980    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.68947e-11
Minuit parameter uncertainties:
  1  0.00292768
  2  4.41883
  3  0.245834
  4  0.229023
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/292147': 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) = 3991.50758445
delta logL = 3.56699274562e-08

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  2.928e-03  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.438e+00  4.419e+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:  7.932e-01  2.290e-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.113e+00  2.458e-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/292147/cmap_HighResolution_520560001_520819201_4FGL_J1203.3+1119_daily_bin1085.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.78e-03', job_status='DONE', photon_flux_upper_limit='8.81e-08', time_completed='2021-09-04 22:32:37.358427', job_id='292147', GAL2='0.79', fit_tolerance='1e-08', EG2='1.11', EG='1.11', time_epoch_completed='1630819957.36', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.79', dlogl='3.57e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1085' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:32:37 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 292147: <4FGL_J1203.3+1119_daily_bin1085> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1085 180.833 11.3231 520560001 520819201 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 :                                   627.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             241.12 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   967 sec.
    Turnaround time :                            970 sec.

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

