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


Performing analysis on: 4FGL_J0434.7+0922_daily_bin1111
RA = 68.6886, Dec = 9.3783
tmin = 527299201, tmax = 527558401
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='590384', job_status='RUN', time_executed='2021-08-20 23:16:05.808065', time_epoch_executed='1629526565.81' WHERE source_name='4FGL J0434.7+0922' and cadence='daily' and bin_id='1111'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/590384

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/590384/ft1_4FGL_J0434.7+0922_daily_bin1111.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/590384/ft1_4FGL_J0434.7+0922_daily_bin1111.fits outfile=/scratch/kocevski/590384/ft1_filteredMKT_4FGL_J0434.7+0922_daily_bin1111.fits ra=68.6886 dec=9.3783 rad=12.0 tmin=527299201.0 tmax=527558401.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 6.75
user 4.56
sys 2.12

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.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/590384/ft1_filteredMKT_4FGL_J0434.7+0922_daily_bin1111.fits evtable="EVENTS" outfile="/scratch/kocevski/590384/ft1_filtered_4FGL_J0434.7+0922_daily_bin1111.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 2.43
user 0.30
sys 2.08

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/590384/ft1_filtered_4FGL_J0434.7+0922_daily_bin1111.fits" evtable="EVENTS" scfile=/scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits sctable="SC_DATA" outfile=/scratch/kocevski/590384/ltcube_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.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/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits
.....................!
real 13.83
user 11.31
sys 2.48

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/590384/ft1_filtered_4FGL_J0434.7+0922_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits sctable="SC_DATA" expcube=/scratch/kocevski/590384/ltcube_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.fits outfile=/scratch/kocevski/590384/expmap_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.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/590384/ltcube_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.fits
.....................!
real 193.12
user 184.81
sys 7.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 147 point sources and 0 extended sources

Setting source of interest to:
4FGL J0434.7+0922 @ 68.6886 9.3783

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/590384/ft1_filtered_4FGL_J0434.7+0922_daily_bin1111.fits scfile=/scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits outfile=/scratch/kocevski/590384/cmap_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.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=68.6886 yref=9.3783 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 2.40
user 0.39
sys 1.99

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/590384/ft1_filtered_4FGL_J0434.7+0922_daily_bin1111.fits scfile=/scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits outfile=/scratch/kocevski/590384/cmap_HighResolution_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.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=68.6886 yref=9.3783 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 2.40
user 0.38
sys 1.99

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/590384/ft1_filtered_4FGL_J0434.7+0922_daily_bin1111.fits evtable="EVENTS" scfile=/scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/590384/Model_4FGL_J0434.7+0922_daily_bin1111.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/590384/ft1_filtered_4FGL_J0434.7+0922_daily_bin1111.fits.....................!
real 169.23
user 165.25
sys 3.62

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/590384/ft1_filtered_4FGL_J0434.7+0922_daily_bin1111.fits', '/scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits', expMap='/scratch/kocevski/590384/expmap_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.fits', expCube='/scratch/kocevski/590384/ltcube_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/590384/Model_4FGL_J0434.7+0922_daily_bin1111.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0434.7+0922'

4FGL J0434.7+0922
   Spectrum: PowerLaw
