/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 76 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 = 7450
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1582
RA = 142.327, Dec = 50.2352
tmin = 649382401, tmax = 649641601
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='249453', job_status='RUN', time_executed='2021-08-31 12:47:10.067435', time_epoch_executed='1630439230.07' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1582'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/249453

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/249453/ft1_4FGL_J0929.3+5014_daily_bin1582.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/249453/ft1_4FGL_J0929.3+5014_daily_bin1582.fits outfile=/scratch/kocevski/249453/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1582.fits ra=142.327 dec=50.2352 rad=12.0 tmin=649382401.0 tmax=649641601.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.74
user 2.52
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.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/249453/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1582.fits evtable="EVENTS" outfile="/scratch/kocevski/249453/ft1_filtered_4FGL_J0929.3+5014_daily_bin1582.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.66
user 0.34
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/249453/ft1_filtered_4FGL_J0929.3+5014_daily_bin1582.fits" evtable="EVENTS" scfile=/scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits sctable="SC_DATA" outfile=/scratch/kocevski/249453/ltcube_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.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/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits
.....................!
real 12.87
user 12.34
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/249453/ft1_filtered_4FGL_J0929.3+5014_daily_bin1582.fits evtable="EVENTS" scfile=/scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits sctable="SC_DATA" expcube=/scratch/kocevski/249453/ltcube_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.fits outfile=/scratch/kocevski/249453/expmap_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.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/249453/ltcube_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.fits
.....................!
real 192.32
user 186.54
sys 5.02

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

