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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1770
RA = 202.693, Dec = 29.5536
tmin = 698112001, tmax = 698371201
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='487756', job_status='RUN', time_executed='2023-02-18 00:56:00.374230', time_epoch_executed='1676710560.37' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1770'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/487756

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/487756/ft1_4FGL_J1330.7+2933_daily_bin1770.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/487756/ft1_4FGL_J1330.7+2933_daily_bin1770.fits outfile=/scratch/kocevski/487756/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1770.fits ra=202.693 dec=29.5536 rad=12.0 tmin=698112001.0 tmax=698371201.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 4.33
user 4.12
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.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/487756/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1770.fits evtable="EVENTS" outfile="/scratch/kocevski/487756/ft1_filtered_4FGL_J1330.7+2933_daily_bin1770.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.48
user 0.33
sys 0.14

Number of photons that the gtmktime cut: 458

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/487756/ft1_filtered_4FGL_J1330.7+2933_daily_bin1770.fits" evtable="EVENTS" scfile=/scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits sctable="SC_DATA" outfile=/scratch/kocevski/487756/ltcube_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.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/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits
.....................!
real 11.74
user 11.41
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/487756/ft1_filtered_4FGL_J1330.7+2933_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits sctable="SC_DATA" expcube=/scratch/kocevski/487756/ltcube_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.fits outfile=/scratch/kocevski/487756/expmap_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.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/487756/ltcube_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.fits
.....................!
real 188.50
user 184.09
sys 4.06

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