213    Prefactor:  7.725e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
214        Index:  1.954e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
215        Scale:  2.989e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/590384/ft1_filtered_4FGL_J0434.7+0922_daily_bin1111.fits
Spacecraft file(s): /scratch/kocevski/590384/ft2_4FGL_J0434.7+0922_daily_bin1111.fits
Exposure map: /scratch/kocevski/590384/expmap_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.fits
Exposure cube: /scratch/kocevski/590384/ltcube_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/590384/Model_4FGL_J0434.7+0922_daily_bin1111.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) = 11665.350821

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    26.538       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.490       1.0000         .10000E-03   10000.    
     6 'norm      '    5.2007       1.0000         .10000E-03   10000.    
     7 'norm      '    .13718       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10164E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    6.0118       1.0000         .10000E-03   10000.    
    10 'Prefactor '    23.448       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10089E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    2.7888       1.0000         .10000E-03   10000.    
    13 'Prefactor '    53.586       1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10056E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    3.5250       1.0000         .10000E-03   10000.    
    17 'Prefactor '    18.579       1.0000         .10000E-03   10000.    
    18 'Prefactor '    14.444       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.7001       1.0000         .10000E-03   10000.    
    20 'norm      '    1.0995       1.0000         .10000E-03   10000.    
    21 'norm      '    41.990       1.0000         .10000E-03   10000.    
    22 'Prefactor '    2.8299       1.0000         .10000E-03   10000.    
    23 'Prefactor '    3.4161       1.0000         .10000E-03   10000.    
    24 'Normalizat'    1.0147       1.0000         .10000E-01   10.000    
    25 'Prefactor '    .96665       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   11665.35     FROM MIGRAD    STATUS=CONVERGED    555 CALLS     2878 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     26.540        38.675        .38102E-05   -.61336E-05
   2  Prefactor     .10000E-03    6.9512        .20543E-05** at limit **
   3  Prefactor     .10000E-03    10.819        .68321E-06** at limit **
   4  Prefactor     .10000E-03    7.6273       -.33623E-05** at limit **
   5  Prefactor     12.488        24.935       -.42380E-05   -.15626E-04
   6  norm          5.1958        19.596       -.11961E-04   -.49661E-04
   7  norm          .13431        .66013       -.28312E-07   -.17324E-02
   8  Prefactor     .10000E-03    .65186        .24099E-06** at limit **
   9  Prefactor     6.0114        17.301       -.36300E-06   -.45210E-04
  10  Prefactor     23.444        40.043       -.74669E-05   -.58771E-05
  11  Prefactor     .10000E-03    10.701        .52471E-06** at limit **
  12  norm          2.7900        2.5472        .51361E-06   -.69956E-03
  13  Prefactor     53.589        44.765        .35383E-05   -.11700E-04
  14  norm          .10000E-03    .60949       -.60951E-08** at limit **
  15  Prefactor     .10000E-03    4.0439        .27485E-07** at limit **
  16  norm          3.5253        2.2176        .27831E-06   -.68322E-03
  17  Prefactor     18.585        31.554        .15051E-04   -.33265E-04
  18  Prefactor     14.415        35.908       -.65966E-04   -.12884E-03
  19  Prefactor     5.7000        6.7424       -.12782E-06   -.10616E-03
  20  norm          1.1007        .96565        .24515E-05    .17043E-02
  21  norm          41.987        7.9320        .60865E-06   -.17068E-03
  22  Prefactor     2.8300        2.9411       -.15337E-06   -.61096E-03
  23  Prefactor     3.4152        6.4477       -.67663E-06   -.45044E-03
  24  Normalizat    1.0144        .27053        .61566E-05   -.18553E-03
  25  Prefactor     .96671        .65934E-01   -.77178E-06    .73550E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 26.54
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.4879
  norm       = 5.19583
  norm       = 0.134308
  Prefactor  = 0.0001
  Prefactor  = 6.01143
  Prefactor  = 23.4438
  Prefactor  = 0.0001
  norm       = 2.78995
  Prefactor  = 53.5889
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.52528
  Prefactor  = 18.5852
  Prefactor  = 14.4147
  Prefactor  = 5.69999
  norm       = 1.10073
  norm       = 41.9874
  Prefactor  = 2.82996
  Prefactor  = 3.41523
  Normalizat = 1.01442
  Prefactor  = 0.966705
 **********
 **   18 **HESSE 
 **********

 FCN=   11665.35     FROM HESSE     STATUS=OK           435 CALLS     3313 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     26.540        38.689        .77765E-04   -1.4677    
   2  Prefactor     .10000E-03    6.9665        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    10.824        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    7.6359        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.488        24.947        .11334E-03   -1.5001    
   6  norm          5.1958        19.542        .17627E-03   -1.5252    
   7  norm          .13431        1.5089        .15776E-02   -1.5635    
   8  Prefactor     .10000E-03    .65720        .84662E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     6.0114        17.201        .16376E-03   -1.5218    
  10  Prefactor     23.444        39.803        .82720E-04   -1.4739    
  11  Prefactor     .10000E-03    10.826        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          2.7900        2.5221        .15176E-03   -1.5374    
  13  Prefactor     53.589        44.755        .54792E-04   -1.4243    
  14  norm          .10000E-03    .61382        .82292E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    4.0733        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          3.5253        2.2111        .12122E-03   -1.5332    
  17  Prefactor     18.585        31.452        .92920E-04   -1.4845    
  18  Prefactor     14.415        35.739        .10539E-03   -1.4948    
  19  Prefactor     5.7000        6.7326        .16824E-03   -1.5230    
  20  norm          1.1007        .92846        .78451E-04   -1.5498    
  21  norm          41.987        7.8659        .61863E-04   -1.4411    
  22  Prefactor     2.8300        2.9325        .18128E-03   -1.5372    
  23  Prefactor     3.4152        6.4507        .21887E-03   -1.5338    
  24  Normalizat    1.0144        .28833        .54398E-03   -.92549    
  25  Prefactor     .96671        .71283E-01    .14503E-03   -.93848    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.44578e-09
