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


Performing analysis on: 4FGL_J1434.7+1950_daily_bin1343
RA = 218.675, Dec = 19.8478
tmin = 587433601, tmax = 587692801
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='614744', job_status='RUN', time_executed='2021-09-10 00:29:06.200404', time_epoch_executed='1631258946.2' WHERE source_name='4FGL J1434.7+1950' and cadence='daily' and bin_id='1343'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/614744

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/614744/ft1_4FGL_J1434.7+1950_daily_bin1343.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/614744/ft2_4FGL_J1434.7+1950_daily_bin1343.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/614744/ft1_4FGL_J1434.7+1950_daily_bin1343.fits outfile=/scratch/kocevski/614744/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1343.fits ra=218.675 dec=19.8478 rad=12.0 tmin=587433601.0 tmax=587692801.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.56
user 3.31
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/614744/ft2_4FGL_J1434.7+1950_daily_bin1343.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/614744/ft1_filteredMKT_4FGL_J1434.7+1950_daily_bin1343.fits evtable="EVENTS" outfile="/scratch/kocevski/614744/ft1_filtered_4FGL_J1434.7+1950_daily_bin1343.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/614744/ft1_filtered_4FGL_J1434.7+1950_daily_bin1343.fits" evtable="EVENTS" scfile=/scratch/kocevski/614744/ft2_4FGL_J1434.7+1950_daily_bin1343.fits sctable="SC_DATA" outfile=/scratch/kocevski/614744/ltcube_587433601_587692801_4FGL_J1434.7+1950_daily_bin1343.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/614744/ft2_4FGL_J1434.7+1950_daily_bin1343.fits
.....................!
real 11.95
user 11.58
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/614744/ft1_filtered_4FGL_J1434.7+1950_daily_bin1343.fits evtable="EVENTS" scfile=/scratch/kocevski/614744/ft2_4FGL_J1434.7+1950_daily_bin1343.fits sctable="SC_DATA" expcube=/scratch/kocevski/614744/ltcube_587433601_587692801_4FGL_J1434.7+1950_daily_bin1343.fits outfile=/scratch/kocevski/614744/expmap_587433601_587692801_4FGL_J1434.7+1950_daily_bin1343.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/614744/ltcube_587433601_587692801_4FGL_J1434.7+1950_daily_bin1343.fits
.....................!
real 190.56
user 185.34
sys 4.84

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/614744/ft1_filtered_4FGL_J1434.7+1950_daily_bin1343.fits scfile=/scratch/kocevski/614744/ft2_4FGL_J1434.7+1950_daily_bin1343.fits outfile=/scratch/kocevski/614744/cmap_587433601_587692801_4FGL_J1434.7+1950_daily_bin1343.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.52
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/614744/ft1_filtered_4FGL_J1434.7+1950_daily_bin1343.fits scfile=/scratch/kocevski/614744/ft2_4FGL_J1434.7+1950_daily_bin1343.fits outfile=/scratch/kocevski/614744/cmap_HighResolution_587433601_587692801_4FGL_J1434.7+1950_daily_bin1343.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.56
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/614744/ft1_filtered_4FGL_J1434.7+1950_daily_bin1343.fits evtable="EVENTS" scfile=/scratch/kocevski/614744/ft2_4FGL_J1434.7+1950_daily_bin1343.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/614744/Model_4FGL_J1434.7+1950_daily_bin1343.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/614744/ft1_filtered_4FGL_J1434.7+1950_daily_bin1343.fits.....................!
real 51.20
user 49.83
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .26419       1.0000         .10000E-03   10000.    
     3 'Prefactor '    66.365       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1614       1.0000         .10000E-03   10000.    
     5 'norm      '    4.5579       1.0000         .10000E-03   10000.    
     6 'Prefactor '    5.7804       1.0000         .10000E-03   10000.    
     7 'norm      '    12.462       1.0000         .10000E-03   10000.    
     8 'norm      '    5.2991       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    42.781       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.4483       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10123E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.783       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .22116       1.0000         .10000E-03   10000.    
    17 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    30.431       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .18037E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .94648       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1797       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=   6669.245     FROM MIGRAD    STATUS=CONVERGED    443 CALLS     2253 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    6.2995        .90712E-02** at limit **
   2  Prefactor     .27772        6.2821        .10267       -.38956E-03
   3  Prefactor     66.365        30.421        .12317E-02   -.34031E-03
   4  Prefactor     2.1621        6.5273        .70044E-02    .89527E-03
   5  norm          4.5580        2.6990        .47139E-02    .14665E-04
   6  Prefactor     5.7805        6.9263        .41763E-02    .44415E-03
   7  norm          12.462        4.4205        .28368E-02    .19381E-02
   8  norm          5.2994        4.0363        .43649E-02    .37171E-04
   9  Prefactor     .10000E-03    35.643        .90712E-02** at limit **
  10  Prefactor     42.778        34.799        .15323E-02    .83229E-03
  11  Prefactor     .10003E-03    49.291        .90712E-02** at limit **
  12  Prefactor     9.4480        13.960        .32594E-02   -.77813E-04
  13  Prefactor     .10000E-03    10.830        .90712E-02** at limit **
  14  Prefactor     41.783        32.522        .15504E-02    .21843E-03
  15  Prefactor     .10000E-03    4.8790        .90712E-02** at limit **
  16  norm          .22118        .17228        .65107E-02    .44371E-03
  17  norm          .10000E-03    35.341        .90712E-02** at limit **
  18  Prefactor     30.432        43.441        .18158E-02   -.28373E-03
  19  Prefactor     .10000E-03    22.057        .90712E-02** at limit **
  20  Normalizat    .94641        .20857        .70137E-01    .21948E-04
  21  Prefactor     1.1798        .15740        .35128E-01    .62037E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.277721
  Prefactor  = 66.3653
  Prefactor  = 2.16206
  norm       = 4.55799
  Prefactor  = 5.78054
  norm       = 12.4621
  norm       = 5.29936
  Prefactor  = 0.0001
  Prefactor  = 42.7784
  Prefactor  = 0.000100031
  Prefactor  = 9.448
  Prefactor  = 0.0001
  Prefactor  = 41.7825
  Prefactor  = 0.0001
  norm       = 0.221177
  norm       = 0.000100004
  Prefactor  = 30.4315
  Prefactor  = 0.0001
  Normalizat = 0.94641
  Prefactor  = 1.17975
 **********
 **   18 **HESSE 
 **********

 FCN=   6669.245     FROM HESSE     STATUS=OK           319 CALLS     2572 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    6.3084        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .27772        97.419        .38923E-02   -1.5603    
   3  Prefactor     66.365        30.409        .49266E-04   -1.4077    
   4  Prefactor     2.1621        6.4686        .28017E-03   -1.5414    
   5  norm          4.5580        2.6989        .10003E-03   -1.5281    
   6  Prefactor     5.7805        6.8751        .16705E-03   -1.5227    
   7  norm          12.462        4.4192        .48371E-03   -1.5002    
   8  norm          5.2994        4.0356        .13871E-03   -1.5248    
   9  Prefactor     .10000E-03    35.720        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     42.778        34.850        .61291E-04   -1.4399    
  11  Prefactor     .10003E-03    49.954        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     9.4480        13.954        .13038E-03   -1.5093    
  13  Prefactor     .10000E-03    10.835        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.783        32.520        .62015E-04   -1.4414    
  15  Prefactor     .10000E-03    4.8962        .17615E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .22118        .17062        .29045E-04   -1.5614    
  17  norm          .10000E-03    35.416        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     30.432        43.511        .72631E-04   -1.4604    
  19  Prefactor     .10000E-03    22.988        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .94641        .24364        .31030E-03   -.94848    
  21  Prefactor     1.1798        .18344        .21500E-03   -.86957    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.52145e-08
