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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1068
RA = 218.675, Dec = 19.8478
tmin = 516153601, tmax = 516412801
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='614468', job_status='RUN', time_executed='2021-09-10 00:30:14.112298', time_epoch_executed='1631259014.11' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1068'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614468

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614468/ft1_4FGL_J1434.7+1950_daily_bin1068.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614468/ft2_4FGL_J1434.7+1950_daily_bin1068.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614468/ft1_4FGL_J1434.7+1950_daily_bin1068.fits outfile=/scratch/kocevski/614468/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1068.fits ra=218.675 dec=19.8478 rad=12.0 tmin=516153601.0 tmax=516412801.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.27
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/614468/ft2_4FGL_J1434.7+1950_daily_bin1068.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/614468/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1068.fits evtable="EVENTS" outfile="/scratch/kocevski/614468/ft1_filtered_4FGL_J1434.7+1950_daily_bin1068.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/614468/ft1_filtered_4FGL_J1434.7+1950_daily_bin1068.fits" evtable="EVENTS" scfile=/scratch/kocevski/614468/ft2_4FGL_J1434.7+1950_daily_bin1068.fits sctable="SC_DATA" outfile=/scratch/kocevski/614468/ltcube_516153601_516412801_4FGL_J1434.7+1950_daily_bin1068.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/614468/ft2_4FGL_J1434.7+1950_daily_bin1068.fits
.....................!
real 12.04
user 11.63
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614468/ft1_filtered_4FGL_J1434.7+1950_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/614468/ft2_4FGL_J1434.7+1950_daily_bin1068.fits sctable="SC_DATA" expcube=/scratch/kocevski/614468/ltcube_516153601_516412801_4FGL_J1434.7+1950_daily_bin1068.fits outfile=/scratch/kocevski/614468/expmap_516153601_516412801_4FGL_J1434.7+1950_daily_bin1068.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/614468/ltcube_516153601_516412801_4FGL_J1434.7+1950_daily_bin1068.fits
.....................!
real 190.65
user 184.63
sys 5.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/614468/ft1_filtered_4FGL_J1434.7+1950_daily_bin1068.fits scfile=/scratch/kocevski/614468/ft2_4FGL_J1434.7+1950_daily_bin1068.fits outfile=/scratch/kocevski/614468/cmap_516153601_516412801_4FGL_J1434.7+1950_daily_bin1068.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/614468/ft1_filtered_4FGL_J1434.7+1950_daily_bin1068.fits scfile=/scratch/kocevski/614468/ft2_4FGL_J1434.7+1950_daily_bin1068.fits outfile=/scratch/kocevski/614468/cmap_HighResolution_516153601_516412801_4FGL_J1434.7+1950_daily_bin1068.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.55
user 0.37
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614468/ft1_filtered_4FGL_J1434.7+1950_daily_bin1068.fits evtable="EVENTS" scfile=/scratch/kocevski/614468/ft2_4FGL_J1434.7+1950_daily_bin1068.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614468/Model_4FGL_J1434.7+1950_daily_bin1068.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/614468/ft1_filtered_4FGL_J1434.7+1950_daily_bin1068.fits.....................!
real 48.06
user 46.67
sys 1.23

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    15.681       1.0000         .10000E-03   10000.    
     3 'Prefactor '    35.330       1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.516       1.0000         .10000E-03   10000.    
     5 'norm      '    5.8509       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6172       1.0000         .10000E-03   10000.    
     7 'norm      '    1.4107       1.0000         .10000E-03   10000.    
     8 'norm      '    4.7245       1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.800       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.0578       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10147E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.8659       1.0000         .10000E-03   10000.    
    16 'norm      '    1.0819       1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.857       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0578       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .91444       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=   6140.359     FROM MIGRAD    STATUS=CONVERGED    425 CALLS     1874 TOTAL
                     EDM=   .22E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.305       -.62259E-05** at limit **
   2  Prefactor     15.679        11.663       -.94985E-06    .22899E-04
   3  Prefactor     35.328        28.699       -.25675E-05    .22612E-04
   4  Prefactor     11.517        10.370       -.80160E-07    .50109E-05
   5  norm          5.8508        2.5847       -.59554E-07    .11007E-03
   6  Prefactor     8.6153        8.5841       -.61022E-07   -.26981E-04
   7  norm          1.4110        2.2931       -.43529E-06   -.54696E-03
   8  norm          4.7244        3.7875       -.39041E-06   -.58224E-05
   9  Prefactor     22.800        28.480       -.16105E-05    .27964E-05
  10  Prefactor     .10000E-03    7.9529       -.12546E-05** at limit **
  11  Prefactor     .10000E-03    16.314        .11346E-04** at limit **
  12  Prefactor     2.0390        28.268       -.24873E-04   -.10104E-03
  13  Prefactor     .10000E-03    24.563       -.31152E-05** at limit **
  14  Prefactor     .10000E-03    14.125       -.93347E-05** at limit **
  15  Prefactor     4.8649        9.8576       -.10496E-05   -.13180E-03
  16  norm          1.0820        .30341        .38577E-07    .12163E-02
  17  norm          .10000E-03    15.813        .70851E-05** at limit **
  18  Prefactor     19.854        43.226       -.59620E-05    .10471E-04
  19  Prefactor     .10000E-03    8.8088        .26512E-05** at limit **
  20  Normalizat    1.0578        .19327        .20956E-05    .16276E-03
  21  Prefactor     .91451        .14466        .11375E-05    .23632E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.6795
  Prefactor  = 35.328
  Prefactor  = 11.5169
  norm       = 5.85076
  Prefactor  = 8.61534
  norm       = 1.41098
  norm       = 4.72438
  Prefactor  = 22.7996
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.03899
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.86494
  norm       = 1.08197
  norm       = 0.0001
  Prefactor  = 19.8539
  Prefactor  = 0.0001
  Normalizat = 1.05779
  Prefactor  = 0.914507
 **********
 **   18 **HESSE 
 **********

 FCN=   6140.359     FROM HESSE     STATUS=OK           319 CALLS     2193 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.679        11.707        .10114E-03   -1.4916    
   3  Prefactor     35.328        28.694        .67422E-04   -1.4519    
   4  Prefactor     11.517        10.337        .11805E-03   -1.5029    
   5  norm          5.8508        2.5857        .81315E-04   -1.5224    
   6  Prefactor     8.6153        8.5563        .13655E-03   -1.5121    
   7  norm          1.4110        2.2632        .14529E-03   -1.5470    
   8  norm          4.7244        3.7873        .13225E-03   -1.5273    
   9  Prefactor     22.800        28.544        .83886E-04   -1.4753    
  10  Prefactor     .10000E-03    7.9538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    16.288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.0390        29.421        .28811E-03   -1.5422    
  13  Prefactor     .10000E-03    24.771        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    14.039        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     4.8649        9.8744        .18236E-03   -1.5267    
  16  norm          1.0820        .30343        .22049E-04   -1.5500    
  17  norm          .10000E-03    15.782        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.854        43.264        .89883E-04   -1.4817    
  19  Prefactor     .10000E-03    8.8936        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0578        .23001        .26630E-03   -.91119    
  21  Prefactor     .91451        .17212        .21617E-03   -.95636    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34098e-10
