/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 7 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

number of points = 7646
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1183
RA = 142.327, Dec = 50.2352
tmin = 545961601, tmax = 546220801
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='246169', job_status='RUN', time_executed='2021-08-31 12:35:50.923790', time_epoch_executed='1630438550.92' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1183'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/246169

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/246169/ft1_4FGL_J0929.3+5014_daily_bin1183.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/246169/ft2_4FGL_J0929.3+5014_daily_bin1183.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/246169/ft1_4FGL_J0929.3+5014_daily_bin1183.fits outfile=/scratch/kocevski/246169/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1183.fits ra=142.327 dec=50.2352 rad=12.0 tmin=545961601.0 tmax=546220801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

Done.
real 4.05
user 3.85
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/246169/ft1_filtered_4FGL_J0929.3+5014_daily_bin1183.fits" evtable="EVENTS" scfile=/scratch/kocevski/246169/ft2_4FGL_J0929.3+5014_daily_bin1183.fits sctable="SC_DATA" outfile=/scratch/kocevski/246169/ltcube_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.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/246169/ft2_4FGL_J0929.3+5014_daily_bin1183.fits
.....................!
real 12.52
user 12.12
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/246169/ft1_filtered_4FGL_J0929.3+5014_daily_bin1183.fits evtable="EVENTS" scfile=/scratch/kocevski/246169/ft2_4FGL_J0929.3+5014_daily_bin1183.fits sctable="SC_DATA" expcube=/scratch/kocevski/246169/ltcube_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.fits outfile=/scratch/kocevski/246169/expmap_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.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/246169/ltcube_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.fits
.....................!
real 191.47
user 185.48
sys 4.62

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/246169/ft1_filtered_4FGL_J0929.3+5014_daily_bin1183.fits scfile=/scratch/kocevski/246169/ft2_4FGL_J0929.3+5014_daily_bin1183.fits outfile=/scratch/kocevski/246169/cmap_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.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.68
user 0.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/246169/ft1_filtered_4FGL_J0929.3+5014_daily_bin1183.fits scfile=/scratch/kocevski/246169/ft2_4FGL_J0929.3+5014_daily_bin1183.fits outfile=/scratch/kocevski/246169/cmap_HighResolution_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.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.59
user 0.39
sys 0.14

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/246169/ft1_filtered_4FGL_J0929.3+5014_daily_bin1183.fits', '/scratch/kocevski/246169/ft2_4FGL_J0929.3+5014_daily_bin1183.fits', expMap='/scratch/kocevski/246169/expmap_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.fits', expCube='/scratch/kocevski/246169/ltcube_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/246169/Model_4FGL_J0929.3+5014_daily_bin1183.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/246169/ft1_filtered_4FGL_J0929.3+5014_daily_bin1183.fits
Spacecraft file(s): /scratch/kocevski/246169/ft2_4FGL_J0929.3+5014_daily_bin1183.fits
Exposure map: /scratch/kocevski/246169/expmap_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.fits
Exposure cube: /scratch/kocevski/246169/ltcube_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/246169/Model_4FGL_J0929.3+5014_daily_bin1183.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) = 569.052269334

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1668       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .88655E-02   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11817       1.0000         .10000E-03   10000.    
     4 'norm      '    .62465E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10268E-01   1.0000         .10000E-03   10000.    
     6 'Prefactor '    3.8697       1.0000         .10000E-03   10000.    
     7 'Prefactor '    9.6190       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .21286E-02   1.0000         .10000E-03   10000.    
     9 'Prefactor '    1.1251       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.3272       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10503E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.718       1.0000         .10000E-03   10000.    
    13 'norm      '    2.0726       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .38837E-02   1.0000         .10000E-03   10000.    
    15 'norm      '    .52542E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    20.940       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .30561E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .52343E-02   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .24803E-02   1.0000         .10000E-03   10000.    
    20 'Prefactor '    1.0514       1.0000         .10000E-03   10000.    
    21 'norm      '    1.8389       1.0000         .10000E-03   10000.    
    22 'Prefactor '    106.39       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.8066       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .11204E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    1.0299       1.0000         .10000E-03   10000.    
    26 'Prefactor '    7.3148       1.0000         .10000E-03   10000.    
    27 'Prefactor '    8.8846       1.0000         .10000E-03   10000.    
    28 'norm      '    1.6918       1.0000         .10000E-03   10000.    
    29 'norm      '    .17619E-01   1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10629E-02   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .27185E-02   1.0000         .10000E-03   10000.    
    32 'norm      '    13.113       1.0000         .10000E-03   10000.    
    33 'Prefactor '    7.3057       1.0000         .10000E-03   10000.    
    34 'Normalizat'    1.0413       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .87215E-01   1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7170E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   567.6246     FROM MIGRAD    STATUS=CONVERGED    222 CALLS      501 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1668        1.0130         .0000         .0000    
   2  Prefactor     .10000E-03    2.7293       -.79383E-08** at limit **
   3  Prefactor     .14629E-03    44.519        .29815E-05** at limit **
   4  norm          .10001E-03    1.6228        .67372E-07** at limit **
   5  norm          .10036E-03    38.874        .23036E-05** at limit **
   6  Prefactor     3.8697        1.0086         .0000         .0000    
   7  Prefactor     9.5519        9.9709       -.11786E-06    .76617E-02
   8  Prefactor     .12002E-03    3.1307       -.16633E-05** at limit **
   9  Prefactor     .10501E-03    314.07       -.19082E-05** at limit **
  10  Prefactor     .10011E-03    162.99       -.11412E-04** at limit **
  11  Prefactor     .10000E-03    12.112        .10244E-05** at limit **
  12  Prefactor     18.183        50.611        .15594E-05   -.73295E-04
  13  norm          2.0664        2.0504       -.91518E-07   -.33204E-03
  14  Prefactor     .10008E-03    41.342        .38425E-05** at limit **
  15  norm          .10000E-03    23.697        .21409E-05** at limit **
  16  Prefactor     20.812        10.556        .17389E-06    .82353E-03
  17  Prefactor     .10000E-03    34.271       -.22276E-05** at limit **
  18  Prefactor     .10001E-03    34.018        .18977E-06** at limit **
  19  Prefactor     .10372E-03    34.504        .69067E-06** at limit **
  20  Prefactor     1.0514        1.2363         .0000         .0000    
  21  norm          5.6774        227.92       -.55223E-05    .49493E-03
  22  Prefactor     104.40        81.373       -.13415E-05   -.20772E-01
  23  Prefactor     2.8066        1.0168         .0000         .0000    
  24  Prefactor     .10022E-03    53.086       -.20124E-05** at limit **
  25  norm          1.0299        1.2706         .0000         .0000    
  26  Prefactor     .14763        7156.8       -.17399E-04    .11193E-02
  27  Prefactor     8.8846        1.0016         .0000         .0000    
  28  norm          1.6918        1.0522         .0000         .0000    
  29  norm          .10026E-03    40.988        .10927E-05** at limit **
  30  Prefactor     .10000E-03    33.286        .76934E-06** at limit **
  31  Prefactor     .10004E-03    14.418        .15736E-05** at limit **
  32  norm          12.576        21.066        .72242E-06   -.25649E-03
  33  Prefactor     7.3057        1.0024         .0000         .0000    
  34  Normalizat    1.0593        .78803       -.12771E-04   -.11081E-03
  35  Prefactor     .80242E-01    1.7143        .29706E-04   -.23203E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.16678
  Prefactor  = 0.000100003
  Prefactor  = 0.000146285
  norm       = 0.000100013
  norm       = 0.000100356
  Prefactor  = 3.86972
  Prefactor  = 9.55191
  Prefactor  = 0.000120023
  Prefactor  = 0.000105008
  Prefactor  = 0.000100113
  Prefactor  = 0.0001
  Prefactor  = 18.1834
  norm       = 2.06638
  Prefactor  = 0.000100075
  norm       = 0.000100001
  Prefactor  = 20.8116
  Prefactor  = 0.000100003
  Prefactor  = 0.000100007
  Prefactor  = 0.000103721
  Prefactor  = 1.05136
  norm       = 5.67745
  Prefactor  = 104.396
  Prefactor  = 2.80665
  Prefactor  = 0.000100222
  norm       = 1.02988
  Prefactor  = 0.14763
  Prefactor  = 8.8846
  norm       = 1.69183
  norm       = 0.000100257
  Prefactor  = 0.0001
  Prefactor  = 0.00010004
  norm       = 12.5761
  Prefactor  = 7.30573
  Normalizat = 1.0593
  Prefactor  = 0.080242
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   567.6246     FROM HESSE     STATUS=FAILED         9 CALLS      510 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     552.18        548.94         .0000       -1.5352    
   2  Prefactor     .10000E-03    .20921       -.79383E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .14629E-03    .23028        .29815E-05   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10001E-03    .27674        .67372E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10036E-03    .20586        .23036E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     3.8697        1.0086         .0000       -1.5315    
   7  Prefactor     9.5519        .99786       -.11786E-06   -1.5090    
   8  Prefactor     .12002E-03    .25432       -.16633E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10501E-03    .30485       -.19082E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10011E-03    .22735       -.11412E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    .20571        .10244E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     18.183        1.0134        .15594E-05   -1.4855    
  13  norm          2.0664        1.0310       -.91518E-07   -1.5420    
  14  Prefactor     .10008E-03    .23841        .38425E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    .27912        .21409E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     20.812        .99721        .17389E-06   -1.4795    
  17  Prefactor     .10000E-03    .24523       -.22276E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10001E-03    .22893        .18977E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10372E-03    .25064        .69067E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.0514        1.2363         .0000       -1.5503    
  21  norm          5.6774        1.8320       -.55223E-05   -1.5231    
  22  Prefactor     104.40        .99071       -.13415E-05   -1.3661    
  23  Prefactor     2.8066        1.0168         .0000       -1.5373    
  24  Prefactor     .10022E-03    .20571       -.20124E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.0299        1.2706         .0000       -1.5505    
  26  Prefactor     .14763        .14240       -.17399E-04   -1.5631    
  27  Prefactor     8.8846        1.0016         .0000       -1.5112    
  28  norm          1.6918        1.0522         .0000       -1.5448    
  29  norm          .10026E-03    .20752        .10927E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Prefactor     .10000E-03    .26837        .76934E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10004E-03    .24832        .15736E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          12.576        .98005        .72242E-06   -1.4999    
  33  Prefactor     7.3057        1.0024         .0000       -1.5167    
  34  Normalizat    1.0593        1.2259       -.12771E-04   -.91070    
  35  Prefactor     .80242E-01    .29335        .29706E-04   -1.3914    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.18183e-09
