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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1601
RA = 180.833, Dec = 11.3231
tmin = 654307201, tmax = 654566401
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='541442', job_status='RUN', time_executed='2021-09-29 00:13:42.785238', time_epoch_executed='1632899622.79' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1601'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/541442

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/541442/ft1_4FGL_J1203.3+1119_daily_bin1601.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/541442/ft2_4FGL_J1203.3+1119_daily_bin1601.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/541442/ft1_4FGL_J1203.3+1119_daily_bin1601.fits outfile=/scratch/kocevski/541442/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1601.fits ra=180.833 dec=11.3231 rad=12.0 tmin=654307201.0 tmax=654566401.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.22
user 3.99
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/541442/ft2_4FGL_J1203.3+1119_daily_bin1601.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/541442/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1601.fits evtable="EVENTS" outfile="/scratch/kocevski/541442/ft1_filtered_4FGL_J1203.3+1119_daily_bin1601.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/541442/ft1_filtered_4FGL_J1203.3+1119_daily_bin1601.fits" evtable="EVENTS" scfile=/scratch/kocevski/541442/ft2_4FGL_J1203.3+1119_daily_bin1601.fits sctable="SC_DATA" outfile=/scratch/kocevski/541442/ltcube_654307201_654566401_4FGL_J1203.3+1119_daily_bin1601.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/541442/ft2_4FGL_J1203.3+1119_daily_bin1601.fits
.....................!
real 11.73
user 11.38
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/541442/ft1_filtered_4FGL_J1203.3+1119_daily_bin1601.fits evtable="EVENTS" scfile=/scratch/kocevski/541442/ft2_4FGL_J1203.3+1119_daily_bin1601.fits sctable="SC_DATA" expcube=/scratch/kocevski/541442/ltcube_654307201_654566401_4FGL_J1203.3+1119_daily_bin1601.fits outfile=/scratch/kocevski/541442/expmap_654307201_654566401_4FGL_J1203.3+1119_daily_bin1601.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/541442/ltcube_654307201_654566401_4FGL_J1203.3+1119_daily_bin1601.fits
.....................!
real 190.81
user 185.47
sys 4.96

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

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/541442/ft1_filtered_4FGL_J1203.3+1119_daily_bin1601.fits scfile=/scratch/kocevski/541442/ft2_4FGL_J1203.3+1119_daily_bin1601.fits outfile=/scratch/kocevski/541442/cmap_HighResolution_654307201_654566401_4FGL_J1203.3+1119_daily_bin1601.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    17.018       1.0000         .10000E-03   10000.    
     4 'Prefactor '    18.449       1.0000         .10000E-03   10000.    
     5 'Prefactor '    131.50       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.015       1.0000         .10000E-03   10000.    
     8 'Prefactor '    25.890       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .63259       1.0000         .10000E-03   10000.    
    10 'Prefactor '    36.143       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    13.083       1.0000         .10000E-03   10000.    
    15 'norm      '    1.2372       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .16221E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .29173       1.0000         .10000E-03   10000.    
    18 'norm      '    26.826       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .21701       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3581       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    1.0592       1.0000         .10000E-03   10000.    
    24 'Prefactor '    32.535       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .98942       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0929       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=   5760.167     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     3140 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.2354        .16981E-07** at limit **
   2  Prefactor     .10000E-03    26.963        .26431E-05** at limit **
   3  Prefactor     17.019        14.608       -.30825E-06   -.62338E-03
   4  Prefactor     18.448        28.011       -.31774E-06   -.88204E-05
   5  Prefactor     131.51        105.76        .49571E-05   -.19354E-04
   6  Prefactor     .10000E-03    4.8715       -.81936E-06** at limit **
   7  Prefactor     34.016        15.134       -.65058E-06   -.12869E-03
   8  Prefactor     25.877        27.160       -.38111E-04   -.10141E-03
   9  Prefactor     .63795        3.1109        .35644E-07   -.22336E-03
  10  Prefactor     36.310        114.95        .25193E-03    .11456E-04
  11  Prefactor     .10000E-03    38.223       -.53291E-05** at limit **
  12  Prefactor     .10000E-03    1.1145        .38593E-07** at limit **
  13  Prefactor     .10000E-03    .94991        .36919E-09** at limit **
  14  Prefactor     13.081        21.542       -.11824E-05   -.10652E-03
  15  norm          1.2389        4.6110        .63242E-05   -.36451E-03
  16  Prefactor     .10001E-03    128.71        .17370E-04** at limit **
  17  norm          .29174        .33475       -.35949E-08   -.14928E-02
  18  norm          26.802        61.609       -.31905E-04   -.21023E-03
  19  Prefactor     .10000E-03    39.071        .12946E-05** at limit **
  20  norm          .21704        .40566        .46071E-06    .85584E-04
  21  Prefactor     2.3550        11.536       -.21151E-05   -.21680E-03
  22  Prefactor     .10000E-03    22.590       -.52907E-06** at limit **
  23  norm          1.0591        .89777        .10777E-06    .24976E-03
  24  Prefactor     32.466        56.563       -.80276E-04   -.19156E-05
  25  Normalizat    .98921        .21635       -.52023E-05   -.57507E-04
  26  Prefactor     1.0930        .18604        .43317E-05   -.54250E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 17.0188
  Prefactor  = 18.4485
  Prefactor  = 131.506
  Prefactor  = 0.000100002
  Prefactor  = 34.0156
  Prefactor  = 25.8772
  Prefactor  = 0.637948
  Prefactor  = 36.3102
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.0807
  norm       = 1.23886
  Prefactor  = 0.000100005
  norm       = 0.291742
  norm       = 26.8016
  Prefactor  = 0.0001
  norm       = 0.217044
  Prefactor  = 2.35504
  Prefactor  = 0.0001
  norm       = 1.05909
  Prefactor  = 32.466
  Normalizat = 0.989214
  Prefactor  = 1.09299
 **********
 **   18 **HESSE 
 **********

 FCN=   5760.167     FROM HESSE     STATUS=OK           464 CALLS     3604 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.2779        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    27.016        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     17.019        14.488        .48544E-03   -1.4883    
   4  Prefactor     18.448        28.007        .93247E-04   -1.4849    
   5  Prefactor     131.51        105.83        .17557E-03   -1.3409    
   6  Prefactor     .10000E-03    4.8790        .16359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     34.016        15.123        .68709E-04   -1.4541    
   8  Prefactor     25.877        27.188        .78730E-04   -1.4690    
   9  Prefactor     .63795        9.4022        .23777E-02   -1.5548    
  10  Prefactor     36.310        114.63        .33331E-03   -1.4502    
  11  Prefactor     .10000E-03    38.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    1.1231        .78141E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .95390        .72209E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     13.081        21.446        .11074E-03   -1.4984    
  15  norm          1.2389        4.2110        .20838E-03   -1.5485    
  16  Prefactor     .10001E-03    131.92        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .29174        .31756        .43978E-03   -1.5600    
  18  norm          26.802        57.026        .77347E-04   -1.4672    
  19  Prefactor     .10000E-03    39.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .21704        .35182        .60156E-03   -1.5615    
  21  Prefactor     2.3550        11.469        .26689E-03   -1.5401    
  22  Prefactor     .10000E-03    22.629        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          1.0591        .88645        .64449E-04   -1.5502    
  24  Prefactor     32.466        56.569        .70250E-04   -1.4568    
  25  Normalizat    .98921        .25174        .28019E-03   -.93393    
  26  Prefactor     1.0930        .21931        .24551E-03   -.89691    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.67466e-09
