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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1424
RA = 180.833, Dec = 11.3231
tmin = 608428801, tmax = 608688001
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='293523', job_status='RUN', time_executed='2021-09-04 22:24:47.267671', time_epoch_executed='1630819487.27' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1424'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293523

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293523/ft1_4FGL_J1203.3+1119_daily_bin1424.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293523/ft2_4FGL_J1203.3+1119_daily_bin1424.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293523/ft1_4FGL_J1203.3+1119_daily_bin1424.fits outfile=/scratch/kocevski/293523/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1424.fits ra=180.833 dec=11.3231 rad=12.0 tmin=608428801.0 tmax=608688001.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.94
user 4.69
sys 0.22

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293523/ft1_filtered_4FGL_J1203.3+1119_daily_bin1424.fits evtable="EVENTS" scfile=/scratch/kocevski/293523/ft2_4FGL_J1203.3+1119_daily_bin1424.fits sctable="SC_DATA" expcube=/scratch/kocevski/293523/ltcube_608428801_608688001_4FGL_J1203.3+1119_daily_bin1424.fits outfile=/scratch/kocevski/293523/expmap_608428801_608688001_4FGL_J1203.3+1119_daily_bin1424.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/293523/ltcube_608428801_608688001_4FGL_J1203.3+1119_daily_bin1424.fits
.....................!
real 191.59
user 186.81
sys 4.20

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/293523/ft1_filtered_4FGL_J1203.3+1119_daily_bin1424.fits scfile=/scratch/kocevski/293523/ft2_4FGL_J1203.3+1119_daily_bin1424.fits outfile=/scratch/kocevski/293523/cmap_608428801_608688001_4FGL_J1203.3+1119_daily_bin1424.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/293523/ft1_filtered_4FGL_J1203.3+1119_daily_bin1424.fits scfile=/scratch/kocevski/293523/ft2_4FGL_J1203.3+1119_daily_bin1424.fits outfile=/scratch/kocevski/293523/cmap_HighResolution_608428801_608688001_4FGL_J1203.3+1119_daily_bin1424.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.57
user 0.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.870       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10819E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10020       1.0000         .10000E-03   10000.    
     4 'Prefactor '    42.626       1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.636       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10033E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    4.7525       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.5154       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.875       1.0000         .10000E-03   10000.    
    12 'Prefactor '    1.3509       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .64922E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    10.772       1.0000         .10000E-03   10000.    
    15 'norm      '    .10572E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .17462E-02   1.0000         .10000E-03   10000.    
    20 'norm      '    .68594       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.4242       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11494E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .23273       1.0000         .10000E-03   10000.    
    24 'Prefactor '    33.679       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .75138       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.2054       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4694.168     FROM MIGRAD    STATUS=CONVERGED    135 CALLS     2689 TOTAL
                     EDM=   .88E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.860        1.3467        .14698E-05    .10592E-02
   2  Prefactor     .10771E-03    83.796        .99238E-04** at limit **
   3  Prefactor     .11678E-03    735.15       -.11709E-03** at limit **
   4  Prefactor     42.623        1.2813       -.83472E-06    .50484E-03
   5  Prefactor     12.574        8.3931       -.16483E-04    .40470E-02
   6  Prefactor     .10000E-03    3.9808       -.10365E-05** at limit **
   7  Prefactor     4.7540        8.3442        .52779E-05    .77086E-03
   8  Prefactor     .10000E-03    4.3164       -.15305E-05** at limit **
   9  Prefactor     2.5173        4.0195        .42056E-05    .20959E-04
  10  Prefactor     .10001E-03    34.451       -.28837E-04** at limit **
  11  Prefactor     11.843        3.3403        .33596E-05   -.11830E-02
  12  Prefactor     1.3525        2.8441        .29577E-06   -.38104E-04
  13  Prefactor     .10000E-03    16.805       -.16021E-04** at limit **
  14  Prefactor     10.716        6.0755        .10732E-04   -.25399E-02
  15  norm          .10000E-03    4.4350       -.58601E-05** at limit **
  16  Prefactor     .10000E-03    16.661        .11901E-04** at limit **
  17  norm          .10000E-03    .36883       -.19776E-06** at limit **
  18  norm          .10087E-03    46.545        .63564E-04** at limit **
  19  Prefactor     .16449E-03    35.329        .86087E-04** at limit **
  20  norm          .68586        .75627        .11621E-05    .55041E-04
  21  Prefactor     5.4301        2.2201       -.52740E-05   -.93254E-03
  22  Prefactor     .10462E-03    57.065       -.87768E-04** at limit **
  23  norm          .22748        3.5372       -.38768E-06   -.46802E-04
  24  Prefactor     33.581        13.448       -.16615E-04    .10875E-01
  25  Normalizat    .75158        .23227       -.88588E-06    .15194E-03
  26  Prefactor     1.2054        .21605        .26152E-05    .18578E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.8601
  Prefactor  = 0.00010771
  Prefactor  = 0.000116781
  Prefactor  = 42.6227
  Prefactor  = 12.5737
  Prefactor  = 0.0001
  Prefactor  = 4.75401
  Prefactor  = 0.0001
  Prefactor  = 2.51734
  Prefactor  = 0.00010001
  Prefactor  = 11.8432
  Prefactor  = 1.35248
  Prefactor  = 0.0001
  Prefactor  = 10.7162
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.000100866
  Prefactor  = 0.000164486
  norm       = 0.685859
  Prefactor  = 5.43011
  Prefactor  = 0.00010462
  norm       = 0.227478
  Prefactor  = 33.5806
  Normalizat = 0.751576
  Prefactor  = 1.20535
 **********
 **   18 **HESSE 
 **********

 FCN=   4694.168     FROM HESSE     STATUS=OK           526 CALLS     3215 TOTAL
                     EDM=   .48E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.860        13.859        .27914E-02   -1.4991    
   2  Prefactor     .10771E-03    88.971        .90712E-02   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11678E-03    8.6613        .95122E-01   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     42.623        36.094        .15350E-02   -1.4401    
   5  Prefactor     12.574        159.20        .28171E-02   -1.4999    
   6  Prefactor     .10000E-03    3.9643        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     4.7540        8.5782        .46141E-02   -1.5272    
   8  Prefactor     .10000E-03    4.3224        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.5173        4.1031        .64402E-02   -1.5391    
  10  Prefactor     .10001E-03    34.552        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     11.843        36.973        .29062E-02   -1.5020    
  12  Prefactor     1.3525        3.0466        .94101E-02   -1.5475    
  13  Prefactor     .10000E-03    2.0470        .64434E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.716        32.848        .30519E-02   -1.5053    
  15  norm          .10000E-03    4.3117        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.665        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    .18402        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10087E-03    48.083        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .16449E-03    257.89        .10173E-01   -1.5710    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .68586        .80581        .12008E-01   -1.5542    
  21  Prefactor     5.4301        14.694        .43134E-02   -1.5242    
  22  Prefactor     .10462E-03    60.656        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .22748        1.8261        .28416E-01   -1.5613    
  24  Prefactor     33.581        92.459        .17262E-02   -1.4548    
  25  Normalizat    .75158        .21158        .64732E-01   -1.0189    
  26  Prefactor     1.2054        .19039        .34504E-01   -.86167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.75327e-06
