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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin551
RA = 180.833, Dec = 11.3231
tmin = 382147201, tmax = 382406401
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='288619', job_status='RUN', time_executed='2021-09-04 22:05:45.328628', time_epoch_executed='1630818345.33' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='551'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/288619

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/288619/ft1_4FGL_J1203.3+1119_daily_bin551.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/288619/ft2_4FGL_J1203.3+1119_daily_bin551.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/288619/ft1_4FGL_J1203.3+1119_daily_bin551.fits outfile=/scratch/kocevski/288619/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin551.fits ra=180.833 dec=11.3231 rad=12.0 tmin=382147201.0 tmax=382406401.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.44
user 3.16
sys 0.18

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/288619/ft1_filtered_4FGL_J1203.3+1119_daily_bin551.fits evtable="EVENTS" scfile=/scratch/kocevski/288619/ft2_4FGL_J1203.3+1119_daily_bin551.fits sctable="SC_DATA" expcube=/scratch/kocevski/288619/ltcube_382147201_382406401_4FGL_J1203.3+1119_daily_bin551.fits outfile=/scratch/kocevski/288619/expmap_382147201_382406401_4FGL_J1203.3+1119_daily_bin551.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/288619/ltcube_382147201_382406401_4FGL_J1203.3+1119_daily_bin551.fits
.....................!
real 190.17
user 184.87
sys 4.86

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/288619/ft1_filtered_4FGL_J1203.3+1119_daily_bin551.fits scfile=/scratch/kocevski/288619/ft2_4FGL_J1203.3+1119_daily_bin551.fits outfile=/scratch/kocevski/288619/cmap_382147201_382406401_4FGL_J1203.3+1119_daily_bin551.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.55
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/288619/ft1_filtered_4FGL_J1203.3+1119_daily_bin551.fits scfile=/scratch/kocevski/288619/ft2_4FGL_J1203.3+1119_daily_bin551.fits outfile=/scratch/kocevski/288619/cmap_HighResolution_382147201_382406401_4FGL_J1203.3+1119_daily_bin551.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=180.833 yref=11.3231 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.0861       1.0000         .10000E-03   10000.    
     2 'Prefactor '    62.276       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    2.2975       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11548E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    36.253       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.9163       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .58405       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .71716       1.0000         .10000E-03   10000.    
    21 'Prefactor '    23.457       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    33.179       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.4598       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .66499       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=   6274.436     FROM MIGRAD    STATUS=CONVERGED    627 CALLS     3563 TOTAL
                     EDM=   .65E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.0849        9.6649       -.21579E-05    .14214E-04
   2  Prefactor     62.263        49.093       -.75243E-06   -.63565E-05
   3  Prefactor     .10000E-03    3.4426       -.79014E-08** at limit **
   4  Prefactor     .10000E-03    15.289       -.90556E-06** at limit **
   5  Prefactor     2.2126        216.51       -.16708E-04    .10096E-04
   6  Prefactor     .10000E-03    2.5253        .39443E-07** at limit **
   7  Prefactor     .10000E-03    51.466        .26155E-04** at limit **
   8  Prefactor     .10000E-03    5.9701        .24678E-07** at limit **
   9  Prefactor     .10000E-03    1.0811       -.16105E-07** at limit **
  10  Prefactor     .10000E-03    42.013       -.11410E-05** at limit **
  11  Prefactor     36.241        40.199       -.99575E-07   -.67490E-05
  12  Prefactor     .10000E-03    .99981       -.25243E-07** at limit **
  13  Prefactor     6.9155        3.4449       -.93751E-07    .13014E-03
  14  Prefactor     .10000E-03    11.413       -.18142E-06** at limit **
  15  norm          .10000E-03    1.5189        .29272E-07** at limit **
  16  Prefactor     .10000E-03    12.700        .74297E-06** at limit **
  17  norm          .58399        .28001       -.74204E-08    .28724E-03
  18  norm          .10000E-03    23.030        .13932E-05** at limit **
  19  Prefactor     .10000E-03    42.090       -.12051E-05** at limit **
  20  norm          .71718        .63041       -.10205E-07   -.30095E-04
  21  Prefactor     23.454        15.027        .14196E-06    .20764E-03
  22  Prefactor     .10000E-03    37.290       -.28203E-05** at limit **
  23  norm          33.178        4.1638       -.54864E-08    .22471E-04
  24  Prefactor     .10000E-03    47.533        .16913E-05** at limit **
  25  Normalizat    1.4604        .20265        .86834E-07    .86886E-04
  26  Prefactor     .66448        .17472        .99953E-06    .12717E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.08485
  Prefactor  = 62.2635
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.21265
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 36.2413
  Prefactor  = 0.0001
  Prefactor  = 6.91551
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.583988
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.717182
  Prefactor  = 23.4536
  Prefactor  = 0.000100001
  norm       = 33.1781
  Prefactor  = 0.0001
  Normalizat = 1.46043
  Prefactor  = 0.66448
 **********
 **   18 **HESSE 
 **********

 FCN=   6274.436     FROM HESSE     STATUS=OK           456 CALLS     4019 TOTAL
                     EDM=   .78E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.0849        9.6655        .11543E-02   -1.5357    
   2  Prefactor     62.263        49.349        .50848E-04   -1.4128    
   3  Prefactor     .10000E-03    3.4486        .14353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    15.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     2.2126        217.00        .27077E-03   -1.5410    
   6  Prefactor     .10000E-03    2.5279        .12293E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    49.949        .33454E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.9943        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.0874        .80416E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    42.088        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     36.241        39.807        .66561E-04   -1.4503    
  12  Prefactor     .10000E-03    1.0085        .77252E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     6.9155        3.4453        .49499E-03   -1.5182    
  14  Prefactor     .10000E-03    11.419        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    1.5341        .95197E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    12.711        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .58399        .27655        .27929E-04   -1.5555    
  18  norm          .10000E-03    23.081        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    42.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .71718        .60080        .56094E-03   -1.5539    
  21  Prefactor     23.454        15.047        .82705E-04   -1.4739    
  22  Prefactor     .10000E-03    37.507        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          33.178        4.1564        .54822E-04   -1.4555    
  24  Prefactor     .10000E-03    47.609        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.4604        .23905        .24976E-03   -.78897    
  26  Prefactor     .66448        .20334        .31471E-03   -1.0494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76645e-10
