/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 109 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 = 7389
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1203.3+1119_daily_bin76
RA = 180.833, Dec = 11.3231
tmin = 259027201, tmax = 259286401
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='285600', job_status='RUN', time_executed='2021-09-04 21:57:49.480666', time_epoch_executed='1630817869.48' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='76'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285600

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285600/ft1_4FGL_J1203.3+1119_daily_bin76.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285600/ft2_4FGL_J1203.3+1119_daily_bin76.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285600/ft1_4FGL_J1203.3+1119_daily_bin76.fits outfile=/scratch/kocevski/285600/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin76.fits ra=180.833 dec=11.3231 rad=12.0 tmin=259027201.0 tmax=259286401.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 1.45
user 1.25
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/285600/ft2_4FGL_J1203.3+1119_daily_bin76.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/285600/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin76.fits evtable="EVENTS" outfile="/scratch/kocevski/285600/ft1_filtered_4FGL_J1203.3+1119_daily_bin76.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/285600/ft1_filtered_4FGL_J1203.3+1119_daily_bin76.fits" evtable="EVENTS" scfile=/scratch/kocevski/285600/ft2_4FGL_J1203.3+1119_daily_bin76.fits sctable="SC_DATA" outfile=/scratch/kocevski/285600/ltcube_259027201_259286401_4FGL_J1203.3+1119_daily_bin76.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/285600/ft2_4FGL_J1203.3+1119_daily_bin76.fits
.....................!
real 12.69
user 12.26
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285600/ft1_filtered_4FGL_J1203.3+1119_daily_bin76.fits evtable="EVENTS" scfile=/scratch/kocevski/285600/ft2_4FGL_J1203.3+1119_daily_bin76.fits sctable="SC_DATA" expcube=/scratch/kocevski/285600/ltcube_259027201_259286401_4FGL_J1203.3+1119_daily_bin76.fits outfile=/scratch/kocevski/285600/expmap_259027201_259286401_4FGL_J1203.3+1119_daily_bin76.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/285600/ltcube_259027201_259286401_4FGL_J1203.3+1119_daily_bin76.fits
.....................!
real 191.52
user 185.63
sys 5.57

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/285600/ft1_filtered_4FGL_J1203.3+1119_daily_bin76.fits scfile=/scratch/kocevski/285600/ft2_4FGL_J1203.3+1119_daily_bin76.fits outfile=/scratch/kocevski/285600/cmap_259027201_259286401_4FGL_J1203.3+1119_daily_bin76.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 2.54
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285600/ft1_filtered_4FGL_J1203.3+1119_daily_bin76.fits scfile=/scratch/kocevski/285600/ft2_4FGL_J1203.3+1119_daily_bin76.fits outfile=/scratch/kocevski/285600/cmap_HighResolution_259027201_259286401_4FGL_J1203.3+1119_daily_bin76.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.53
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.132       1.0000         .10000E-03   10000.    
     8 'Prefactor '    4.4207       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    39.899       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.5096       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .46741E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .26241E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    2.8947       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .36060       1.0000         .10000E-03   10000.    
    18 'norm      '    1.6108       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    5.6035       1.0000         .10000E-03   10000.    
    21 'Prefactor '    21.246       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10434E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .42659       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .72657       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1407       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=   6028.410     FROM MIGRAD    STATUS=CONVERGED    595 CALLS     2625 TOTAL
                     EDM=   .91E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    4.0477       -.46433E-07** at limit **
   2  Prefactor     .10000E-03    10.835        .79880E-05** at limit **
   3  Prefactor     .10000E-03    3.2708       -.46264E-07** at limit **
   4  Prefactor     .10000E-03    15.216        .46886E-05** at limit **
   5  Prefactor     .10000E-03    39.221        .44584E-05** at limit **
   6  Prefactor     .10000E-03    10.234       -.72532E-05** at limit **
   7  Prefactor     22.129        9.2768       -.51084E-06    .36774E-06
   8  Prefactor     4.4275        15.939        .12387E-05   -.53057E-04
   9  Prefactor     .10000E-03    1.2631        .57012E-08** at limit **
  10  Prefactor     .10000E-03    36.627        .14111E-04** at limit **
  11  Prefactor     39.909        30.848        .84367E-05    .42291E-04
  12  Prefactor     1.5096        2.3956       -.10026E-06   -.73477E-03
  13  Prefactor     .10000E-03    1.5792        .19831E-06** at limit **
  14  Prefactor     .10000E-03    76.748       -.16837E-04** at limit **
  15  norm          2.9014        4.9156        .54969E-06    .17516E-04
  16  Prefactor     .10000E-03    28.703        .14430E-04** at limit **
  17  norm          .36059        .25754        .46733E-08   -.95566E-03
  18  norm          1.6084        394.57       -.16932E-04   -.24680E-04
  19  Prefactor     .10000E-03    44.606       -.25304E-04** at limit **
  20  norm          5.6033        .94948        .32479E-07    .11542E-02
  21  Prefactor     21.236        12.385        .41747E-06    .19407E-03
  22  Prefactor     .10000E-03    19.597       -.15835E-04** at limit **
  23  norm          .42597        1.3239       -.72032E-06   -.16916E-02
  24  Prefactor     .10000E-03    25.004        .88971E-06** at limit **
  25  Normalizat    .72677        .18697       -.10391E-05    .15855E-03
  26  Prefactor     1.1405        .17050        .37393E-06    .13817E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.1294
  Prefactor  = 4.42753
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 39.909
  Prefactor  = 1.50962
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.90137
  Prefactor  = 0.0001
  norm       = 0.36059
  norm       = 1.60837
  Prefactor  = 0.0001
  norm       = 5.60326
  Prefactor  = 21.2364
  Prefactor  = 0.0001
  norm       = 0.425968
  Prefactor  = 0.0001
  Normalizat = 0.726766
  Prefactor  = 1.14048
 **********
 **   18 **HESSE 
 **********

 FCN=   6028.410     FROM HESSE     STATUS=OK           452 CALLS     3077 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    4.0601        .15255E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    10.823        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    3.2799        .13713E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    39.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    10.345        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.129        9.2775        .85143E-04   -1.4767    
   8  Prefactor     4.4275        15.915        .19154E-03   -1.5287    
   9  Prefactor     .10000E-03    1.2690        .85168E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    36.571        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     39.909        30.756        .63457E-04   -1.4444    
  12  Prefactor     1.5096        2.2671        .13742E-03   -1.5462    
  13  Prefactor     .10000E-03    7.8731        .17791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    78.930        .42891E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          2.9014        4.4838        .14400E-03   -1.5367    
  16  Prefactor     .10000E-03    28.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .36059        .24927        .31742E-03   -1.5588    
  18  norm          1.6084        338.13        .33375E-03   -1.5454    
  19  Prefactor     .10000E-03    44.429        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          5.6033        .94718        .28282E-04   -1.5234    
  21  Prefactor     21.236        12.386        .86898E-04   -1.4786    
  22  Prefactor     .10000E-03    19.583        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .42597        1.3386        .15062E-03   -1.5577    
  24  Prefactor     .10000E-03    25.031        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .72677        .21208        .29381E-03   -1.0285    
  26  Prefactor     1.1405        .19530        .22765E-03   -.88183    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79258e-09