Minuit parameter uncertainties:
  1  13.8624
  2  0.052459
  3  0.0241155
  4  36.1122
  5  89.7779
  6  2.66019e-06
  7  8.58046
  8  1.13e-05
  9  4.10359
  10  0.00119821
  11  37.0449
  12  3.04694
  13  4.80246e-05
  14  32.9036
  15  5.36056e-06
  16  4.36652e-05
  17  3.72936e-07
  18  0.0129128
  19  0.259037
  20  0.805826
  21  14.7035
  22  0.0335123
  23  1.28881
  24  92.857
  25  0.211812
  26  0.190502
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.205e+00  1.905e-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.516e-01  2.118e-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.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.15e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/293523/likelihoodResults_608428801_608688001_4FGL_J1203.3+1119_daily_bin1424.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) = 4694.16840027
delta logL = -0.000137744622407

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4694.16826267
delta logL = -1.47227183334e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.4069       1.0000          .0000       10.000    
     3 'Normalizat'    .75157       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2054       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=   4694.168     FROM MIGRAD    STATUS=CONVERGED    108 CALLS      283 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    6243.8        .18142E-01** at limit **
   2  Index         1.2915        5.6443        .95508E-01   -.38686E-07
   3  Normalizat    .75158        .21773E-01    .28638E-03    .63953E-04
   4  Prefactor     1.2054        .20539E-01    .21694E-03    .89024E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100011
  Index      = 1.29153
  Normalizat = 0.751575
  Prefactor  = 1.20535
 **********
 **   18 **HESSE 
 **********

 FCN=   4694.168     FROM HESSE     STATUS=OK            23 CALLS      306 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    152.83        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.2915        9.3129        .38203E-02   -.83559    
   3  Normalizat    .75158        .22711        .11455E-04   -1.0189    
   4  Prefactor     1.2054        .21434        .43388E-04   -.86167    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.32924e-10
Minuit parameter uncertainties:
  1  0.00259462
  2  540.409
  3  0.227394
  4  0.214499
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293523': 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) = 4694.16826141
delta logL = 1.11462850327e-06

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  2.595e-03  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  1.292e+00  5.404e+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.205e+00  2.145e-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.516e-01  2.274e-01  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/293523/cmap_HighResolution_608428801_608688001_4FGL_J1203.3+1119_daily_bin1424.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.15e-03', job_status='DONE', photon_flux_upper_limit='6.70e-08', time_completed='2021-09-04 22:35:27.408282', job_id='293523', GAL2='1.21', fit_tolerance='1e-08', EG2='0.75', EG='0.75', time_epoch_completed='1630820127.41', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='1.11e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1424' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:35:27 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 293523: <4FGL_J1203.3+1119_daily_bin1424> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1424> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:20:48 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:20:49 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:20:49 2021
Terminated at Sat Sep  4 22:35:30 2021
Results reported at Sat Sep  4 22:35:30 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1424 180.833 11.3231 608428801 608688001 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 :                                   632.02 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   878 sec.
    Turnaround time :                            882 sec.

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

