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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1220
RA = 180.833, Dec = 11.3231
tmin = 555552001, tmax = 555811201
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='292376', job_status='RUN', time_executed='2021-09-04 22:17:23.909937', time_epoch_executed='1630819043.91' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1220'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/292376

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/292376/ft1_4FGL_J1203.3+1119_daily_bin1220.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/292376/ft2_4FGL_J1203.3+1119_daily_bin1220.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/292376/ft1_4FGL_J1203.3+1119_daily_bin1220.fits outfile=/scratch/kocevski/292376/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1220.fits ra=180.833 dec=11.3231 rad=12.0 tmin=555552001.0 tmax=555811201.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.64
user 3.42
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/292376/ft1_filtered_4FGL_J1203.3+1119_daily_bin1220.fits evtable="EVENTS" scfile=/scratch/kocevski/292376/ft2_4FGL_J1203.3+1119_daily_bin1220.fits sctable="SC_DATA" expcube=/scratch/kocevski/292376/ltcube_555552001_555811201_4FGL_J1203.3+1119_daily_bin1220.fits outfile=/scratch/kocevski/292376/expmap_555552001_555811201_4FGL_J1203.3+1119_daily_bin1220.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/292376/ltcube_555552001_555811201_4FGL_J1203.3+1119_daily_bin1220.fits
.....................!
real 189.39
user 184.77
sys 4.19

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/292376/ft1_filtered_4FGL_J1203.3+1119_daily_bin1220.fits scfile=/scratch/kocevski/292376/ft2_4FGL_J1203.3+1119_daily_bin1220.fits outfile=/scratch/kocevski/292376/cmap_555552001_555811201_4FGL_J1203.3+1119_daily_bin1220.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.56
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/292376/ft1_filtered_4FGL_J1203.3+1119_daily_bin1220.fits scfile=/scratch/kocevski/292376/ft2_4FGL_J1203.3+1119_daily_bin1220.fits outfile=/scratch/kocevski/292376/cmap_HighResolution_555552001_555811201_4FGL_J1203.3+1119_daily_bin1220.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.3358       1.0000         .10000E-03   10000.    
     2 'Prefactor '    79.503       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10050E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.6659       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10228E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.2617       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6605       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .21409E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    19.141       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.4283       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .13230       1.0000         .10000E-03   10000.    
    18 'norm      '    78.366       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .88812E-01   1.0000         .10000E-03   10000.    
    21 'Prefactor '    20.018       1.0000         .10000E-03   10000.    
    22 'Prefactor '    24.512       1.0000         .10000E-03   10000.    
    23 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .76245       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3484       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=   6255.537     FROM MIGRAD    STATUS=CONVERGED    620 CALLS     3137 TOTAL
                     EDM=   .60E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.3350        8.8645       -.77512E-06   -.75967E-04
   2  Prefactor     79.506        46.834        .26170E-06    .25396E-04
   3  Prefactor     .10000E-03    4.8576       -.10068E-06** at limit **
   4  Prefactor     .10000E-03    15.826       -.83181E-05** at limit **
   5  Prefactor     .10000E-03    52.963       -.92313E-05** at limit **
   6  Prefactor     3.6576        12.869       -.51515E-05   -.73915E-04
   7  Prefactor     .10000E-03    5.0435        .47618E-06** at limit **
   8  Prefactor     4.2529        13.904       -.52676E-05   -.46460E-04
   9  Prefactor     5.6608        4.2002       -.66145E-06   -.18620E-03
  10  Prefactor     .10000E-03    174.63       -.69243E-06** at limit **
  11  Prefactor     19.108        57.868       -.45219E-04   -.45571E-05
  12  Prefactor     .10000E-03    1.0520       -.51356E-07** at limit **
  13  Prefactor     .10000E-03    1.0242       -.58215E-07** at limit **
  14  Prefactor     .10000E-03    15.349        .64538E-05** at limit **
  15  norm          2.4282        4.4601        .20895E-05   -.43893E-03
  16  Prefactor     .10000E-03    19.974        .77169E-05** at limit **
  17  norm          .13231        .19321       -.23436E-06   -.41552E-02
  18  norm          78.357        67.990       -.74172E-05   -.77207E-05
  19  Prefactor     .10000E-03    54.244        .11150E-04** at limit **
  20  norm          .89147E-01    .51497        .19482E-07   -.11562E-02
  21  Prefactor     20.018        10.915       -.47190E-06    .24973E-04
  22  Prefactor     24.512        24.551       -.92145E-06    .21191E-04
  23  norm          .10000E-03    .61808       -.89486E-07** at limit **
  24  Prefactor     .10000E-03    21.427       -.57892E-05** at limit **
  25  Normalizat    .76234        .20329        .44585E-05    .36550E-04
  26  Prefactor     1.3485        .18005        .13304E-05    .85435E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 5.33502
  Prefactor  = 79.5056
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.65757
  Prefactor  = 0.000100001
  Prefactor  = 4.25288
  Prefactor  = 5.6608
  Prefactor  = 0.000100002
  Prefactor  = 19.1083
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.42822
  Prefactor  = 0.0001
  norm       = 0.132314
  norm       = 78.3569
  Prefactor  = 0.0001
  norm       = 0.0891468
  Prefactor  = 20.0176
  Prefactor  = 24.5117
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.762342
  Prefactor  = 1.34846
 **********
 **   18 **HESSE 
 **********

 FCN=   6255.537     FROM HESSE     STATUS=OK           458 CALLS     3595 TOTAL
                     EDM=   .10E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.3350        8.8563        .17399E-03   -1.5246    
   2  Prefactor     79.506        46.878        .45041E-04   -1.3922    
   3  Prefactor     .10000E-03    4.8986        .17018E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.805        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    52.892        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.6576        12.830        .21097E-03   -1.5325    
   7  Prefactor     .10000E-03    5.0590        .17354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     4.2529        13.850        .19517E-03   -1.5295    
   9  Prefactor     5.6608        4.2103        .12915E-03   -1.5232    
  10  Prefactor     .10000E-03    175.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     19.108        57.598        .91548E-04   -1.4833    
  12  Prefactor     .10000E-03    1.0775        .15816E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1.0391        .78097E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    15.392        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.4282        4.3741        .17603E-03   -1.5396    
  16  Prefactor     .10000E-03    19.992        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .13231        .18466        .39514E-03   -1.5635    
  18  norm          78.357        67.538        .45364E-04   -1.3935    
  19  Prefactor     .10000E-03    54.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .89147E-01    .93475        .10108E-02   -1.5648    
  21  Prefactor     20.018        10.913        .89521E-04   -1.4813    
  22  Prefactor     24.512        24.564        .80909E-04   -1.4717    
  23  norm          .10000E-03    .93417        .12057E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    21.438        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .76234        .23832        .31014E-03   -1.0148    
  26  Prefactor     1.3485        .21352        .22846E-03   -.81877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.02179e-09
