aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 209 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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 = 7448
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1774
RA = 142.327, Dec = 50.2352
tmin = 699148801, tmax = 699408001
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='678794', job_status='RUN', time_executed='2023-03-02 00:33:55.069154', time_epoch_executed='1677746035.07' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/678794

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/678794/ft1_4FGL_J0929.3+5014_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/678794/ft2_4FGL_J0929.3+5014_daily_bin1774.fits


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

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

Done.
real 2.80
user 2.60
sys 0.18

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

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

Number of photons that the gtmktime cut: 14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/678794/ft1_filtered_4FGL_J0929.3+5014_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/678794/ft2_4FGL_J0929.3+5014_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/678794/ltcube_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.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/678794/ft2_4FGL_J0929.3+5014_daily_bin1774.fits
.....................!
real 13.80
user 13.39
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/678794/ft1_filtered_4FGL_J0929.3+5014_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/678794/ft2_4FGL_J0929.3+5014_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/678794/ltcube_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.fits outfile=/scratch/kocevski/678794/expmap_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.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/678794/ltcube_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.fits
.....................!
real 191.89
user 185.95
sys 5.50

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/678794/ft1_filtered_4FGL_J0929.3+5014_daily_bin1774.fits scfile=/scratch/kocevski/678794/ft2_4FGL_J0929.3+5014_daily_bin1774.fits outfile=/scratch/kocevski/678794/cmap_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.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.54
user 0.38
sys 0.14

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

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/678794/ft1_filtered_4FGL_J0929.3+5014_daily_bin1774.fits', '/scratch/kocevski/678794/ft2_4FGL_J0929.3+5014_daily_bin1774.fits', expMap='/scratch/kocevski/678794/expmap_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.fits', expCube='/scratch/kocevski/678794/ltcube_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/678794/Model_4FGL_J0929.3+5014_daily_bin1774.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  0.000e+00  1.000e+06 ( 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/678794/ft1_filtered_4FGL_J0929.3+5014_daily_bin1774.fits
Spacecraft file(s): /scratch/kocevski/678794/ft2_4FGL_J0929.3+5014_daily_bin1774.fits
Exposure map: /scratch/kocevski/678794/expmap_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.fits
Exposure cube: /scratch/kocevski/678794/ltcube_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/678794/Model_4FGL_J0929.3+5014_daily_bin1774.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) = 124.998242857

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59405E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .12392E-01   1.0000          .0000       .10000E+07
     3 'Prefactor '    .10451       1.0000          .0000       .10000E+07
     4 'norm      '    15.174       1.0000          .0000       .10000E+07
     5 'norm      '    .24729E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    .10637E-01   1.0000          .0000       .10000E+07
     7 'Prefactor '    .45497       1.0000          .0000       .10000E+07
     8 'Prefactor '    6.2477       1.0000          .0000       .10000E+07
     9 'Prefactor '    .29462E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    8.1163       1.0000          .0000       .10000E+07
    11 'norm      '    .10293       1.0000          .0000       .10000E+07
    12 'Prefactor '    .82404       1.0000          .0000       .10000E+07
    13 'norm      '    .76773E-01   1.0000          .0000       .10000E+07
    14 'Prefactor '    .93626       1.0000          .0000       .10000E+07
    15 'Prefactor '    3.2949       1.0000          .0000       .10000E+07
    16 'Prefactor '    .99999E+06   1.0000          .0000       .10000E+07
    17 'Prefactor '    3.8027       1.0000          .0000       .10000E+07
    18 'norm      '    1.9789       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.7364       1.0000          .0000       .10000E+07
    20 'Prefactor '    .30579E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    .44706       1.0000          .0000       .10000E+07
    22 'norm      '    .14859       1.0000          .0000       .10000E+07
    23 'Prefactor '    7.1469       1.0000          .0000       .10000E+07
    24 'Prefactor '    .35895E-01   1.0000          .0000       .10000E+07
    25 'norm      '    .13545E-06   1.0000          .0000       .10000E+07
    26 'norm      '    6.7310       1.0000          .0000       .10000E+07
    27 'Prefactor '    1.0192       1.0000          .0000       .10000E+07
    28 'norm      '    .21731E-03   1.0000          .0000       .10000E+07
    29 'Prefactor '    .18988       1.0000          .0000       .10000E+07
    30 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    31 'Prefactor '    .26768E-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=   124.9515     FROM MIGRAD    STATUS=CONVERGED    260 CALLS     3698 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        5.3588        .41631E-06** at limit **
   2  Prefactor     .88818E-09    33.606       -.19703E-05** at limit **
   3  Prefactor      .0000        22.141       -.12171E-05** at limit **
   4  norm          16.403        43.148       -.82957E-05   -.32133E-02
   5  norm          .55511E-10    25.010        .35626E-06** at limit **
   6  Prefactor      .0000        52.614        .33434E-05** at limit **
   7  Prefactor     .55442E-05    506.54       -.80365E-05** at limit **
   8  Prefactor     .18832E-01    805.38       -.27016E-04** at limit **
   9  Prefactor     .77438E-07    100.46        .16099E-04** at limit **
  10  Prefactor     .10431E-01    941.35       -.44752E-04** at limit **
  11  norm           .0000        77.622        .37491E-06** at limit **
  12  Prefactor     .10660E-03    506.95       -.56567E-05** at limit **
  13  norm          .63242E-03    154.46       -.13163E-04** at limit **
  14  Prefactor     .24329E-03    481.96        .43120E-04** at limit **
  15  Prefactor     2.4123        26.001       -.10798E-04    .18347E-01
  16  Prefactor     .99999E+06    16.058        .48938E-05   -.34693E-01
  17  Prefactor     3.8778        1.8606        .83995E-06   -.17501E-02
  18  norm          1.9838        1.0424        .76366E-07   -.78294E-04
  19  Prefactor     2.7412        1.0236        .64633E-07   -.94958E-04
  20  Prefactor      .0000        9.5468       -.67274E-06** at limit **
  21  Prefactor     .14642        23.483       -.10097E-04** at limit **
  22  norm          .16653E-09    88.530        .54920E-05** at limit **
  23  Prefactor     7.1484        1.0031        .12667E-07   -.50088E-04
  24  Prefactor     .83267E-09    128.74       -.17855E-05** at limit **
  25  norm           .0000        2.5287       -.80762E-06** at limit **
  26  norm          6.7535        1.1058        .18905E-06   -.70396E-03
  27  Prefactor     .88818E-09    401.77       -.35797E-04** at limit **
  28  norm          .16653E-09    45.367        .24628E-05** at limit **
  29  Prefactor     .66613E-09    99.734       -.83777E-05** at limit **
  30  Normalizat    .10000E-01    .97593E-01    .49679E-04** at limit **
  31  Prefactor     .23159E-01    .36325        .29387E-03    .20705E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 8.88178e-10
  Prefactor  = 0
  norm       = 16.4027
  norm       = 5.55112e-11
  Prefactor  = 0
  Prefactor  = 5.54423e-06
  Prefactor  = 0.0188324
  Prefactor  = 7.74381e-08
  Prefactor  = 0.0104308
  norm       = 0
  Prefactor  = 0.000106596
  norm       = 0.000632421
  Prefactor  = 0.000243287
  Prefactor  = 2.41232
  Prefactor  = 999988
  Prefactor  = 3.87775
  norm       = 1.98384
  Prefactor  = 2.74125
  Prefactor  = 0
  Prefactor  = 0.146424
  norm       = 1.66533e-10
  Prefactor  = 7.14841
  Prefactor  = 8.32667e-10
  norm       = 0
  norm       = 6.75349
  Prefactor  = 8.88178e-10
  norm       = 1.66533e-10
  Prefactor  = 6.66134e-10
  Normalizat = 0.01
  Prefactor  = 0.0231589
 **********
 **   18 **HESSE 
 **********

 FCN=   124.9515     FROM HESSE     STATUS=OK           656 CALLS     4354 TOTAL
                     EDM=   .26E-03    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        5.3615        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .88818E-09    33.612        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        22.128        .13810E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          16.403        37.125        .25686E-03   -1.5627    
   5  norm          .55511E-10    24.985        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor      .0000        52.524        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .55442E-05    504.72        .83376E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .18832E-01    1770.8        .40137E-03   -1.5711    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .77438E-07    100.33        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10431E-01    1638.5        .35168E-03   -1.5706    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        77.603        .13851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10660E-03    527.62        .51160E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .63242E-03    3642.0        .14601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .24329E-03    490.36        .43285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.4123        33627.        .55752E-03   -1.5677    
  16  Prefactor     .99999E+06    38374.        .27859E-03    1.5638    
  17  Prefactor     3.8778        .22985E+06    .51738E-03   -1.5669    
  18  norm          1.9838        .16634E+06    .73655E-03   -1.5680    
  19  Prefactor     2.7412        .16644E+06    .61526E-03   -1.5675    
  20  Prefactor      .0000        9.5425        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .14642        24902.        .84225E-03   -1.5700    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .16653E-09    88.481        .12773E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     7.1484        .16433E+06    .37499E-03   -1.5654    
  24  Prefactor     .83267E-09    128.61        .16154E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm           .0000        2.5270        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          6.7535        .17914E+06    .38652E-03   -1.5656    
  27  Prefactor     .88818E-09    400.83        .12825E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .16653E-09    45.328        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .66613E-09    99.620        .11959E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .10000E-01    .91949E-01    .48912E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  31  Prefactor     .23159E-01    .22781        .76056E-01   -1.6671    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 0.000258207
