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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1126
RA = 180.833, Dec = 11.3231
tmin = 531187201, tmax = 531446401
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='292224', job_status='RUN', time_executed='2021-09-04 22:17:41.984856', time_epoch_executed='1630819061.98' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1126'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/292224

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/292224/ft1_4FGL_J1203.3+1119_daily_bin1126.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/292224/ft2_4FGL_J1203.3+1119_daily_bin1126.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/292224/ft1_4FGL_J1203.3+1119_daily_bin1126.fits outfile=/scratch/kocevski/292224/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1126.fits ra=180.833 dec=11.3231 rad=12.0 tmin=531187201.0 tmax=531446401.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.97
user 3.77
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/292224/ft2_4FGL_J1203.3+1119_daily_bin1126.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/292224/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1126.fits evtable="EVENTS" outfile="/scratch/kocevski/292224/ft1_filtered_4FGL_J1203.3+1119_daily_bin1126.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.34
sys 0.14

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/292224/ft1_filtered_4FGL_J1203.3+1119_daily_bin1126.fits evtable="EVENTS" scfile=/scratch/kocevski/292224/ft2_4FGL_J1203.3+1119_daily_bin1126.fits sctable="SC_DATA" expcube=/scratch/kocevski/292224/ltcube_531187201_531446401_4FGL_J1203.3+1119_daily_bin1126.fits outfile=/scratch/kocevski/292224/expmap_531187201_531446401_4FGL_J1203.3+1119_daily_bin1126.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/292224/ltcube_531187201_531446401_4FGL_J1203.3+1119_daily_bin1126.fits
.....................!
real 190.67
user 184.96
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/292224/ft1_filtered_4FGL_J1203.3+1119_daily_bin1126.fits scfile=/scratch/kocevski/292224/ft2_4FGL_J1203.3+1119_daily_bin1126.fits outfile=/scratch/kocevski/292224/cmap_531187201_531446401_4FGL_J1203.3+1119_daily_bin1126.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.64
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/292224/ft1_filtered_4FGL_J1203.3+1119_daily_bin1126.fits scfile=/scratch/kocevski/292224/ft2_4FGL_J1203.3+1119_daily_bin1126.fits outfile=/scratch/kocevski/292224/cmap_HighResolution_531187201_531446401_4FGL_J1203.3+1119_daily_bin1126.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.68
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .73566       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.313       1.0000         .10000E-03   10000.    
     3 'Prefactor '    14.104       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10053E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11381E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.6223       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.8713       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .22726E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    10.677       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .28819       1.0000         .10000E-03   10000.    
    18 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .88721       1.0000         .10000E-03   10000.    
    21 'Prefactor '    5.7935       1.0000         .10000E-03   10000.    
    22 'Prefactor '    34.533       1.0000         .10000E-03   10000.    
    23 'norm      '    1.1486       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10255E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.1285       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .94280       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=   6532.898     FROM MIGRAD    STATUS=CONVERGED    626 CALLS     3152 TOTAL
                     EDM=   .65E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .74217        8.7348       -.14633E-05    .26175E-03
   2  Prefactor     11.318        40.959        .57754E-06    .27399E-04
   3  Prefactor     14.103        12.537        .28460E-06    .19040E-03
   4  Prefactor     .10000E-03    8.5061       -.31462E-07** at limit **
   5  Prefactor     .10000E-03    30.158       -.27903E-06** at limit **
   6  Prefactor     .10000E-03    15.228        .37192E-05** at limit **
   7  Prefactor     .10000E-03    3.0197       -.52773E-07** at limit **
   8  Prefactor     .10000E-03    5.9527        .11028E-05** at limit **
   9  Prefactor     .10008E-03    2.8553       -.10901E-05** at limit **
  10  Prefactor     9.6832        161.20        .37342E-05    .35876E-04
  11  Prefactor     .10000E-03    21.179        .32709E-06** at limit **
  12  Prefactor     2.8747        3.2703        .44387E-06    .42225E-03
  13  Prefactor     .10004E-03    1.6303        .20171E-06** at limit **
  14  Prefactor     .10000E-03    16.252       -.17831E-06** at limit **
  15  norm          10.676        4.3829        .68700E-07    .92460E-05
  16  Prefactor     .10000E-03    15.698        .22372E-08** at limit **
  17  norm          .28821        .22971        .24013E-07    .60486E-03
  18  norm          .10000E-03    104.25       -.19852E-06** at limit **
  19  Prefactor     .10000E-03    47.684        .34363E-06** at limit **
  20  norm          .88720        .54711        .21003E-07    .84577E-04
  21  Prefactor     5.7936        8.6433        .26984E-05    .29365E-03
  22  Prefactor     34.534        31.377       -.10635E-05   -.14085E-04
  23  norm          1.1486        1.0045        .66146E-08   -.34251E-05
  24  Prefactor     .10000E-03    105.22       -.48557E-06** at limit **
  25  Normalizat    1.1285        .20141       -.19995E-05    .24297E-03
  26  Prefactor     .94279        .16583        .14750E-05    .91402E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.742174
  Prefactor  = 11.3178
  Prefactor  = 14.103
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.00010008
  Prefactor  = 9.68319
  Prefactor  = 0.0001
  Prefactor  = 2.87475
  Prefactor  = 0.000100043
  Prefactor  = 0.0001
  norm       = 10.6758
  Prefactor  = 0.0001
  norm       = 0.288207
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.887195
  Prefactor  = 5.79361
  Prefactor  = 34.5338
  norm       = 1.14857
  Prefactor  = 0.0001
  Normalizat = 1.12854
  Prefactor  = 0.942794
 **********
 **   18 **HESSE 
 **********

 FCN=   6532.898     FROM HESSE     STATUS=OK           462 CALLS     3614 TOTAL
                     EDM=   .77E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .74217        24.934        .42790E-02   -1.5536    
   2  Prefactor     11.318        40.844        .11911E-03   -1.5035    
   3  Prefactor     14.103        12.459        .10665E-03   -1.4957    
   4  Prefactor     .10000E-03    8.5101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    30.202        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    15.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.0316        .13715E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.9604        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10008E-03    17.798        .23193E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     9.6832        161.20        .12919E-03   -1.5086    
  11  Prefactor     .10000E-03    21.251        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.8747        3.0290        .13513E-03   -1.5369    
  13  Prefactor     .10004E-03    24.094        .18008E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    16.292        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          10.676        4.3546        .97064E-04   -1.5054    
  16  Prefactor     .10000E-03    15.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .28821        .21984        .33270E-03   -1.5601    
  18  norm          .10000E-03    106.84        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    47.726        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .88720        .53882        .43118E-04   -1.5520    
  21  Prefactor     5.7936        8.7895        .83431E-03   -1.5227    
  22  Prefactor     34.534        31.475        .68194E-04   -1.4532    
  23  norm          1.1486        1.0163        .73442E-04   -1.5494    
  24  Prefactor     .10000E-03    106.03        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.1285        .23046        .25838E-03   -.88841    
  26  Prefactor     .94279        .19093        .25186E-03   -.94661    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.72252e-09
