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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1006
RA = 180.833, Dec = 11.3231
tmin = 500083201, tmax = 500342401
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='291995', job_status='RUN', time_executed='2021-09-04 22:17:36.396476', time_epoch_executed='1630819056.4' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1006'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/291995

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/291995/ft1_4FGL_J1203.3+1119_daily_bin1006.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/291995/ft2_4FGL_J1203.3+1119_daily_bin1006.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/291995/ft1_4FGL_J1203.3+1119_daily_bin1006.fits outfile=/scratch/kocevski/291995/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1006.fits ra=180.833 dec=11.3231 rad=12.0 tmin=500083201.0 tmax=500342401.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.64
user 5.38
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/291995/ft2_4FGL_J1203.3+1119_daily_bin1006.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/291995/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1006.fits evtable="EVENTS" outfile="/scratch/kocevski/291995/ft1_filtered_4FGL_J1203.3+1119_daily_bin1006.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.51
user 0.32
sys 0.15

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/291995/ft1_filtered_4FGL_J1203.3+1119_daily_bin1006.fits evtable="EVENTS" scfile=/scratch/kocevski/291995/ft2_4FGL_J1203.3+1119_daily_bin1006.fits sctable="SC_DATA" expcube=/scratch/kocevski/291995/ltcube_500083201_500342401_4FGL_J1203.3+1119_daily_bin1006.fits outfile=/scratch/kocevski/291995/expmap_500083201_500342401_4FGL_J1203.3+1119_daily_bin1006.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/291995/ltcube_500083201_500342401_4FGL_J1203.3+1119_daily_bin1006.fits
.....................!
real 190.99
user 185.67
sys 4.92

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/291995/ft1_filtered_4FGL_J1203.3+1119_daily_bin1006.fits scfile=/scratch/kocevski/291995/ft2_4FGL_J1203.3+1119_daily_bin1006.fits outfile=/scratch/kocevski/291995/cmap_500083201_500342401_4FGL_J1203.3+1119_daily_bin1006.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.55
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/291995/ft1_filtered_4FGL_J1203.3+1119_daily_bin1006.fits scfile=/scratch/kocevski/291995/ft2_4FGL_J1203.3+1119_daily_bin1006.fits outfile=/scratch/kocevski/291995/cmap_HighResolution_500083201_500342401_4FGL_J1203.3+1119_daily_bin1006.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.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    22.868       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .11652E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    143.21       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.4690       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11575E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.4968       1.0000         .10000E-03   10000.    
    10 'Prefactor '    77.350       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .77814E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8527       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10140E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    5.7241       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .65711       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .43253       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.4897       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10804E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    7.3992       1.0000         .10000E-03   10000.    
    24 'Prefactor '    34.954       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1635       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .72237       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=   4993.069     FROM MIGRAD    STATUS=CONVERGED    620 CALLS     3129 TOTAL
                     EDM=   .39E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          22.868        12.409        .72674E-08    .49870E-05
   2  Prefactor     .10000E-03    99.453       -.28258E-06** at limit **
   3  Prefactor     .10000E-03    11.818       -.24773E-07** at limit **
   4  Prefactor     .10000E-03    9.0560       -.30169E-07** at limit **
   5  Prefactor     142.92        123.48        .60803E-05    .31447E-04
   6  Prefactor     2.4787        15.459        .35641E-06    .36798E-04
   7  Prefactor     .10000E-03    2.6211       -.28136E-07** at limit **
   8  Prefactor     .10000E-03    16.712       -.58065E-07** at limit **
   9  Prefactor     2.4976        3.3699       -.37438E-08    .54447E-05
  10  Prefactor     77.356        109.11        .10983E-06    .64238E-05
  11  Prefactor     .10000E-03    74.932       -.16886E-05** at limit **
  12  Prefactor     2.8551        3.1853        .21579E-07    .14941E-04
  13  Prefactor     .10000E-03    3.1049        .12118E-07** at limit **
  14  Prefactor     .10000E-03    20.402       -.19975E-06** at limit **
  15  norm          5.7259        4.7919       -.70429E-07    .35690E-04
  16  Prefactor     .10000E-03    9.7326        .37108E-08** at limit **
  17  norm          .65731        .35062       -.10230E-07    .36418E-04
  18  norm          .10000E-03    18.460       -.86588E-07** at limit **
  19  Prefactor     .10000E-03    45.253        .16032E-06** at limit **
  20  norm          .43242        .70086       -.27430E-07   -.21595E-04
  21  Prefactor     9.4888        13.045        .15714E-06   -.88386E-06
  22  Prefactor     .10000E-03    22.453        .92134E-07** at limit **
  23  norm          7.3995        2.4321        .10592E-07    .16324E-04
  24  Prefactor     34.963        59.901       -.60181E-06   -.41061E-06
  25  Normalizat    1.1629        .22350        .19075E-05   -.29147E-04
  26  Prefactor     .72288        .19283       -.23201E-05    .76096E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 22.868
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 142.916
  Prefactor  = 2.47867
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.49756
  Prefactor  = 77.3561
  Prefactor  = 0.000100001
  Prefactor  = 2.85512
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 5.72594
  Prefactor  = 0.0001
  norm       = 0.657308
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.432422
  Prefactor  = 9.48884
  Prefactor  = 0.0001
  norm       = 7.39945
  Prefactor  = 34.9628
  Normalizat = 1.16287
  Prefactor  = 0.722881
 **********
 **   18 **HESSE 
 **********

 FCN=   4993.069     FROM HESSE     STATUS=OK           456 CALLS     3585 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          22.868        12.413        .83762E-04   -1.4751    
   2  Prefactor     .10000E-03    101.96        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.053        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    9.0588        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     142.92        126.49        .16834E-03   -1.3311    
   6  Prefactor     2.4787        15.802        .13012E-02   -1.5393    
   7  Prefactor     .10000E-03    2.6265        .11173E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    16.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.4976        3.3532        .14399E-03   -1.5392    
  10  Prefactor     77.356        109.40        .45659E-04   -1.3947    
  11  Prefactor     .10000E-03    76.426        .20919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8551        3.1564        .12462E-03   -1.5370    
  13  Prefactor     .10000E-03    3.2001        .24163E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    20.436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          5.7259        4.6198        .11650E-03   -1.5229    
  16  Prefactor     .10000E-03    9.7356        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .65731        .34871        .29170E-04   -1.5546    
  18  norm          .10000E-03    18.464        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    45.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .43242        .65370        .62390E-04   -1.5576    
  21  Prefactor     9.4888        13.045        .13009E-03   -1.5092    
  22  Prefactor     .10000E-03    22.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          7.3995        2.4256        .60308E-04   -1.5164    
  24  Prefactor     34.963        59.957        .67782E-04   -1.4525    
  25  Normalizat    1.1629        .25274        .24416E-03   -.87758    
  26  Prefactor     .72288        .21416        .26998E-03   -1.0264    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03676e-10