Setting source of interest to:
4FGL J0929.3+5014 @ 142.327 50.2352

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/249453/ft1_filtered_4FGL_J0929.3+5014_daily_bin1582.fits scfile=/scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits outfile=/scratch/kocevski/249453/cmap_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.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=142.327 yref=50.2352 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.63
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/249453/ft1_filtered_4FGL_J0929.3+5014_daily_bin1582.fits scfile=/scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits outfile=/scratch/kocevski/249453/cmap_HighResolution_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.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=142.327 yref=50.2352 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.57
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/249453/ft1_filtered_4FGL_J0929.3+5014_daily_bin1582.fits evtable="EVENTS" scfile=/scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/249453/Model_4FGL_J0929.3+5014_daily_bin1582.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/249453/ft1_filtered_4FGL_J0929.3+5014_daily_bin1582.fits.....................!
real 38.32
user 36.29
sys 1.41

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/249453/ft1_filtered_4FGL_J0929.3+5014_daily_bin1582.fits', '/scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits', expMap='/scratch/kocevski/249453/expmap_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.fits', expCube='/scratch/kocevski/249453/ltcube_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/249453/Model_4FGL_J0929.3+5014_daily_bin1582.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0929.3+5014'

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  5.632e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.125e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/249453/ft1_filtered_4FGL_J0929.3+5014_daily_bin1582.fits
Spacecraft file(s): /scratch/kocevski/249453/ft2_4FGL_J0929.3+5014_daily_bin1582.fits
Exposure map: /scratch/kocevski/249453/expmap_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.fits
Exposure cube: /scratch/kocevski/249453/ltcube_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/249453/Model_4FGL_J0929.3+5014_daily_bin1582.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) = 3082.85565996

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    167.54       1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4232       1.0000         .10000E-03   10000.    
     4 'norm      '    13.449       1.0000         .10000E-03   10000.    
     5 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10051E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.4509       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    165.11       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .25093E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    4.9141       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.3661       1.0000         .10000E-03   10000.    
    13 'norm      '    .87307       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    3.1021       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    5.0653       1.0000         .10000E-03   10000.    
    19 'Prefactor '    33.016       1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.0074       1.0000         .10000E-03   10000.    
    21 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10067E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .57147       1.0000         .10000E-03   10000.    
    29 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .12346E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    101.19       1.0000         .10000E-03   10000.    
    32 'norm      '    .11109E-03   1.0000         .10000E-03   10000.    
    33 'Prefactor '    27.663       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.3539       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .74712       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   3082.840     FROM MIGRAD    STATUS=CONVERGED    948 CALLS     5835 TOTAL
                     EDM=   .63E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.0381        .77085E-08** at limit **
   2  Prefactor     167.53        131.55       -.68295E-06   -.15241E-05
   3  Prefactor     5.4229        11.099        .24470E-06   -.63812E-05
   4  norm          13.449        13.621       -.45510E-06    .44676E-05
   5  norm          .10000E-03    3.8400        .15764E-07** at limit **
   6  Prefactor     .10000E-03    47.463        .20647E-05** at limit **
   7  Prefactor     2.4485        7.1985        .51249E-06    .10239E-04
   8  Prefactor     .10000E-03    18.781        .41910E-06** at limit **
   9  Prefactor     165.12        125.40        .33813E-06    .85625E-05
  10  Prefactor     .10003E-03    1226.1        .96833E-04** at limit **
  11  Prefactor     4.9124        8.7133       -.57767E-06   -.15944E-03
  12  Prefactor     8.4940        119.45        .45877E-05   -.19275E-04
  13  norm          .87291        .77817       -.88187E-07    .11678E-03
  14  Prefactor     .10000E-03    7.7852       -.67244E-06** at limit **
  15  norm          .10000E-03    14.291        .29516E-05** at limit **
  16  Prefactor     3.1003        7.1234        .51261E-06   -.97579E-04
  17  Prefactor     .10000E-03    5.5997       -.13128E-07** at limit **
  18  Prefactor     5.0633        6.4618        .31765E-06    .56166E-04
  19  Prefactor     33.009        27.151       -.16269E-06    .35470E-04
  20  Prefactor     6.0071        14.561        .60739E-06   -.28668E-05
  21  norm          .10000E-03    12.779       -.27159E-06** at limit **
  22  Prefactor     .10000E-03    31.495       -.63086E-06** at limit **
  23  Prefactor     .10000E-03    18.618        .42725E-07** at limit **
  24  Prefactor     .10000E-03    8.9111        .41211E-06** at limit **
  25  norm          .10000E-03    3.1025       -.13268E-07** at limit **
  26  Prefactor     .10000E-03    26.157       -.10512E-05** at limit **
  27  Prefactor     .10000E-03    34.447       -.17265E-06** at limit **
  28  norm          .57137        .60429       -.53888E-07    .83413E-04
  29  norm          .10000E-03    10.876       -.49584E-06** at limit **
  30  Prefactor     .10000E-03    10.150       -.81351E-06** at limit **
  31  Prefactor     101.17        98.416       -.22389E-05   -.75931E-05
  32  norm          .10000E-03    3.4890        .18925E-07** at limit **
  33  Prefactor     27.638        48.230       -.23206E-05   -.80749E-05
  34  Normalizat    1.3542        .26816        .17826E-05    .44637E-05
  35  Prefactor     .74677        .27045       -.16278E-05    .42895E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 167.533
  Prefactor  = 5.42286
  norm       = 13.4487
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.4485
  Prefactor  = 0.0001
  Prefactor  = 165.118
  Prefactor  = 0.000100027
  Prefactor  = 4.91244
  Prefactor  = 8.49396
  norm       = 0.872905
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 3.10033
  Prefactor  = 0.0001
  Prefactor  = 5.06334
  Prefactor  = 33.0092
  Prefactor  = 6.00712
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.571373
  norm       = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 101.166
  norm       = 0.0001
  Prefactor  = 27.6375
  Normalizat = 1.3542
  Prefactor  = 0.746774
 **********
 **   18 **HESSE 
 **********

 FCN=   3082.840     FROM HESSE     STATUS=OK           768 CALLS     6603 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.0400        .10897E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     167.53        131.23        .31166E-04   -1.3112    
   3  Prefactor     5.4229        11.087        .17255E-03   -1.5242    
   4  norm          13.449        13.612        .54611E-03   -1.4974    
   5  norm          .10000E-03    3.8406        .10626E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    47.917        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.4485        7.1337        .23466E-03   -1.5395    
   8  Prefactor     .10000E-03    18.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     165.12        125.16        .15695E-03   -1.3131    
  10  Prefactor     .10003E-03    1228.0        .21464E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     4.9124        8.6759        .18144E-03   -1.5265    
  12  Prefactor     8.4940        119.34        .13860E-03   -1.5125    
  13  norm          .87291        .78031        .43998E-04   -1.5521    
  14  Prefactor     .10000E-03    8.0047        .30042E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    14.269        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     3.1003        7.0630        .20252E-03   -1.5356    
  17  Prefactor     .10000E-03    5.6034        .12831E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     5.0633        6.4606        .14778E-03   -1.5258    
  19  Prefactor     33.009        27.063        .69737E-04   -1.4558    
  20  Prefactor     6.0071        14.385        .16382E-03   -1.5218    
  21  norm          .10000E-03    12.784        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    31.537        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    18.810        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    8.9621        .16148E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          .10000E-03    3.1027        .95519E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    26.178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    34.525        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .57137        .57917        .41440E-03   -1.5557    
  29  norm          .10000E-03    10.903        .17885E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    33.284        .32630E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     101.17        98.923        .19983E-03   -1.3693    
  32  norm          .10000E-03    3.6199        .20222E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  33  Prefactor     27.638        48.647        .76170E-04   -1.4656    
  34  Normalizat    1.3542        .30138        .23069E-03   -.81963    
  35  Prefactor     .74677        .30585        .33095E-03   -1.0172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.90305e-10
