/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 183 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 = 7484
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1203.3+1119_daily_bin55
RA = 180.833, Dec = 11.3231
tmin = 253584001, tmax = 253843201
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='285568', job_status='RUN', time_executed='2021-09-04 21:58:57.647255', time_epoch_executed='1630817937.65' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='55'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285568/ft1_4FGL_J1203.3+1119_daily_bin55.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285568/ft2_4FGL_J1203.3+1119_daily_bin55.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285568/ft1_4FGL_J1203.3+1119_daily_bin55.fits outfile=/scratch/kocevski/285568/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin55.fits ra=180.833 dec=11.3231 rad=12.0 tmin=253584001.0 tmax=253843201.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 1.42
user 1.24
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/285568/ft1_filtered_4FGL_J1203.3+1119_daily_bin55.fits" evtable="EVENTS" scfile=/scratch/kocevski/285568/ft2_4FGL_J1203.3+1119_daily_bin55.fits sctable="SC_DATA" outfile=/scratch/kocevski/285568/ltcube_253584001_253843201_4FGL_J1203.3+1119_daily_bin55.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/285568/ft2_4FGL_J1203.3+1119_daily_bin55.fits
.....................!
real 12.53
user 12.16
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285568/ft1_filtered_4FGL_J1203.3+1119_daily_bin55.fits evtable="EVENTS" scfile=/scratch/kocevski/285568/ft2_4FGL_J1203.3+1119_daily_bin55.fits sctable="SC_DATA" expcube=/scratch/kocevski/285568/ltcube_253584001_253843201_4FGL_J1203.3+1119_daily_bin55.fits outfile=/scratch/kocevski/285568/expmap_253584001_253843201_4FGL_J1203.3+1119_daily_bin55.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/285568/ltcube_253584001_253843201_4FGL_J1203.3+1119_daily_bin55.fits
.....................!
real 190.05
user 185.26
sys 4.48

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/285568/ft1_filtered_4FGL_J1203.3+1119_daily_bin55.fits scfile=/scratch/kocevski/285568/ft2_4FGL_J1203.3+1119_daily_bin55.fits outfile=/scratch/kocevski/285568/cmap_253584001_253843201_4FGL_J1203.3+1119_daily_bin55.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285568/ft1_filtered_4FGL_J1203.3+1119_daily_bin55.fits scfile=/scratch/kocevski/285568/ft2_4FGL_J1203.3+1119_daily_bin55.fits outfile=/scratch/kocevski/285568/cmap_HighResolution_253584001_253843201_4FGL_J1203.3+1119_daily_bin55.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10067E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    26.505       1.0000         .10000E-03   10000.    
     3 'Prefactor '    18.982       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.555       1.0000         .10000E-03   10000.    
     5 'Prefactor '    84.674       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .41309       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10365E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .19852E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.7076       1.0000         .10000E-03   10000.    
    10 'Prefactor '    63.945       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .21769E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    4.2260       1.0000         .10000E-03   10000.    
    14 'Prefactor '    15.910       1.0000         .10000E-03   10000.    
    15 'norm      '    .40970       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .27161       1.0000         .10000E-03   10000.    
    18 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .11713E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    1.4327       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    18.928       1.0000         .10000E-03   10000.    
    23 'norm      '    2.8478       1.0000         .10000E-03   10000.    
    24 'Prefactor '    32.413       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .88737       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .90004       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=   5281.519     FROM MIGRAD    STATUS=CONVERGED    636 CALLS     3270 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    7.8938       -.40605E-07** at limit **
   2  Prefactor     26.502        28.415       -.10584E-05    .12542E-04
   3  Prefactor     18.982        12.336       -.26216E-06    .12720E-03
   4  Prefactor     23.554        22.024       -.54275E-06    .12534E-03
   5  Prefactor     84.757        100.82       -.14281E-05    .15821E-03
   6  Prefactor     .38790        55.343       -.36070E-04    .10888E-03
   7  Prefactor     .10000E-03    16.771       -.65817E-06** at limit **
   8  Prefactor     .10000E-03    28.182       -.54888E-05** at limit **
   9  Prefactor     1.7072        2.7279       -.46798E-06   -.50960E-04
  10  Prefactor     63.983        76.214        .61252E-05    .12450E-03
  11  Prefactor     .10003E-03    249.97       -.38465E-04** at limit **
  12  Prefactor     .10000E-03    1.3810       -.11876E-06** at limit **
  13  Prefactor     4.2261        3.0290       -.40507E-06    .16073E-04
  14  Prefactor     15.916        20.623        .96704E-06    .52221E-03
  15  norm          .40955        2.8486       -.34478E-05    .44916E-03
  16  Prefactor     .10000E-03    11.911        .10176E-06** at limit **
  17  norm          .27159        .21229       -.73725E-07   -.24783E-03
  18  norm          .10000E-03    10.518        .46744E-06** at limit **
  19  Prefactor     .10006E-03    424.98        .27945E-04** at limit **
  20  norm          1.4328        .56338        .11041E-06    .47610E-02
  21  Prefactor     .10000E-03    4.7803       -.17400E-06** at limit **
  22  Prefactor     18.923        22.681       -.10796E-05    .21933E-04
  23  norm          2.8475        1.8990        .65230E-07    .10899E-02
  24  Prefactor     32.408        50.095       -.64945E-06    .21926E-04
  25  Normalizat    .88716        .18581        .33964E-05    .10306E-02
  26  Prefactor     .90038        .16276        .37603E-06    .12205E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 26.5017
  Prefactor  = 18.9819
  Prefactor  = 23.554
  Prefactor  = 84.7567
  Prefactor  = 0.387903
  Prefactor  = 0.000100001
  Prefactor  = 0.000100002
  Prefactor  = 1.70722
  Prefactor  = 63.9833
  Prefactor  = 0.000100031
  Prefactor  = 0.0001
  Prefactor  = 4.22605
  Prefactor  = 15.9162
  norm       = 0.409549
  Prefactor  = 0.0001
  norm       = 0.271588
  norm       = 0.0001
  Prefactor  = 0.000100059
  norm       = 1.43281
  Prefactor  = 0.0001
  Prefactor  = 18.9227
  norm       = 2.84753
  Prefactor  = 32.4075
  Normalizat = 0.887163
  Prefactor  = 0.900377
 **********
 **   18 **HESSE 
 **********

 FCN=   5281.519     FROM HESSE     STATUS=OK           458 CALLS     3728 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.9684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     26.502        28.457        .77812E-04   -1.4678    
   3  Prefactor     18.982        12.344        .91929E-04   -1.4836    
   4  Prefactor     23.554        22.015        .82534E-04   -1.4737    
   5  Prefactor     84.757        100.14        .21828E-03   -1.3864    
   6  Prefactor     .38790        56.537        .40927E-02   -1.5583    
   7  Prefactor     .10000E-03    17.431        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    28.941        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     1.7072        2.6935        .14506E-03   -1.5447    
  10  Prefactor     63.983        76.092        .50184E-04   -1.4106    
  11  Prefactor     .10003E-03    250.64        .40303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    2.3523        .16119E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     4.2261        2.9633        .99808E-04   -1.5297    
  14  Prefactor     15.916        20.538        .10041E-03   -1.4910    
  15  norm          .40955        2.8668        .22717E-03   -1.5580    
  16  Prefactor     .10000E-03    11.916        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .27159        .20523        .28589E-03   -1.5604    
  18  norm          .10000E-03    10.523        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10006E-03    433.14        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          1.4328        .55882        .32352E-04   -1.5469    
  21  Prefactor     .10000E-03    4.7928        .15511E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     18.923        22.692        .92060E-04   -1.4838    
  23  norm          2.8475        1.8900        .77527E-04   -1.5370    
  24  Prefactor     32.408        50.107        .70381E-04   -1.4569    
  25  Normalizat    .88716        .21198        .25025E-03   -.96913    
  26  Prefactor     .90038        .18598        .23188E-03   -.96128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.14134e-09