Minuit parameter uncertainties:
  1  12.4144
  2  4.84365e-05
  3  5.02655e-06
  4  1.4029e-06
  5  126.731
  6  12.5214
  7  3.41753e-06
  8  1.48913e-05
  9  3.35345
  10  109.686
  11  0.000451188
  12  3.15661
  13  2.62186e-06
  14  1.30871e-05
  15  4.62008
  16  6.82793e-07
  17  0.348709
  18  1.46433e-06
  19  5.28918e-06
  20  0.653713
  21  13.0486
  22  5.30848e-07
  23  2.4256
  24  60.0611
  25  0.253005
  26  0.214406
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  7.736e+01  1.097e+02  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.229e-01  2.144e-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.163e+00  2.530e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.76
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 1.27e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.81e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/291995/likelihoodResults_500083201_500342401_4FGL_J1203.3+1119_daily_bin1006.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): 0
logL (Free Index) = 4993.06280268
delta logL = 0.00578572486484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4993.05732366
delta logL = 0.0112647430142

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    64.117       1.0000         .10000E-03   10000.    
     2 'Index     '    2.4861       1.0000          .0000       10.000    
     3 'Normalizat'    1.1580       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72602       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=   4993.057     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      278 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     64.098        143.82        .50117E-04   -.15557E-03
   2  Index         2.4862        1.1514        .64172E-02   -.11548E-03
   3  Normalizat    1.1574        .24044        .24465E-03    .12752E-03
   4  Prefactor     .72663        .21302        .26913E-03    .87019E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 64.0983
  Index      = 2.48619
  Normalizat = 1.15737
  Prefactor  = 0.72663
 **********
 **   18 **HESSE 
 **********

 FCN=   4993.057     FROM HESSE     STATUS=OK            25 CALLS      303 TOTAL
                     EDM=   .53E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     64.098        126.45        .10023E-04   -1.4105    
   2  Index         2.4862        1.0128        .25669E-03   -.52679    
   3  Normalizat    1.1574        .24006        .48930E-04   -.87931    
   4  Prefactor     .72663        .21262        .10765E-04   -1.0249    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.30137e-10
Minuit parameter uncertainties:
  1  126.986
  2  1.02234
  3  0.240292
  4  0.212863
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/291995': 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) = 4993.05731926
delta logL = 0.0112691472123

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  6.410e+01  1.270e+02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.486e+00  1.022e+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.266e-01  2.129e-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.157e+00  2.403e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.76
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/291995/cmap_HighResolution_500083201_500342401_4FGL_J1203.3+1119_daily_bin1006.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.81e-03', job_status='DONE', photon_flux_upper_limit='1.27e-07', time_completed='2021-09-04 22:29:50.148001', job_id='291995', GAL2='0.73', fit_tolerance='1e-08', EG2='1.16', EG='1.16', time_epoch_completed='1630819790.15', return_code2='0', ts='0.76', comment='SUCCESS', return_code='0', GAL='0.72', dlogl='1.13e-02', ts2='0.78', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1006' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:29:50 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 291995: <4FGL_J1203.3+1119_daily_bin1006> in cluster <slac> Done

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

Your job looked like:

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

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

