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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1457
RA = 142.327, Dec = 50.2352
tmin = 616982401, tmax = 617241601
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='247742', job_status='RUN', time_executed='2021-08-31 12:41:04.652879', time_epoch_executed='1630438864.65' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1457'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/247742

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/247742/ft1_4FGL_J0929.3+5014_daily_bin1457.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/247742/ft2_4FGL_J0929.3+5014_daily_bin1457.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/247742/ft1_4FGL_J0929.3+5014_daily_bin1457.fits outfile=/scratch/kocevski/247742/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1457.fits ra=142.327 dec=50.2352 rad=12.0 tmin=616982401.0 tmax=617241601.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 3.27
user 2.83
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/247742/ft2_4FGL_J0929.3+5014_daily_bin1457.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/247742/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1457.fits evtable="EVENTS" outfile="/scratch/kocevski/247742/ft1_filtered_4FGL_J0929.3+5014_daily_bin1457.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.65
user 0.35
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/247742/ft1_filtered_4FGL_J0929.3+5014_daily_bin1457.fits" evtable="EVENTS" scfile=/scratch/kocevski/247742/ft2_4FGL_J0929.3+5014_daily_bin1457.fits sctable="SC_DATA" outfile=/scratch/kocevski/247742/ltcube_616982401_617241601_4FGL_J0929.3+5014_daily_bin1457.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/247742/ft2_4FGL_J0929.3+5014_daily_bin1457.fits
.....................!
real 12.86
user 12.07
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/247742/ft1_filtered_4FGL_J0929.3+5014_daily_bin1457.fits evtable="EVENTS" scfile=/scratch/kocevski/247742/ft2_4FGL_J0929.3+5014_daily_bin1457.fits sctable="SC_DATA" expcube=/scratch/kocevski/247742/ltcube_616982401_617241601_4FGL_J0929.3+5014_daily_bin1457.fits outfile=/scratch/kocevski/247742/expmap_616982401_617241601_4FGL_J0929.3+5014_daily_bin1457.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/247742/ltcube_616982401_617241601_4FGL_J0929.3+5014_daily_bin1457.fits
.....................!
real 190.84
user 185.19
sys 4.05

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/247742/ft1_filtered_4FGL_J0929.3+5014_daily_bin1457.fits scfile=/scratch/kocevski/247742/ft2_4FGL_J0929.3+5014_daily_bin1457.fits outfile=/scratch/kocevski/247742/cmap_616982401_617241601_4FGL_J0929.3+5014_daily_bin1457.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.61
user 0.38
sys 0.14

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .84462E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    332.77       1.0000         .10000E-03   10000.    
     3 'Prefactor '    41.964       1.0000         .10000E-03   10000.    
     4 'norm      '    20.974       1.0000         .10000E-03   10000.    
     5 'norm      '    .10393E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    58.442       1.0000         .10000E-03   10000.    
     7 'Prefactor '    13.395       1.0000         .10000E-03   10000.    
     8 'Prefactor '    5.7237       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .45629E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10169E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .44965E-02   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .17121E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .24197E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.9499       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .91945E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .11264E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .11257E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.1823       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'norm      '    2.3534       1.0000         .10000E-03   10000.    
    26 'Prefactor '    4.1277       1.0000         .10000E-03   10000.    
    27 'Prefactor '    82.288       1.0000         .10000E-03   10000.    
    28 'norm      '    1.1420       1.0000         .10000E-03   10000.    
    29 'norm      '    3.1471       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    33.092       1.0000         .10000E-03   10000.    
    32 'norm      '    4.8781       1.0000         .10000E-03   10000.    
    33 'Prefactor '    70.892       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .56976       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.3596       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=   2462.349     FROM MIGRAD    STATUS=CONVERGED    322 CALLS     3836 TOTAL
                     EDM=   .25E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    24.758       -.96573E-06** at limit **
   2  Prefactor     352.50        612.81        .99073E-05    .20664E-04
   3  Prefactor     42.719        64.916       -.37462E-05    .27101E-04
   4  norm          12.824        205.94        .12539E-03   -.28015E-04
   5  norm          .10000E-03    58.887       -.12321E-06** at limit **
   6  Prefactor     59.105        99.171        .12308E-04    .84291E-04
   7  Prefactor     13.668        14.737       -.54468E-05   -.56604E-04
   8  Prefactor     10.744        117.90       -.29918E-04   -.97825E-05
   9  Prefactor     .10000E-03    172.91        .16093E-06** at limit **
  10  Prefactor     .10000E-03    94.184       -.71878E-06** at limit **
  11  Prefactor     .10000E-03    31.301       -.17811E-05** at limit **
  12  Prefactor     .10000E-03    26.853        .11762E-05** at limit **
  13  norm          .10000E-03    2.1242        .22659E-07** at limit **
  14  Prefactor     .10000E-03    24.583        .62355E-07** at limit **
  15  norm          .10000E-03    9.6192        .88834E-07** at limit **
  16  Prefactor     .10000E-03    2.7226        .11120E-06** at limit **
  17  Prefactor     .10000E-03    9.9224       -.57713E-06** at limit **
  18  Prefactor     1.9483        4.7662       -.79474E-06   -.14464E-04
  19  Prefactor     .10000E-03    26.960        .49584E-06** at limit **
  20  Prefactor     .10000E-03    6.0287        .78114E-07** at limit **
  21  norm          .10000E-03    20.169        .64135E-06** at limit **
  22  Prefactor     .10000E-03    27.973        .14214E-05** at limit **
  23  Prefactor     6.2733        9.9002       -.12008E-05   -.10620E-04
  24  Prefactor     .10000E-03    5.9238        .97837E-07** at limit **
  25  norm          2.5296        19.762       -.70630E-05   -.11904E-04
  26  Prefactor     5.1258        27.201       -.89663E-05    .21596E-04
  27  Prefactor     80.733        51.803        .88474E-05    .21037E-03
  28  norm          1.1454        .58431       -.12194E-07   -.34155E-04
  29  norm          3.1221        23.860        .54996E-06   -.16272E-05
  30  Prefactor     .10000E-03    2.7159        .20720E-07** at limit **
  31  Prefactor     37.068        56.671        .58555E-05    .15769E-04
  32  norm          4.8825        3.4799        .49736E-07   -.30288E-05
  33  Prefactor     70.226        45.535       -.77174E-06   -.22393E-04
  34  Normalizat    .56796        .32148       -.72999E-05   -.25654E-04
  35  Prefactor     1.3595        .37265        .20484E-05   -.27506E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 352.505
  Prefactor  = 42.7192
  norm       = 12.824
  norm       = 0.0001
  Prefactor  = 59.1052
  Prefactor  = 13.6676
  Prefactor  = 10.7443
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.9483
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.27327
  Prefactor  = 0.0001
  norm       = 2.52957
  Prefactor  = 5.12579
  Prefactor  = 80.7333
  norm       = 1.1454
  norm       = 3.12207
  Prefactor  = 0.0001
  Prefactor  = 37.0682
  norm       = 4.88247
  Prefactor  = 70.2264
  Normalizat = 0.567959
  Prefactor  = 1.35953
 **********
 **   18 **HESSE 
 **********

 FCN=   2462.349     FROM HESSE     STATUS=OK           858 CALLS     4694 TOTAL
                     EDM=   .16E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    24.481        .10435E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     352.50        613.63        .55754E-03   -1.1931    
   3  Prefactor     42.719        65.101        .15471E-02   -1.4400    
   4  norm          12.824        209.12        .21865E-02   -1.4992    
   5  norm          .10000E-03    59.060        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     59.105        99.031        .13120E-02   -1.4169    
   7  Prefactor     13.668        14.768        .27361E-02   -1.4968    
   8  Prefactor     10.744        124.65        .41973E-02   -1.5052    
   9  Prefactor     .10000E-03    173.13        .10601E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    94.256        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    29.414        .96726E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    26.852        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    1.0920        .17984E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    5.1561        .59554E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    9.6148        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.7137        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    9.9089        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     1.9483        4.8115        .74300E-02   -1.5429    
  19  Prefactor     .10000E-03    26.770        .10408E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    6.0253        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10000E-03    20.189        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    27.991        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.2733        9.9383        .40364E-02   -1.5207    
  24  Prefactor     .10000E-03    5.8983        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          2.5296        20.688        .66797E-02   -1.5390    
  26  Prefactor     5.1258        187.07        .49602E-02   -1.5255    
  27  Prefactor     80.733        55.497        .11070E-02   -1.3909    
  28  norm          1.1454        .58310        .58680E-02   -1.5494    
  29  norm          3.1221        23.960        .57124E-02   -1.5355    
  30  Prefactor     .10000E-03    2.7108        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     37.068        58.536        .17414E-02   -1.4490    
  32  norm          4.8825        3.4845        .45530E-02   -1.5266    
  33  Prefactor     70.226        45.673        .11920E-02   -1.4030    
  34  Normalizat    .56796        .28768        .68534E-01   -1.0936    
  35  Prefactor     1.3595        .32431        .58228E-01   -.81554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57028e-07