Minuit parameter uncertainties:
  1  3.41033e-06
  2  0.000342738
  3  3.72983e-05
  4  37.1258
  5  7.52431e-05
  6  2.00177e-05
  7  0.105807
  8  11.553
  9  0.00557459
  10  8.27041
  11  2.865e-05
  12  0.474352
  13  3.03714
  14  0.69085
  15  572.87
  16  1371.85
  17  1969.2
  18  1183.4
  19  1391.52
  20  1.79211e-05
  21  121.274
  22  0.000222571
  23  2231.91
  24  0.000645434
  25  3.96845e-06
  26  2271.45
  27  0.00120485
  28  0.000182462
  29  0.000517482
  30  7.39761e-08
  31  0.146
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  2.412e+00  5.729e+02  0.000e+00  1.000e+06 ( 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:  2.316e-02  1.460e-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.000e-02  7.398e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 142.327 50.235
Photon Flux Upper Limit: 6.76e-04 ph cm-2 s-1
Energy Flux Upper Limit: 5.12e+01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/678794/likelihoodResults_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.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) = 124.951491968
delta logL = 2.33995933741e-10

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 124.951463501
delta logL = 2.84671457393e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14658E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.5434       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .23156E-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=   124.9515     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      271 TOTAL
                     EDM=   .61E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19540E-07    342.99        .84235E-03** at limit **
   2  Index         2.8870        8.5090        .50000        .46185E-11
   3  Normalizat    .10000E-01    .42697E-05    .10786E-02** at limit **
   4  Prefactor     .23163E-01    .97992E-03    .32963E-03    .67813E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.95399e-08
  Index      = 2.88698
  Normalizat = 0.01
  Prefactor  = 0.0231629
 **********
 **   18 **HESSE 
 **********

 FCN=   124.9515     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      300 TOTAL
                     EDM=   .31E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19540E-07    1718.5        .16847E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.8870        6.9497        .50000       -.43632    
   3  Normalizat    .10000E-01    .21407E-04    .21572E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .23163E-01    .21941E-02    .13185E-04   -1.4745    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.07361e-13
