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


Performing analysis on: 4FGL_J0429.0-0006_daily_bin988
RA = 67.2549, Dec = -0.1006
tmin = 495417601, tmax = 495676801
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='488010', job_status='RUN', time_executed='2021-08-20 17:31:16.942509', time_epoch_executed='1629505876.94' WHERE source_name='4FGL J0429.0-0006' and cadence='daily' and bin_id='988'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/488010

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/488010/ft1_4FGL_J0429.0-0006_daily_bin988.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/488010/ft1_4FGL_J0429.0-0006_daily_bin988.fits outfile=/scratch/kocevski/488010/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin988.fits ra=67.2549 dec=-0.1006 rad=12.0 tmin=495417601.0 tmax=495676801.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 4.15
user 3.34
sys 0.80

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.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/488010/ft1_filteredMKT_4FGL_J0429.0-0006_daily_bin988.fits evtable="EVENTS" outfile="/scratch/kocevski/488010/ft1_filtered_4FGL_J0429.0-0006_daily_bin988.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 1.06
user 0.33
sys 0.72

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/488010/ft1_filtered_4FGL_J0429.0-0006_daily_bin988.fits" evtable="EVENTS" scfile=/scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits sctable="SC_DATA" outfile=/scratch/kocevski/488010/ltcube_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.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/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits
.....................!
real 12.84
user 11.84
sys 0.97

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/488010/ft1_filtered_4FGL_J0429.0-0006_daily_bin988.fits evtable="EVENTS" scfile=/scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits sctable="SC_DATA" expcube=/scratch/kocevski/488010/ltcube_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.fits outfile=/scratch/kocevski/488010/expmap_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.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/488010/ltcube_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.fits
.....................!
real 190.62
user 185.05
sys 5.06

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

