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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1540
RA = 180.833, Dec = 11.3231
tmin = 638496001, tmax = 638755201
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='293663', job_status='RUN', time_executed='2021-09-04 22:22:50.215990', time_epoch_executed='1630819370.22' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1540'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293663

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293663/ft1_4FGL_J1203.3+1119_daily_bin1540.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293663/ft2_4FGL_J1203.3+1119_daily_bin1540.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293663/ft1_4FGL_J1203.3+1119_daily_bin1540.fits outfile=/scratch/kocevski/293663/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1540.fits ra=180.833 dec=11.3231 rad=12.0 tmin=638496001.0 tmax=638755201.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 4.43
user 4.19
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293663/ft1_filtered_4FGL_J1203.3+1119_daily_bin1540.fits" evtable="EVENTS" scfile=/scratch/kocevski/293663/ft2_4FGL_J1203.3+1119_daily_bin1540.fits sctable="SC_DATA" outfile=/scratch/kocevski/293663/ltcube_638496001_638755201_4FGL_J1203.3+1119_daily_bin1540.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/293663/ft2_4FGL_J1203.3+1119_daily_bin1540.fits
.....................!
real 12.06
user 11.67
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293663/ft1_filtered_4FGL_J1203.3+1119_daily_bin1540.fits evtable="EVENTS" scfile=/scratch/kocevski/293663/ft2_4FGL_J1203.3+1119_daily_bin1540.fits sctable="SC_DATA" expcube=/scratch/kocevski/293663/ltcube_638496001_638755201_4FGL_J1203.3+1119_daily_bin1540.fits outfile=/scratch/kocevski/293663/expmap_638496001_638755201_4FGL_J1203.3+1119_daily_bin1540.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/293663/ltcube_638496001_638755201_4FGL_J1203.3+1119_daily_bin1540.fits
.....................!
real 191.91
user 186.81
sys 4.69

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/293663/ft1_filtered_4FGL_J1203.3+1119_daily_bin1540.fits scfile=/scratch/kocevski/293663/ft2_4FGL_J1203.3+1119_daily_bin1540.fits outfile=/scratch/kocevski/293663/cmap_638496001_638755201_4FGL_J1203.3+1119_daily_bin1540.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.60
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293663/ft1_filtered_4FGL_J1203.3+1119_daily_bin1540.fits scfile=/scratch/kocevski/293663/ft2_4FGL_J1203.3+1119_daily_bin1540.fits outfile=/scratch/kocevski/293663/cmap_HighResolution_638496001_638755201_4FGL_J1203.3+1119_daily_bin1540.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.61
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    9.6240       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .12095E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.0339       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10899E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10064E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.5861       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10106E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.749       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .46731E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10144E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    13.839       1.0000         .10000E-03   10000.    
    16 'Prefactor '    12.846       1.0000         .10000E-03   10000.    
    17 'norm      '    .84963E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .13743E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    3.3177       1.0000         .10000E-03   10000.    
    21 'Prefactor '    7.6657       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    4.4493       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .94014       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1774       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=   5684.071     FROM MIGRAD    STATUS=CONVERGED    621 CALLS     3086 TOTAL
                     EDM=   .57E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  5.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.4366        .57689E-07** at limit **
   2  Prefactor     .10000E-03    12.450       -.67618E-06** at limit **
   3  Prefactor     9.6243        9.2345        .18178E-06   -.22479E-05
   4  Prefactor     .10000E-03    15.779        .88128E-06** at limit **
   5  Prefactor     .10000E-03    110.15       -.51663E-05** at limit **
   6  Prefactor     2.0266        16.581        .10050E-04   -.12361E-04
   7  Prefactor     .10000E-03    10.966       -.11066E-06** at limit **
   8  Prefactor     .10000E-03    13.849       -.14404E-06** at limit **
   9  Prefactor     3.5860        2.8652        .82998E-07    .27987E-05
  10  Prefactor     .10000E-03    51.339        .43118E-05** at limit **
  11  Prefactor     39.728        58.430        .27688E-05    .15919E-04
  12  Prefactor     .10000E-03    .90430        .30970E-07** at limit **
  13  Prefactor     .46084E-01    1.1592       -.19289E-07    .81630E-04
  14  Prefactor     .10000E-03    66.932       -.62079E-05** at limit **
  15  norm          13.837        6.5492        .14665E-06    .20077E-03
  16  Prefactor     12.795        34.089        .42232E-05    .63352E-05
  17  norm          .85002E-01    .15073       -.14017E-07   -.10552E-02
  18  norm          .10000E-03    11.786       -.60868E-07** at limit **
  19  Prefactor     .10000E-03    140.56        .69945E-05** at limit **
  20  norm          3.3177        1.0498       -.17753E-07   -.17465E-05
  21  Prefactor     7.6667        10.199        .85674E-06   -.13126E-05
  22  Prefactor     .10000E-03    10.083       -.19628E-06** at limit **
  23  norm          4.4493        2.3546        .33939E-07   -.22177E-04
  24  Prefactor     .10000E-03    23.768       -.73478E-06** at limit **
  25  Normalizat    .94029        .21289       -.18326E-05    .48253E-04
  26  Prefactor     1.1772        .19092       -.32827E-07   -.45162E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.62433
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.02657
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.58595
  Prefactor  = 0.0001
  Prefactor  = 39.7279
  Prefactor  = 0.0001
  Prefactor  = 0.0460838
  Prefactor  = 0.000100001
  norm       = 13.8367
  Prefactor  = 12.7952
  norm       = 0.0850025
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.31767
  Prefactor  = 7.66667
  Prefactor  = 0.0001
  norm       = 4.44929
  Prefactor  = 0.0001
  Normalizat = 0.940292
  Prefactor  = 1.17723
 **********
 **   18 **HESSE 
 **********

 FCN=   5684.071     FROM HESSE     STATUS=OK           460 CALLS     3546 TOTAL
                     EDM=   .49E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.4550        .17168E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    12.454        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     9.6243        9.2342        .12918E-03   -1.5087    
   4  Prefactor     .10000E-03    15.790        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    110.37        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     2.0266        16.664        .14502E-02   -1.5423    
   7  Prefactor     .10000E-03    11.238        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    13.942        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     3.5860        2.8661        .10999E-03   -1.5329    
  10  Prefactor     .10000E-03    51.313        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.728        58.459        .63577E-04   -1.4447    
  12  Prefactor     .10000E-03    .91308        .69920E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .46084E-01    19.413        .15550E-02   -1.5665    
  14  Prefactor     .10000E-03    67.765        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          13.837        6.5658        .10767E-03   -1.4964    
  16  Prefactor     12.795        34.074        .11176E-03   -1.4992    
  17  norm          .85002E-01    .12732        .37771E-03   -1.5650    
  18  norm          .10000E-03    11.786        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    140.12        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          3.3177        1.0520        .38363E-04   -1.5344    
  21  Prefactor     7.6667        10.198        .72419E-03   -1.5154    
  22  Prefactor     .10000E-03    10.092        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          4.4493        2.3521        .79945E-04   -1.5286    
  24  Prefactor     .10000E-03    23.778        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .94029        .25085        .28301E-03   -.95058    
  26  Prefactor     1.1772        .22732        .24250E-03   -.87035    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.91664e-10
