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


Performing analysis on: 4FGL_J0434.7+0922_daily_bin651
RA = 68.6886, Dec = 9.3783
tmin = 408067201, tmax = 408326401
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='585198', job_status='RUN', time_executed='2021-08-20 22:58:58.092757', time_epoch_executed='1629525538.09' WHERE source_name='4FGL J0434.7+0922' and cadence='daily' and bin_id='651'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/585198

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/585198/ft1_4FGL_J0434.7+0922_daily_bin651.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/585198/ft2_4FGL_J0434.7+0922_daily_bin651.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/585198/ft1_4FGL_J0434.7+0922_daily_bin651.fits outfile=/scratch/kocevski/585198/ft1_filteredMKT_4FGL_J0434.7+0922_daily_bin651.fits ra=68.6886 dec=9.3783 rad=12.0 tmin=408067201.0 tmax=408326401.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 8.26
user 3.63
sys 4.57

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/585198/ft2_4FGL_J0434.7+0922_daily_bin651.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/585198/ft1_filteredMKT_4FGL_J0434.7+0922_daily_bin651.fits evtable="EVENTS" outfile="/scratch/kocevski/585198/ft1_filtered_4FGL_J0434.7+0922_daily_bin651.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 4.92
user 0.33
sys 4.54

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/585198/ft1_filtered_4FGL_J0434.7+0922_daily_bin651.fits" evtable="EVENTS" scfile=/scratch/kocevski/585198/ft2_4FGL_J0434.7+0922_daily_bin651.fits sctable="SC_DATA" outfile=/scratch/kocevski/585198/ltcube_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.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/585198/ft2_4FGL_J0434.7+0922_daily_bin651.fits
.....................!
real 16.36
user 11.06
sys 5.25

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/585198/ft1_filtered_4FGL_J0434.7+0922_daily_bin651.fits evtable="EVENTS" scfile=/scratch/kocevski/585198/ft2_4FGL_J0434.7+0922_daily_bin651.fits sctable="SC_DATA" expcube=/scratch/kocevski/585198/ltcube_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.fits outfile=/scratch/kocevski/585198/expmap_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.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/585198/ltcube_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.fits
.....................!
real 197.48
user 187.03
sys 10.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 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/585198/ft1_filtered_4FGL_J0434.7+0922_daily_bin651.fits scfile=/scratch/kocevski/585198/ft2_4FGL_J0434.7+0922_daily_bin651.fits outfile=/scratch/kocevski/585198/cmap_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.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 4.44
user 0.37
sys 4.02

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/585198/ft1_filtered_4FGL_J0434.7+0922_daily_bin651.fits scfile=/scratch/kocevski/585198/ft2_4FGL_J0434.7+0922_daily_bin651.fits outfile=/scratch/kocevski/585198/cmap_HighResolution_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.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 4.85
user 0.38
sys 4.44

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/585198/ft1_filtered_4FGL_J0434.7+0922_daily_bin651.fits evtable="EVENTS" scfile=/scratch/kocevski/585198/ft2_4FGL_J0434.7+0922_daily_bin651.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/585198/Model_4FGL_J0434.7+0922_daily_bin651.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/585198/ft1_filtered_4FGL_J0434.7+0922_daily_bin651.fits......................!
real 35.79
user 28.72
sys 6.93

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/585198/ft1_filtered_4FGL_J0434.7+0922_daily_bin651.fits', '/scratch/kocevski/585198/ft2_4FGL_J0434.7+0922_daily_bin651.fits', expMap='/scratch/kocevski/585198/expmap_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.fits', expCube='/scratch/kocevski/585198/ltcube_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/585198/Model_4FGL_J0434.7+0922_daily_bin651.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/585198/ft1_filtered_4FGL_J0434.7+0922_daily_bin651.fits
Spacecraft file(s): /scratch/kocevski/585198/ft2_4FGL_J0434.7+0922_daily_bin651.fits
Exposure map: /scratch/kocevski/585198/expmap_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.fits
Exposure cube: /scratch/kocevski/585198/ltcube_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/585198/Model_4FGL_J0434.7+0922_daily_bin651.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1051.82269134

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1048.42537173

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.0667       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .40874E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    44.988       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .36265E-01   1.0000         .10000E-03   10000.    
     5 'Prefactor '    5.0925       1.0000         .10000E-03   10000.    
     6 'norm      '    102.09       1.0000         .10000E-03   10000.    
     7 'norm      '    .10246E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11436E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10597       1.0000         .10000E-03   10000.    
    10 'Prefactor '    90.709       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .15187E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .93365E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    11.917       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .12346E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .10050E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.4534       1.0000         .10000E-03   10000.    
    18 'Prefactor '    152.60       1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.147       1.0000         .10000E-03   10000.    
    20 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .27354E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    1.9306       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .12363       1.0000         .10000E-03   10000.    
    24 'Normalizat'    .10001E-01   1.0000         .10000E-01   10.000    
    25 'Prefactor '    .92774       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4940E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   1048.410     FROM MIGRAD    STATUS=CONVERGED    189 CALLS      615 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10112E-03    603.33        .19684E-04** at limit **
   2  Prefactor     .10000E-03    117.49       -.10401E-04** at limit **
   3  Prefactor     47.257        18.093        .46816E-05   -.72208E-03
   4  Prefactor     .10000E-03    75.072       -.95238E-05** at limit **
   5  Prefactor     5.0925        1.0049         .0000         .0000    
   6  norm          104.80        27.703        .79118E-05   -.75778E-02
   7  norm          .10000E-03    1.4708        .10825E-05** at limit **
   8  Prefactor     .10000E-03    8.4092       -.21512E-04** at limit **
   9  Prefactor     .10000E-03    21.412       -.95758E-05** at limit **
  10  Prefactor     86.402        84.070       -.21585E-04    .19535E-02
  11  Prefactor     .10000E-03    283.51        .70702E-04** at limit **
  12  norm          .10000E-03    2.8274       -.10346E-05** at limit **
  13  Prefactor     .10000E-03    71.876       -.51601E-05** at limit **
  14  norm          11.961        6.4171        .62469E-06    .36929E-04
  15  Prefactor     .10000E-03    25.967        .13381E-05** at limit **
  16  norm          .10000E-03    4.9803       -.49433E-06** at limit **
  17  Prefactor     .10429E-03    288.27       -.84576E-04** at limit **
  18  Prefactor     155.58        80.875        .13658E-04    .61063E-02
  19  Prefactor     39.701        5.5732        .30514E-06   -.16043E-02
  20  norm          .10000E-03    1.1515       -.10766E-05** at limit **
  21  norm          .10000E-03    7.4041        .16890E-05** at limit **
  22  Prefactor     1.9336        19.895       -.53817E-05    .27828E-04
  23  Prefactor     .10000E-03    52.867        .14246E-04** at limit **
  24  Normalizat    .10000E-01    1.4504        .48721E-05** at limit **
  25  Prefactor     .92712        .15758       -.12597E-04    .45476E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101122
  Prefactor  = 0.0001
  Prefactor  = 47.2568
  Prefactor  = 0.0001
  Prefactor  = 5.09249
  norm       = 104.8
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 86.4022
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 11.9612
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000104292
  Prefactor  = 155.575
  Prefactor  = 39.701
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 1.93364
  Prefactor  = 0.0001
  Normalizat = 0.01
  Prefactor  = 0.927118
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   1048.410     FROM HESSE     STATUS=FAILED        27 CALLS      642 TOTAL
                     EDM=   .67E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10112E-03    634.21        .57910E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    117.42        .10627E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     47.257        89.489        .14944E-02   -1.4332    
   4  Prefactor     .10000E-03    75.155        .92028E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     530.59        525.44         .0000       -1.5257    
   6  norm          104.80        1.0131        .79118E-05   -1.3657    
   7  norm          .10000E-03    .20571        .10825E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    .20571       -.21512E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .22751       -.95758E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     86.402        .97620       -.21585E-04   -1.3846    
  11  Prefactor     .10000E-03    .20571        .70702E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    .20571       -.10346E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    .27058       -.51601E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          11.961        1.0027        .62469E-06   -1.5016    
  15  Prefactor     .10000E-03    .20571        .13381E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .10000E-03    .20571       -.49433E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10429E-03    .56889E-01   -.84576E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     155.58        1.0096        .13658E-04   -1.3207    
  19  Prefactor     39.701        1.0071        .30514E-06   -1.4447    
  20  norm          .10000E-03    .20571       -.10766E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    .28698        .16890E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     1.9336        1.0390       -.53817E-05   -1.5430    
  23  Prefactor     .10000E-03    .23152        .14246E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Normalizat    .10000E-01    .25740        .48721E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .92712        1.2709       -.12597E-04   -.95200    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 6.68775e-10
