/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 239 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7393
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1263
RA = 218.675, Dec = 19.8478
tmin = 566697601, tmax = 566956801
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='614664', job_status='RUN', time_executed='2021-09-10 00:30:35.716589', time_epoch_executed='1631259035.72' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1263'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614664

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614664/ft1_4FGL_J1434.7+1950_daily_bin1263.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614664/ft1_4FGL_J1434.7+1950_daily_bin1263.fits outfile=/scratch/kocevski/614664/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1263.fits ra=218.675 dec=19.8478 rad=12.0 tmin=566697601.0 tmax=566956801.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.97
user 1.80
sys 0.16

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.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/614664/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1263.fits evtable="EVENTS" outfile="/scratch/kocevski/614664/ft1_filtered_4FGL_J1434.7+1950_daily_bin1263.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.33
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614664/ft1_filtered_4FGL_J1434.7+1950_daily_bin1263.fits" evtable="EVENTS" scfile=/scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits sctable="SC_DATA" outfile=/scratch/kocevski/614664/ltcube_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.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/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits
.....................!
real 12.60
user 12.27
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614664/ft1_filtered_4FGL_J1434.7+1950_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits sctable="SC_DATA" expcube=/scratch/kocevski/614664/ltcube_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.fits outfile=/scratch/kocevski/614664/expmap_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.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/614664/ltcube_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.fits
.....................!
real 190.36
user 185.33
sys 4.67

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

Setting source of interest to:
4FGL J1434.7+1950 @ 218.675 19.8478

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/614664/ft1_filtered_4FGL_J1434.7+1950_daily_bin1263.fits scfile=/scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits outfile=/scratch/kocevski/614664/cmap_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.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=218.675 yref=19.8478 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614664/ft1_filtered_4FGL_J1434.7+1950_daily_bin1263.fits scfile=/scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits outfile=/scratch/kocevski/614664/cmap_HighResolution_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.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=218.675 yref=19.8478 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.36
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614664/ft1_filtered_4FGL_J1434.7+1950_daily_bin1263.fits evtable="EVENTS" scfile=/scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614664/Model_4FGL_J1434.7+1950_daily_bin1263.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/614664/ft1_filtered_4FGL_J1434.7+1950_daily_bin1263.fits.....................!
real 79.76
user 78.23
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/614664/ft1_filtered_4FGL_J1434.7+1950_daily_bin1263.fits', '/scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits', expMap='/scratch/kocevski/614664/expmap_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.fits', expCube='/scratch/kocevski/614664/ltcube_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/614664/Model_4FGL_J1434.7+1950_daily_bin1263.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1434.7+1950'

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  2.475e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/614664/ft1_filtered_4FGL_J1434.7+1950_daily_bin1263.fits
Spacecraft file(s): /scratch/kocevski/614664/ft2_4FGL_J1434.7+1950_daily_bin1263.fits
Exposure map: /scratch/kocevski/614664/expmap_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.fits
Exposure cube: /scratch/kocevski/614664/ltcube_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/614664/Model_4FGL_J1434.7+1950_daily_bin1263.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) = 12046.1791164

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.300       1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.550       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10061E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    4.9787       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.8775       1.0000         .10000E-03   10000.    
     7 'norm      '    5.3065       1.0000         .10000E-03   10000.    
     8 'norm      '    .10087E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .57933E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    15.131       1.0000         .10000E-03   10000.    
    11 'Prefactor '    30.053       1.0000         .10000E-03   10000.    
    12 'Prefactor '    5.5262       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10150E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .95266       1.0000         .10000E-03   10000.    
    17 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18778E-02   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .77682       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3186       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   12046.14     FROM MIGRAD    STATUS=CONVERGED    472 CALLS     1949 TOTAL
                     EDM=   .57E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 10.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    2.0533        .12137E-07** at limit **
   2  Prefactor     11.302        8.5150       -.27637E-06    .11374E-04
   3  Prefactor     44.557        24.318        .15793E-06    .12872E-03
   4  Prefactor     .10000E-03    2.3865       -.13889E-06** at limit **
   5  norm          4.9789        1.9382       -.34051E-07    .58995E-04
   6  Prefactor     5.8785        5.0812       -.14228E-06    .75884E-04
   7  norm          5.3069        2.4531       -.79022E-07   -.29500E-04
   8  norm          .10000E-03    1.3821       -.36574E-06** at limit **
   9  Prefactor     .10000E-03    139.53       -.48870E-05** at limit **
  10  Prefactor     15.130        15.916       -.50692E-06   -.70773E-04
  11  Prefactor     30.055        17.624       -.88239E-07   -.11116E-04
  12  Prefactor     5.5252        10.754       -.16786E-05    .21288E-03
  13  Prefactor     .10000E-03    15.366        .11372E-05** at limit **
  14  Prefactor     .10000E-03    7.4759       -.34990E-07** at limit **
  15  Prefactor     .10000E-03    1.4973        .23172E-07** at limit **
  16  norm          .95269        .23087       -.11066E-07   -.54764E-03
  17  norm          .10000E-03    22.365       -.14713E-05** at limit **
  18  Prefactor     .10000E-03    13.494       -.67790E-06** at limit **
  19  Prefactor     .10000E-03    48.446        .19340E-04** at limit **
  20  Normalizat    .77661        .15404        .14749E-05    .75141E-03
  21  Prefactor     1.3187        .11953       -.29523E-08    .10910E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.3019
  Prefactor  = 44.557
  Prefactor  = 0.0001
  norm       = 4.97887
  Prefactor  = 5.87849
  norm       = 5.30691
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 15.1305
  Prefactor  = 30.0553
  Prefactor  = 5.52522
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.952685
  norm       = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Normalizat = 0.776615
  Prefactor  = 1.31872
 **********
 **   18 **HESSE 
 **********

 FCN=   12046.14     FROM HESSE     STATUS=OK           325 CALLS     2274 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    2.0558        .15359E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.302        8.5266        .11918E-03   -1.5035    
   3  Prefactor     44.557        24.296        .60066E-04   -1.4372    
   4  Prefactor     .10000E-03    2.4103        .16551E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          4.9789        1.9385        .92449E-04   -1.5262    
   6  Prefactor     5.8785        5.0707        .16565E-03   -1.5223    
   7  norm          5.3069        2.4504        .11136E-03   -1.5247    
   8  norm          .10000E-03    3.3195        .25035E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    140.24        .42165E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     15.130        15.922        .51484E-03   -1.4930    
  11  Prefactor     30.055        17.624        .73085E-04   -1.4611    
  12  Prefactor     5.5252        10.777        .85455E-03   -1.5238    
  13  Prefactor     .10000E-03    15.562        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    7.4795        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    1.5002        .13115E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .95269        .23085        .24986E-04   -1.5513    
  17  norm          .10000E-03    22.574        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    13.550        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    3.6210        .68811E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .77661        .17673        .32536E-03   -1.0094    
  21  Prefactor     1.3187        .13792        .20287E-03   -.82752    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.09035e-10
