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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin751
RA = 142.327, Dec = 50.2352
tmin = 433987201, tmax = 434246401
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='241766', job_status='RUN', time_executed='2021-08-31 12:21:32.617836', time_epoch_executed='1630437692.62' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/241766

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/241766/ft1_4FGL_J0929.3+5014_daily_bin751.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/241766/ft2_4FGL_J0929.3+5014_daily_bin751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/241766/ft1_4FGL_J0929.3+5014_daily_bin751.fits outfile=/scratch/kocevski/241766/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin751.fits ra=142.327 dec=50.2352 rad=12.0 tmin=433987201.0 tmax=434246401.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 6.14
user 5.87
sys 0.26

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/241766/ft1_filtered_4FGL_J0929.3+5014_daily_bin751.fits" evtable="EVENTS" scfile=/scratch/kocevski/241766/ft2_4FGL_J0929.3+5014_daily_bin751.fits sctable="SC_DATA" outfile=/scratch/kocevski/241766/ltcube_433987201_434246401_4FGL_J0929.3+5014_daily_bin751.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/241766/ft2_4FGL_J0929.3+5014_daily_bin751.fits
.....................!
real 12.18
user 11.82
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/241766/ft1_filtered_4FGL_J0929.3+5014_daily_bin751.fits evtable="EVENTS" scfile=/scratch/kocevski/241766/ft2_4FGL_J0929.3+5014_daily_bin751.fits sctable="SC_DATA" expcube=/scratch/kocevski/241766/ltcube_433987201_434246401_4FGL_J0929.3+5014_daily_bin751.fits outfile=/scratch/kocevski/241766/expmap_433987201_434246401_4FGL_J0929.3+5014_daily_bin751.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/241766/ltcube_433987201_434246401_4FGL_J0929.3+5014_daily_bin751.fits
.....................!
real 191.67
user 186.53
sys 4.71

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/241766/ft1_filtered_4FGL_J0929.3+5014_daily_bin751.fits scfile=/scratch/kocevski/241766/ft2_4FGL_J0929.3+5014_daily_bin751.fits outfile=/scratch/kocevski/241766/cmap_433987201_434246401_4FGL_J0929.3+5014_daily_bin751.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/241766/ft1_filtered_4FGL_J0929.3+5014_daily_bin751.fits scfile=/scratch/kocevski/241766/ft2_4FGL_J0929.3+5014_daily_bin751.fits outfile=/scratch/kocevski/241766/cmap_HighResolution_433987201_434246401_4FGL_J0929.3+5014_daily_bin751.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    3.5619       1.0000         .10000E-03   10000.    
     3 'Prefactor '    12.877       1.0000         .10000E-03   10000.    
     4 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    15.420       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.7741       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    53.481       1.0000         .10000E-03   10000.    
    13 'norm      '    .20459E-01   1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.5171       1.0000         .10000E-03   10000.    
    15 'norm      '    13.361       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10098E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.6622       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    39.372       1.0000         .10000E-03   10000.    
    20 'Prefactor '    17.368       1.0000         .10000E-03   10000.    
    21 'norm      '    13.557       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .31655E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    8.0147       1.0000         .10000E-03   10000.    
    25 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    41.175       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    1.4114       1.0000         .10000E-03   10000.    
    29 'norm      '    27.626       1.0000         .10000E-03   10000.    
    30 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    31 'Prefactor '    .13399E-03   1.0000         .10000E-03   10000.    
    32 'norm      '    5.4461       1.0000         .10000E-03   10000.    
    33 'Prefactor '    .10265E-03   1.0000         .10000E-03   10000.    
    34 'Normalizat'    .93646       1.0000         .10000E-01   10.000    
    35 'Prefactor '    .80610       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=   4113.516     FROM MIGRAD    STATUS=CONVERGED   1001 CALLS     5114 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    4.1930        .68883E-07** at limit **
   2  Prefactor     3.5632        7.2437        .40362E-06   -.22373E-06
   3  Prefactor     12.878        7.7666        .45029E-07   -.15385E-04
   4  norm          .10000E-03    5.6150        .51502E-07** at limit **
   5  norm          .10000E-03    1.5023        .62515E-08** at limit **
   6  Prefactor     15.425        13.077        .14997E-06    .98636E-05
   7  Prefactor     3.7752        2.5010        .33935E-07   -.10242E-03
   8  Prefactor     .10000E-03    7.1795       -.93414E-08** at limit **
   9  Prefactor     .10000E-03    17.047       -.19354E-06** at limit **
  10  Prefactor     .10000E-03    32.263       -.36710E-06** at limit **
  11  Prefactor     .10000E-03    1.1607       -.13230E-06** at limit **
  12  Prefactor     53.496        31.059       -.59629E-07   -.12633E-03
  13  norm          .17700E-01    .58525        .15352E-06   -.12201E-02
  14  Prefactor     1.5266        3.5884        .26923E-06   -.23853E-03
  15  norm          13.365        10.543        .83190E-07    .10246E-04
  16  Prefactor     .10000E-03    1.3757       -.19981E-06** at limit **
  17  Prefactor     5.6626        10.332        .42410E-05    .23326E-04
  18  Prefactor     .10000E-03    2.7938       -.84337E-07** at limit **
  19  Prefactor     39.382        28.781       -.16643E-05   -.10491E-03
  20  Prefactor     17.367        19.186        .74007E-08   -.49934E-05
  21  norm          13.558        15.750       -.97660E-06   -.21305E-04
  22  Prefactor     .10000E-03    63.448       -.58572E-06** at limit **
  23  Prefactor     .10000E-03    12.052       -.31499E-07** at limit **
  24  Prefactor     8.0183        8.0459        .17323E-06   -.23698E-04
  25  norm          .10000E-03    5.2480        .79516E-08** at limit **
  26  Prefactor     41.125        46.992       -.20798E-05    .27930E-04
  27  Prefactor     .10000E-03    15.677        .18775E-06** at limit **
  28  norm          1.4116        .74823        .21586E-07   -.40953E-04
  29  norm          27.634        18.802        .94259E-07    .49147E-04
  30  Prefactor     .10000E-03    3.6467        .23482E-07** at limit **
  31  Prefactor     .10001E-03    615.26       -.27358E-05** at limit **
  32  norm          5.4470        4.2151        .41415E-07   -.64008E-05
  33  Prefactor     .10000E-03    91.775        .37707E-06** at limit **
  34  Normalizat    .93548        .20729       -.16781E-05   -.33353E-04
  35  Prefactor     .80694        .19966        .65533E-06   -.79343E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.56316
  Prefactor  = 12.8775
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 15.4249
  Prefactor  = 3.77519
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 53.4964
  norm       = 0.0176997
  Prefactor  = 1.52661
  norm       = 13.3646
  Prefactor  = 0.0001
  Prefactor  = 5.66265
  Prefactor  = 0.0001
  Prefactor  = 39.382
  Prefactor  = 17.3674
  norm       = 13.5583
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 8.01827
  norm       = 0.0001
  Prefactor  = 41.1252
  Prefactor  = 0.0001
  norm       = 1.41163
  norm       = 27.6344
  Prefactor  = 0.0001
  Prefactor  = 0.000100008
  norm       = 5.44705
  Prefactor  = 0.0001
  Normalizat = 0.935482
  Prefactor  = 0.806936
 **********
 **   18 **HESSE 
 **********

 FCN=   4113.516     FROM HESSE     STATUS=OK           774 CALLS     5888 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    4.2843        .12818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.5632        7.2292        .21415E-03   -1.5330    
   3  Prefactor     12.878        7.7666        .11163E-03   -1.4990    
   4  norm          .10000E-03    5.7986        .29658E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.5043        .76769E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     15.425        13.080        .10200E-03   -1.4922    
   7  Prefactor     3.7752        2.5002        .78883E-04   -1.5319    
   8  Prefactor     .10000E-03    7.1886        .16784E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    17.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    32.277        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    1.1702        .67411E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     53.496        30.991        .54846E-04   -1.4244    
  13  norm          .17700E-01    9.9499        .67029E-03   -1.5681    
  14  Prefactor     1.5266        5.0454        .12650E-03   -1.5461    
  15  norm          13.365        10.519        .10958E-03   -1.4977    
  16  Prefactor     .10000E-03    2.1091        .14400E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.6626        10.359        .84407E-03   -1.5232    
  18  Prefactor     .10000E-03    2.8412        .10453E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     39.382        28.842        .63879E-04   -1.4452    
  20  Prefactor     17.367        19.150        .96103E-04   -1.4874    
  21  norm          13.558        15.731        .10879E-03   -1.4971    
  22  Prefactor     .10000E-03    63.605        .21367E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    12.099        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     8.0183        8.0435        .14163E-03   -1.5142    
  25  norm          .10000E-03    5.2535        .14350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     41.125        47.368        .62470E-04   -1.4425    
  27  Prefactor     .10000E-03    15.682        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          1.4116        .75550        .39023E-04   -1.5470    
  29  norm          27.634        18.861        .76221E-04   -1.4656    
  30  Prefactor     .10000E-03    3.6642        .11955E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .10001E-03    628.22        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  32  norm          5.4470        4.2163        .11195E-03   -1.5241    
  33  Prefactor     .10000E-03    92.246        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  34  Normalizat    .93548        .23823        .23690E-03   -.95224    
  35  Prefactor     .80694        .23088        .26353E-03   -.99473    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.80893e-09