Setting source of interest to:
4FGL J0429.0-0006 @ 67.2549 -0.1006

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/488010/ft1_filtered_4FGL_J0429.0-0006_daily_bin988.fits scfile=/scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits outfile=/scratch/kocevski/488010/cmap_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.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=67.2549 yref=-0.1006 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 1.11
user 0.37
sys 0.71

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/488010/ft1_filtered_4FGL_J0429.0-0006_daily_bin988.fits scfile=/scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits outfile=/scratch/kocevski/488010/cmap_HighResolution_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.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=67.2549 yref=-0.1006 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 1.10
user 0.36
sys 0.72

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/488010/ft1_filtered_4FGL_J0429.0-0006_daily_bin988.fits evtable="EVENTS" scfile=/scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/488010/Model_4FGL_J0429.0-0006_daily_bin988.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/488010/ft1_filtered_4FGL_J0429.0-0006_daily_bin988.fits.....................!
real 137.66
user 135.38
sys 1.95

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/488010/ft1_filtered_4FGL_J0429.0-0006_daily_bin988.fits', '/scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits', expMap='/scratch/kocevski/488010/expmap_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.fits', expCube='/scratch/kocevski/488010/ltcube_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/488010/Model_4FGL_J0429.0-0006_daily_bin988.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0429.0-0006'

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  3.512e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
211        Scale:  7.378e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/488010/ft1_filtered_4FGL_J0429.0-0006_daily_bin988.fits
Spacecraft file(s): /scratch/kocevski/488010/ft2_4FGL_J0429.0-0006_daily_bin988.fits
Exposure map: /scratch/kocevski/488010/expmap_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.fits
Exposure cube: /scratch/kocevski/488010/ltcube_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/488010/Model_4FGL_J0429.0-0006_daily_bin988.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) = 9705.85383522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10259E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    18.645       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.5714       1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.803       1.0000         .10000E-03   10000.    
     7 'norm      '    58.229       1.0000         .10000E-03   10000.    
     8 'norm      '    .10030E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    13.186       1.0000         .10000E-03   10000.    
    12 'Prefactor '    96.830       1.0000         .10000E-03   10000.    
    13 'Prefactor '    11.948       1.0000         .10000E-03   10000.    
    14 'norm      '    .10031E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10368E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .60277       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10185E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    1.4632       1.0000         .10000E-03   10000.    
    20 'Prefactor '    4.3843       1.0000         .10000E-03   10000.    
    21 'norm      '    3.2242       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .33171E-02   1.0000         .10000E-03   10000.    
    23 'norm      '    .39638E-03   1.0000         .10000E-03   10000.    
    24 'Normalizat'    .83334       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0640       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4870E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   9705.828     FROM MIGRAD    STATUS=CONVERGED    608 CALLS     3111 TOTAL
                     EDM=   .86E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    39.377        .43388E-05** at limit **
   2  Prefactor     .10000E-03    11.245       -.14476E-06** at limit **
   3  norm          18.645        13.703        .23194E-06    .26159E-03
   4  Prefactor     .10000E-03    13.067        .10389E-05** at limit **
   5  norm          1.5715        2.6582       -.29550E-06   -.39698E-03
   6  Prefactor     26.790        27.396       -.10499E-05    .20833E-04
   7  norm          58.229        15.349       -.18456E-06    .12715E-03
   8  norm          .10000E-03    34.863       -.82559E-05** at limit **
   9  norm          .10000E-03    .37248       -.32888E-06** at limit **
  10  Prefactor     .10000E-03    .70145       -.22339E-06** at limit **
  11  Prefactor     13.191        19.351       -.19174E-05    .41568E-04
  12  Prefactor     96.843        47.707        .64488E-05    .83376E-04
  13  Prefactor     11.949        9.7419       -.89725E-06    .16591E-03
  14  norm          .10000E-03    1.6013        .78902E-07** at limit **
  15  Prefactor     .10000E-03    13.805       -.99468E-06** at limit **
  16  norm          .10000E-03    .91538       -.28145E-06** at limit **
  17  Prefactor     .63073        2.9665        .53002E-06   -.25515E-03
  18  Prefactor     .10000E-03    30.259        .46598E-05** at limit **
  19  norm          1.4630        1.6680       -.27093E-06   -.11568E-02
  20  Prefactor     4.3373        62.603       -.36127E-04    .32557E-04
  21  norm          3.2220        .95430        .51515E-06   -.18000E-02
  22  Prefactor     .10095E-03    8.2740        .92306E-06** at limit **
  23  norm          .10000E-03    3.0739        .45309E-06** at limit **
  24  Normalizat    .83345        .22590        .86722E-06    .74914E-04
  25  Prefactor     1.0640        .86282E-01    .14268E-06    .21073E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.6455
  Prefactor  = 0.0001
  norm       = 1.57146
  Prefactor  = 26.7902
  norm       = 58.2294
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.1911
  Prefactor  = 96.8428
  Prefactor  = 11.9486
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.630729
  Prefactor  = 0.000100001
  norm       = 1.46297
  Prefactor  = 4.33726
  norm       = 3.222
  Prefactor  = 0.000100946
  norm       = 0.0001
  Normalizat = 0.833451
  Prefactor  = 1.06401
 **********
 **   18 **HESSE 
 **********

 FCN=   9705.828     FROM HESSE     STATUS=OK           439 CALLS     3550 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    39.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.327        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          18.645        13.718        .46378E-03   -1.4844    
   4  Prefactor     .10000E-03    13.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.5715        2.6142        .20182E-03   -1.5457    
   6  Prefactor     26.790        27.420        .77380E-04   -1.4672    
   7  norm          58.229        15.378        .52574E-04   -1.4180    
   8  norm          .10000E-03    35.326        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    .52759        .11353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .71504        .16063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.191        19.177        .11031E-03   -1.4981    
  12  Prefactor     96.843        47.141        .40848E-04   -1.3737    
  13  Prefactor     11.949        9.7029        .11589E-03   -1.5016    
  14  norm          .10000E-03    1.6522        .24144E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.815        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    1.4985        .18096E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .63073        14.356        .31481E-02   -1.5549    
  18  Prefactor     .10000E-03    30.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          1.4630        1.6495        .12860E-03   -1.5466    
  20  Prefactor     4.3373        61.665        .19235E-03   -1.5291    
  21  norm          3.2220        .90286        .41910E-04   -1.5349    
  22  Prefactor     .10095E-03    12.446        .10442       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    6.2865        .31387E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .83345        .24319        .44247E-03   -.98840    
  25  Prefactor     1.0640        .94738E-01    .16566E-03   -.90625    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10466e-09
Minuit parameter uncertainties:
  1  0.000203396
  2  3.9047e-06
  3  13.7207
  4  3.97262e-05
  5  2.6144
  6  27.4325
  7  15.3789
  8  0.000249586
  9  2.3565e-05
  10  1.78841e-05
  11  19.1859
  12  47.1594
  13  9.70422
  14  1.07523e-05
  15  2.57946e-05
  16  3.4262e-05
  17  6.01944
  18  0.000329144
  19  1.64959
  20  32.7488
  21  0.902865
  22  0.0068629
  23  0.000111897
  24  0.243513
  25  0.0947533
