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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1081
RA = 180.833, Dec = 11.3231
tmin = 519523201, tmax = 519782401
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='292139', job_status='RUN', time_executed='2021-09-04 22:17:35.915773', time_epoch_executed='1630819055.92' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1081'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/292139

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

Retrieving the FT1 file...

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

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

Retrieving 37 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/292139/ft1_4FGL_J1203.3+1119_daily_bin1081.fits


Retrieving the FT1 file...

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

Retrieving 37 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/292139/ft2_4FGL_J1203.3+1119_daily_bin1081.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/292139/ft1_4FGL_J1203.3+1119_daily_bin1081.fits outfile=/scratch/kocevski/292139/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1081.fits ra=180.833 dec=11.3231 rad=12.0 tmin=519523201.0 tmax=519782401.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.08
user 2.70
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/292139/ft2_4FGL_J1203.3+1119_daily_bin1081.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/292139/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1081.fits evtable="EVENTS" outfile="/scratch/kocevski/292139/ft1_filtered_4FGL_J1203.3+1119_daily_bin1081.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.57
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/292139/ft1_filtered_4FGL_J1203.3+1119_daily_bin1081.fits" evtable="EVENTS" scfile=/scratch/kocevski/292139/ft2_4FGL_J1203.3+1119_daily_bin1081.fits sctable="SC_DATA" outfile=/scratch/kocevski/292139/ltcube_519523201_519782401_4FGL_J1203.3+1119_daily_bin1081.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/292139/ft2_4FGL_J1203.3+1119_daily_bin1081.fits
.....................!
real 10.00
user 9.55
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/292139/ft1_filtered_4FGL_J1203.3+1119_daily_bin1081.fits evtable="EVENTS" scfile=/scratch/kocevski/292139/ft2_4FGL_J1203.3+1119_daily_bin1081.fits sctable="SC_DATA" expcube=/scratch/kocevski/292139/ltcube_519523201_519782401_4FGL_J1203.3+1119_daily_bin1081.fits outfile=/scratch/kocevski/292139/expmap_519523201_519782401_4FGL_J1203.3+1119_daily_bin1081.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/292139/ltcube_519523201_519782401_4FGL_J1203.3+1119_daily_bin1081.fits
.....................!
real 190.77
user 185.09
sys 5.23

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/292139/ft1_filtered_4FGL_J1203.3+1119_daily_bin1081.fits scfile=/scratch/kocevski/292139/ft2_4FGL_J1203.3+1119_daily_bin1081.fits outfile=/scratch/kocevski/292139/cmap_519523201_519782401_4FGL_J1203.3+1119_daily_bin1081.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 1.21
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/292139/ft1_filtered_4FGL_J1203.3+1119_daily_bin1081.fits scfile=/scratch/kocevski/292139/ft2_4FGL_J1203.3+1119_daily_bin1081.fits outfile=/scratch/kocevski/292139/cmap_HighResolution_519523201_519782401_4FGL_J1203.3+1119_daily_bin1081.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.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.4782       1.0000         .10000E-03   10000.    
     2 'Prefactor '    51.599       1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.739       1.0000         .10000E-03   10000.    
     4 'Prefactor '    43.552       1.0000         .10000E-03   10000.    
     5 'Prefactor '    48.579       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9828       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .84707       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.1613       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10042E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10120E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    3.3762       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    4.5604       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .29632E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .10477E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.5335       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    50.172       1.0000         .10000E-03   10000.    
    23 'norm      '    .10755E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    29.509       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .67900       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3567       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=   4578.649     FROM MIGRAD    STATUS=CONVERGED    625 CALLS     3131 TOTAL
                     EDM=   .16E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.4769        12.665        .20700E-06   -.78525E-06
   2  Prefactor     51.598        45.942        .18469E-06   -.20201E-05
   3  Prefactor     41.740        17.943        .18889E-06   -.50532E-05
   4  Prefactor     43.555        44.509        .58214E-07   -.78754E-06
   5  Prefactor     48.387        125.59        .16212E-04    .14091E-05
   6  Prefactor     2.9850        11.736        .12551E-05   -.13404E-04
   7  Prefactor     .84510        13.721        .61481E-06   -.12163E-04
   8  Prefactor     2.1604        13.858        .35061E-05    .11653E-04
   9  Prefactor     .10000E-03    2.9691        .37980E-08** at limit **
  10  Prefactor     .10000E-03    34.398        .15207E-05** at limit **
  11  Prefactor     .10000E-03    23.221       -.71833E-06** at limit **
  12  Prefactor     .10000E-03    3.2620        .22932E-07** at limit **
  13  Prefactor     3.3767        3.6187        .14036E-06   -.99968E-05
  14  Prefactor     .10000E-03    14.291        .89792E-06** at limit **
  15  norm          4.5593        4.4281        .53017E-07   -.13321E-04
  16  Prefactor     .10000E-03    47.321       -.12474E-05** at limit **
  17  norm          .29592E-01    .14584        .94468E-07   -.12294E-03
  18  norm          .10000E-03    99.377       -.20555E-05** at limit **
  19  Prefactor     .10000E-03    116.31        .26471E-05** at limit **
  20  norm          1.5334        .83595        .23199E-07   -.11791E-03
  21  Prefactor     .10000E-03    13.904       -.90497E-06** at limit **
  22  Prefactor     50.163        38.910        .66515E-06    .12120E-04
  23  norm          .10000E-03    1.1020        .20228E-06** at limit **
  24  Prefactor     29.499        59.586        .92824E-06   -.64506E-06
  25  Normalizat    .67882        .24124       -.88704E-06   -.80247E-05
  26  Prefactor     1.3569        .21277       -.48226E-06    .24900E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.47685
  Prefactor  = 51.5984
  Prefactor  = 41.7404
  Prefactor  = 43.5546
  Prefactor  = 48.3866
  Prefactor  = 2.98504
  Prefactor  = 0.845105
  Prefactor  = 2.16042
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.37673
  Prefactor  = 0.0001
  norm       = 4.55927
  Prefactor  = 0.0001
  norm       = 0.0295922
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 1.53343
  Prefactor  = 0.0001
  Prefactor  = 50.1629
  norm       = 0.000100001
  Prefactor  = 29.4995
  Normalizat = 0.678823
  Prefactor  = 1.35689
 **********
 **   18 **HESSE 
 **********

 FCN=   4578.649     FROM HESSE     STATUS=OK           466 CALLS     3597 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.4769        12.649        .15768E-03   -1.5199    
   2  Prefactor     51.598        45.910        .55832E-04   -1.4270    
   3  Prefactor     41.740        17.974        .62048E-04   -1.4415    
   4  Prefactor     43.555        44.317        .60748E-04   -1.4387    
   5  Prefactor     48.387        125.57        .28767E-03   -1.4316    
   6  Prefactor     2.9850        11.723        .11753E-02   -1.5362    
   7  Prefactor     .84510        13.850        .47671E-03   -1.5524    
   8  Prefactor     2.1604        13.803        .14009E-02   -1.5414    
   9  Prefactor     .10000E-03    3.0049        .11372E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    34.398        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    23.275        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    3.3821        .23744E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.3767        3.5947        .12541E-03   -1.5340    
  14  Prefactor     .10000E-03    14.293        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          4.5593        4.4086        .12655E-03   -1.5281    
  16  Prefactor     .10000E-03    47.581        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .29592E-01    .17658        .49609E-03   -1.5674    
  18  norm          .10000E-03    99.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    116.36        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.5334        .82570        .41711E-04   -1.5460    
  21  Prefactor     .10000E-03    14.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     50.163        38.950        .56617E-04   -1.4290    
  23  norm          .10000E-03    4.9584        .13613E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     29.499        59.586        .73755E-04   -1.4621    
  25  Normalizat    .67882        .27823        .32655E-03   -1.0473    
  26  Prefactor     1.3569        .24853        .22783E-03   -.81631    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69451e-08
