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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin535
RA = 180.833, Dec = 11.3231
tmin = 378000001, tmax = 378259201
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='288593', job_status='RUN', time_executed='2021-09-04 22:05:49.174230', time_epoch_executed='1630818349.17' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='535'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288593

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288593/ft1_4FGL_J1203.3+1119_daily_bin535.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288593/ft2_4FGL_J1203.3+1119_daily_bin535.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288593/ft1_4FGL_J1203.3+1119_daily_bin535.fits outfile=/scratch/kocevski/288593/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin535.fits ra=180.833 dec=11.3231 rad=12.0 tmin=378000001.0 tmax=378259201.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.46
user 3.24
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288593/ft1_filtered_4FGL_J1203.3+1119_daily_bin535.fits evtable="EVENTS" scfile=/scratch/kocevski/288593/ft2_4FGL_J1203.3+1119_daily_bin535.fits sctable="SC_DATA" expcube=/scratch/kocevski/288593/ltcube_378000001_378259201_4FGL_J1203.3+1119_daily_bin535.fits outfile=/scratch/kocevski/288593/expmap_378000001_378259201_4FGL_J1203.3+1119_daily_bin535.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/288593/ltcube_378000001_378259201_4FGL_J1203.3+1119_daily_bin535.fits
.....................!
real 191.44
user 186.02
sys 4.14

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/288593/ft1_filtered_4FGL_J1203.3+1119_daily_bin535.fits scfile=/scratch/kocevski/288593/ft2_4FGL_J1203.3+1119_daily_bin535.fits outfile=/scratch/kocevski/288593/cmap_378000001_378259201_4FGL_J1203.3+1119_daily_bin535.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.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288593/ft1_filtered_4FGL_J1203.3+1119_daily_bin535.fits scfile=/scratch/kocevski/288593/ft2_4FGL_J1203.3+1119_daily_bin535.fits outfile=/scratch/kocevski/288593/cmap_HighResolution_378000001_378259201_4FGL_J1203.3+1119_daily_bin535.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.6453       1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.4744       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.6708       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    45.328       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .15826E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    16.515       1.0000         .10000E-03   10000.    
    15 'norm      '    3.3868       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.946       1.0000         .10000E-03   10000.    
    17 'norm      '    .84716       1.0000         .10000E-03   10000.    
    18 'norm      '    22.033       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.9518       1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.7310       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    24.476       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.3562       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .67332       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=   6387.677     FROM MIGRAD    STATUS=CONVERGED    609 CALLS     3056 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.9265        .16131E-07** at limit **
   2  Prefactor     .10000E-03    9.1728       -.13645E-05** at limit **
   3  Prefactor     .10000E-03    5.4481       -.37378E-07** at limit **
   4  Prefactor     .10000E-03    10.853        .22399E-05** at limit **
   5  Prefactor     .10000E-03    55.789       -.14456E-05** at limit **
   6  Prefactor     4.6452        7.9313        .40884E-05   -.85209E-03
   7  Prefactor     8.4748        7.5501        .11363E-06   -.25398E-05
   8  Prefactor     .10000E-03    6.7227        .23812E-06** at limit **
   9  Prefactor     2.6688        2.6205        .99497E-08   -.29225E-04
  10  Prefactor     .10000E-03    21.177        .78282E-06** at limit **
  11  Prefactor     45.324        44.378       -.10561E-05   -.91369E-04
  12  Prefactor     .10000E-03    1.5230        .89769E-07** at limit **
  13  Prefactor     .10000E-03    2.4922        .30080E-07** at limit **
  14  Prefactor     16.516        18.539        .72211E-07    .10870E-04
  15  norm          3.3865        3.4340        .25051E-06    .47625E-04
  16  Prefactor     13.948        24.914        .31833E-06    .11642E-04
  17  norm          .84704        .29650        .51805E-08   -.92119E-04
  18  norm          22.035        26.342        .23145E-06    .41783E-04
  19  Prefactor     .10002E-03    48.284        .78154E-05** at limit **
  20  norm          1.9518        .73223        .85600E-08   -.68164E-04
  21  Prefactor     9.7329        9.7641        .33008E-07    .23706E-04
  22  Prefactor     .10000E-03    15.333       -.20001E-05** at limit **
  23  norm          24.476        3.5810       -.16729E-06   -.12630E-02
  24  Prefactor     .10002E-03    56.009       -.78464E-05** at limit **
  25  Normalizat    1.3562        .18981       -.25488E-06   -.14514E-04
  26  Prefactor     .67319        .16651       -.40541E-06   -.90781E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100001
  Prefactor  = 4.64518
  Prefactor  = 8.47475
  Prefactor  = 0.0001
  Prefactor  = 2.66883
  Prefactor  = 0.0001
  Prefactor  = 45.324
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.5156
  norm       = 3.38646
  Prefactor  = 13.9475
  norm       = 0.847038
  norm       = 22.0347
  Prefactor  = 0.000100024
  norm       = 1.95176
  Prefactor  = 9.73287
  Prefactor  = 0.000100002
  norm       = 24.4765
  Prefactor  = 0.000100023
  Normalizat = 1.35624
  Prefactor  = 0.673194
 **********
 **   18 **HESSE 
 **********

 FCN=   6387.677     FROM HESSE     STATUS=OK           454 CALLS     3510 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.9361        .15467E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    9.2697        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.4766        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    11.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    55.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.6452        8.5778        .93366E-03   -1.5277    
   7  Prefactor     8.4748        7.5466        .13771E-03   -1.5126    
   8  Prefactor     .10000E-03    6.7419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.6688        2.6162        .12317E-03   -1.5381    
  10  Prefactor     .10000E-03    21.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     45.324        44.577        .59551E-04   -1.4360    
  12  Prefactor     .10000E-03    3.0037        .18825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.5931        .24533E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     16.516        18.531        .98557E-04   -1.4895    
  15  norm          3.3865        3.4187        .13466E-03   -1.5340    
  16  Prefactor     13.948        24.912        .10725E-03   -1.4961    
  17  norm          .84704        .29610        .24800E-04   -1.5524    
  18  norm          22.035        26.362        .85332E-04   -1.4769    
  19  Prefactor     .10002E-03    51.222        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.9518        .72814        .39009E-04   -1.5429    
  21  Prefactor     9.7329        9.7598        .12846E-03   -1.5084    
  22  Prefactor     .10000E-03    15.549        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          24.476        3.6014        .55667E-04   -1.4718    
  24  Prefactor     .10002E-03    58.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.3562        .22424        .24292E-03   -.81903    
  26  Prefactor     .67319        .19621        .30016E-03   -1.0459    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.50002e-09