Done.

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

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  9.684e+01  4.716e+01  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  2.717e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
211        Scale:  7.378e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  1.064e+00  9.475e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  8.335e-01  2.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.81
Ra Dec: 67.255 -0.101
Photon Index (Fixed Index): 2.72 +/- 0.00
Photon Flux (Fixed Index): 1.29e-07 +/- 6.27e-08
Energy Flux (Fixed Index): 3.06e-05 +/- 1.49e-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) = 9705.82683664
delta logL = 0.00124973392121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9705.82492948
delta logL = 0.00315689460695

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    92.542       1.0000         .10000E-03   10000.    
     2 'Index     '    2.7589       1.0000          .0000       10.000    
     3 'Normalizat'    .83102       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0648       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4870E+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=   9705.825     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      267 TOTAL
                     EDM=   .55E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     92.599        76.544        .20888E-03    .62919E-04
   2  Index         2.7584        .57114        .58314E-02    .61412E-03
   3  Normalizat    .83116        .22607        .44302E-03    .65592E-04
   4  Prefactor     1.0648        .93328E-01    .16561E-03   -.15569E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 92.5992
  Index      = 2.75839
  Normalizat = 0.831165
  Prefactor  = 1.06477
 **********
 **   18 **HESSE 
 **********

 FCN=   9705.825     FROM HESSE     STATUS=OK            25 CALLS      292 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     92.599        71.130        .83550E-05   -1.3780    
   2  Index         2.7584        .53049        .11663E-02   -.46489    
   3  Normalizat    .83116        .22607        .17721E-04   -.98923    
   4  Prefactor     1.0648        .93292E-01    .33122E-04   -.90600    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.26808e-10
Minuit parameter uncertainties:
  1  71.1954
  2  0.531746
  3  0.226324
  4  0.0933063
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/488010': 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) = 9705.82492875
delta logL = 0.00315762171522

Extracting fit parameters...

4FGL J0429.0-0006
   Spectrum: PowerLaw
209    Prefactor:  9.260e+01  7.120e+01  1.000e-04  1.000e+04 ( 1.000e-13)
210        Index:  2.758e+00  5.317e-01  0.000e+00  1.000e+01 (-1.000e+00)
211        Scale:  7.378e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
484    Prefactor:  1.065e+00  9.331e-02  0.000e+00  1.000e+01 ( 1.000e+00)
485        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
486        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
483   Normalization:  8.312e-01  2.263e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.83
Ra Dec: 67.255 -0.101
Photon Index (Free Index): 2.76 +/- 0.53
Photon Flux (Free Index): 1.31e-07 +/- 6.63e-08
Energy Flux (Free Index): 3.01e-05 +/- 1.59e-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/488010/cmap_HighResolution_495417601_495676801_4FGL_J0429.0-0006_daily_bin988.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.29e-07', energy_flux2='3.01e-05', photon_flux_error='6.27e-08', dlogl='3.16e-03', energy_flux='3.06e-05', photon_flux2='1.31e-07', job_status='DONE', time_completed='2021-08-20 17:44:56.102555', photon_index_error2='0.53', photon_index2='2.76', ts='6.81', fit_tolerance='1e-08', GAL='1.06', photon_index_error='0.00', energy_flux_error2='1.59e-05', EG='0.83', time_epoch_completed='1629506696.1', return_code='0', job_id='488010', GAL2='1.06', EG2='0.83', return_code2='0', energy_flux_error='1.49e-05', photon_flux_error2='6.63e-08', ts2='6.83', photon_index='2.72' WHERE bin_id='988' AND source_name='4FGL J0429.0-0006' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 17:44:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 488010: <4FGL_J0429.0-0006_daily_bin988> in cluster <slac> Done

Job <4FGL_J0429.0-0006_daily_bin988> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 20 17:30:51 2021
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 17:30:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 17:30:53 2021
Terminated at Fri Aug 20 17:44:56 2021
Results reported at Fri Aug 20 17:44:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0429.0-0006_daily_bin988 67.2549 -0.1006 495417601 495676801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0429.0-0006 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   825.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             381.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   843 sec.
    Turnaround time :                            845 sec.

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