Minuit parameter uncertainties:
  1  9.532e-08
  2  10.4182
  3  30.4159
  4  6.47068
  5  2.69896
  6  6.87602
  7  4.41934
  8  4.03579
  9  0.00022783
  10  34.8662
  11  0.0024777
  12  13.9584
  13  2.48436e-06
  14  32.5343
  15  2.93244e-07
  16  0.170619
  17  0.000789448
  18  43.5562
  19  0.000113985
  20  0.243924
  21  0.183539
Done.

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

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  1.246e+01  4.419e+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.180e+00  1.835e-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:  9.464e-01  2.439e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 19.00
Ra Dec: 218.675 19.848
Photon Index (Fixed Index): 2.27 +/- 0.00
Photon Flux (Fixed Index): 1.39e-07 +/- 4.94e-08
Energy Flux (Fixed Index): 5.79e-05 +/- 2.05e-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) = 6667.57102567
delta logL = 1.67428671484

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6667.56866944
delta logL = 1.67664295158

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    7.1560       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.9278       1.0000          .0000       5.0000    
     3 'Normalizat'    .86517       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2111       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=   6667.569     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      240 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          7.1560        27.472        .37488E-02    .20182E-02
   2  alpha         2.9278        2.0715        .14009        .32519E-03
   3  Normalizat    .86518        .13209        .72697E-01    .82527E-04
   4  Prefactor     1.2111        .81114E-01    .34374E-01   -.22788E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 7.15601
  alpha      = 2.92778
  Normalizat = 0.865183
  Prefactor  = 1.21108
 **********
 **   18 **HESSE 
 **********

 FCN=   6667.569     FROM HESSE     STATUS=OK            31 CALLS      271 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          7.1560        4.2481        .62121E-04   -1.5173    
   2  alpha         2.9278        .39577        .59797E-02    .17196    
   3  Normalizat    .86518        .23993        .32170E-03   -.97695    
   4  Prefactor     1.2111        .18164        .21208E-03   -.85991    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.65081e-10