Minuit parameter uncertainties:
  1  6.95111e-07
  2  1.73214e-07
  3  8.36364e-07
  4  7.09485e-06
  5  2.31051e-05
  6  8.23373e-06
  7  9.27806
  8  15.9301
  9  1.00001e-06
  10  1.20741e-05
  11  30.7685
  12  2.26722
  13  0.000114747
  14  1.62913e-05
  15  4.48433
  16  4.78619e-05
  17  0.249273
  18  46.9098
  19  3.10238e-06
  20  0.947178
  21  12.3878
  22  1.39538e-05
  23  1.33867
  24  3.67203e-06
  25  0.212317
  26  0.195418
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  1.207e-05  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.140e+00  1.954e-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.268e-01  2.123e-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: 6.53e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.03e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/285600/likelihoodResults_259027201_259286401_4FGL_J1203.3+1119_daily_bin76.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) = 6028.41048865
delta logL = -0.00013019841299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6028.41035889
delta logL = -4.38868482888e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6455       1.0000          .0000       10.000    
     3 'Normalizat'    .72676       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1405       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=   6028.410     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      273 TOTAL
                     EDM=   .74E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10157E-03    172.13        .18142E-02** at limit **
   2  Index         2.5893        6.7645        .50000        .79084E-05
   3  Normalizat    .72677        .10866E-01    .29381E-03   -.40474E-04
   4  Prefactor     1.1405        .10398E-01    .22765E-03   -.59867E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101569
  Index      = 2.58929
  Normalizat = 0.726765
  Prefactor  = 1.14048
 **********
 **   18 **HESSE 
 **********

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

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10157E-03    737.72        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5893        5.7590        .50000       -.50310    
   3  Normalizat    .72677        .23208E-01    .11752E-04   -1.0285    
   4  Prefactor     1.1405        .22209E-01    .45530E-04   -.88183    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.34018e-09
Minuit parameter uncertainties:
  1  0.0689115
  2  659.141
  3  0.0232088
  4  0.0222088
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285600': 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) = 6028.41035881
delta logL = -3.58661964128e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.016e-04  6.891e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.589e+00  6.591e+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.140e+00  2.221e-02  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.268e-01  2.321e-02  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/285600/cmap_HighResolution_259027201_259286401_4FGL_J1203.3+1119_daily_bin76.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.03e-03', job_status='DONE', photon_flux_upper_limit='6.53e-08', time_completed='2021-09-04 22:09:55.497951', job_id='285600', GAL2='1.14', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1630818595.5', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='-3.59e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='76' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:09:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0263>
Subject: Job 285600: <4FGL_J1203.3+1119_daily_bin76> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin76> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 21:55:44 2021
Job was executed on host(s) <bullet0263>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 21:55:47 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 21:55:47 2021
Terminated at Sat Sep  4 22:09:57 2021
Results reported at Sat Sep  4 22:09:57 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin76 180.833 11.3231 259027201 259286401 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 :                                   723.04 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             299.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   848 sec.
    Turnaround time :                            853 sec.

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

