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


Performing analysis on: 4FGL_J1050.1+0432_daily_bin623
RA = 162.546, Dec = 4.5377
tmin = 400809601, tmax = 401068801
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='236490', job_status='RUN', time_executed='2021-09-02 17:47:13.725115', time_epoch_executed='1630630033.73' WHERE source_name='4FGL J1050.1+0432' and cadence='daily' and bin_id='623'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/236490

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/236490/ft1_4FGL_J1050.1+0432_daily_bin623.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/236490/ft1_4FGL_J1050.1+0432_daily_bin623.fits outfile=/scratch/kocevski/236490/ft1_filteredMKT_4FGL_J1050.1+0432_daily_bin623.fits ra=162.546 dec=4.5377 rad=12.0 tmin=400809601.0 tmax=401068801.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.41
user 3.20
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.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/236490/ft1_filteredMKT_4FGL_J1050.1+0432_daily_bin623.fits evtable="EVENTS" outfile="/scratch/kocevski/236490/ft1_filtered_4FGL_J1050.1+0432_daily_bin623.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.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/236490/ft1_filtered_4FGL_J1050.1+0432_daily_bin623.fits" evtable="EVENTS" scfile=/scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits sctable="SC_DATA" outfile=/scratch/kocevski/236490/ltcube_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.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/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits
.....................!
real 13.93
user 13.51
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/236490/ft1_filtered_4FGL_J1050.1+0432_daily_bin623.fits evtable="EVENTS" scfile=/scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits sctable="SC_DATA" expcube=/scratch/kocevski/236490/ltcube_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.fits outfile=/scratch/kocevski/236490/expmap_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.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/236490/ltcube_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.fits
.....................!
real 191.25
user 185.68
sys 5.08

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 173 point sources and 0 extended sources

Setting source of interest to:
4FGL J1050.1+0432 @ 162.546 4.5377

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/236490/ft1_filtered_4FGL_J1050.1+0432_daily_bin623.fits scfile=/scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits outfile=/scratch/kocevski/236490/cmap_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.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=162.546 yref=4.5377 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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/236490/ft1_filtered_4FGL_J1050.1+0432_daily_bin623.fits scfile=/scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits outfile=/scratch/kocevski/236490/cmap_HighResolution_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.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=162.546 yref=4.5377 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/236490/ft1_filtered_4FGL_J1050.1+0432_daily_bin623.fits evtable="EVENTS" scfile=/scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/236490/Model_4FGL_J1050.1+0432_daily_bin623.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/236490/ft1_filtered_4FGL_J1050.1+0432_daily_bin623.fits.....................!
real 59.08
user 57.68
sys 1.19

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/236490/ft1_filtered_4FGL_J1050.1+0432_daily_bin623.fits', '/scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits', expMap='/scratch/kocevski/236490/expmap_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.fits', expCube='/scratch/kocevski/236490/ltcube_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/236490/Model_4FGL_J1050.1+0432_daily_bin623.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1050.1+0432'

4FGL J1050.1+0432
   Spectrum: PowerLaw
