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


Performing analysis on: 4FGL_J0949.0+4038_daily_bin1709
RA = 147.262, Dec = 40.6367
tmin = 682300801, tmax = 682560001
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='86135', job_status='RUN', time_executed='2022-09-16 15:00:47.685112', time_epoch_executed='1663365647.69' WHERE source_name='4FGL J0949.0+4038' and cadence='daily' and bin_id='1709'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/86135

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/86135/ft1_4FGL_J0949.0+4038_daily_bin1709.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/86135/ft1_4FGL_J0949.0+4038_daily_bin1709.fits outfile=/scratch/kocevski/86135/ft1_filteredMKT_4FGL_J0949.0+4038_daily_bin1709.fits ra=147.262 dec=40.6367 rad=12.0 tmin=682300801.0 tmax=682560001.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.50
sys 0.24

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.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/86135/ft1_filteredMKT_4FGL_J0949.0+4038_daily_bin1709.fits evtable="EVENTS" outfile="/scratch/kocevski/86135/ft1_filtered_4FGL_J0949.0+4038_daily_bin1709.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 524

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/86135/ft1_filtered_4FGL_J0949.0+4038_daily_bin1709.fits" evtable="EVENTS" scfile=/scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits sctable="SC_DATA" outfile=/scratch/kocevski/86135/ltcube_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.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/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits
.....................!
real 14.10
user 13.60
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/86135/ft1_filtered_4FGL_J0949.0+4038_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits sctable="SC_DATA" expcube=/scratch/kocevski/86135/ltcube_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.fits outfile=/scratch/kocevski/86135/expmap_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.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/86135/ltcube_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.fits
.....................!
real 192.99
user 186.82
sys 4.87

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 210 point sources and 0 extended sources