Minuit parameter uncertainties:
  1  9.67039
  2  49.3816
  3  2.41211e-06
  4  6.09494e-05
  5  43.9889
  6  3.69372e-06
  7  9.54638e-05
  8  3.99153e-07
  9  1.74988e-06
  10  0.000112251
  11  39.8363
  12  9.84943e-07
  13  3.44539
  14  2.41823e-06
  15  7.58349e-07
  16  3.75119e-05
  17  0.276548
  18  9.0168e-05
  19  0.000127719
  20  0.600802
  21  15.0491
  22  0.000310318
  23  4.15642
  24  0.000142798
  25  0.239236
  26  0.203571
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  6.645e-01  2.036e-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.460e+00  2.392e-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: 5.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/288619/likelihoodResults_382147201_382406401_4FGL_J1203.3+1119_daily_bin551.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) = 6274.43640599
delta logL = -0.000113097766189

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6274.43629353
delta logL = -6.35174728814e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11146E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5776       1.0000          .0000       10.000    
     3 'Normalizat'    1.4604       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66448       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=   6274.436     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      283 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10239E-03    13.442        .18142E-01** at limit **
   2  Index         2.5059        5.9161        .50000        .93740E-05
   3  Normalizat    1.4604        .32041E-02    .24976E-03   -.24580E-05
   4  Prefactor     .66448        .28526E-02    .31470E-03   -.24565E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000102386
  Index      = 2.50594
  Normalizat = 1.46043
  Prefactor  = 0.664479
 **********
 **   18 **HESSE 
 **********

 FCN=   6274.436     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      312 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10239E-03    92.477        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.5059        8.7281        .50000       -.52223    
   3  Normalizat    1.4604        .84023E-02    .99903E-05   -.78896    
   4  Prefactor     .66448        .74806E-02    .12588E-04   -1.0494    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.38384e-10
Minuit parameter uncertainties:
  1  0.0297518
  2  209.291
  3  0.00840233
  4  0.00748066
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/288619': 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) = 6274.43629322
delta logL = -3.18288584822e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  6.645e-01  7.481e-03  0.000e+00  1.000e+01 ( 1.000e+00)
624        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
625        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
622   Normalization:  1.460e+00  8.402e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 180.833 11.323

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/288619/cmap_HighResolution_382147201_382406401_4FGL_J1203.3+1119_daily_bin551.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', job_status='DONE', photon_flux_upper_limit='5.60e-08', time_completed='2021-09-04 22:19:55.888820', job_id='288619', GAL2='0.66', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1630819195.89', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.66', dlogl='-3.18e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='551' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:19:55 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0209>
Subject: Job 288619: <4FGL_J1203.3+1119_daily_bin551> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin551> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:05:34 2021
Job was executed on host(s) <bullet0209>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:05:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 22:05:36 2021
Terminated at Sat Sep  4 22:19:56 2021
Results reported at Sat Sep  4 22:19:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin551 180.833 11.3231 382147201 382406401 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 :                                   846.30 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             347.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   860 sec.
    Turnaround time :                            862 sec.

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