232    Prefactor:  4.184e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
233        Index:  2.606e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  5.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/236490/ft1_filtered_4FGL_J1050.1+0432_daily_bin623.fits
Spacecraft file(s): /scratch/kocevski/236490/ft2_4FGL_J1050.1+0432_daily_bin623.fits
Exposure map: /scratch/kocevski/236490/expmap_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.fits
Exposure cube: /scratch/kocevski/236490/ltcube_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/236490/Model_4FGL_J1050.1+0432_daily_bin623.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) = 6440.49872185

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.218       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.2995       1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.3755       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10115E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11454E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    8.0200       1.0000         .10000E-03   10000.    
     8 'norm      '    3.5406       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .11792E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .37863E-01   1.0000         .10000E-03   10000.    
    13 'norm      '    .12604E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .69430E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10269E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10076E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .60404       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.7883       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6440.457     FROM MIGRAD    STATUS=CONVERGED    495 CALLS     2001 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.224        14.247       -.11161E-05    .47335E-04
   2  Prefactor     .10000E-03    17.335        .69909E-05** at limit **
   3  norm          7.3019        12.871       -.11527E-05    .22589E-04
   4  Prefactor     7.3613        11.952        .99412E-05    .20561E-03
   5  Prefactor     .10000E-03    19.698       -.24898E-04** at limit **
   6  Prefactor     .10000E-03    32.204       -.17977E-04** at limit **
   7  Prefactor     8.0547        18.649       -.23906E-04    .19558E-04
   8  norm          3.5398        1.6261        .30989E-07   -.67840E-04
   9  Prefactor     .10000E-03    4.6239        .60000E-08** at limit **
  10  Prefactor     .10000E-03    1.6844        .98751E-07** at limit **
  11  Prefactor     .10000E-03    1.8975        .50537E-08** at limit **
  12  Prefactor     .11865        5.7312       -.40899E-06   -.31371E-03
  13  norm          .10000E-03    .34605       -.36390E-06** at limit **
  14  Prefactor     .10218E-03    10.129        .41274E-05** at limit **
  15  norm          .10000E-03    .40139        .14757E-07** at limit **
  16  Prefactor     .10000E-03    22.718        .28889E-04** at limit **
  17  Prefactor     .10000E-03    1.4921       -.23743E-07** at limit **
  18  norm          .10000E-03    5.4217        .16129E-07** at limit **
  19  Prefactor     .10000E-03    2.1693       -.75538E-08** at limit **
  20  Normalizat    .60333        .20705       -.14439E-05   -.32755E-03
  21  Prefactor     1.7887        .18231        .85981E-06   -.52562E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.2242
  Prefactor  = 0.0001
  norm       = 7.30188
  Prefactor  = 7.36125
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.05471
  norm       = 3.53978
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.118648
  norm       = 0.0001
  Prefactor  = 0.000102177
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Normalizat = 0.603332
  Prefactor  = 1.78867
 **********
 **   18 **HESSE 
 **********

 FCN=   6440.457     FROM HESSE     STATUS=OK           325 CALLS     2326 TOTAL
                     EDM=   .34E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.224        14.209        .11961E-03   -1.5038    
   2  Prefactor     .10000E-03    17.342        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.3019        12.841        .14846E-03   -1.5167    
   4  Prefactor     7.3613        11.930        .14768E-03   -1.5165    
   5  Prefactor     .10000E-03    19.700        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    32.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     8.0547        18.597        .14158E-03   -1.5140    
   8  norm          3.5398        1.6250        .66830E-04   -1.5332    
   9  Prefactor     .10000E-03    4.8201        .33695E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    7.3478        .19498E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.9027        .10795E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11865        11.462        .55028E-01   -1.5639    
  13  norm          .10000E-03    2.8085        .80683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10218E-03    74.181        .42030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .40731        .49612E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    22.818        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    1.4947        .95734E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    5.4473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.2463        .23073E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .60333        .23166        .37607E-03   -1.0784    
  21  Prefactor     1.7887        .20634        .21249E-03   -.69745    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.35033e-07
Minuit parameter uncertainties:
  1  14.2133
  2  9.58451e-07
  3  12.8456
  4  11.9338
  5  2.26929e-05
  6  0.000318365
  7  18.6106
  8  1.62499
  9  2.10384e-06
  10  3.0019e-05
  11  4.83111e-07
  12  2.33184
  13  6.04677e-05
  14  0.025448
  15  2.88375e-07
  16  0.0001169
  17  2.09401e-07
  18  3.92337e-07
  19  1.34694e-06
  20  0.232034
  21  0.206442
Done.

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

Extracting fit parameters...

4FGL J1050.1+0432
   Spectrum: PowerLaw