Minuit parameter uncertainties:
  1  4.96327e-06
  2  8.28675e-06
  3  9.23558
  4  6.23972e-06
  5  0.00014436
  6  11.6268
  7  0.000119512
  8  7.77074e-06
  9  2.86619
  10  7.97143e-06
  11  58.5438
  12  1.67506e-06
  13  1.89025
  14  0.000430594
  15  6.56613
  16  34.1254
  17  0.127324
  18  4.81396e-06
  19  0.000319934
  20  1.05197
  21  10.2005
  22  2.59516e-06
  23  2.35217
  24  4.51402e-06
  25  0.251159
  26  0.227505
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  7.971e-06  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.177e+00  2.275e-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:  9.403e-01  2.512e-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: 7.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.04e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/293663/likelihoodResults_638496001_638755201_4FGL_J1203.3+1119_daily_bin1540.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) = 5684.07148369
delta logL = -9.27570063141e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5684.0713918
delta logL = -8.66187292559e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .12843E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.7068       1.0000          .0000       10.000    
     3 'Normalizat'    .94029       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1772       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=   5684.071     FROM MIGRAD    STATUS=CONVERGED     92 CALLS      273 TOTAL
                     EDM=   .34E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10299E-03    10.227        .18142E-01** at limit **
   2  Index         2.6235        8.6881        .50000        .69443E-05
   3  Normalizat    .94029        .25693E-02    .28301E-03   -.87692E-04
   4  Prefactor     1.1772        .24439E-02    .24250E-03   -.10583E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102987
  Index      = 2.6235
  Normalizat = 0.940291
  Prefactor  = 1.17723
 **********
 **   18 **HESSE 
 **********

 FCN=   5684.071     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      302 TOTAL
                     EDM=   .46E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10299E-03    139.06        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.6235        7.9343        .50000       -.49531    
   3  Normalizat    .94029        .95061E-02    .11320E-04   -.95058    
   4  Prefactor     1.1772        .90420E-02    .48499E-04   -.87035    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.55358e-09
Minuit parameter uncertainties:
  1  0.040859
  2  374.369
  3  0.00950611
  4  0.00904199
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293663': 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) = 5684.0713913
delta logL = -3.58890247298e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.030e-04  4.086e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.623e+00  3.744e+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.177e+00  9.042e-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:  9.403e-01  9.506e-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/293663/cmap_HighResolution_638496001_638755201_4FGL_J1203.3+1119_daily_bin1540.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.04e-03', job_status='DONE', photon_flux_upper_limit='7.85e-08', time_completed='2021-09-04 22:35:45.773616', job_id='293663', GAL2='1.18', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1630820145.77', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-3.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1540' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:35:45 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0219>
Subject: Job 293663: <4FGL_J1203.3+1119_daily_bin1540> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1540> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:21:02 2021
Job was executed on host(s) <bullet0219>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:21:04 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:21:04 2021
Terminated at Sat Sep  4 22:35:46 2021
Results reported at Sat Sep  4 22:35:46 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1540 180.833 11.3231 638496001 638755201 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 :                                   759.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             318.69 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   882 sec.
    Turnaround time :                            884 sec.

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

