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


Performing analysis on: 4FGL_J0929.3+5014_daily_bin1754
RA = 142.327, Dec = 50.2352
tmin = 693964801, tmax = 694224001
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='639355', job_status='RUN', time_executed='2023-01-01 00:58:26.002233', time_epoch_executed='1672563506.0' WHERE source_name='4FGL J0929.3+5014' and cadence='daily' and bin_id='1754'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/639355

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/639355/ft1_4FGL_J0929.3+5014_daily_bin1754.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/639355/ft2_4FGL_J0929.3+5014_daily_bin1754.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/639355/ft1_4FGL_J0929.3+5014_daily_bin1754.fits outfile=/scratch/kocevski/639355/ft1_filteredMKT_4FGL_J0929.3+5014_daily_bin1754.fits ra=142.327 dec=50.2352 rad=12.0 tmin=693964801.0 tmax=694224001.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.94
user 3.68
sys 0.23

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

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

Number of photons that the gtmktime cut: 249

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/639355/ft1_filtered_4FGL_J0929.3+5014_daily_bin1754.fits evtable="EVENTS" scfile=/scratch/kocevski/639355/ft2_4FGL_J0929.3+5014_daily_bin1754.fits sctable="SC_DATA" expcube=/scratch/kocevski/639355/ltcube_693964801_694224001_4FGL_J0929.3+5014_daily_bin1754.fits outfile=/scratch/kocevski/639355/expmap_693964801_694224001_4FGL_J0929.3+5014_daily_bin1754.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/639355/ltcube_693964801_694224001_4FGL_J0929.3+5014_daily_bin1754.fits
.....................!
real 191.62
user 185.74
sys 5.35

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/639355/ft1_filtered_4FGL_J0929.3+5014_daily_bin1754.fits scfile=/scratch/kocevski/639355/ft2_4FGL_J0929.3+5014_daily_bin1754.fits outfile=/scratch/kocevski/639355/cmap_693964801_694224001_4FGL_J0929.3+5014_daily_bin1754.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.62
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/639355/ft1_filtered_4FGL_J0929.3+5014_daily_bin1754.fits scfile=/scratch/kocevski/639355/ft2_4FGL_J0929.3+5014_daily_bin1754.fits outfile=/scratch/kocevski/639355/cmap_HighResolution_693964801_694224001_4FGL_J0929.3+5014_daily_bin1754.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.39
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    30.316       1.0000          .0000       .10000E+07
     2 'Prefactor '    19.792       1.0000          .0000       .10000E+07
     3 'Prefactor '    7.8593       1.0000          .0000       .10000E+07
     4 'norm      '    .15547E-04   1.0000          .0000       .10000E+07
     5 'norm      '    .15664E-03   1.0000          .0000       .10000E+07
     6 'Prefactor '    7.2388       1.0000          .0000       .10000E+07
     7 'Prefactor '    6.1427       1.0000          .0000       .10000E+07
     8 'Prefactor '    .15769       1.0000          .0000       .10000E+07
     9 'Prefactor '    .13107       1.0000          .0000       .10000E+07
    10 'Prefactor '    .22832E-05   1.0000          .0000       .10000E+07
    11 'norm      '    .34589E-06   1.0000          .0000       .10000E+07
    12 'Prefactor '    8.6438       1.0000          .0000       .10000E+07
    13 'norm      '    4.5059       1.0000          .0000       .10000E+07
    14 'Prefactor '    .94804       1.0000          .0000       .10000E+07
    15 'Prefactor '    6.9049       1.0000          .0000       .10000E+07
    16 'Prefactor '    .47606E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.5503       1.0000          .0000       .10000E+07
    18 'norm      '    .10825E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    18.826       1.0000          .0000       .10000E+07
    20 'Prefactor '    .41518E-02   1.0000          .0000       .10000E+07
    21 'Prefactor '    20.927       1.0000          .0000       .10000E+07
    22 'norm      '    .67272E-02   1.0000          .0000       .10000E+07
    23 'Prefactor '    23.130       1.0000          .0000       .10000E+07
    24 'Prefactor '    .34144E-02   1.0000          .0000       .10000E+07
    25 'norm      '    1.8453       1.0000          .0000       .10000E+07
    26 'norm      '    .18554E-02   1.0000          .0000       .10000E+07
    27 'Prefactor '    .95943E-04   1.0000          .0000       .10000E+07
    28 'norm      '    4.0794       1.0000          .0000       .10000E+07
    29 'Prefactor '    .74926E-04   1.0000          .0000       .10000E+07
    30 'Normalizat'    .55024       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.1111       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=   2680.478     FROM MIGRAD    STATUS=CONVERGED    215 CALLS     3082 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     30.296        1.3135        .97830E-09   -.14723E-01
   2  Prefactor     19.812        17.461        .37677E-08   -.27729E-01
   3  Prefactor     7.8661        8.4323       -.19710E-07    .96494E-03
   4  norm           .0000        2.3184       -.12941E-06** at limit **
   5  norm           .0000        2.2572       -.28361E-07** at limit **
   6  Prefactor     7.2279        1.4477       -.99840E-09   -.53559E-03
   7  Prefactor     6.2134        20.550        .60759E-07   -.96687E-02
   8  Prefactor      .0000        23.914       -.17426E-06** at limit **
   9  Prefactor     .22204E-08    63.371       -.40970E-06** at limit **
  10  Prefactor     .26923E-07    4.7577        .14738E-06** at limit **
  11  norm           .0000        .46115       -.15476E-07** at limit **
  12  Prefactor     8.7019        5.0329       -.64546E-07    .75361E-04
  13  norm          4.5032        10.651        .28857E-07    .29062E-02
  14  Prefactor     .96795        2.8926       -.49282E-07   -.72895E-03
  15  Prefactor     6.8800        7.7597       -.22464E-07   -.24533E-02
  16  Prefactor      .0000        3.4066       -.16734E-07** at limit **
  17  Prefactor     7.6369        21.984        .53934E-07    .24127E-02
  18  norm          .16431E-07    4.7386        .14877E-06** at limit **
  19  Prefactor     17.066        49.175        .23487E-07    .15220E-02
  20  Prefactor     .29127E-06    5.5824        .13305E-06** at limit **
  21  Prefactor     20.912        4.0088       -.11407E-07   -.44873E-02
  22  norm          .14155E-07    7.3109       -.40157E-07** at limit **
  23  Prefactor     26.622        92.160       -.38806E-07    .11678E-02
  24  Prefactor     .38858E-08    11.384       -.18448E-06** at limit **
  25  norm          1.8462        .87907       -.22281E-07    .68201E-03
  26  norm          .36487E-06    5.0898        .20460E-06** at limit **
  27  Prefactor      .0000        3.5376       -.10932E-06** at limit **
  28  norm          4.0805        3.0199        .64898E-07   -.33809E-03
  29  Prefactor      .0000        62.079       -.28466E-06** at limit **
  30  Normalizat    .54937        .26182        .29628E-05   -.48304E-05
  31  Prefactor     1.1118        .28741       -.19862E-05   -.36396E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 30.296
  Prefactor  = 19.8124
  Prefactor  = 7.86609
  norm       = 0
  norm       = 0
  Prefactor  = 7.22786
  Prefactor  = 6.21337
  Prefactor  = 0
  Prefactor  = 2.22045e-09
  Prefactor  = 2.69229e-08
  norm       = 0
  Prefactor  = 8.7019
  norm       = 4.50316
  Prefactor  = 0.967945
  Prefactor  = 6.88
  Prefactor  = 0
  Prefactor  = 7.63694
  norm       = 1.64313e-08
  Prefactor  = 17.0656
  Prefactor  = 2.91267e-07
  Prefactor  = 20.9119
  norm       = 1.41553e-08
  Prefactor  = 26.6222
  Prefactor  = 3.88578e-09
  norm       = 1.84622
  norm       = 3.64875e-07
  Prefactor  = 0
  norm       = 4.0805
  Prefactor  = 0
  Normalizat = 0.549373
  Prefactor  = 1.11177
 **********
 **   18 **HESSE 
 **********

 FCN=   2680.478     FROM HESSE     STATUS=OK           692 CALLS     3774 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     30.296        12.330        .18165E-03   -1.5598    
   2  Prefactor     19.812        19.016        .22485E-03   -1.5619    
   3  Prefactor     7.8661        8.5315        .35743E-03   -1.5652    
   4  norm           .0000        2.3216        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        2.2587        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     7.2279        13.584        .37257E-03   -1.5654    
   7  Prefactor     6.2134        43.154        .40483E-03   -1.5658    
   8  Prefactor      .0000        23.896        .12583E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .22204E-08    3.2801        .76001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .26923E-07    9.8610        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm           .0000        .46180        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     8.7019        5.1226        .34071E-03   -1.5649    
  13  norm          4.5032        11.146        .47406E-03   -1.5666    
  14  Prefactor     .96795        3.0566        .42494E-03   -1.5688    
  15  Prefactor     6.8800        18.024        .38157E-03   -1.5656    
  16  Prefactor      .0000        3.4047        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.6369        30.282        .36474E-03   -1.5653    
  18  norm          .16431E-07    9.8263        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     17.066        61.185        .23056E-03   -1.5625    
  20  Prefactor     .29127E-06    8.3822        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     20.912        12.442        .21866E-03   -1.5617    
  22  norm          .14155E-07    7.4618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     26.622        94.713        .20798E-03   -1.5605    
  24  Prefactor     .38858E-08    11.411        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  norm          1.8462        .87943        .73216E-03   -1.5681    
  26  norm          .36487E-06    8.6968        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor      .0000        3.5354        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          4.0805        3.0192        .49893E-03   -1.5668    
  29  Prefactor      .0000        62.448        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .54937        .25586        .64447E-01   -1.1018    
  31  Prefactor     1.1118        .26345        .37180E-01   -.89091    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17962e-07
