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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin711
RA = 218.675, Dec = 19.8478
tmin = 423619201, tmax = 423878401
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='612925', job_status='RUN', time_executed='2021-09-10 00:21:35.843371', time_epoch_executed='1631258495.84' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/612925

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/612925/ft1_4FGL_J1434.7+1950_daily_bin711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/612925/ft2_4FGL_J1434.7+1950_daily_bin711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/612925/ft1_4FGL_J1434.7+1950_daily_bin711.fits outfile=/scratch/kocevski/612925/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin711.fits ra=218.675 dec=19.8478 rad=12.0 tmin=423619201.0 tmax=423878401.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 5.74
user 5.47
sys 0.25

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/612925/ft1_filtered_4FGL_J1434.7+1950_daily_bin711.fits" evtable="EVENTS" scfile=/scratch/kocevski/612925/ft2_4FGL_J1434.7+1950_daily_bin711.fits sctable="SC_DATA" outfile=/scratch/kocevski/612925/ltcube_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.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/612925/ft2_4FGL_J1434.7+1950_daily_bin711.fits
.....................!
real 11.55
user 11.19
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/612925/ft1_filtered_4FGL_J1434.7+1950_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/612925/ft2_4FGL_J1434.7+1950_daily_bin711.fits sctable="SC_DATA" expcube=/scratch/kocevski/612925/ltcube_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.fits outfile=/scratch/kocevski/612925/expmap_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.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/612925/ltcube_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.fits
.....................!
real 191.28
user 186.15
sys 4.82

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/612925/ft1_filtered_4FGL_J1434.7+1950_daily_bin711.fits scfile=/scratch/kocevski/612925/ft2_4FGL_J1434.7+1950_daily_bin711.fits outfile=/scratch/kocevski/612925/cmap_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/612925/ft1_filtered_4FGL_J1434.7+1950_daily_bin711.fits scfile=/scratch/kocevski/612925/ft2_4FGL_J1434.7+1950_daily_bin711.fits outfile=/scratch/kocevski/612925/cmap_HighResolution_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.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.35
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/612925/ft1_filtered_4FGL_J1434.7+1950_daily_bin711.fits evtable="EVENTS" scfile=/scratch/kocevski/612925/ft2_4FGL_J1434.7+1950_daily_bin711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/612925/Model_4FGL_J1434.7+1950_daily_bin711.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/612925/ft1_filtered_4FGL_J1434.7+1950_daily_bin711.fits.......................!
real 22.60
user 21.35
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/612925/ft1_filtered_4FGL_J1434.7+1950_daily_bin711.fits', '/scratch/kocevski/612925/ft2_4FGL_J1434.7+1950_daily_bin711.fits', expMap='/scratch/kocevski/612925/expmap_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.fits', expCube='/scratch/kocevski/612925/ltcube_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/612925/Model_4FGL_J1434.7+1950_daily_bin711.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/612925/ft1_filtered_4FGL_J1434.7+1950_daily_bin711.fits
Spacecraft file(s): /scratch/kocevski/612925/ft2_4FGL_J1434.7+1950_daily_bin711.fits
Exposure map: /scratch/kocevski/612925/expmap_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.fits
Exposure cube: /scratch/kocevski/612925/ltcube_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/612925/Model_4FGL_J1434.7+1950_daily_bin711.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) = 1614.24963507

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.7405       1.0000         .10000E-03   10000.    
     3 'Prefactor '    11.867       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    23.500       1.0000         .10000E-03   10000.    
     9 'Prefactor '    143.73       1.0000         .10000E-03   10000.    
    10 'Prefactor '    21.386       1.0000         .10000E-03   10000.    
    11 'Prefactor '    17.147       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10038E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .11424E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .44249       1.0000         .10000E-03   10000.    
    17 'norm      '    .10048E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    17.482       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .15179       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.3023       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5060E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1614.212     FROM MIGRAD    STATUS=CONVERGED     87 CALLS     2088 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    10.426       -.17693E-05** at limit **
   2  Prefactor     5.7705        4.2358        .13755E-04    .29070E-02
   3  Prefactor     11.908        14.288        .53685E-04    .87824E-05
   4  Prefactor     .10000E-03    3.8973        .69458E-06** at limit **
   5  norm          .10001E-03    18.904       -.11504E-04** at limit **
   6  Prefactor     .10000E-03    2.8783       -.18132E-08** at limit **
   7  norm          .10000E-03    2.6245        .13915E-06** at limit **
   8  norm          23.526        3.0299        .32711E-05    .38356E-02
   9  Prefactor     143.73        1.5310       -.13115E-05    .16350E-02
  10  Prefactor     21.432        17.302        .49410E-04   -.44037E-02
  11  Prefactor     17.054        30.741       -.96160E-04   -.14453E-02
  12  Prefactor     .10000E-03    11.602        .30743E-06** at limit **
  13  Prefactor     .10189E-03    25.217       -.25652E-04** at limit **
  14  Prefactor     .10149E-03    9.5070       -.32402E-04** at limit **
  15  Prefactor     .10114E-03    8.8769       -.19230E-04** at limit **
  16  norm          .44290        .32434        .99248E-06   -.22582E-02
  17  norm          .10001E-03    61.318        .58575E-04** at limit **
  18  Prefactor     17.451        11.979       -.38210E-04    .47829E-02
  19  Prefactor     .10156E-03    19.320        .64943E-04** at limit **
  20  Normalizat    .15202        .37210        .31960E-04   -.59929E-04
  21  Prefactor     1.3021        .29466       -.82832E-05   -.36113E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 5.77054
  Prefactor  = 11.9081
  Prefactor  = 0.0001
  norm       = 0.000100007
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 23.5256
  Prefactor  = 143.729
  Prefactor  = 21.4319
  Prefactor  = 17.0536
  Prefactor  = 0.0001
  Prefactor  = 0.000101894
  Prefactor  = 0.000101493
  Prefactor  = 0.000101139
  norm       = 0.442903
  norm       = 0.000100008
  Prefactor  = 17.451
  Prefactor  = 0.000101557
  Normalizat = 0.152017
  Prefactor  = 1.30207
 **********
 **   18 **HESSE 
 **********

 FCN=   1614.212     FROM HESSE     STATUS=OK           355 CALLS     2443 TOTAL
                     EDM=   .64E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    10.415        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.7705        29.542        .41910E-02   -1.5227    
   3  Prefactor     11.908        43.572        .29073E-02   -1.5018    
   4  Prefactor     .10000E-03    3.8954        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10001E-03    18.626        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    2.8781        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    2.6222        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          23.526        20.866        .20657E-02   -1.4738    
   9  Prefactor     143.73        356.86        .84017E-03   -1.3304    
  10  Prefactor     21.432        59.189        .21653E-02   -1.4782    
  11  Prefactor     17.054        45.224        .24181E-02   -1.4882    
  12  Prefactor     .10000E-03    11.596        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10189E-03    34.757        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10149E-03    29.223        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10114E-03    28.324        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .44290        .33582        .42202E-02   -1.5575    
  17  norm          .10001E-03    63.846        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     17.451        454.15        .23948E-02   -1.4872    
  19  Prefactor     .10156E-03    25.418        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .15202        5.6433        .13329       -1.3318    
  21  Prefactor     1.3021        .78521        .32569E-01   -.83246    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.36791e-06