Minuit parameter uncertainties:
  1  0.0115997
  2  88905.7
  3  4.88737e-10
  4  0.00219414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/678794': 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) = 124.951463473
delta logL = 2.84954067666e-05

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  1.954e-08  1.160e-02  0.000e+00  1.000e+06 ( 1.000e-13)
367        Index:  2.887e+00  8.891e+04  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:  2.316e-02  2.194e-03  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.000e-02  4.887e-10  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/678794/cmap_HighResolution_699148801_699408001_4FGL_J0929.3+5014_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e+01', job_status='DONE', photon_flux_upper_limit='6.76e-04', time_completed='2023-03-02 00:39:47.080246', job_id='678794', GAL2='0.02', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1677746387.08', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.02', dlogl='2.85e-05', ts2='-0.00', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1774' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:39:47 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0195>
Subject: Job 678794: <4FGL_J0929.3+5014_daily_bin1774> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1774> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Mar  2 00:30:17 2023
Job was executed on host(s) <bullet0195>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:30:18 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:30:18 2023
Terminated at Thu Mar  2 00:39:47 2023
Results reported at Thu Mar  2 00:39:47 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1774 142.327 50.2352 699148801 699408001 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 :                                   354.34 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             230.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   569 sec.
    Turnaround time :                            570 sec.

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

