/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 4 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 = 7412
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1203.3+1119_daily_bin280
RA = 180.833, Dec = 11.3231
tmin = 311904001, tmax = 312163201
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='285949', job_status='RUN', time_executed='2021-09-04 21:56:36.767581', time_epoch_executed='1630817796.77' WHERE source_name='4FGL J1203.3+1119' and cadence='daily' and bin_id='280'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/285949

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/285949/ft1_4FGL_J1203.3+1119_daily_bin280.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/285949/ft2_4FGL_J1203.3+1119_daily_bin280.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/285949/ft1_4FGL_J1203.3+1119_daily_bin280.fits outfile=/scratch/kocevski/285949/ft1_filteredMKT_4FGL_J1203.3+1119_daily_bin280.fits ra=180.833 dec=11.3231 rad=12.0 tmin=311904001.0 tmax=312163201.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.50
user 3.21
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/285949/ft1_filtered_4FGL_J1203.3+1119_daily_bin280.fits" evtable="EVENTS" scfile=/scratch/kocevski/285949/ft2_4FGL_J1203.3+1119_daily_bin280.fits sctable="SC_DATA" outfile=/scratch/kocevski/285949/ltcube_311904001_312163201_4FGL_J1203.3+1119_daily_bin280.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/285949/ft2_4FGL_J1203.3+1119_daily_bin280.fits
.....................!
real 11.87
user 11.51
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/285949/ft1_filtered_4FGL_J1203.3+1119_daily_bin280.fits evtable="EVENTS" scfile=/scratch/kocevski/285949/ft2_4FGL_J1203.3+1119_daily_bin280.fits sctable="SC_DATA" expcube=/scratch/kocevski/285949/ltcube_311904001_312163201_4FGL_J1203.3+1119_daily_bin280.fits outfile=/scratch/kocevski/285949/expmap_311904001_312163201_4FGL_J1203.3+1119_daily_bin280.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/285949/ltcube_311904001_312163201_4FGL_J1203.3+1119_daily_bin280.fits
.....................!
real 190.77
user 185.51
sys 4.81

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/285949/ft1_filtered_4FGL_J1203.3+1119_daily_bin280.fits scfile=/scratch/kocevski/285949/ft2_4FGL_J1203.3+1119_daily_bin280.fits outfile=/scratch/kocevski/285949/cmap_311904001_312163201_4FGL_J1203.3+1119_daily_bin280.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.57
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/285949/ft1_filtered_4FGL_J1203.3+1119_daily_bin280.fits scfile=/scratch/kocevski/285949/ft2_4FGL_J1203.3+1119_daily_bin280.fits outfile=/scratch/kocevski/285949/cmap_HighResolution_311904001_312163201_4FGL_J1203.3+1119_daily_bin280.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.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    10.310       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.096       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.0539       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10204E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .20276E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    35.685       1.0000         .10000E-03   10000.    
    15 'norm      '    .74333       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.1100       1.0000         .10000E-03   10000.    
    17 'norm      '    6.6990       1.0000         .10000E-03   10000.    
    18 'norm      '    41.947       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    2.8272       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    4.9009       1.0000         .10000E-03   10000.    
    23 'norm      '    1.0678       1.0000         .10000E-03   10000.    
    24 'Prefactor '    38.217       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .88395       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1764       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=   7394.411     FROM MIGRAD    STATUS=CONVERGED    624 CALLS     3111 TOTAL
                     EDM=   .43E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.3809       -.28432E-07** at limit **
   2  Prefactor     10.313        28.468       -.71736E-06   -.42128E-05
   3  Prefactor     .10000E-03    7.6361       -.19741E-06** at limit **
   4  Prefactor     .10000E-03    18.081       -.40555E-07** at limit **
   5  Prefactor     .10000E-03    40.830       -.12713E-05** at limit **
   6  Prefactor     14.095        10.137        .36613E-07   -.99658E-05
   7  Prefactor     .10000E-03    2.8798       -.93182E-07** at limit **
   8  Prefactor     .10000E-03    8.9788        .55546E-06** at limit **
   9  Prefactor     2.0536        4.5933        .35806E-05   -.21810E-03
  10  Prefactor     .10000E-03    25.451       -.60416E-07** at limit **
  11  Prefactor     .10000E-03    9.3208       -.75249E-06** at limit **
  12  Prefactor     .10005E-03    1.6793       -.12443E-05** at limit **
  13  Prefactor     .10000E-03    2.1668       -.11852E-06** at limit **
  14  Prefactor     35.687        26.412        .76734E-06   -.10287E-03
  15  norm          .73329        4.3689       -.15949E-05   -.76730E-03
  16  Prefactor     6.1138        24.037       -.19314E-06   -.29821E-04
  17  norm          6.6989        .71706       -.22974E-07    .11439E-02
  18  norm          41.980        57.518       -.19445E-05   -.21094E-03
  19  Prefactor     .10000E-03    42.459       -.41256E-07** at limit **
  20  norm          2.8273        .80441        .21520E-06   -.26883E-02
  21  Prefactor     .10000E-03    4.2281       -.76837E-07** at limit **
  22  Prefactor     4.8995        42.817        .59572E-06    .32884E-05
  23  norm          1.0677        1.0444        .10037E-07   -.53517E-03
  24  Prefactor     38.217        58.886        .33279E-06    .22287E-05
  25  Normalizat    .88412        .19545        .39227E-06    .14260E-03
  26  Prefactor     1.1763        .17204       -.11142E-06    .12100E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 10.3133
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0945
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.05359
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100047
  Prefactor  = 0.0001
  Prefactor  = 35.6869
  norm       = 0.733293
  Prefactor  = 6.1138
  norm       = 6.69891
  norm       = 41.9802
  Prefactor  = 0.0001
  norm       = 2.82733
  Prefactor  = 0.0001
  Prefactor  = 4.89952
  norm       = 1.06771
  Prefactor  = 38.2169
  Normalizat = 0.884122
  Prefactor  = 1.17629
 **********
 **   18 **HESSE 
 **********

 FCN=   7394.411     FROM HESSE     STATUS=OK           464 CALLS     3575 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.3854        .15441E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     10.313        28.588        .12478E-03   -1.5066    
   3  Prefactor     .10000E-03    7.6807        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    18.134        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    40.897        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.095        10.144        .10668E-03   -1.4957    
   7  Prefactor     .10000E-03    2.8929        .14252E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    8.9964        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     2.0536        4.8460        .13439E-02   -1.5421    
  10  Prefactor     .10000E-03    25.456        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    9.3442        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10005E-03    3.4914        .34548E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    2.2239        .24666E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     35.687        26.475        .67087E-04   -1.4512    
  15  norm          .73329        7.4044        .24693E-02   -1.5537    
  16  Prefactor     6.1138        24.036        .16242E-03   -1.5213    
  17  norm          6.6989        .71689        .22798E-04   -1.5190    
  18  norm          41.980        59.448        .61894E-04   -1.4411    
  19  Prefactor     .10000E-03    42.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          2.8273        .80487        .36201E-04   -1.5372    
  21  Prefactor     .10000E-03    4.2321        .17259E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     4.8995        42.931        .18169E-03   -1.5265    
  23  norm          1.0677        1.0554        .83866E-04   -1.5501    
  24  Prefactor     38.217        58.891        .64833E-04   -1.4471    
  25  Normalizat    .88412        .23584        .31732E-03   -.97020    
  26  Prefactor     1.1763        .20584        .25680E-03   -.87064    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0564e-09