Minuit parameter uncertainties:
  1  0.053933
  2  0.000477259
  3  89.7454
  4  4.51327e-05
  5  1.0049
  6  1.01308
  7  9.87389e-07
  8  2.97831e-05
  9  8.73532e-06
  10  0.976199
  11  2.9097e-05
  12  9.05112e-07
  13  2.69663e-07
  14  1.00275
  15  3.49407e-07
  16  4.61919e-07
  17  0.000988302
  18  1.00956
  19  1.00711
  20  7.74338e-07
  21  2.24677e-06
  22  1.03906
  23  1.26819e-05
  24  1.20766e-06
  25  1.3155
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 1048.4099707

Extracting fit parameters...

4FGL J0434.7+0922
   Spectrum: PowerLaw
213    Prefactor:  1.000e-04  2.697e-07  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.271e-01  1.315e+00  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.000e-02  1.208e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 68.689 9.378
Photon Flux Upper Limit: 3.39e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.54e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/585198/likelihoodResults_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.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) = 1048.41003983
delta logL = -6.91304671818e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 1048.40997395
delta logL = -3.2447119338e-06

Fit tolerance = 1e-08

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

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

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   1048.410     FROM MIGRAD    STATUS=CONVERGED     93 CALLS      278 TOTAL
                     EDM=   .73E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10197E-03    267.61        .18142E-02** at limit **
   2  Index         2.0649        6.2661        .50000        .59077E-05
   3  Normalizat    .10000E-01    .13579E-01    .14523E-01** at limit **
   4  Prefactor     .92712        .13602E-01    .15570E-03   -.17706E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101969
  Index      = 2.06487
  Normalizat = 0.01
  Prefactor  = 0.927118
 **********
 **   18 **HESSE 
 **********

 FCN=   1048.410     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      307 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10197E-03    1124.3        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0649        8.8066        .50000       -.62738    
   3  Normalizat    .10000E-01    .60764E-01    .29046E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .92712        .28740E-01    .62281E-05   -.95200    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.21215e-09