Minuit parameter uncertainties:
  1  38.7258
  2  2.41173e-05
  3  2.37587e-05
  4  1.15333e-05
  5  24.968
  6  19.566
  7  0.900036
  8  1.97939e-05
  9  17.2155
  10  39.8483
  11  2.60758e-05
  12  2.52221
  13  44.783
  14  1.1901e-06
  15  4.69866e-06
  16  2.21111
  17  31.4801
  18  35.7922
  19  6.73353
  20  0.928469
  21  7.86606
  22  2.93264
  23  6.45202
  24  0.288775
  25  0.0712902
Done.

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

Extracting fit parameters...

4FGL J0434.7+0922
   Spectrum: PowerLaw
213    Prefactor:  5.359e+01  4.478e+01  1.000e-04  1.000e+04 ( 1.000e-14)
214        Index:  1.954e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
215        Scale:  2.989e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  9.667e-01  7.129e-02  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.014e+00  2.888e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.55
Ra Dec: 68.689 9.378
Photon Index (Fixed Index): 1.95 +/- 0.00
Photon Flux (Fixed Index): 4.29e-08 +/- 3.58e-08
Energy Flux (Fixed Index): 3.33e-05 +/- 2.78e-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) = 11665.3457038
delta logL = 0.00144486181489

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 11665.3451509
delta logL = 0.00199785014956

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.023       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9914       1.0000          .0000       10.000    
     3 'Normalizat'    1.0122       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   11665.35     FROM MIGRAD    STATUS=CONVERGED    112 CALLS      298 TOTAL
                     EDM=   .23E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     51.910        53.872        .55605E-04    .24534E-05
   2  Index         1.9884        .56969        .89962E-02    .34558E-04
   3  Normalizat    1.0126        .26474        .54439E-03    .13783E-05
   4  Prefactor     .96681        .69298E-01    .14502E-03    .94073E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 51.9098
  Index      = 1.98838
  Normalizat = 1.01264
  Prefactor  = 0.96681
 **********
 **   18 **HESSE 
 **********

 FCN=   11665.35     FROM HESSE     STATUS=OK            25 CALLS      323 TOTAL
                     EDM=   .63E-13    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     51.910        50.929        .11121E-04   -1.4266    
   2  Index         1.9884        .53845        .35985E-03   -.64641    
   3  Normalizat    1.0126        .26451        .21775E-04   -.92608    
   4  Prefactor     .96681        .69306E-01    .58008E-05   -.93844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.25098e-14
Minuit parameter uncertainties:
  1  50.9713
  2  0.540093
  3  0.264856
  4  0.0693126
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/590384': 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) = 11665.3451106
delta logL = 0.00203809416053

Extracting fit parameters...

4FGL J0434.7+0922
   Spectrum: PowerLaw
213    Prefactor:  5.191e+01  5.097e+01  1.000e-04  1.000e+04 ( 1.000e-14)
214        Index:  1.988e+00  5.401e-01  0.000e+00  1.000e+01 (-1.000e+00)
215        Scale:  2.989e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
491    Prefactor:  9.668e-01  6.931e-02  0.000e+00  1.000e+01 ( 1.000e+00)
492        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
493        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
490   Normalization:  1.013e+00  2.649e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 5.55
Ra Dec: 68.689 9.378
Photon Index (Free Index): 1.99 +/- 0.54
Photon Flux (Free Index): 4.51e-08 +/- 5.05e-08
Energy Flux (Free Index): 3.21e-05 +/- 3.25e-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/590384/cmap_HighResolution_527299201_527558401_4FGL_J0434.7+0922_daily_bin1111.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.29e-08', energy_flux2='3.21e-05', photon_flux_error='3.58e-08', dlogl='2.04e-03', energy_flux='3.33e-05', photon_flux2='4.51e-08', job_status='DONE', time_completed='2021-08-20 23:31:26.617383', photon_index_error2='0.54', photon_index2='1.99', ts='5.55', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='3.25e-05', EG='1.01', time_epoch_completed='1629527486.62', return_code='0', job_id='590384', GAL2='0.97', EG2='1.01', return_code2='0', energy_flux_error='2.78e-05', photon_flux_error2='5.05e-08', ts2='5.55', photon_index='1.95' WHERE bin_id='1111' AND source_name='4FGL J0434.7+0922' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 23:31:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0254>
Subject: Job 590384: <4FGL_J0434.7+0922_daily_bin1111> in cluster <slac> Done

Job <4FGL_J0434.7+0922_daily_bin1111> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Fri Aug 20 23:15:26 2021
Job was executed on host(s) <bullet0254>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 23:15:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 23:15:27 2021
Terminated at Fri Aug 20 23:31:27 2021
Results reported at Fri Aug 20 23:31:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0434.7+0922_daily_bin1111 68.6886 9.3783 527299201 527558401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0434.7+0922 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   948.52 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             330.13 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   960 sec.
    Turnaround time :                            961 sec.

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