Minuit parameter uncertainties:
  1  1.91595e-06
  2  625.561
  3  65.2094
  4  104.002
  5  2.13108e-06
  6  99.3083
  7  14.7724
  8  73.3849
  9  1.57002e-06
  10  1.69603e-06
  11  4.38948e-06
  12  1.16828e-06
  13  4.45929e-08
  14  1.01104e-08
  15  3.63789e-08
  16  3.49084e-08
  17  3.06335e-07
  18  4.81245
  19  1.75585e-07
  20  8.4666e-08
  21  3.94244e-07
  22  2.16175e-06
  23  9.94086
  24  2.24467e-09
  25  14.4746
  26  62.1425
  27  55.5331
  28  0.5831
  29  17.3072
  30  1.67588e-08
  31  58.6273
  32  3.48465
  33  45.6954
  34  0.288442
  35  0.324795
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.000e-04  3.063e-07  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:  1.360e+00  3.248e-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:  5.680e-01  2.884e-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: 1.17e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.83e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/247742/likelihoodResults_616982401_617241601_4FGL_J0929.3+5014_daily_bin1457.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) = 2462.34930061
delta logL = -0.000472716730201

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2462.34882867
delta logL = -7.78123194323e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11770E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1006       1.0000          .0000       10.000    
     3 'Normalizat'    .56804       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3594       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=   2462.349     FROM MIGRAD    STATUS=CONVERGED     88 CALLS      244 TOTAL
                     EDM=   .45E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10178E-03    105.33        .15651E-02** at limit **
   2  Index         2.0368        5.2534        .50000        .16816E-04
   3  Normalizat    .56796        .20204E-01    .30333E-03    .22169E-04
   4  Prefactor     1.3595        .25661E-01    .25747E-03    .16117E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000101784
  Index      = 2.03677
  Normalizat = 0.567959
  Prefactor  = 1.35953
 **********
 **   18 **HESSE 
 **********

 FCN=   2462.349     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      273 TOTAL
                     EDM=   .19E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10178E-03    433.01        .31303E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.0368        5.9527        .50000       -.63434    
   3  Normalizat    .56796        .42665E-01    .12133E-04   -1.0936    
   4  Prefactor     1.3595        .54189E-01    .51494E-04   -.81554    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.94781e-08