Minuit parameter uncertainties:
  1  1.55642e-05
  2  11.7092
  3  28.7051
  4  10.3384
  5  2.58577
  6  8.55753
  7  2.26332
  8  3.78754
  9  28.5609
  10  2.91385e-05
  11  8.89068e-06
  12  15.4993
  13  0.000180629
  14  3.46623e-05
  15  9.87768
  16  0.30343
  17  5.81851e-07
  18  43.3322
  19  2.78248e-05
  20  0.230226
  21  0.172218
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.411e+00  2.263e+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:  9.145e-01  1.722e-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.058e+00  2.302e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.58
Ra Dec: 218.675 19.848
Photon Flux Upper Limit: 8.44e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.50e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/614468/likelihoodResults_516153601_516412801_4FGL_J1434.7+1950_daily_bin1068.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6139.62542822
delta logL = 0.733406464627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6139.56896731
delta logL = 0.789867372624

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .37080       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.8308       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0065       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93534       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=   6139.569     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      246 TOTAL
                     EDM=   .41E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .37165        4.6191        .82418E-02    .76818E-02
   2  alpha         3.8287        4.2264        .34562        .21694E-03
   3  Normalizat    1.0066        .45934E-01    .46248E-01   -.81663E-04
   4  Prefactor     .93520        .34908E-01    .45454E-01   -.98621E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.371651
  alpha      = 3.8287
  Normalizat = 1.00658
  Prefactor  = 0.935201
 **********
 **   18 **HESSE 
 **********

 FCN=   6139.569     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      281 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .37165        11.783        .37781E-03   -1.5586    
   2  alpha         3.8287        4.0623        .13844E-01    .56035    
   3  Normalizat    1.0066        .19754        .27160E-03   -.92810    
   4  Prefactor     .93520        .14798        .21379E-03   -.94922    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.8682e-09
Minuit parameter uncertainties:
  1  4.18567
  2  6.1424
  3  0.197685
  4  0.148045
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614468': 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) = 6139.56896388
delta logL = 0.789870806445

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  3.717e-01  4.186e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  3.829e+00  6.142e+00  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:  9.352e-01  1.480e-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.007e+00  1.977e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.19
Ra Dec: 218.675 19.848
Photon Index (Free Index): 3.83 +/- 6.14
Photon Flux (Free Index): 6.29e-08 +/- 6.51e-08
Energy Flux (Free Index): 1.06e-05 +/- 1.19e-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/614468/cmap_HighResolution_516153601_516412801_4FGL_J1434.7+1950_daily_bin1068.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.50e-05', comment='SUCCESS', energy_flux2='1.06e-05', dlogl='7.90e-01', photon_flux2='6.29e-08', job_status='DONE', time_completed='2021-09-10 00:39:26.882844', photon_index_error2='6.14', photon_index2='3.83', ts='0.58', fit_tolerance='1e-08', GAL='0.91', photon_index_error='0.00', photon_flux_upper_limit='8.44e-08', energy_flux_error2='1.19e-05', EG='1.06', time_epoch_completed='1631259566.88', return_code='0', job_id='614468', GAL2='0.94', EG2='1.01', return_code2='102', photon_flux_error2='6.51e-08', ts2='2.19', photon_index='2.27' WHERE bin_id='1068' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:39:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 614468: <4FGL_J1434.7+1950_daily_bin1068> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1068> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:26:06 2021
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26:07 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:07 2021
Terminated at Fri Sep 10 00:39:27 2021
Results reported at Fri Sep 10 00:39:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1068 218.675 19.8478 516153601 516412801 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 :                                   548.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             283.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   800 sec.
    Turnaround time :                            801 sec.

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