Setting source of interest to:
4FGL J1330.7+2933 @ 202.693 29.5536

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/487756/ft1_filtered_4FGL_J1330.7+2933_daily_bin1770.fits scfile=/scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits outfile=/scratch/kocevski/487756/cmap_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.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=202.693 yref=29.5536 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.53
user 0.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/487756/ft1_filtered_4FGL_J1330.7+2933_daily_bin1770.fits scfile=/scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits outfile=/scratch/kocevski/487756/cmap_HighResolution_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.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=202.693 yref=29.5536 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.53
user 0.42
sys 0.10

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/487756/ft1_filtered_4FGL_J1330.7+2933_daily_bin1770.fits evtable="EVENTS" scfile=/scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/487756/Model_4FGL_J1330.7+2933_daily_bin1770.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/487756/ft1_filtered_4FGL_J1330.7+2933_daily_bin1770.fits.....................!
real 42.58
user 41.40
sys 1.05

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/487756/ft1_filtered_4FGL_J1330.7+2933_daily_bin1770.fits', '/scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits', expMap='/scratch/kocevski/487756/expmap_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.fits', expCube='/scratch/kocevski/487756/ltcube_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/487756/Model_4FGL_J1330.7+2933_daily_bin1770.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1330.7+2933'

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  2.755e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.449e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/487756/ft1_filtered_4FGL_J1330.7+2933_daily_bin1770.fits
Spacecraft file(s): /scratch/kocevski/487756/ft2_4FGL_J1330.7+2933_daily_bin1770.fits
Exposure map: /scratch/kocevski/487756/expmap_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.fits
Exposure cube: /scratch/kocevski/487756/ltcube_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/487756/Model_4FGL_J1330.7+2933_daily_bin1770.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) = 4885.67689104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .41776E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    .32252E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .71796E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .56675E-05   1.0000          .0000       .10000E+07
     5 'Prefactor '    .98073E-05   1.0000          .0000       .10000E+07
     6 'norm      '    1.1649       1.0000          .0000       .10000E+07
     7 'Prefactor '    .11089E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .20457E-02   1.0000          .0000       .10000E+07
     9 'norm      '    38.819       1.0000          .0000       .10000E+07
    10 'norm      '    11.319       1.0000          .0000       .10000E+07
    11 'norm      '    13.614       1.0000          .0000       .10000E+07
    12 'Prefactor '    .86536E-06   1.0000          .0000       .10000E+07
    13 'Prefactor '    .20495E-04   1.0000          .0000       .10000E+07
    14 'norm      '    55.056       1.0000          .0000       .10000E+07
    15 'Prefactor '    .20247E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .26460E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .10435E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    36.456       1.0000          .0000       .10000E+07
    19 'Prefactor '    6.2593       1.0000          .0000       .10000E+07
    20 'Prefactor '    4.8175       1.0000          .0000       .10000E+07
    21 'norm      '    .98671E-06   1.0000          .0000       .10000E+07
    22 'Prefactor '    29.525       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0208       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0966       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4885.566     FROM MIGRAD    STATUS=CONVERGED    139 CALLS     1920 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29587E-07    11.747       -.12679E-05** at limit **
   2  Prefactor     .98810E-08    5.0663       -.11184E-05** at limit **
   3  Prefactor     .11102E-09    4.1756        .99449E-06** at limit **
   4  norm          .44409E-09    2.1319       -.80647E-06** at limit **
   5  Prefactor     .21000E-06    22.007        .12904E-05** at limit **
   6  norm          1.1586        2.3105        .35436E-06   -.10380E-03
   7  Prefactor     .27200E-07    4.6364        .10551E-05** at limit **
   8  norm          .27200E-07    6.2274       -.52219E-06** at limit **
   9  norm          38.783        6.0071       -.30179E-07    .11103    
  10  norm          11.308        4.4937        .13471E-06    .34490E-01
  11  norm          13.654        1.6431       -.10917E-06    .47188E-03
  12  Prefactor     .11102E-09    1.7806       -.59741E-08** at limit **
  13  Prefactor     .92537E-07    5.6415        .13336E-05** at limit **
  14  norm          55.118        5.6614       -.18782E-06   -.32704E-01
  15  Prefactor      .0000        23.817       -.43562E-06** at limit **
  16  norm          .21603E-05    26.142       -.22586E-05** at limit **
  17  Prefactor     .78271E-08    5.3287        .60485E-06** at limit **
  18  Prefactor     35.526        16.981       -.11683E-05    .94877E-01
  19  Prefactor     6.2798        5.0758        .10574E-06    .20279E-02
  20  Prefactor     4.8545        1.3901        .32848E-07    .10230E-02
  21  norm          .55511E-10    1.7579        .17748E-06** at limit **
  22  Prefactor     29.546        5.0429       -.36782E-06   -.20847    
  23  Normalizat    1.0217        .25151        .74018E-05    .36683E-04
  24  Prefactor     1.0962        .27610        .76325E-05    .47907E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.95874e-08
  Prefactor  = 9.88098e-09
  Prefactor  = 1.11022e-10
  norm       = 4.44089e-10
  Prefactor  = 2.09999e-07
  norm       = 1.1586
  Prefactor  = 2.72005e-08
  norm       = 2.72005e-08
  norm       = 38.7826
  norm       = 11.308
  norm       = 13.6536
  Prefactor  = 1.11022e-10
  Prefactor  = 9.25371e-08
  norm       = 55.1179
  Prefactor  = 0
  norm       = 2.16027e-06
  Prefactor  = 7.82707e-09
  Prefactor  = 35.5257
  Prefactor  = 6.27983
  Prefactor  = 4.85453
  norm       = 5.55112e-11
  Prefactor  = 29.5457
  Normalizat = 1.02174
  Prefactor  = 1.09616
 **********
 **   18 **HESSE 
 **********

 FCN=   4885.566     FROM HESSE     STATUS=OK           441 CALLS     2361 TOTAL
                     EDM=   .43E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29587E-07    12.753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .98810E-08    5.1905        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11102E-09    4.1730        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .44409E-09    2.1346        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .21000E-06    23.565        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1586        2.8800        .34094E-02   -1.5686    
   7  Prefactor     .27200E-07    9.3913        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .27200E-07    8.8101        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          38.783        10.121        .16052E-03   -1.5583    
  10  norm          11.308        12.544        .29752E-03   -1.5641    
  11  norm          13.654        17.271        .27120E-03   -1.5634    
  12  Prefactor     .11102E-09    1.7811        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .92537E-07    10.469        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          55.118        13.328        .13478E-03   -1.5559    
  15  Prefactor      .0000        23.813        .17021E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .21603E-05    34.004        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .78271E-08    5.4851        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     35.526        30.269        .16564E-03   -1.5589    
  19  Prefactor     6.2798        5.0829        .40099E-03   -1.5658    
  20  Prefactor     4.8545        15.655        .45811E-03   -1.5664    
  21  norm          .55511E-10    1.7582        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     29.546        7.8471        .18407E-03   -1.5599    
  23  Normalizat    1.0217        .21808        .43234E-01   -.92305    
  24  Prefactor     1.0962        .23634        .66422E-01   -.89589    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.34723e-07