Minuit parameter uncertainties:
  1  0.000161203
  2  26.1333
  3  43.6887
  4  6.23263e-05
  5  0.000722434
  6  9.25836e-07
  7  9.94186e-06
  8  20.8723
  9  362.433
  10  59.3518
  11  45.3152
  12  9.24858e-05
  13  0.0162355
  14  0.0132164
  15  0.0113653
  16  0.335826
  17  0.00141777
  18  179.587
  19  0.0125877
  20  1.20335
  21  0.792519
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  9.942e-06  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.302e+00  7.925e-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:  1.520e-01  1.203e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 218.675 19.848
Photon Flux Upper Limit: 1.57e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.54e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/612925/likelihoodResults_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.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) = 1614.21322694
delta logL = -0.00147963065479

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1614.21174742
delta logL = -1.07658024717e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10073E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2537       1.0000          .0000       5.0000    
     3 'Normalizat'    .15226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3019       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1614.212     FROM MIGRAD    STATUS=CONVERGED     97 CALLS      237 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    252.34        .64478E-02** at limit **
   2  alpha         1.6530        2.7494        .16563       -.15959E-08
   3  Normalizat    .15202        .74879E-01    .58339E-03    .13840E-03
   4  Prefactor     1.3021        .58311E-01    .16120E-03    .52511E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.65304
  Normalizat = 0.152016
  Prefactor  = 1.30208
 **********
 **   18 **HESSE 
 **********

 FCN=   1614.212     FROM HESSE     STATUS=OK            23 CALLS      260 TOTAL
                     EDM=   .48E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4363        .72716E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.6530        2.5625        .66251E-02   -.34562    
   3  Normalizat    .15202        .37122        .23336E-04   -1.3318    
   4  Prefactor     1.3021        .29348        .32240E-04   -.83245    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.79365e-10
Minuit parameter uncertainties:
  1  1.89161e-06
  2  212.544
  3  0.377601
  4  0.29385
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/612925': 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) = 1614.21174282
delta logL = 4.49623030363e-06

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.000e-04  1.892e-06  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  1.653e+00  2.125e+02  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.302e+00  2.938e-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:  1.520e-01  3.776e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 218.675 19.848

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/612925/cmap_HighResolution_423619201_423878401_4FGL_J1434.7+1950_daily_bin711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.54e-05', job_status='DONE', photon_flux_upper_limit='1.57e-07', time_completed='2021-09-10 00:28:06.290613', job_id='612925', GAL2='1.30', fit_tolerance='1e-08', EG2='0.15', EG='0.15', time_epoch_completed='1631258886.29', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.30', dlogl='4.50e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.27' WHERE bin_id='711' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:28:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0256>
Subject: Job 612925: <4FGL_J1434.7+1950_daily_bin711> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin711> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 00:21:17 2021
Job was executed on host(s) <bullet0256>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:21:19 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:21:19 2021
Terminated at Fri Sep 10 00:28:07 2021
Results reported at Fri Sep 10 00:28:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin711 218.675 19.8478 423619201 423878401 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 :                                   386.15 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             369.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   407 sec.
    Turnaround time :                            410 sec.

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