Minuit parameter uncertainties:
  1  1.01304
  2  5.0035e-05
  3  0.00652953
  4  0.000121668
  5  0.000541336
  6  1.0086
  7  0.997861
  8  0.00451318
  9  0.00247131
  10  0.000320038
  11  9.48634e-06
  12  1.01344
  13  1.03098
  14  0.00026771
  15  2.37752e-05
  16  0.997209
  17  5.50609e-05
  18  7.92118e-05
  19  0.00193155
  20  1.23632
  21  1.832
  22  0.990712
  23  1.01682
  24  0.000427041
  25  1.27062
  26  0.142403
  27  1.00159
  28  1.05216
  29  0.000461546
  30  2.57574e-06
  31  0.000199246
  32  0.98005
  33  1.00236
  34  1.26126
  35  0.298916
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.000e-04  5.506e-05  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:  8.024e-02  2.989e-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.059e+00  1.261e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.327 50.235
Photon Flux Upper Limit: 5.58e-07 ph cm-2 s-1
Energy Flux Upper Limit: 4.23e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/246169/likelihoodResults_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.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) = 567.624705303
delta logL = -8.56562090803e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 567.624622077
delta logL = -2.42984674514e-06

Fit tolerance = 1e-08

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

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

 FCN=   567.6246     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      286 TOTAL
                     EDM=   .54E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10453E-03    38.885        .11507E-01** at limit **
   2  Index         2.3631        5.5465        .50000        .99646E-05
   3  Normalizat    1.0593        .17320E-01    .24370E-03    .11797E-04
   4  Prefactor     .80239E-01    .17210E-01    .77966E-02    .59203E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.00010453
  Index      = 2.36308
  Normalizat = 1.05931
  Prefactor  = 0.0802391
 **********
 **   18 **HESSE 
 **********

 FCN=   567.6246     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      317 TOTAL
                     EDM=   .49E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10453E-03    339.29        .12030E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3631        6.7073        .50000       -.55552    
   3  Normalizat    1.0593        .52030E-01    .48740E-04   -.91069    
   4  Prefactor     .80239E-01    .51682E-01    .31186E-03   -1.3914    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.89897e-09