Minuit parameter uncertainties:
  1  6.52724e-06
  2  2.16704e-05
  3  14.4914
  4  28.0269
  5  105.979
  6  0.000182845
  7  15.1245
  8  27.2013
  9  4.89876
  10  115.333
  11  0.000172327
  12  3.34856e-06
  13  4.86341e-07
  14  21.4591
  15  4.21201
  16  0.00167638
  17  0.317567
  18  57.1418
  19  5.41073e-06
  20  0.35182
  21  10.3971
  22  0.000151343
  23  0.886463
  24  56.6627
  25  0.252047
  26  0.219491
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  3.631e+01  1.153e+02  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.093e+00  2.195e-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:  9.892e-01  2.520e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.15
Ra Dec: 180.833 11.323
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.27e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/541442/likelihoodResults_654307201_654566401_4FGL_J1203.3+1119_daily_bin1601.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) = 5760.0096059
delta logL = 0.15731954713

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5759.98308732
delta logL = 0.183838128089

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    22.235       1.0000         .10000E-03   10000.    
     2 'Index     '    3.0921       1.0000          .0000       10.000    
     3 'Normalizat'    .95797       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1083       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=   5759.983     FROM MIGRAD    STATUS=CONVERGED    101 CALLS      306 TOTAL
                     EDM=   .81E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     22.175        95.184        .84945E-04    .18737E-05
   2  Index         3.0930        1.8570        .75445E-02    .20932E-04
   3  Normalizat    .95783        .24492        .28412E-03   -.14965E-04
   4  Prefactor     1.1084        .21922        .24393E-03    .17291E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 22.1748
  Index      = 3.09298
  Normalizat = 0.957827
  Prefactor  = 1.10837
 **********
 **   18 **HESSE 
 **********

 FCN=   5759.983     FROM HESSE     STATUS=OK            25 CALLS      331 TOTAL
                     EDM=   .60E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     22.175        60.367        .33978E-05   -1.4766    
   2  Index         3.0930        1.2365        .30178E-03   -.39131    
   3  Normalizat    .95783        .24426        .11365E-04   -.94457    
   4  Prefactor     1.1084        .21841        .97574E-05   -.89199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.04237e-12
Minuit parameter uncertainties:
  1  60.5344
  2  1.25176
  3  0.24454
  4  0.218584
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/541442': 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) = 5759.98308654
delta logL = 0.183838902728

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  2.217e+01  6.053e+01  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  3.093e+00  1.252e+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:  1.108e+00  2.186e-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:  9.578e-01  2.445e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/541442/cmap_HighResolution_654307201_654566401_4FGL_J1203.3+1119_daily_bin1601.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.27e-03', job_status='DONE', photon_flux_upper_limit='1.20e-07', time_completed='2021-09-29 00:26:01.090557', job_id='541442', GAL2='1.11', fit_tolerance='1e-08', EG2='0.96', EG='0.99', time_epoch_completed='1632900361.09', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.09', dlogl='1.84e-01', ts2='0.54', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1601' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Sep 29 00:26:01 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0242>
Subject: Job 541442: <4FGL_J1203.3+1119_daily_bin1601> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1601> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Sep 29 00:11:20 2021
Job was executed on host(s) <bullet0242>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Sep 29 00:11:22 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Sep 29 00:11:22 2021
Terminated at Wed Sep 29 00:26:01 2021
Results reported at Wed Sep 29 00:26:01 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1601 180.833 11.3231 654307201 654566401 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 :                                   739.08 sec.
    Max Memory :                                 1038 MB
    Average Memory :                             269.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   879 sec.
    Turnaround time :                            881 sec.

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

