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


Performing analysis on: 4FGL_J1203.3+1119_daily_bin1500
RA = 180.833, Dec = 11.3231
tmin = 628128001, tmax = 628387201
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='293622', job_status='RUN', time_executed='2021-09-04 22:21:17.212306', time_epoch_executed='1630819277.21' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='1500'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/293622

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/293622/ft1_4FGL_J1203.3+1119_daily_bin1500.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/293622/ft2_4FGL_J1203.3+1119_daily_bin1500.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/293622/ft1_4FGL_J1203.3+1119_daily_bin1500.fits outfile=/scratch/kocevski/293622/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin1500.fits ra=180.833 dec=11.3231 rad=12.0 tmin=628128001.0 tmax=628387201.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 5.25
user 4.95
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/293622/ft1_filtered_4FGL_J1203.3+1119_daily_bin1500.fits" evtable="EVENTS" scfile=/scratch/kocevski/293622/ft2_4FGL_J1203.3+1119_daily_bin1500.fits sctable="SC_DATA" outfile=/scratch/kocevski/293622/ltcube_628128001_628387201_4FGL_J1203.3+1119_daily_bin1500.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/293622/ft2_4FGL_J1203.3+1119_daily_bin1500.fits
.....................!
real 11.55
user 11.20
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/293622/ft1_filtered_4FGL_J1203.3+1119_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/293622/ft2_4FGL_J1203.3+1119_daily_bin1500.fits sctable="SC_DATA" expcube=/scratch/kocevski/293622/ltcube_628128001_628387201_4FGL_J1203.3+1119_daily_bin1500.fits outfile=/scratch/kocevski/293622/expmap_628128001_628387201_4FGL_J1203.3+1119_daily_bin1500.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/293622/ltcube_628128001_628387201_4FGL_J1203.3+1119_daily_bin1500.fits
.....................!
real 190.49
user 185.26
sys 4.75

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/293622/ft1_filtered_4FGL_J1203.3+1119_daily_bin1500.fits scfile=/scratch/kocevski/293622/ft2_4FGL_J1203.3+1119_daily_bin1500.fits outfile=/scratch/kocevski/293622/cmap_628128001_628387201_4FGL_J1203.3+1119_daily_bin1500.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/293622/ft1_filtered_4FGL_J1203.3+1119_daily_bin1500.fits scfile=/scratch/kocevski/293622/ft2_4FGL_J1203.3+1119_daily_bin1500.fits outfile=/scratch/kocevski/293622/cmap_HighResolution_628128001_628387201_4FGL_J1203.3+1119_daily_bin1500.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/293622/ft1_filtered_4FGL_J1203.3+1119_daily_bin1500.fits evtable="EVENTS" scfile=/scratch/kocevski/293622/ft2_4FGL_J1203.3+1119_daily_bin1500.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/293622/Model_4FGL_J1203.3+1119_daily_bin1500.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/293622/ft1_filtered_4FGL_J1203.3+1119_daily_bin1500.fits.....................!
real 61.36
user 59.93
sys 1.13

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.3670       1.0000         .10000E-03   10000.    
     2 'Prefactor '    29.511       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11926E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    113.27       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .69571       1.0000         .10000E-03   10000.    
    10 'Prefactor '    40.656       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .94147       1.0000         .10000E-03   10000.    
    13 'Prefactor '    2.2435       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10462E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    6.9824       1.0000         .10000E-03   10000.    
    16 'Prefactor '    28.053       1.0000         .10000E-03   10000.    
    17 'norm      '    .12042       1.0000         .10000E-03   10000.    
    18 'norm      '    .10725E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    76.311       1.0000         .10000E-03   10000.    
    20 'norm      '    1.0011       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.9277       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10021E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    2.3760       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10525E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.4312       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .61714       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=   6660.373     FROM MIGRAD    STATUS=CONVERGED    616 CALLS     3077 TOTAL
                     EDM=   .36E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.3683        7.3659        .38857E-06    .27183E-04
   2  Prefactor     29.526        41.530       -.16935E-05    .38147E-05
   3  Prefactor     .10019E-03    8.0941       -.23217E-05** at limit **
   4  Prefactor     .10000E-03    5.9374       -.27962E-07** at limit **
   5  Prefactor     113.23        93.238        .39208E-05    .17980E-04
   6  Prefactor     .10000E-03    3.7030       -.26811E-07** at limit **
   7  Prefactor     .10000E-03    3.3883       -.73578E-07** at limit **
   8  Prefactor     .10000E-03    4.3992        .54677E-07** at limit **
   9  Prefactor     .68457        3.7718        .64479E-06    .11380E-03
  10  Prefactor     40.668        70.966       -.15544E-05   -.13226E-05
  11  Prefactor     .10000E-03    27.713       -.11346E-05** at limit **
  12  Prefactor     .94049        2.4043        .18936E-06    .53437E-04
  13  Prefactor     2.2434        2.0979        .29564E-08    .14290E-04
  14  Prefactor     .10000E-03    9.8424        .85876E-07** at limit **
  15  norm          6.9802        3.6879        .21990E-06    .72043E-04
  16  Prefactor     28.047        26.133        .36187E-06    .73919E-05
  17  norm          .12040        .22657        .51411E-07    .46088E-04
  18  norm          .10000E-03    23.171        .20226E-05** at limit **
  19  Prefactor     76.266        82.990        .52449E-05    .16546E-04
  20  norm          1.0011        .56049       -.21987E-07   -.17388E-03
  21  Prefactor     2.9279        8.2440        .44029E-05    .20766E-03
  22  Prefactor     .10000E-03    13.333       -.16994E-06** at limit **
  23  norm          2.3761        1.6846       -.87372E-08   -.32323E-04
  24  Prefactor     .10000E-03    32.191       -.24471E-05** at limit **
  25  Normalizat    1.4314        .18601       -.53638E-06    .15383E-03
  26  Prefactor     .61694        .15342       -.35734E-06    .10298E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.36835
  Prefactor  = 29.5258
  Prefactor  = 0.00010019
  Prefactor  = 0.0001
  Prefactor  = 113.231
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.684571
  Prefactor  = 40.6677
  Prefactor  = 0.0001
  Prefactor  = 0.940487
  Prefactor  = 2.24345
  Prefactor  = 0.0001
  norm       = 6.98022
  Prefactor  = 28.0474
  norm       = 0.120402
  norm       = 0.0001
  Prefactor  = 76.2664
  norm       = 1.00105
  Prefactor  = 2.92788
  Prefactor  = 0.0001
  norm       = 2.37609
  Prefactor  = 0.0001
  Normalizat = 1.43144
  Prefactor  = 0.616942
 **********
 **   18 **HESSE 
 **********

 FCN=   6660.373     FROM HESSE     STATUS=OK           464 CALLS     3541 TOTAL
                     EDM=   .43E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.3683        7.3442        .22053E-03   -1.5341    
   2  Prefactor     29.526        41.841        .73752E-04   -1.4621    
   3  Prefactor     .10019E-03    44.965        .39484E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    5.9397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     113.23        93.582        .18900E-03   -1.3576    
   6  Prefactor     .10000E-03    3.7088        .15332E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    3.4563        .14668E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    4.4026        .16716E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .68457        6.5044        .27319E-02   -1.5542    
  10  Prefactor     40.668        71.005        .62866E-04   -1.4432    
  11  Prefactor     .10000E-03    27.880        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .94049        2.2678        .18083E-03   -1.5514    
  13  Prefactor     2.2434        2.0843        .10768E-03   -1.5408    
  14  Prefactor     .10000E-03    9.8530        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          6.9802        3.6801        .51295E-03   -1.5180    
  16  Prefactor     28.047        26.128        .75640E-04   -1.4648    
  17  norm          .12040        .21800        .50549E-03   -1.5639    
  18  norm          .10000E-03    23.194        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     76.266        83.007        .22983E-03   -1.3959    
  20  norm          1.0011        .54848        .41635E-04   -1.5508    
  21  Prefactor     2.9279        8.3138        .11871E-02   -1.5366    
  22  Prefactor     .10000E-03    13.365        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          2.3761        1.6749        .84532E-04   -1.5400    
  24  Prefactor     .10000E-03    32.237        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.4314        .21753        .22801E-03   -.79724    
  26  Prefactor     .61694        .17859        .29239E-03   -1.0688    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.33422e-09