Setting source of interest to:
4FGL J0949.0+4038 @ 147.262 40.6367

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/86135/ft1_filtered_4FGL_J0949.0+4038_daily_bin1709.fits scfile=/scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits outfile=/scratch/kocevski/86135/cmap_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.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=147.262 yref=40.6367 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/86135/ft1_filtered_4FGL_J0949.0+4038_daily_bin1709.fits scfile=/scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits outfile=/scratch/kocevski/86135/cmap_HighResolution_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.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=147.262 yref=40.6367 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.56
user 0.39
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/86135/ft1_filtered_4FGL_J0949.0+4038_daily_bin1709.fits evtable="EVENTS" scfile=/scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/86135/Model_4FGL_J0949.0+4038_daily_bin1709.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/86135/ft1_filtered_4FGL_J0949.0+4038_daily_bin1709.fits.....................!
real 50.14
user 48.66
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/86135/ft1_filtered_4FGL_J0949.0+4038_daily_bin1709.fits', '/scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits', expMap='/scratch/kocevski/86135/expmap_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.fits', expCube='/scratch/kocevski/86135/ltcube_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/86135/Model_4FGL_J0949.0+4038_daily_bin1709.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0949.0+4038'

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  7.192e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/86135/ft1_filtered_4FGL_J0949.0+4038_daily_bin1709.fits
Spacecraft file(s): /scratch/kocevski/86135/ft2_4FGL_J0949.0+4038_daily_bin1709.fits
Exposure map: /scratch/kocevski/86135/expmap_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.fits
Exposure cube: /scratch/kocevski/86135/ltcube_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/86135/Model_4FGL_J0949.0+4038_daily_bin1709.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) = 5833.13810465

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.8678       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6427       1.0000          .0000       .10000E+07
     3 'Prefactor '    11.227       1.0000          .0000       .10000E+07
     4 'norm      '    .24186       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18795E-05   1.0000          .0000       .10000E+07
     6 'norm      '    9.5589       1.0000          .0000       .10000E+07
     7 'Prefactor '    1.6073       1.0000          .0000       .10000E+07
     8 'Prefactor '    17.107       1.0000          .0000       .10000E+07
     9 'Prefactor '    2.9591       1.0000          .0000       .10000E+07
    10 'norm      '    .62634E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    37.251       1.0000          .0000       .10000E+07
    12 'Prefactor '    .94830E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    16.248       1.0000          .0000       .10000E+07
    14 'Prefactor '    7.5234       1.0000          .0000       .10000E+07
    15 'norm      '    .61804E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .98255E-07   1.0000          .0000       .10000E+07
    17 'Prefactor '    .34617E-06   1.0000          .0000       .10000E+07
    18 'Prefactor '    6.9759       1.0000          .0000       .10000E+07
    19 'norm      '    7.9020       1.0000          .0000       .10000E+07
    20 'Prefactor '    1.9510       1.0000          .0000       .10000E+07
    21 'norm      '    3.4221       1.0000          .0000       .10000E+07
    22 'Prefactor '    .34242E-03   1.0000          .0000       .10000E+07
    23 'Prefactor '    1.3943       1.0000          .0000       .10000E+07
    24 'Normalizat'    .66677       1.0000         .10000E-01   10.000    
    25 'Prefactor '    1.3864       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5833.019     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     2107 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.9100        1.0952        .14939E-07   -.10362E-02
   2  Prefactor     1.6543        3.3259        .85979E-07   -.19575E-03
   3  Prefactor     11.219        2.2777        .21946E-07   -.34850E-02
   4  norm          .24198        .23863       -.37303E-08** at limit **
   5  Prefactor      .0000        .76397        .16616E-06** at limit **
   6  norm          9.3733        7.2002       -.18726E-07   -.18819E-02
   7  Prefactor     1.6140        2.8039       -.67544E-07   -.20521E-03
   8  Prefactor     16.896        9.8402        .58879E-07    .23576E-02
   9  Prefactor     3.1505        23.084        .95063E-06    .11383E-01
  10  norm          .63172E-07    21.035        .86661E-06** at limit **
  11  Prefactor     37.107        8.2683       -.15632E-06    .74959E-01
  12  Prefactor     .11102E-08    9.5895       -.44129E-06** at limit **
  13  Prefactor     16.757        24.854        .34389E-06   -.11064E-01
  14  Prefactor     7.6074        6.4759       -.20189E-07   -.44468E-02
  15  norm          .17769E-06    20.510        .11934E-05** at limit **
  16  Prefactor      .0000        2.0676       -.35941E-06** at limit **
  17  Prefactor      .0000        1.3750        .11432E-06** at limit **
  18  Prefactor     6.9608        4.0353       -.65116E-08    .30987E-03
  19  norm          7.9168        3.1489        .46678E-07   -.12713E-02
  20  Prefactor     1.9464        3.1388        .67118E-07   -.46724E-03
  21  norm          3.2568        8.8168       -.30356E-06   -.73706E-03
  22  Prefactor     .44409E-09    11.829        .24377E-06** at limit **
  23  Prefactor     1.4416        4.4272        .33624E-06    .48535E-03
  24  Normalizat    .66663        .20357        .34846E-05   -.86689E-05
  25  Prefactor     1.3867        .24728       -.90970E-05    .20954E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.91002
  Prefactor  = 1.65428
  Prefactor  = 11.2187
  norm       = 0.241976
  Prefactor  = 0
  norm       = 9.37328
  Prefactor  = 1.61402
  Prefactor  = 16.8963
  Prefactor  = 3.15049
  norm       = 6.31717e-08
  Prefactor  = 37.1074
  Prefactor  = 1.11022e-09
  Prefactor  = 16.7572
  Prefactor  = 7.60738
  norm       = 1.77691e-07
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 6.96079
  norm       = 7.91682
  Prefactor  = 1.94641
  norm       = 3.25682
  Prefactor  = 4.44089e-10
  Prefactor  = 1.44161
  Normalizat = 0.666634
  Prefactor  = 1.38666
 **********
 **   18 **HESSE 
 **********

 FCN=   5833.019     FROM HESSE     STATUS=OK           487 CALLS     2594 TOTAL
                     EDM=   .21E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.9100        42.818        .51285E-03   -1.5668    
   2  Prefactor     1.6543        3.4778        .82396E-03   -1.5682    
   3  Prefactor     11.219        22.055        .29874E-03   -1.5641    
   4  norm          .24198        .23785        .81194E-03   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        .76305        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          9.3733        10.551        .32389E-03   -1.5647    
   7  Prefactor     1.6140        2.9660        .83542E-03   -1.5683    
   8  Prefactor     16.896        10.072        .24188E-03   -1.5626    
   9  Prefactor     3.1505        26.240        .59007E-03   -1.5672    
  10  norm          .63172E-07    31.240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     37.107        25.164        .16386E-03   -1.5586    
  12  Prefactor     .11102E-08    9.6117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     16.757        30.790        .24820E-03   -1.5626    
  14  Prefactor     7.6074        9.2232        .36539E-03   -1.5653    
  15  norm          .17769E-06    32.805        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        2.0677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor      .0000        1.3779        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     6.9608        4.0559        .37960E-03   -1.5655    
  19  norm          7.9168        3.1487        .35646E-03   -1.5652    
  20  Prefactor     1.9464        3.1740        .74266E-03   -1.5680    
  21  norm          3.2568        9.4683        .54657E-03   -1.5672    
  22  Prefactor     .44409E-09    11.864        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     1.4416        4.5494        .91940E-03   -1.5684    
  24  Normalizat    .66663        .17404        .61774E-01   -1.0523    
  25  Prefactor     1.3867        .20773        .56448E-01   -.80765    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.06077e-07
