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


Performing analysis on: 4FGL_J0434.7+0922_daily_bin456
RA = 68.6886, Dec = 9.3783
tmin = 357523201, tmax = 357782401
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='583768', job_status='RUN', time_executed='2021-08-20 22:52:58.243656', time_epoch_executed='1629525178.24' WHERE source_name='4FGL J0434.7+0922' and cadence='daily' and bin_id='456'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/583768

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/583768/ft1_4FGL_J0434.7+0922_daily_bin456.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/583768/ft2_4FGL_J0434.7+0922_daily_bin456.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/583768/ft1_4FGL_J0434.7+0922_daily_bin456.fits outfile=/scratch/kocevski/583768/ft1_filteredMKT_4FGL_J0434.7+0922_daily_bin456.fits ra=68.6886 dec=9.3783 rad=12.0 tmin=357523201.0 tmax=357782401.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 2.70
user 2.51
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/583768/ft2_4FGL_J0434.7+0922_daily_bin456.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/583768/ft1_filteredMKT_4FGL_J0434.7+0922_daily_bin456.fits evtable="EVENTS" outfile="/scratch/kocevski/583768/ft1_filtered_4FGL_J0434.7+0922_daily_bin456.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.42
user 0.24
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/583768/ft1_filtered_4FGL_J0434.7+0922_daily_bin456.fits" evtable="EVENTS" scfile=/scratch/kocevski/583768/ft2_4FGL_J0434.7+0922_daily_bin456.fits sctable="SC_DATA" outfile=/scratch/kocevski/583768/ltcube_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.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/583768/ft2_4FGL_J0434.7+0922_daily_bin456.fits
.....................!
real 8.75
user 8.44
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/583768/ft1_filtered_4FGL_J0434.7+0922_daily_bin456.fits evtable="EVENTS" scfile=/scratch/kocevski/583768/ft2_4FGL_J0434.7+0922_daily_bin456.fits sctable="SC_DATA" expcube=/scratch/kocevski/583768/ltcube_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.fits outfile=/scratch/kocevski/583768/expmap_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.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/583768/ltcube_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.fits
.....................!
real 140.44
user 136.83
sys 3.39

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/583768/ft1_filtered_4FGL_J0434.7+0922_daily_bin456.fits scfile=/scratch/kocevski/583768/ft2_4FGL_J0434.7+0922_daily_bin456.fits outfile=/scratch/kocevski/583768/cmap_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.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 0.44
user 0.29
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/583768/ft1_filtered_4FGL_J0434.7+0922_daily_bin456.fits scfile=/scratch/kocevski/583768/ft2_4FGL_J0434.7+0922_daily_bin456.fits outfile=/scratch/kocevski/583768/cmap_HighResolution_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.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 0.44
user 0.30
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/583768/ft1_filtered_4FGL_J0434.7+0922_daily_bin456.fits evtable="EVENTS" scfile=/scratch/kocevski/583768/ft2_4FGL_J0434.7+0922_daily_bin456.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/583768/Model_4FGL_J0434.7+0922_daily_bin456.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/583768/ft1_filtered_4FGL_J0434.7+0922_daily_bin456.fits.....................!
real 121.23
user 120.01
sys 1.02

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/583768/ft1_filtered_4FGL_J0434.7+0922_daily_bin456.fits', '/scratch/kocevski/583768/ft2_4FGL_J0434.7+0922_daily_bin456.fits', expMap='/scratch/kocevski/583768/expmap_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.fits', expCube='/scratch/kocevski/583768/ltcube_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/583768/Model_4FGL_J0434.7+0922_daily_bin456.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/583768/ft1_filtered_4FGL_J0434.7+0922_daily_bin456.fits
Spacecraft file(s): /scratch/kocevski/583768/ft2_4FGL_J0434.7+0922_daily_bin456.fits
Exposure map: /scratch/kocevski/583768/expmap_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.fits
Exposure cube: /scratch/kocevski/583768/ltcube_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/583768/Model_4FGL_J0434.7+0922_daily_bin456.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) = 11618.0995062

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3439       1.0000         .10000E-03   10000.    
     2 'Prefactor '    8.3229       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10335E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    13.475       1.0000         .10000E-03   10000.    
     7 'norm      '    3.7936       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10275E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    16.592       1.0000         .10000E-03   10000.    
    10 'Prefactor '    26.565       1.0000         .10000E-03   10000.    
    11 'Prefactor '    11.338       1.0000         .10000E-03   10000.    
    12 'norm      '    .55978       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10871E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    1.1607       1.0000         .10000E-03   10000.    
    15 'Prefactor '    5.0938       1.0000         .10000E-03   10000.    
    16 'norm      '    7.6357       1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.946       1.0000         .10000E-03   10000.    
    18 'Prefactor '    84.379       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10749E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .10163E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    12.875       1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.1557       1.0000         .10000E-03   10000.    
    23 'Prefactor '    5.2699       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .79070       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.0598       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=   11618.03     FROM MIGRAD    STATUS=CONVERGED    614 CALLS     2994 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.3166        104.96        .37637E-06    .39365E-06
   2  Prefactor     8.3314        11.883        .90095E-07    .39461E-04
   3  Prefactor     .10000E-03    22.631        .45013E-08** at limit **
   4  Prefactor     .10000E-03    19.975       -.12716E-06** at limit **
   5  Prefactor     .10000E-03    16.062        .27555E-07** at limit **
   6  norm          13.447        20.877        .88884E-07    .27440E-05
   7  norm          3.7935        1.7918        .24845E-07   -.54337E-04
   8  Prefactor     .10000E-03    .69724       -.11558E-06** at limit **
   9  Prefactor     16.590        19.840       -.15626E-06   -.13114E-03
  10  Prefactor     26.455        54.196       -.69249E-06   -.36018E-04
  11  Prefactor     11.336        13.386        .13939E-06   -.42676E-04
  12  norm          .55849        1.4736        .50879E-07   -.19104E-03
  13  Prefactor     .10000E-03    20.828        .13484E-06** at limit **
  14  norm          1.1622        1.6335        .11762E-06   -.11717E-03
  15  Prefactor     5.0941        6.6279        .79643E-07   -.22864E-04
  16  norm          7.6352        2.5917        .67863E-08   -.72029E-04
  17  Prefactor     16.918        37.635       -.42815E-06   -.28461E-05
  18  Prefactor     84.444        45.264        .12403E-05    .18282E-03
  19  Prefactor     .10000E-03    9.8618        .47668E-07** at limit **
  20  norm          .10000E-03    .37052       -.46151E-06** at limit **
  21  norm          12.879        5.1034        .49684E-06    .46907E-03
  22  Prefactor     3.1544        3.9711        .39213E-06   -.18914E-03
  23  Prefactor     5.2723        4.8940        .10418E-06   -.68250E-04
  24  Normalizat    .79094        .31408        .16295E-05    .54691E-04
  25  Prefactor     1.0598        .72037E-01   -.32934E-06    .31323E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.31658
  Prefactor  = 8.3314
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.4472
  norm       = 3.79347
  Prefactor  = 0.0001
  Prefactor  = 16.5904
  Prefactor  = 26.4554
  Prefactor  = 11.3359
  norm       = 0.558494
  Prefactor  = 0.0001
  norm       = 1.16222
  Prefactor  = 5.09405
  norm       = 7.63523
  Prefactor  = 16.9178
  Prefactor  = 84.4439
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 12.8791
  Prefactor  = 3.15443
  Prefactor  = 5.27235
  Normalizat = 0.790937
  Prefactor  = 1.05979
 **********
 **   18 **HESSE 
 **********

 FCN=   11618.03     FROM HESSE     STATUS=OK           435 CALLS     3429 TOTAL
                     EDM=   .55E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.3166        103.80        .17385E-03   -1.5247    
   2  Prefactor     8.3314        11.845        .13896E-03   -1.5131    
   3  Prefactor     .10000E-03    22.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    20.074        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.078        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          13.447        20.825        .10912E-03   -1.4974    
   7  norm          3.7935        1.7872        .89048E-04   -1.5318    
   8  Prefactor     .10000E-03    .69914        .87541E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.590        19.309        .98325E-04   -1.4893    
  10  Prefactor     26.455        53.978        .77725E-04   -1.4679    
  11  Prefactor     11.336        13.360        .11898E-03   -1.5034    
  12  norm          .55849        1.4162        .19371E-03   -1.5559    
  13  Prefactor     .10000E-03    20.841        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          1.1622        1.5879        .15644E-03   -1.5492    
  15  Prefactor     5.0941        6.5821        .17815E-03   -1.5257    
  16  norm          7.6352        2.5861        .96064E-04   -1.5155    
  17  Prefactor     16.918        37.501        .97293E-04   -1.4885    
  18  Prefactor     84.444        45.464        .43731E-04   -1.3868    
  19  Prefactor     .10000E-03    10.111        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .10000E-03    1.2722        .11171E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          12.879        5.1490        .55817E-03   -1.4990    
  22  Prefactor     3.1544        3.8980        .22447E-03   -1.5353    
  23  Prefactor     5.2723        4.8892        .17509E-03   -1.5249    
  24  Normalizat    .79094        .31782        .62939E-03   -1.0041    
  25  Prefactor     1.0598        .75236E-01    .14375E-03   -.90762    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.49586e-10