Minuit parameter uncertainties:
  1  7.34613
  2  41.8824
  3  0.0058532
  4  9.66186e-07
  5  93.7042
  6  1.24059e-06
  7  3.95239e-06
  8  4.50571e-06
  9  4.22058
  10  71.1529
  11  6.98704e-05
  12  2.26802
  13  2.08436
  14  7.0004e-06
  15  3.68018
  16  26.1388
  17  0.217998
  18  2.48069e-05
  19  83.133
  20  0.548486
  21  8.3171
  22  4.60748e-06
  23  1.67492
  24  3.97908e-05
  25  0.217667
  26  0.178757
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  4.067e+01  7.115e+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:  6.169e-01  1.788e-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.431e+00  2.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/293622/likelihoodResults_628128001_628387201_4FGL_J1203.3+1119_daily_bin1500.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) = 6660.1501519
delta logL = 0.222453673509

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6660.12468532
delta logL = 0.247920246628

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    71.346       1.0000         .10000E-03   10000.    
     2 'Index     '    1.6769       1.0000          .0000       10.000    
     3 'Normalizat'    1.4414       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .61046       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=   6660.125     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      313 TOTAL
                     EDM=   .55E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     71.345        100.02        .47527E-04    .25499E-04
   2  Index         1.6768        .85061        .12232E-01    .26894E-04
   3  Normalizat    1.4413        .20007        .22734E-03   -.24554E-04
   4  Prefactor     .61050        .17631        .29368E-03   -.21485E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 71.3449
  Index      = 1.67682
  Normalizat = 1.44132
  Prefactor  = 0.610504
 **********
 **   18 **HESSE 
 **********

 FCN=   6660.125     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .63E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     71.345        100.82        .95054E-05   -1.4017    
   2  Index         1.6768        .85771        .48926E-03   -.72701    
   3  Normalizat    1.4413        .20019        .45467E-04   -.79441    
   4  Prefactor     .61050        .17643        .11747E-04   -1.0715    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.29703e-11