Minuit parameter uncertainties:
  1  12.6544
  2  45.9414
  3  17.9763
  4  44.3503
  5  126.267
  6  11.7318
  7  6.84378
  8  10.9249
  9  8.24997e-07
  10  1.92648e-06
  11  3.99224e-05
  12  9.71177e-07
  13  3.59497
  14  3.55028e-06
  15  4.40893
  16  2.27317e-06
  17  0.144329
  18  2.93084e-05
  19  2.81723e-05
  20  0.825706
  21  1.24806e-05
  22  38.9697
  23  0.000102864
  24  59.707
  25  0.278807
  26  0.248751
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.357e+00  2.488e-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:  6.788e-01  2.788e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/292139/likelihoodResults_519523201_519782401_4FGL_J1203.3+1119_daily_bin1081.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) = 4578.64916269
delta logL = -0.000138180321301

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4578.64902529
delta logL = -7.71781742515e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.6587       1.0000          .0000       10.000    
     3 'Normalizat'    .67882       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3569       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=   4578.649     FROM MIGRAD    STATUS=CONVERGED     91 CALLS      281 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10344E-03    13.029        .18142E-01** at limit **
   2  Index         2.5740        8.0119        .50000        .12408E-04
   3  Normalizat    .67882        .39475E-02    .32654E-03   -.63747E-04
   4  Prefactor     1.3569        .37845E-02    .22783E-03   -.10783E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000103436
  Index      = 2.57405
  Normalizat = 0.678823
  Prefactor  = 1.35689
 **********
 **   18 **HESSE 
 **********

 FCN=   4578.649     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      310 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10344E-03    92.830        .33261E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5740        7.0828        .50000       -.50658    
   3  Normalizat    .67882        .10579E-01    .13062E-04   -1.0473    
   4  Prefactor     1.3569        .10142E-01    .45565E-04   -.81631    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.17018e-09
Minuit parameter uncertainties:
  1  0.0357723
  2  260.307
  3  0.010579
  4  0.0101421
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/292139': 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) = 4578.6490251
delta logL = -5.87360773352e-07

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.034e-04  3.577e-02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  2.574e+00  2.603e+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.357e+00  1.014e-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:  6.788e-01  1.058e-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/292139/cmap_HighResolution_519523201_519782401_4FGL_J1203.3+1119_daily_bin1081.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.56e-03', job_status='DONE', photon_flux_upper_limit='7.23e-08', time_completed='2021-09-04 22:28:58.841795', job_id='292139', GAL2='1.36', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1630819738.84', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='-5.87e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1081' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:28:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0220>
Subject: Job 292139: <4FGL_J1203.3+1119_daily_bin1081> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1081 180.833 11.3231 519523201 519782401 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 :                                   648.29 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             314.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   749 sec.
    Turnaround time :                            752 sec.

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