Minuit parameter uncertainties:
  1  8.60698
  2  40.9455
  3  12.4616
  4  2.37799e-07
  5  0.000193956
  6  0.000230987
  7  8.40917e-07
  8  3.79849e-05
  9  0.0023902
  10  79.2697
  11  0.000158651
  12  3.02913
  13  0.0020438
  14  7.595e-05
  15  4.35477
  16  1.88682e-06
  17  0.219839
  18  0.000227837
  19  0.000242002
  20  0.538822
  21  8.79147
  22  31.4904
  23  1.01634
  24  0.000141384
  25  0.23067
  26  0.19107
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  9.683e+00  7.927e+01  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:  9.428e-01  1.911e-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.129e+00  2.307e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.02
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 8.51e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.55e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/292224/likelihoodResults_531187201_531446401_4FGL_J1203.3+1119_daily_bin1126.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) = 6532.75430742
delta logL = 0.143536452618

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6532.74818591
delta logL = 0.149657962839

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.257       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1567       1.0000          .0000       10.000    
     3 'Normalizat'    1.1046       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95271       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=   6532.748     FROM MIGRAD    STATUS=CONVERGED     99 CALLS      293 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.338        70.663        .11940E-03   -.75789E-04
   2  Index         3.1540        2.0808        .91296E-02   -.20039E-04
   3  Normalizat    1.1044        .21554        .26085E-03   -.13676E-03
   4  Prefactor     .95304        .19080        .25061E-03    .15419E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.3384
  Index      = 3.15399
  Normalizat = 1.10439
  Prefactor  = 0.953042
 **********
 **   18 **HESSE 
 **********

 FCN=   6532.748     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.338        36.191        .47762E-05   -1.5034    
   2  Index         3.1540        1.3569        .36518E-03   -.37815    
   3  Normalizat    1.1044        .21578        .10434E-04   -.89611    
   4  Prefactor     .95304        .19076        .10025E-04   -.94312    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.59059e-10
Minuit parameter uncertainties:
  1  36.2608
  2  1.37696
  3  0.215948
  4  0.19089
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/292224': 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) = 6532.74818145
delta logL = 0.149662423143

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  9.530e-01  1.909e-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.104e+00  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.02
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/292224/cmap_HighResolution_531187201_531446401_4FGL_J1203.3+1119_daily_bin1126.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.55e-03', job_status='DONE', photon_flux_upper_limit='8.51e-08', time_completed='2021-09-04 22:31:58.859975', job_id='292224', GAL2='0.95', fit_tolerance='1e-08', EG2='1.10', EG='1.13', time_epoch_completed='1630819918.86', return_code2='0', ts='0.02', comment='SUCCESS', return_code='0', GAL='0.94', dlogl='1.50e-01', ts2='0.33', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1126' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:31:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 292224: <4FGL_J1203.3+1119_daily_bin1126> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1126> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep  4 22:16:32 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:16: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:16:34 2021
Terminated at Sat Sep  4 22:31:59 2021
Results reported at Sat Sep  4 22:31:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1126 180.833 11.3231 531187201 531446401 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 :                                   793.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             285.21 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   925 sec.
    Turnaround time :                            927 sec.

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