Minuit parameter uncertainties:
  1  101.064
  2  0.865427
  3  0.200299
  4  0.17659
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/293622': 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) = 6660.12468529
delta logL = 0.247920280635

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  7.134e+01  1.011e+02  1.000e-04  1.000e+04 ( 1.000e-14)
315        Index:  1.677e+00  8.654e-01  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.105e-01  1.766e-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.441e+00  2.003e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.43
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/293622/cmap_HighResolution_628128001_628387201_4FGL_J1203.3+1119_daily_bin1500.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.92e-03', job_status='DONE', photon_flux_upper_limit='8.99e-08', time_completed='2021-09-04 22:35:03.489412', job_id='293622', GAL2='0.61', fit_tolerance='1e-08', EG2='1.44', EG='1.43', time_epoch_completed='1630820103.49', return_code2='0', ts='0.43', comment='SUCCESS', return_code='0', GAL='0.62', dlogl='2.48e-01', ts2='0.93', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='1500' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:35:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 293622: <4FGL_J1203.3+1119_daily_bin1500> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin1500> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Sat Sep  4 22:20:57 2021
Job was executed on host(s) <bullet0221>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 22:20:58 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 22:20:58 2021
Terminated at Sat Sep  4 22:35:04 2021
Results reported at Sat Sep  4 22:35:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin1500 180.833 11.3231 628128001 628387201 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 :                                   817.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             343.72 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   845 sec.
    Turnaround time :                            847 sec.

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