Minuit parameter uncertainties:
  1  12.3301
  2  19.0157
  3  8.53149
  4  5.87573e-06
  5  3.1744e-06
  6  13.5839
  7  32.75
  8  1.67617e-05
  9  0.000171529
  10  0.00103001
  11  3.48033e-07
  12  5.12265
  13  11.1464
  14  3.05665
  15  18.0245
  16  1.33e-05
  17  30.2827
  18  0.000803715
  19  61.1871
  20  0.00312502
  21  12.442
  22  0.000650326
  23  94.7187
  24  0.000422344
  25  0.879433
  26  0.00356271
  27  1.52767e-05
  28  3.01916
  29  7.35113e-05
  30  0.256414
  31  0.26376
Done.

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

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  6.880e+00  1.802e+01  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:  1.112e+00  2.638e-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.494e-01  2.564e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/639355/likelihoodResults_693964801_694224001_4FGL_J0929.3+5014_daily_bin1754.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) = 2679.88832106
delta logL = 0.589556415698

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2679.78869916
delta logL = 0.689178322755

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .36905E-01   1.0000          .0000       .10000E+07
     2 'Index     '    5.1439       1.0000          .0000       10.000    
     3 'Normalizat'    .45296       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1869       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=   2679.789     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      282 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .36456E-01    .70973        .16106E-03** at limit **
   2  Index         5.1488        2.8872        .79174E-01    .97306E-04
   3  Normalizat    .45282        .65998E-01    .70376E-01    .19006E-04
   4  Prefactor     1.1872        .75504E-01    .51593E-01    .10836E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0364555
  Index      = 5.14875
  Normalizat = 0.452823
  Prefactor  = 1.18724
 **********
 **   18 **HESSE 
 **********

 FCN=   2679.789     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      315 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .36456E-01    1.4319        .85035E-06   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.1488        7.1449        .31071E-02    .29755E-01
   3  Normalizat    .45282        .22637        .31156E-03   -1.1465    
   4  Prefactor     1.1872        .25441        .22808E-03   -.86725    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.64409e-10
