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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1766
RA = 142.327, Dec = 50.2352
tmin = 697075201, tmax = 697334401
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='849256', job_status='RUN', time_executed='2023-02-06 00:50:44.748094', time_epoch_executed='1675673444.75' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1766'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/849256

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/849256/ft1_4FGL_J0929.3+5014_daily_bin1766.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/849256/ft2_4FGL_J0929.3+5014_daily_bin1766.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/849256/ft1_4FGL_J0929.3+5014_daily_bin1766.fits outfile=/scratch/kocevski/849256/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1766.fits ra=142.327 dec=50.2352 rad=12.0 tmin=697075201.0 tmax=697334401.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.81
user 3.54
sys 0.21

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

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

Number of photons that the gtmktime cut: 626

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/849256/ft1_filtered_4FGL_J0929.3+5014_daily_bin1766.fits" evtable="EVENTS" scfile=/scratch/kocevski/849256/ft2_4FGL_J0929.3+5014_daily_bin1766.fits sctable="SC_DATA" outfile=/scratch/kocevski/849256/ltcube_697075201_697334401_4FGL_J0929.3+5014_daily_bin1766.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/849256/ft2_4FGL_J0929.3+5014_daily_bin1766.fits
.....................!
real 17.12
user 16.52
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/849256/ft1_filtered_4FGL_J0929.3+5014_daily_bin1766.fits evtable="EVENTS" scfile=/scratch/kocevski/849256/ft2_4FGL_J0929.3+5014_daily_bin1766.fits sctable="SC_DATA" expcube=/scratch/kocevski/849256/ltcube_697075201_697334401_4FGL_J0929.3+5014_daily_bin1766.fits outfile=/scratch/kocevski/849256/expmap_697075201_697334401_4FGL_J0929.3+5014_daily_bin1766.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/849256/ltcube_697075201_697334401_4FGL_J0929.3+5014_daily_bin1766.fits
.....................!
real 195.46
user 187.74
sys 5.25

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/849256/ft1_filtered_4FGL_J0929.3+5014_daily_bin1766.fits scfile=/scratch/kocevski/849256/ft2_4FGL_J0929.3+5014_daily_bin1766.fits outfile=/scratch/kocevski/849256/cmap_697075201_697334401_4FGL_J0929.3+5014_daily_bin1766.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.57
user 0.39
sys 0.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.5219       1.0000          .0000       .10000E+07
     2 'Prefactor '    .49721E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .19207E-07   1.0000          .0000       .10000E+07
     4 'norm      '    .21145E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .21530E-04   1.0000          .0000       .10000E+07
     6 'Prefactor '    16.029       1.0000          .0000       .10000E+07
     7 'Prefactor '    .58036E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    15.152       1.0000          .0000       .10000E+07
     9 'Prefactor '    10.910       1.0000          .0000       .10000E+07
    10 'Prefactor '    .18166E-02   1.0000          .0000       .10000E+07
    11 'norm      '    .20167       1.0000          .0000       .10000E+07
    12 'Prefactor '    .51914E-06   1.0000          .0000       .10000E+07
    13 'norm      '    .11348E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    1.7361       1.0000          .0000       .10000E+07
    15 'Prefactor '    .13807E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .55511E-09   1.0000          .0000       .10000E+07
    17 'Prefactor '    .22131E-02   1.0000          .0000       .10000E+07
    18 'norm      '    9.4713       1.0000          .0000       .10000E+07
    19 'Prefactor '    .18966E-01   1.0000          .0000       .10000E+07
    20 'Prefactor '    .70440E-04   1.0000          .0000       .10000E+07
    21 'Prefactor '    .33568E-06   1.0000          .0000       .10000E+07
    22 'norm      '    10.095       1.0000          .0000       .10000E+07
    23 'Prefactor '    .34126       1.0000          .0000       .10000E+07
    24 'Prefactor '    .14672E-03   1.0000          .0000       .10000E+07
    25 'norm      '    1.5885       1.0000          .0000       .10000E+07
    26 'norm      '    21.401       1.0000          .0000       .10000E+07
    27 'Prefactor '    8.7531       1.0000          .0000       .10000E+07
    28 'norm      '    .51625E-07   1.0000          .0000       .10000E+07
    29 'Prefactor '    22.683       1.0000          .0000       .10000E+07
    30 'Normalizat'    1.2984       1.0000         .10000E-01   10.000    
    31 'Prefactor '    .76841       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=   6828.324     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     1740 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.5206        3.7061       -.85288E-07   -.22489E-02
   2  Prefactor     .12557E-06    28.185       -.51334E-07** at limit **
   3  Prefactor      .0000        1.8999        .12690E-07** at limit **
   4  norm           .0000        2.2562        .31738E-07** at limit **
   5  norm          .55511E-10    2.1599       -.11874E-07** at limit **
   6  Prefactor     16.036        2.2927        .22812E-07   -.85827E-02
   7  Prefactor     .12421E-03    11.997        .87518E-07** at limit **
   8  Prefactor     14.000        9.5300        .11999E-06   -.81421E-01
   9  Prefactor     10.928        4.8493        .78830E-08   -.17628E-03
  10  Prefactor     .23672E-05    8.5407       -.11879E-06** at limit **
  11  norm          .20150        .22689       -.28669E-09** at limit **
  12  Prefactor      .0000        1.2845        .13478E-06** at limit **
  13  norm          .83267E-09    4.4467       -.86167E-07** at limit **
  14  Prefactor     1.7368        1.7102       -.22906E-07   -.18636E-02
  15  Prefactor     .75495E-08    10.253        .40853E-07** at limit **
  16  Prefactor      .0000        .85444        .88633E-08** at limit **
  17  Prefactor     .17709E-05    66.748        .51586E-06** at limit **
  18  norm          9.5907        1.3106       -.47886E-08    .10726E-01
  19  Prefactor     .11990E-07    34.596        .24001E-06** at limit **
  20  Prefactor     .11102E-09    5.8116       -.10456E-06** at limit **
  21  Prefactor     .65825E-06    11.400       -.27995E-06** at limit **
  22  norm          10.160        9.2868       -.11026E-06   -.45311E-01
  23  Prefactor     .89390E-06    12.363       -.26977E-06** at limit **
  24  Prefactor     .69172E-06    12.758        .81577E-08** at limit **
  25  norm          1.5889        .56117        .32681E-08    .29033E-03
  26  norm          21.426        1.7321        .12604E-07   -.18570E-01
  27  Prefactor     8.7672        5.7515       -.28726E-07   -.14862E-02
  28  norm          .71609E-08    5.0561        .11942E-06** at limit **
  29  Prefactor     22.463        3.7377        .37737E-07   -.35496E-01
  30  Normalizat    1.2987        .18887       -.20699E-05   -.14188E-03
  31  Prefactor     .76846        .19598        .20017E-05   -.47733E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.52065
  Prefactor  = 1.25566e-07
  Prefactor  = 0
  norm       = 0
  norm       = 5.55112e-11
  Prefactor  = 16.0361
  Prefactor  = 0.000124207
  Prefactor  = 13.9998
  Prefactor  = 10.9278
  Prefactor  = 2.36722e-06
  norm       = 0.201498
  Prefactor  = 0
  norm       = 8.32667e-10
  Prefactor  = 1.73684
  Prefactor  = 7.54952e-09
  Prefactor  = 0
  Prefactor  = 1.77092e-06
  norm       = 9.59067
  Prefactor  = 1.19904e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 6.58251e-07
  norm       = 10.1596
  Prefactor  = 8.93896e-07
  Prefactor  = 6.91724e-07
  norm       = 1.5889
  norm       = 21.4258
  Prefactor  = 8.76717
  norm       = 7.16094e-09
  Prefactor  = 22.4633
  Normalizat = 1.29867
  Prefactor  = 0.768463
 **********
 **   18 **HESSE 
 **********

 FCN=   6828.324     FROM HESSE     STATUS=OK           692 CALLS     2432 TOTAL
                     EDM=   .86E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.5206        3.7271        .64302E-03   -1.5676    
   2  Prefactor     .12557E-06    29.568        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.8994        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        2.2539        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .55511E-10    2.1598        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     16.036        11.006        .24990E-03   -1.5628    
   7  Prefactor     .12421E-03    11.153        .15234E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     14.000        31.779        .25704E-03   -1.5633    
   9  Prefactor     10.928        4.8944        .30307E-03   -1.5642    
  10  Prefactor     .23672E-05    16.452        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .20150        .25346        .92034E-03   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor      .0000        1.2810        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .83267E-09    4.4663        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     1.7368        1.7089        .79616E-03   -1.5682    
  15  Prefactor     .75495E-08    10.256        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .86063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .17709E-05    69.922        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          9.5907        14.560        .32539E-03   -1.5646    
  19  Prefactor     .11990E-07    33.900        .17106E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .11102E-09    5.7964        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .65825E-06    22.147        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          10.160        9.6385        .31512E-03   -1.5644    
  23  Prefactor     .89390E-06    108.72        .96634E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .69172E-06    14.432        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.5889        .56677        .80241E-03   -1.5683    
  26  norm          21.426        11.979        .21622E-03   -1.5615    
  27  Prefactor     8.7672        5.7603        .33856E-03   -1.5649    
  28  norm          .71609E-08    .96324        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     22.463        30.798        .21002E-03   -1.5613    
  30  Normalizat    1.2987        .16665        .51452E-01   -.83606    
  31  Prefactor     .76846        .17059        .69114E-01   -1.0090    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.55995e-07