Minuit parameter uncertainties:
  1  1.26336e-06
  2  131.462
  3  11.0911
  4  13.6153
  5  7.57252e-07
  6  5.47796e-05
  7  7.13614
  8  4.7955e-06
  9  125.364
  10  0.0116839
  11  8.67813
  12  63.8314
  13  0.780317
  14  7.18031e-06
  15  2.94917e-05
  16  7.06493
  17  1.65108e-06
  18  6.46153
  19  27.0732
  20  14.3938
  21  9.90126e-06
  22  3.69082e-05
  23  6.53277e-05
  24  5.81237e-06
  25  1.51867e-07
  26  5.27556e-05
  27  2.67662e-07
  28  0.579173
  29  1.40048e-05
  30  0.000624153
  31  99.0847
  32  1.44385e-06
  33  48.717
  34  0.301769
  35  0.306539
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.000e-04  1.651e-06  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.125e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  7.468e-01  3.065e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  1.354e+00  3.018e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.327 50.235
Photon Flux Upper Limit: 7.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/249453/likelihoodResults_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.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) = 3082.84099225
delta logL = -0.000805675925676

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3082.84018652
delta logL = 4.84983502247e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1125       1.0000          .0000       10.000    
     3 'Normalizat'    1.3542       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .74672       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   3082.840     FROM MIGRAD    STATUS=FAILED        93 CALLS      249 TOTAL
                     EDM=   .13E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10028E-03    27.674        .12926E-01** at limit **
   2  Index         1.6843        6.6387        .50000        .56874E-06
   3  Normalizat    1.3542        .13478E-01    .23069E-03   -.63819E-05
   4  Prefactor     .74677        .14886E-01    .33095E-03   -.27069E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   3082.840     FROM SIMPLEX   STATUS=UNCHANGED    128 CALLS      377 TOTAL
                     EDM=   .10E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10028E-03    27.674        .39494E-03** at limit **
   2  Index         1.6843        6.6387        .38728E-03    .56874E-06
   3  Normalizat    1.3542        .13478E-01    .27889E-05   -.63819E-05
   4  Prefactor     .74677        .14886E-01    .30463E-05   -.27069E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3082.840     FROM MIGRAD    STATUS=CONVERGED     33 CALLS      410 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10006E-03    611.07        .13774E-02** at limit **
   2  Index         1.7077        5.6169        .50000        .16822E-05
   3  Normalizat    1.3542        .72435E-01    .92276E-05   -.59138E-05
   4  Prefactor     .74677        .79980E-01    .13238E-04   -.26880E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100062
  Index      = 1.70768
  Normalizat = 1.3542
  Prefactor  = 0.746772
 **********
 **   18 **HESSE 
 **********

 FCN=   3082.840     FROM HESSE     STATUS=OK            29 CALLS      439 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10006E-03    20.981        .27547E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7077        8.7114        .50000       -.71878    
   3  Normalizat    1.3542        .27098        .18455E-05   -.81963    
   4  Prefactor     .74677        .29899        .26476E-05   -1.0172    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.04677e-08
Minuit parameter uncertainties:
  1  0.00227587
  2  395.585
  3  0.271269
  4  0.299642
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/249453': 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) = 3082.84018541
delta logL = 1.16230739877e-06

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.001e-04  2.276e-03  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  1.708e+00  3.956e+02  0.000e+00  1.000e+01 (-1.000e+00)
368        Scale:  1.474e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  7.468e-01  2.996e-01  0.000e+00  1.000e+01 ( 1.000e+00)
715        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
716        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
713   Normalization:  1.354e+00  2.713e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 142.327 50.235

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/249453/cmap_HighResolution_649382401_649641601_4FGL_J0929.3+5014_daily_bin1582.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.94e-03', job_status='DONE', photon_flux_upper_limit='7.85e-08', time_completed='2021-08-31 13:00:47.012376', job_id='249453', GAL2='0.75', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1630440047.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.75', dlogl='1.16e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1582' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 13:00:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0300>
Subject: Job 249453: <4FGL_J0929.3+5014_daily_bin1582> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1582> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Aug 31 12:45:37 2021
Job was executed on host(s) <bullet0300>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:45:38 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Aug 31 12:45:38 2021
Terminated at Tue Aug 31 13:00:47 2021
Results reported at Tue Aug 31 13:00:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1582 142.327 50.2352 649382401 649641601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0929.3+5014 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   805.00 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             309.90 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   909 sec.
    Turnaround time :                            910 sec.

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