232    Prefactor:  1.186e-01  2.332e+00  1.000e-04  1.000e+04 ( 1.000e-12)
233        Index:  2.606e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
234        Scale:  5.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  1.789e+00  2.064e-01  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  6.033e-01  2.320e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 162.546 4.538
Photon Flux Upper Limit: 1.19e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.28e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/236490/likelihoodResults_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.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) = 6439.19299377
delta logL = 1.26408966166

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6439.05082417
delta logL = 1.40625925791

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .15301       1.0000         .10000E-03   10000.    
     2 'Index     '    6.0830       1.0000          .0000       10.000    
     3 'Normalizat'    .46402       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.8637       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5470E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

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

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .15307        1.4649        .44612E-02    .28884E-02
   2  Index         6.0832        3.0745        .14798        .41818E-04
   3  Normalizat    .46395        .53527E-01    .96088E-01    .54146E-04
   4  Prefactor     1.8637        .49033E-01    .47264E-01    .11150E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.153075
  Index      = 6.08315
  Normalizat = 0.463948
  Prefactor  = 1.86375
 **********
 **   18 **HESSE 
 **********

 FCN=   6439.051     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      282 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .15307        3.2121        .20256E-03   -1.5630    
   2  Index         6.0832        7.6067        .57008E-02    .21836    
   3  Normalizat    .46395        .18534        .42585E-03   -1.1412    
   4  Prefactor     1.8637        .16586        .20890E-03   -.67802    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.40673e-08
Minuit parameter uncertainties:
  1  1.40205
  2  5.81082
  3  0.185583
  4  0.165912
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/236490': 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) = 6439.05082366
delta logL = 1.40625977113

Extracting fit parameters...

4FGL J1050.1+0432
   Spectrum: PowerLaw
232    Prefactor:  1.531e-01  1.402e+00  1.000e-04  1.000e+04 ( 1.000e-12)
233        Index:  6.083e+00  5.811e+00  0.000e+00  1.000e+01 (-1.000e+00)
234        Scale:  5.656e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
544    Prefactor:  1.864e+00  1.659e-01  0.000e+00  1.000e+01 ( 1.000e+00)
545        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
546        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
543   Normalization:  4.639e-01  1.856e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.17
Ra Dec: 162.546 4.538
Photon Index (Free Index): 6.08 +/- 5.81
Photon Flux (Free Index): 1.15e-07 +/- 7.75e-08
Energy Flux (Free Index): 1.43e-05 +/- 1.15e-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/236490/cmap_HighResolution_400809601_401068801_4FGL_J1050.1+0432_daily_bin623.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.28e-03', comment='SUCCESS', energy_flux2='1.43e-05', dlogl='1.41e+00', photon_flux2='1.15e-07', job_status='DONE', time_completed='2021-09-02 17:57:24.749702', photon_index_error2='5.81', photon_index2='6.08', ts='0.00', fit_tolerance='1e-08', GAL='1.79', photon_index_error='0.00', photon_flux_upper_limit='1.19e-07', energy_flux_error2='1.15e-05', EG='0.60', time_epoch_completed='1630630644.75', return_code='0', job_id='236490', GAL2='1.86', EG2='0.46', return_code2='102', photon_flux_error2='7.75e-08', ts2='3.17', photon_index='2.61' WHERE bin_id='623' AND source_name='4FGL J1050.1+0432' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  2 17:57:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0282>
Subject: Job 236490: <4FGL_J1050.1+0432_daily_bin623> in cluster <slac> Done

Job <4FGL_J1050.1+0432_daily_bin623> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  2 17:41:36 2021
Job was executed on host(s) <bullet0282>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  2 17:44:21 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  2 17:44:21 2021
Terminated at Thu Sep  2 17:57:25 2021
Results reported at Thu Sep  2 17:57:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1050.1+0432_daily_bin623 162.546 4.5377 400809601 401068801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1050.1+0432 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   610.46 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             291.33 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   784 sec.
    Turnaround time :                            949 sec.

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