Minuit parameter uncertainties:
  1  3.72714
  2  0.00385334
  3  1.18153e-05
  4  1.34208e-05
  5  2.38807e-05
  6  11.0061
  7  0.0744402
  8  31.7794
  9  4.89444
  10  0.0124814
  11  0.253458
  12  7.4529e-06
  13  0.000122257
  14  1.7089
  15  0.000555721
  16  4.62601e-06
  17  0.0222556
  18  14.56
  19  0.00127424
  20  4.78172e-05
  21  0.00763645
  22  9.63848
  23  0.0197166
  24  0.00631925
  25  0.566767
  26  11.9794
  27  5.7603
  28  0.000165833
  29  30.7979
  30  0.166716
  31  0.17071
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  7.550e-09  5.557e-04  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:  7.685e-01  1.707e-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.299e+00  1.667e-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: 4.86e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.68e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/849256/likelihoodResults_697075201_697334401_4FGL_J0929.3+5014_daily_bin1766.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) = 6828.37765379
delta logL = -0.0540588745371

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6828.25984305
delta logL = 0.0637518715866

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .92352E-01   1.0000          .0000       .10000E+07
     2 'Index     '    4.0450       1.0000          .0000       10.000    
     3 'Normalizat'    1.2781       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .78072       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.

 FCN=   6828.260     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      249 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .91758E-01    1.6216        .14139E-02** at limit **
   2  Index         4.0484        1.7666        .20536        .68457E-04
   3  Normalizat    1.2780        .15883E-01    .51815E-01   -.18856E-03
   4  Prefactor     .78108        .16984E-01    .68619E-01   -.95015E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0917582
  Index      = 4.0484
  Normalizat = 1.27801
  Prefactor  = 0.78108
 **********
 **   18 **HESSE 
 **********

 FCN=   6828.260     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      282 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .91758E-01    33.491        .55384E-04   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         4.0484        6.2703        .80059E-02   -.19149    
   3  Normalizat    1.2780        .11420        .22909E-03   -.84225    
   4  Prefactor     .78108        .12012        .30361E-03   -1.0043    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.7398e-10