Minuit parameter uncertainties:
  1  7.37282e-07
  2  0.000164067
  3  4.95119e-06
  4  0.000293179
  5  0.000406338
  6  8.58002
  7  7.54747
  8  2.27382e-05
  9  2.61636
  10  0.000141233
  11  44.6093
  12  4.90485e-06
  13  3.07892e-07
  14  18.537
  15  3.41886
  16  24.9301
  17  0.296105
  18  26.3761
  19  0.00220411
  20  0.728145
  21  9.76137
  22  0.000305947
  23  3.60142
  24  0.00233551
  25  0.224399
  26  0.196408
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.412e-04  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.339e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
316        Scale:  1.487e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  6.732e-01  1.964e-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.356e+00  2.244e-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: 4.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/288593/likelihoodResults_378000001_378259201_4FGL_J1203.3+1119_daily_bin535.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) = 6387.67710818
delta logL = -0.000223805061069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6387.67688557
delta logL = -1.19714513858e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6681       1.0000          .0000       10.000    
     3 'Normalizat'    1.3562       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .67320       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=   6387.677     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      285 TOTAL
                     EDM=   .45E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10309E-03    7.2900        .18142E-01** at limit **
   2  Index         2.5871        8.7058        .50000        .18988E-04
   3  Normalizat    1.3562        .32331E-02    .24292E-03   -.90792E-05
   4  Prefactor     .67319        .29305E-02    .30016E-03   -.26513E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103088
  Index      = 2.58708
  Normalizat = 1.35624
  Prefactor  = 0.673194
 **********
 **   18 **HESSE 
 **********

 FCN=   6387.677     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      314 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10309E-03    61.527        .30920E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5871        8.4081        .50000       -.50360    
   3  Normalizat    1.3562        .94284E-02    .97168E-05   -.81903    
   4  Prefactor     .67319        .85459E-02    .12006E-04   -1.0459    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.77676e-09
Minuit parameter uncertainties:
  1  0.0275948
  2  213.202
  3  0.00942844
  4  0.00854588
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288593': 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) = 6387.6768853
delta logL = -9.24636879063e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.031e-04  2.759e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.587e+00  2.132e+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:  6.732e-01  8.546e-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:  1.356e+00  9.428e-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/288593/cmap_HighResolution_378000001_378259201_4FGL_J1203.3+1119_daily_bin535.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.70e-08', time_completed='2021-09-04 22:19:22.851141', job_id='288593', GAL2='0.67', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1630819162.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='-9.25e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='535' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:19:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0046>
Subject: Job 288593: <4FGL_J1203.3+1119_daily_bin535> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin535> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:05:33 2021
Job was executed on host(s) <bullet0046>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:05:34 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:05:34 2021
Terminated at Sat Sep  4 22:19:23 2021
Results reported at Sat Sep  4 22:19:23 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin535 180.833 11.3231 378000001 378259201 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 :                                   809.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             301.93 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   829 sec.
    Turnaround time :                            830 sec.

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