Minuit parameter uncertainties:
  1  0.00122865
  2  0.00045347
  3  3.9852e-05
  4  6.05097e-05
  5  0.00444913
  6  2.87999
  7  0.00101032
  8  0.000979428
  9  10.1209
  10  12.5445
  11  17.2714
  12  2.49864e-05
  13  0.00196874
  14  13.328
  15  1.01346e-05
  16  0.0171416
  17  0.000413849
  18  30.2696
  19  5.08293
  20  15.6547
  21  2.41333e-05
  22  7.84707
  23  0.218274
  24  0.236562
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  7.827e-09  4.138e-04  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.449e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.096e+00  2.366e-01  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.022e+00  2.183e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 202.693 29.554
Photon Flux Upper Limit: 6.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.90e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/487756/likelihoodResults_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.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) = 4885.57595042
delta logL = -0.00991073439218

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4885.56604778
delta logL = -8.09899120213e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .46770E-04   1.0000          .0000       .10000E+07
     2 'Index     '    2.9955       1.0000          .0000       10.000    
     3 'Normalizat'    1.0217       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0963       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   4885.566     FROM MIGRAD    STATUS=CONVERGED     35 CALLS      223 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.7078       -.47298E-05** at limit **
   2  Index         1.3190        2.5880       -.29367E-03     .0000    
   3  Normalizat    1.0217        .24140       -.36276E-04    .79062E-03
   4  Prefactor     1.0962        .27441        .51853E-04    .56370E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 1.31899
  Normalizat = 1.02175
  Prefactor  = 1.09616
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   4885.566     FROM HESSE     STATUS=FAILED        11 CALLS      234 TOTAL
                     EDM=   .56E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.7010        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .13552        1.2731       -.29367E-03   -.82744    
   3  Normalizat    1.0217        1.2594       -.36276E-04   -.92305    
   4  Prefactor     1.0962        1.1509        .51853E-04   -.89590    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 5.64589e-10
Minuit parameter uncertainties:
  1  3.66446e-06
  2  0.748414
  3  1.29931
  4  1.17866
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/487756': 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): 101
logL (Free Index) = 4885.56603968
delta logL = 2.12821760215e-10

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  0.000e+00  3.664e-06  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  1.319e+00  7.484e-01  0.000e+00  1.000e+01 (-1.000e+00)
307        Scale:  1.041e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
545    Prefactor:  1.096e+00  1.179e+00  0.000e+00  1.000e+01 ( 1.000e+00)
546        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
547        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
544   Normalization:  1.022e+00  1.299e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 202.693 29.554

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/487756/cmap_HighResolution_698112001_698371201_4FGL_J1330.7+2933_daily_bin1770.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.90e-03', job_status='DONE', photon_flux_upper_limit='6.32e-08', time_completed='2023-02-18 01:05:00.031362', job_id='487756', GAL2='1.10', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1676711100.03', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.10', dlogl='2.13e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1770' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Feb 18 01:05:00 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0167>
Subject: Job 487756: <4FGL_J1330.7+2933_daily_bin1770> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1770> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Feb 18 00:55:21 2023
Job was executed on host(s) <bullet0167>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Feb 18 00:55:23 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Feb 18 00:55:23 2023
Terminated at Sat Feb 18 01:05:00 2023
Results reported at Sat Feb 18 01:05:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1770 202.693 29.5536 698112001 698371201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1330.7+2933 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   541.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             309.05 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   577 sec.
    Turnaround time :                            579 sec.

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