Minuit parameter uncertainties:
  1  3.50608
  2  16.0685
  3  0.11422
  4  0.120162
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/849256': 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) = 6828.25983853
delta logL = 0.0637563840965

Extracting fit parameters...

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

GAL_V02
   Spectrum: PowerLaw
714    Prefactor:  7.811e-01  1.202e-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.278e+00  1.142e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/849256/cmap_HighResolution_697075201_697334401_4FGL_J0929.3+5014_daily_bin1766.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.68e-03', job_status='DONE', photon_flux_upper_limit='4.86e-08', time_completed='2023-02-06 01:04:21.872840', job_id='849256', GAL2='0.78', fit_tolerance='1e-08', EG2='1.28', EG='1.30', time_epoch_completed='1675674261.87', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.77', dlogl='6.38e-02', ts2='0.14', photon_index_error='0.00', photon_index='2.13' WHERE bin_id='1766' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Feb  6 01:04:21 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0210>
Subject: Job 849256: <4FGL_J0929.3+5014_daily_bin1766> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1766> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Mon Feb  6 00:50:12 2023
Job was executed on host(s) <bullet0210>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Feb  6 00:50:34 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Feb  6 00:50:34 2023
Terminated at Mon Feb  6 01:04:22 2023
Results reported at Mon Feb  6 01:04:22 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1766 142.327 50.2352 697075201 697334401 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 :                                   810.26 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             352.15 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   828 sec.
    Turnaround time :                            850 sec.

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