Minuit parameter uncertainties:
  1  8.85851
  2  46.8994
  3  1.82152e-05
  4  1.5976e-05
  5  0.000224789
  6  12.8401
  7  0.000106548
  8  13.8604
  9  4.21055
  10  0.00129176
  11  57.7668
  12  5.66211e-06
  13  5.66872e-06
  14  5.95291e-05
  15  4.3747
  16  2.64925e-05
  17  0.184657
  18  67.6045
  19  1.47819e-05
  20  0.577027
  21  10.9142
  22  24.5739
  23  8.88675e-06
  24  2.32941e-05
  25  0.238642
  26  0.21366
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.292e-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:  1.348e+00  2.137e-01  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  7.623e-01  2.386e-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.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/292376/likelihoodResults_555552001_555811201_4FGL_J1203.3+1119_daily_bin1220.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) = 6255.53655065
delta logL = -2.70647988145e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6255.53652361
delta logL = -2.50938683166e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10066E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5213       1.0000          .0000       10.000    
     3 'Normalizat'    .76234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3485       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=   6255.537     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      250 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    97.559        .90712E-02** at limit **
   2  Index         2.4981        8.2392        .50000        .10931E-05
   3  Normalizat    .76234        .36429E-02    .70084E-01    .38808E-04
   4  Prefactor     1.3485        .34768E-02    .51676E-01    .17417E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 2.49814
  Normalizat = 0.762342
  Prefactor  = 1.34846
 **********
 **   18 **HESSE 
 **********

 FCN=   6255.537     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      281 TOTAL
                     EDM=   .83E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    634.91        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4981        5.6768        .50000       -.52403    
   3  Normalizat    .76234        .93604E-02    .31014E-03   -1.0148    
   4  Prefactor     1.3485        .89474E-02    .22846E-03   -.81877    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.33307e-09
Minuit parameter uncertainties:
  1  0.00225231
  2  388.323
  3  0.00936041
  4  0.00894743
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/292376': 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) = 6255.5365236
delta logL = -1.68392944033e-08

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  2.252e-03  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.498e+00  3.883e+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.348e+00  8.947e-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:  7.623e-01  9.360e-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/292376/cmap_HighResolution_555552001_555811201_4FGL_J1203.3+1119_daily_bin1220.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.55e-03', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2021-09-04 22:30:43.170590', job_id='292376', GAL2='1.35', fit_tolerance='1e-08', EG2='0.76', EG='0.76', time_epoch_completed='1630819843.17', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.35', dlogl='-1.68e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1220' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:30:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0044>
Subject: Job 292376: <4FGL_J1203.3+1119_daily_bin1220> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1220 180.833 11.3231 555552001 555811201 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 :                                   760.37 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             320.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   838 sec.
    Turnaround time :                            839 sec.

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