Minuit parameter uncertainties:
  1  3.73275e-05
  2  28.4718
  3  12.3457
  4  22.0231
  5  100.345
  6  9.37394
  7  0.000202573
  8  0.000431507
  9  2.69364
  10  76.2084
  11  0.00556663
  12  3.24988e-05
  13  2.9634
  14  20.5469
  15  2.16701
  16  5.4178e-06
  17  0.205234
  18  7.34873e-05
  19  0.0101995
  20  0.558821
  21  1.19971e-06
  22  22.7026
  23  1.89004
  24  50.1717
  25  0.212177
  26  0.186114
Done.

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

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  9.004e-01  1.861e-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:  8.872e-01  2.122e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.07
Ra Dec: 180.833 11.323
Photon Index (Fixed Index): 2.34 +/- 0.00
Photon Flux (Fixed Index): 2.64e-08 +/- 3.14e-08
Energy Flux (Fixed Index): 9.42e-06 +/- 1.12e-05

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

Saving results to:
/scratch/kocevski/285568/likelihoodResults_253584001_253843201_4FGL_J1203.3+1119_daily_bin55.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) = 5281.51430618
delta logL = 0.00493845260826

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5281.50646272
delta logL = 0.0127819082227

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.025       1.0000         .10000E-03   10000.    
     2 'Index     '    2.5319       1.0000          .0000       10.000    
     3 'Normalizat'    .88097       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90440       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.

 FCN=   5281.506     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      247 TOTAL
                     EDM=   .96E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.025        1746.3        .14175E-02    .17156E-04
   2  Index         2.5319        6.2361        .14458        .93660E-04
   3  Normalizat    .88097        .74280E-01    .44658E-01    .12812E-04
   4  Prefactor     .90440        .55843E-01    .45061E-01    .78023E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.025
  Index      = 2.53187
  Normalizat = 0.88097
  Prefactor  = 0.9044
 **********
 **   18 **HESSE 
 **********

 FCN=   5281.506     FROM HESSE     STATUS=OK            33 CALLS      280 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.025        152.75        .56699E-04   -1.4292    
   2  Index         2.5319        1.7737        .77933E-02   -.51625    
   3  Normalizat    .88097        .20652        .25104E-03   -.97132    
   4  Prefactor     .90440        .18944        .23145E-03   -.95988    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07617e-11