Minuit parameter uncertainties:
  1  0.456943
  2  5.02617
  3  0.226829
  4  0.254669
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/639355': 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) = 2679.78869665
delta logL = 0.689180830821

Extracting fit parameters...

4FGL J0929.3+5014
   Spectrum: PowerLaw
366    Prefactor:  3.646e-02  4.569e-01  0.000e+00  1.000e+06 ( 1.000e-13)
367        Index:  5.149e+00  5.026e+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:  1.187e+00  2.547e-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:  4.528e-01  2.268e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.75
Ra Dec: 142.327 50.235
Photon Index (Free Index): 5.15 +/- 5.03
Photon Flux (Free Index): 9.20e-08 +/- 8.35e-08
Energy Flux (Free Index): 1.21e-05 +/- 1.28e-05

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/639355/cmap_HighResolution_693964801_694224001_4FGL_J0929.3+5014_daily_bin1754.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.05e-02', comment='SUCCESS', energy_flux2='1.21e-05', dlogl='6.89e-01', photon_flux2='9.20e-08', job_status='DONE', time_completed='2023-01-01 01:08:14.638932', photon_index_error2='5.03', photon_index2='5.15', ts='0.21', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.38e-07', energy_flux_error2='1.28e-05', EG='0.55', time_epoch_completed='1672564094.64', return_code='0', job_id='639355', GAL2='1.19', EG2='0.45', return_code2='102', photon_flux_error2='8.35e-08', ts2='1.75', photon_index='2.13' WHERE bin_id='1754' AND source_name='4FGL J0929.3+5014' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan  1 01:08:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0025>
Subject: Job 639355: <4FGL_J0929.3+5014_daily_bin1754> in cluster <slac> Done

Job <4FGL_J0929.3+5014_daily_bin1754> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Jan  1 00:55:22 2023
Job was executed on host(s) <bullet0025>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan  1 00:57:22 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan  1 00:57:22 2023
Terminated at Sun Jan  1 01:08:15 2023
Results reported at Sun Jan  1 01:08:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0929.3+5014_daily_bin1754 142.327 50.2352 693964801 694224001 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 :                                   588.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             319.87 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            773 sec.

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