Minuit parameter uncertainties:
  1  6.03525e-06
  2  7.23094
  3  7.76723
  4  6.33918e-06
  5  6.26156e-07
  6  13.0823
  7  2.50028
  8  6.58288e-07
  9  7.48359e-05
  10  7.71301e-05
  11  6.31953e-07
  12  31.0001
  13  0.837074
  14  5.04685
  15  10.5203
  16  3.0012e-05
  17  10.3618
  18  7.83648e-07
  19  28.8526
  20  19.1563
  21  15.7359
  22  0.000992498
  23  1.41668e-06
  24  8.04459
  25  7.95265e-07
  26  47.4117
  27  7.25651e-05
  28  0.755509
  29  18.865
  30  3.8395e-06
  31  0.0045008
  32  4.21655
  33  0.000291373
  34  0.238504
  35  0.231154
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  5.663e+00  1.036e+01  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.069e-01  2.312e-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:  9.355e-01  2.385e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/241766/likelihoodResults_433987201_434246401_4FGL_J0929.3+5014_daily_bin751.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): 0
logL (Free Index) = 4113.5108448
delta logL = 0.00486335020287

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4113.50943037
delta logL = 0.00627778597209

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.1316       1.0000         .10000E-03   10000.    
     2 'Index     '    2.2544       1.0000          .0000       10.000    
     3 'Normalizat'    .93293       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80848       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=   4113.509     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      238 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.1336        10.974        .17748E-03   -.58209E-03
   2  Index         2.2545        1.2366        .10348E-01   -.12969E-03
   3  Normalizat    .93292        .21218        .23717E-03    .41050E-03
   4  Prefactor     .80849        .22018        .26330E-03    .40294E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.13361
  Index      = 2.25445
  Normalizat = 0.932924
  Prefactor  = 0.808493
 **********
 **   18 **HESSE 
 **********

 FCN=   4113.509     FROM HESSE     STATUS=OK            25 CALLS      263 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.1336        10.283        .70990E-05   -1.5255    
   2  Index         2.2545        1.1606        .41393E-03   -.58130    
   3  Normalizat    .93292        .21212        .47434E-04   -.95313    
   4  Prefactor     .80849        .22020        .52660E-04   -.99416    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49619e-09