Minuit parameter uncertainties:
  1  4.24827
  2  0.397494
  3  0.240226
  4  0.181738
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/614744': 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) = 6667.56866943
delta logL = 1.67664295852

Extracting fit parameters...

4FGL J1434.7+1950
   Spectrum: LogParabola
234         norm:  7.156e+00  4.248e+00  1.000e-04  1.000e+04 ( 1.000e-12)
235        alpha:  2.928e+00  3.975e-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.211e+00  1.817e-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:  8.652e-01  2.402e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 22.44
Ra Dec: 218.675 19.848
Photon Index (Free Index): 2.93 +/- 0.40
Photon Flux (Free Index): 2.29e-07 +/- 7.96e-08
Energy Flux (Free Index): 5.43e-05 +/- 1.66e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.355e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.614e-03 [aplpy.core]
Saving /scratch/kocevski/614744/cmap_HighResolution_587433601_587692801_4FGL_J1434.7+1950_daily_bin1343.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.39e-07', energy_flux2='5.43e-05', photon_flux_error='4.94e-08', dlogl='1.68e+00', energy_flux='5.79e-05', photon_flux2='2.29e-07', job_status='DONE', time_completed='2021-09-10 00:38:03.688371', photon_index_error2='0.40', photon_index2='2.93', ts='19.00', fit_tolerance='1e-08', GAL='1.18', photon_index_error='0.00', energy_flux_error2='1.66e-05', EG='0.95', time_epoch_completed='1631259483.69', return_code='0', job_id='614744', GAL2='1.21', EG2='0.87', return_code2='0', energy_flux_error='2.05e-05', photon_flux_error2='7.96e-08', ts2='22.44', photon_index='2.27' WHERE bin_id='1343' AND source_name='4FGL J1434.7+1950' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 00:38:03 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0070>
Subject: Job 614744: <4FGL_J1434.7+1950_daily_bin1343> in cluster <slac> Done

Job <4FGL_J1434.7+1950_daily_bin1343> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 00:26:33 2021
Job was executed on host(s) <bullet0070>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 00:26:35 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:35 2021
Terminated at Fri Sep 10 00:38:04 2021
Results reported at Fri Sep 10 00:38:04 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1434.7+1950_daily_bin1343 218.675 19.8478 587433601 587692801 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 :                                   534.01 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             258.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   688 sec.
    Turnaround time :                            691 sec.

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