Minuit parameter uncertainties:
  1  25.8783
  2  3.47776
  3  22.0551
  4  0.237853
  5  9.06898e-07
  6  10.5506
  7  2.96605
  8  10.0725
  9  18.1847
  10  0.0028091
  11  25.1639
  12  0.000204849
  13  30.7903
  14  9.22317
  15  0.0048286
  16  5.3061e-06
  17  1.12413e-05
  18  4.05591
  19  3.14866
  20  3.17397
  21  9.4683
  22  0.000145082
  23  4.54938
  24  0.174187
  25  0.207857
Done.

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

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.676e+01  3.079e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.608e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.387e+00  2.079e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  6.666e-01  1.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 147.262 40.637
Photon Flux Upper Limit: 9.62e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.53e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/86135/likelihoodResults_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.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) = 5833.00808334
delta logL = 0.0107028498205

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5833.00499814
delta logL = 0.0137880580887

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.299       1.0000          .0000       .10000E+07
     2 'Index     '    2.3948       1.0000          .0000       10.000    
     3 'Normalizat'    .67057       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3828       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6650E+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=   5833.005     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      286 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.298        36.017        .91084E-05   -.16910E-02
   2  Index         2.3950        1.2274        .14983E-01   -.73449E-04
   3  Normalizat    .67031        .19428        .27258E-03   -.95802E-04
   4  Prefactor     1.3831        .24628        .24985E-03   -.36203E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.2983
  Index      = 2.39502
  Normalizat = 0.670312
  Prefactor  = 1.38311
 **********
 **   18 **HESSE 
 **********

 FCN=   5833.005     FROM HESSE     STATUS=OK            23 CALLS      309 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.298        35.174        .18217E-05   -1.5620    
   2  Index         2.3950        1.1993        .59933E-03   -.54802    
   3  Normalizat    .67031        .19435        .10903E-04   -1.0508    
   4  Prefactor     1.3831        .24637        .49970E-04   -.80868    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.08441e-10
Minuit parameter uncertainties:
  1  35.1747
  2  1.21568
  3  0.19455
  4  0.246576
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/86135': 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) = 5833.0049972
delta logL = 0.0137889924063

Extracting fit parameters...

4FGL J0949.0+4038
   Spectrum: PowerLaw
323    Prefactor:  1.930e+01  3.517e+01  0.000e+00  1.000e+06 ( 1.000e-13)
324        Index:  2.395e+00  1.216e+00  0.000e+00  1.000e+01 (-1.000e+00)
325        Scale:  7.143e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
662    Prefactor:  1.383e+00  2.466e-01  0.000e+00  1.000e+01 ( 1.000e+00)
663        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
664        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
661   Normalization:  6.703e-01  1.946e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
Ra Dec: 147.262 40.637

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/86135/cmap_HighResolution_682300801_682560001_4FGL_J0949.0+4038_daily_bin1709.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.53e-03', job_status='DONE', photon_flux_upper_limit='9.62e-08', time_completed='2022-09-16 15:11:56.601847', job_id='86135', GAL2='1.38', fit_tolerance='1e-08', EG2='0.67', EG='0.67', time_epoch_completed='1663366316.6', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.39', dlogl='1.38e-02', ts2='0.44', photon_index_error='0.00', photon_index='2.61' WHERE bin_id='1709' AND source_name='4FGL J0949.0+4038' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 15:11:56 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0196>
Subject: Job 86135: <4FGL_J0949.0+4038_daily_bin1709> in cluster <slac> Done

Job <4FGL_J0949.0+4038_daily_bin1709> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 14:55:23 2022
Job was executed on host(s) <bullet0196>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 14:56:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 14:56:40 2022
Terminated at Fri Sep 16 15:11:57 2022
Results reported at Fri Sep 16 15:11:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0949.0+4038_daily_bin1709 147.262 40.6367 682300801 682560001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0949.0+4038 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   669.05 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             268.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   916 sec.
    Turnaround time :                            994 sec.

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