Minuit parameter uncertainties:
  1  0.0788591
  2  637.581
  3  0.0520329
  4  0.0517112
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/246169': 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) = 567.624620157
delta logL = -5.09919459546e-07

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.045e-04  7.886e-02  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.363e+00  6.376e+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:  8.024e-02  5.171e-02  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.059e+00  5.203e-02  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/246169/cmap_HighResolution_545961601_546220801_4FGL_J0929.3+5014_daily_bin1183.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.23e-02', job_status='DONE', photon_flux_upper_limit='5.58e-07', time_completed='2021-08-31 12:41:41.655523', job_id='246169', GAL2='0.08', fit_tolerance='1e-08', EG2='1.06', EG='1.06', time_epoch_completed='1630438901.66', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.08', dlogl='-5.10e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1183' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:41:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0042>
Subject: Job 246169: <4FGL_J0929.3+5014_daily_bin1183> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1183> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Tue Aug 31 12:35:32 2021
Job was executed on host(s) <bullet0042>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:35:34 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:35:34 2021
Terminated at Tue Aug 31 12:41:43 2021
Results reported at Tue Aug 31 12:41:43 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1183 142.327 50.2352 545961601 546220801 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 :                                   349.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             322.14 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   368 sec.
    Turnaround time :                            371 sec.

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