Minuit parameter uncertainties:
  1  10.2863
  2  1.17604
  3  0.212314
  4  0.220441
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/241766': 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) = 4113.50943033
delta logL = 0.00627782153424

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  5.134e+00  1.029e+01  1.000e-04  1.000e+04 ( 1.000e-13)
367        Index:  2.254e+00  1.176e+00  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.085e-01  2.204e-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:  9.329e-01  2.123e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.49
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/241766/cmap_HighResolution_433987201_434246401_4FGL_J0929.3+5014_daily_bin751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.71e-03', job_status='DONE', photon_flux_upper_limit='8.86e-08', time_completed='2021-08-31 12:37:13.113941', job_id='241766', GAL2='0.81', fit_tolerance='1e-08', EG2='0.93', EG='0.94', time_epoch_completed='1630438633.11', return_code2='0', ts='0.49', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='6.28e-03', ts2='0.50', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='751' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Aug 31 12:37:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0130>
Subject: Job 241766: <4FGL_J0929.3+5014_daily_bin751> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin751> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Aug 31 12:21:06 2021
Job was executed on host(s) <bullet0130>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Aug 31 12:21:16 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:21:16 2021
Terminated at Tue Aug 31 12:37:14 2021
Results reported at Tue Aug 31 12:37:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin751 142.327 50.2352 433987201 434246401 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 :                                   925.08 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             321.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   957 sec.
    Turnaround time :                            968 sec.

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