Minuit parameter uncertainties:
  1  0.0959595
  2  577.529
  3  9.09891e-07
  4  0.0287404
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/585198': 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) = 1048.40997086
delta logL = -1.55743691721e-07

Extracting fit parameters...

4FGL J0434.7+0922
   Spectrum: PowerLaw
213    Prefactor:  1.020e-04  9.596e-02  1.000e-04  1.000e+04 ( 1.000e-14)
214        Index:  2.065e+00  5.775e+02  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.271e-01  2.874e-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.000e-02  9.099e-07  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/585198/cmap_HighResolution_408067201_408326401_4FGL_J0434.7+0922_daily_bin651.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.54e-02', job_status='DONE', photon_flux_upper_limit='3.39e-07', time_completed='2021-08-20 23:05:40.647334', job_id='585198', GAL2='0.93', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1629525940.65', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.93', dlogl='-1.56e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.95' WHERE bin_id='651' AND source_name='4FGL J0434.7+0922' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Aug 20 23:05:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 585198: <4FGL_J0434.7+0922_daily_bin651> in cluster <slac> Done

Job <4FGL_J0434.7+0922_daily_bin651> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Aug 20 22:55:45 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Aug 20 22:55:46 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:55:46 2021
Terminated at Fri Aug 20 23:05:42 2021
Results reported at Fri Aug 20 23:05:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0434.7+0922_daily_bin651 68.6886 9.3783 408067201 408326401 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 :                                   470.48 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             326.36 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   595 sec.
    Turnaround time :                            597 sec.

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