Minuit parameter uncertainties:
  1  47.0779
  2  11.8481
  3  9.88303e-06
  4  6.25323e-05
  5  6.82706e-07
  6  20.8362
  7  1.78726
  8  1.95775e-06
  9  19.3158
  10  54.0782
  11  13.3636
  12  1.41629
  13  5.21273e-05
  14  1.58793
  15  6.58304
  16  2.58612
  17  37.5529
  18  45.4832
  19  1.59026e-05
  20  4.68487e-05
  21  5.14919
  22  3.89832
  23  4.88955
  24  0.318564
  25  0.0752439
Done.

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

Extracting fit parameters...

4FGL J0434.7+0922
   Spectrum: PowerLaw
213    Prefactor:  1.000e-04  5.213e-05  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:  1.060e+00  7.524e-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:  7.909e-01  3.186e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 68.689 9.378
Photon Flux Upper Limit: 6.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.93e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/583768/likelihoodResults_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.txt

Performing a free index iterative likelihood fit...

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

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11618.0271905
delta logL = -0.000228623192015

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 11618.0269619
delta logL = -6.02103682468e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10090E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    1.9583       1.0000          .0000       10.000    
     3 'Normalizat'    .79087       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0598       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.

 FCN=   11618.03     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      212 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1590.5        .90712E-02** at limit **
   2  Index         1.9626        7.1291        .50000       -.17835E-05
   3  Normalizat    .79094        .71336E-01    .14175        .47486E-04
   4  Prefactor     1.0598        .18732E-01    .39367E-01   -.21394E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 1.96264
  Normalizat = 0.790938
  Prefactor  = 1.05979
 **********
 **   18 **HESSE 
 **********

 FCN=   11618.03     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      245 TOTAL
                     EDM=   .58E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1431.9        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9626        5.9121        .50000       -.65287    
   3  Normalizat    .79094        .66252E-01    .62938E-03   -1.0041    
   4  Prefactor     1.0598        .17487E-01    .14375E-03   -.90762    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.84153e-09