Minuit parameter uncertainties:
  1  1.93867e-06
  2  28.6264
  3  2.33953e-05
  4  3.40914e-05
  5  0.000150993
  6  10.1448
  7  1.18077e-05
  8  9.75325e-07
  9  4.84688
  10  2.16675e-05
  11  5.07569e-05
  12  0.000812739
  13  8.21704e-06
  14  26.4835
  15  4.66073
  16  24.0741
  17  0.716895
  18  59.5325
  19  2.79023e-05
  20  0.804877
  21  1.36344e-05
  22  29.034
  23  1.05541
  24  58.9807
  25  0.236111
  26  0.205983
Done.

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

Extracting fit parameters...

4FGL J1203.3+1119
   Spectrum: PowerLaw
314    Prefactor:  1.000e-04  2.167e-05  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.176e+00  2.060e-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.841e-01  2.361e-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.36e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.12e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/285949/likelihoodResults_311904001_312163201_4FGL_J1203.3+1119_daily_bin280.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) = 7394.41083599
delta logL = -0.000186983243111

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7394.41065136
delta logL = -2.36019695876e-06

Fit tolerance = 1e-08

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

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10289E-03    10.863        .18142E-01** at limit **
   2  Index         2.4898        8.6667        .50000        .16788E-04
   3  Normalizat    .88412        .34650E-02    .31732E-03   -.11859E-04
   4  Prefactor     1.1763        .32042E-02    .25680E-03    .39843E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010289
  Index      = 2.48979
  Normalizat = 0.884119
  Prefactor  = 1.17629
 **********
 **   18 **HESSE 
 **********

 FCN=   7394.411     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      312 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10289E-03    58.488        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4898        5.5581        .50000       -.52596    
   3  Normalizat    .88412        .80613E-02    .12693E-04   -.97020    
   4  Prefactor     1.1763        .74546E-02    .10272E-04   -.87064    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.68456e-09
Minuit parameter uncertainties:
  1  0.02603
  2  170.821
  3  0.00806132
  4  0.00745462
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/285949': 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) = 7394.41064955
delta logL = -5.4424344853e-07

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
623    Prefactor:  1.176e+00  7.455e-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:  8.841e-01  8.061e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/285949/cmap_HighResolution_311904001_312163201_4FGL_J1203.3+1119_daily_bin280.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-03', job_status='DONE', photon_flux_upper_limit='5.36e-08', time_completed='2021-09-04 22:11:25.229496', job_id='285949', GAL2='1.18', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1630818685.23', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.18', dlogl='-5.44e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.34' WHERE bin_id='280' AND source_name='4FGL J1203.3+1119' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep  4 22:11:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 285949: <4FGL_J1203.3+1119_daily_bin280> in cluster <slac> Done

Job <4FGL_J1203.3+1119_daily_bin280> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep  4 21:56:20 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep  4 21:56:22 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:56:22 2021
Terminated at Sat Sep  4 22:11:26 2021
Results reported at Sat Sep  4 22:11:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1203.3+1119_daily_bin280 180.833 11.3231 311904001 312163201 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 :                                   882.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             335.62 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   903 sec.
    Turnaround time :                            906 sec.

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