Minuit parameter uncertainties:
  1  153.974
  2  1.82697
  3  0.206709
  4  0.189576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285568': 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) = 5281.50646272
delta logL = 0.0127819115296

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  9.044e-01  1.896e-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:  8.810e-01  2.067e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.10
Ra Dec: 180.833 11.323
Photon Index (Free Index): 2.53 +/- 1.83
Photon Flux (Free Index): 3.04e-08 +/- 4.37e-08
Energy Flux (Free Index): 8.52e-06 +/- 1.31e-05

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/285568/cmap_HighResolution_253584001_253843201_4FGL_J1203.3+1119_daily_bin55.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.67e-03', comment='SUCCESS', photon_flux='2.64e-08', energy_flux2='8.52e-06', photon_flux_error='3.14e-08', dlogl='1.28e-02', energy_flux='9.42e-06', photon_flux2='3.04e-08', job_status='DONE', time_completed='2021-09-04 22:10:53.298561', photon_index_error2='1.83', photon_index2='2.53', ts='1.07', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='9.97e-08', energy_flux_error2='1.31e-05', EG='0.89', time_epoch_completed='1630818653.3', return_code='0', job_id='285568', GAL2='0.90', EG2='0.88', return_code2='0', energy_flux_error='1.12e-05', photon_flux_error2='4.37e-08', ts2='1.10', photon_index='2.34' WHERE bin_id='55' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:10:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0117>
Subject: Job 285568: <4FGL_J1203.3+1119_daily_bin55> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin55> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 21:55:42 2021
Job was executed on host(s) <bullet0117>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 21:55:43 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep  4 21:55:43 2021
Terminated at Sat Sep  4 22:10:54 2021
Results reported at Sat Sep  4 22:10:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin55 180.833 11.3231 253584001 253843201 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 :                                   714.26 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.70 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   911 sec.
    Turnaround time :                            912 sec.

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