Minuit parameter uncertainties:
  1  0.00255816
  2  33.866
  3  0.0662586
  4  0.0174873
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/583768': 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) = 11618.0269619
delta logL = 3.6397977965e-09

Extracting fit parameters...

4FGL J0434.7+0922
   Spectrum: PowerLaw
213    Prefactor:  1.000e-04  2.558e-03  1.000e-04  1.000e+04 ( 1.000e-14)
214        Index:  1.963e+00  3.387e+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:  1.060e+00  1.749e-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:  7.909e-01  6.626e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 68.689 9.378

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/583768/cmap_HighResolution_357523201_357782401_4FGL_J0434.7+0922_daily_bin456.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.93e-03', job_status='DONE', photon_flux_upper_limit='6.60e-08', time_completed='2021-08-20 23:05:20.274594', job_id='583768', GAL2='1.06', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1629525920.27', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='3.64e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='456' AND source_name='4FGL J0434.7+0922' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 23:05:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 583768: <4FGL_J0434.7+0922_daily_bin456> in cluster <slac> Done

Job <4FGL_J0434.7+0922_daily_bin456> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Aug 20 22:50:31 2021
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 22:50:32 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Aug 20 22:50:32 2021
Terminated at Fri Aug 20 23:05:20 2021
Results reported at Fri Aug 20 23:05:20 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0434.7+0922_daily_bin456 68.6886 9.3783 357523201 357782401 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 :                                   739.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   888 sec.
    Turnaround time :                            889 sec.

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