Minuit parameter uncertainties:
  1  2.92255e-07
  2  8.52747
  3  24.3011
  4  1.59922e-05
  5  1.93849
  6  5.07108
  7  2.45047
  8  6.47276e-05
  9  0.00114954
  10  15.9262
  11  17.6273
  12  10.7806
  13  0.000167497
  14  2.36663e-06
  15  4.41469e-07
  16  0.23085
  17  0.000226301
  18  9.24368e-05
  19  0.000188818
  20  0.176864
  21  0.137958
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  5.307e+00  2.450e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.270e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.319e+00  1.380e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  7.766e-01  1.769e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 8.41
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 5.94e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 2.47e-05 +/- 1.14e-05

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) = 12045.9151937
delta logL = 0.221275060503

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 12045.8902251
delta logL = 0.246243662365

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.7949       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.6688       1.0000          .0000       5.0000    
     3 'Normalizat'    .75174       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3308       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   12045.89     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      241 TOTAL
                     EDM=   .64E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.7942        20.603        .51804E-02    .53521E-03
   2  alpha         2.6682        3.6556        .30254        .11801E-03
   3  Normalizat    .75174        .59321E-01    .74569E-01    .50617E-04
   4  Prefactor     1.3309        .38644E-01    .32093E-01   -.41369E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.79418
  alpha      = 2.66825
  Normalizat = 0.751745
  Prefactor  = 1.3309
 **********
 **   18 **HESSE 
 **********

 FCN=   12045.89     FROM HESSE     STATUS=OK            33 CALLS      274 TOTAL
                     EDM=   .26E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.7942        3.4857        .88779E-04   -1.5318    
   2  alpha         2.6682        .67915        .10678E-01    .67351E-01
   3  Normalizat    .75174        .17807        .33006E-03   -1.0188    
   4  Prefactor     1.3309        .13936        .20204E-03   -.82393    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57024e-11
Minuit parameter uncertainties:
  1  3.48585
  2  0.687834
  3  0.178206
  4  0.139398
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614664': 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) = 12045.8902229
delta logL = 0.246245849352

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  3.794e+00  3.486e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.668e+00  6.878e-01  0.000e+00  5.000e+00 ( 1.000e+00)
236         beta:  1.371e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
237           Eb:  1.056e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
503    Prefactor:  1.331e+00  1.394e-01  0.000e+00  1.000e+01 ( 1.000e+00)
504        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
505        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
502   Normalization:  7.517e-01  1.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.89
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.67 +/- 0.69
Photon Flux (Free Index): 7.83e-08 +/- 4.20e-08
Energy Flux (Free Index): 2.21e-05 +/- 1.07e-05

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/614664/cmap_HighResolution_566697601_566956801_4FGL_J1434.7+1950_daily_bin1263.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='5.94e-08', energy_flux2='2.21e-05', photon_flux_error='2.74e-08', dlogl='2.46e-01', energy_flux='2.47e-05', photon_flux2='7.83e-08', job_status='DONE', time_completed='2021-09-10 00:42:07.709199', photon_index_error2='0.69', photon_index2='2.67', ts='8.41', fit_tolerance='1e-08', GAL='1.32', photon_index_error='0.00', energy_flux_error2='1.07e-05', EG='0.78', time_epoch_completed='1631259727.71', return_code='0', job_id='614664', GAL2='1.33', EG2='0.75', return_code2='0', energy_flux_error='1.14e-05', photon_flux_error2='4.20e-08', ts2='8.89', photon_index='2.27' WHERE bin_id='1263' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:42:07 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 614664: <4FGL_J1434.7+1950_daily_bin1263> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1263> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:26:25 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 00:26:27 2021
Terminated at Fri Sep 10 00:42:08 2021
Results reported at Fri Sep 10 00:42:08 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1263 218.675 19.8478 566697601 566956801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1434.7+1950 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   687.34 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             247.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   941 sec.
    Turnaround time :                            943 sec.

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