Minuit parameter uncertainties:
  1  0.0559921
  2  635.455
  3  0.0426674
  4  0.0541915
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/247742': 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) = 2462.34882756
delta logL = 3.3591504689e-07

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.018e-04  5.599e-02  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.037e+00  6.355e+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:  1.360e+00  5.419e-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:  5.680e-01  4.267e-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/247742/cmap_HighResolution_616982401_617241601_4FGL_J0929.3+5014_daily_bin1457.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.83e-03', job_status='DONE', photon_flux_upper_limit='1.17e-07', time_completed='2021-08-31 12:51:48.005139', job_id='247742', GAL2='1.36', fit_tolerance='1e-08', EG2='0.57', EG='0.57', time_epoch_completed='1630439508.01', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.36', dlogl='3.36e-07', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1457' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:51:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0164>
Subject: Job 247742: <4FGL_J0929.3+5014_daily_bin1457> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1457> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Tue Aug 31 12:40:39 2021
Job was executed on host(s) <bullet0164>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:40:42 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:40:42 2021
Terminated at Tue Aug 31 12:51:48 2021
Results reported at Tue Aug 31 12:51:48 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1457 142.327 50.2352 616982401 617241601 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 :                                   629.00 sec.
    Max Memory :                                 1226 MB
    Average Memory :                             298.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   666 sec.
    Turnaround time :                            669 sec.

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

