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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1750
RA = 202.693, Dec = 29.5536
tmin = 692928001, tmax = 693187201
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='13414', job_status='RUN', time_executed='2022-12-20 00:57:38.355408', time_epoch_executed='1671526658.36' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/13414

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/13414/ft1_4FGL_J1330.7+2933_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/13414/ft1_4FGL_J1330.7+2933_daily_bin1750.fits outfile=/scratch/kocevski/13414/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1750.fits ra=202.693 dec=29.5536 rad=12.0 tmin=692928001.0 tmax=693187201.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.43
user 3.22
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.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/13414/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/13414/ft1_filtered_4FGL_J1330.7+2933_daily_bin1750.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.49
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 606

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/13414/ft1_filtered_4FGL_J1330.7+2933_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/13414/ltcube_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.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/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.fits
.....................!
real 11.63
user 11.24
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/13414/ft1_filtered_4FGL_J1330.7+2933_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/13414/ltcube_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.fits outfile=/scratch/kocevski/13414/expmap_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.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/13414/ltcube_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.fits
.....................!
real 192.36
user 186.87
sys 5.18

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/13414/ft1_filtered_4FGL_J1330.7+2933_daily_bin1750.fits scfile=/scratch/kocevski/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.fits outfile=/scratch/kocevski/13414/cmap_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.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.54
user 0.36
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/13414/ft1_filtered_4FGL_J1330.7+2933_daily_bin1750.fits scfile=/scratch/kocevski/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.fits outfile=/scratch/kocevski/13414/cmap_HighResolution_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.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.54
user 0.38
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/13414/ft1_filtered_4FGL_J1330.7+2933_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/13414/Model_4FGL_J1330.7+2933_daily_bin1750.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/13414/ft1_filtered_4FGL_J1330.7+2933_daily_bin1750.fits.....................!
real 52.45
user 51.12
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/13414/ft1_filtered_4FGL_J1330.7+2933_daily_bin1750.fits', '/scratch/kocevski/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.fits', expMap='/scratch/kocevski/13414/expmap_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.fits', expCube='/scratch/kocevski/13414/ltcube_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/13414/Model_4FGL_J1330.7+2933_daily_bin1750.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/13414/ft1_filtered_4FGL_J1330.7+2933_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/13414/ft2_4FGL_J1330.7+2933_daily_bin1750.fits
Exposure map: /scratch/kocevski/13414/expmap_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.fits
Exposure cube: /scratch/kocevski/13414/ltcube_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/13414/Model_4FGL_J1330.7+2933_daily_bin1750.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) = 6461.84732267

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11356E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    .51502E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .15017E-05   1.0000          .0000       .10000E+07
     4 'norm      '    .89910       1.0000          .0000       .10000E+07
     5 'Prefactor '    .61776E-01   1.0000          .0000       .10000E+07
     6 'norm      '    5.8076       1.0000          .0000       .10000E+07
     7 'Prefactor '    .32346E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .13298E-03   1.0000          .0000       .10000E+07
     9 'norm      '    23.588       1.0000          .0000       .10000E+07
    10 'norm      '    9.7075       1.0000          .0000       .10000E+07
    11 'norm      '    32.061       1.0000          .0000       .10000E+07
    12 'Prefactor '    .31575E-05   1.0000          .0000       .10000E+07
    13 'Prefactor '    .39578E-02   1.0000          .0000       .10000E+07
    14 'norm      '    23.966       1.0000          .0000       .10000E+07
    15 'Prefactor '    .17898E-02   1.0000          .0000       .10000E+07
    16 'norm      '    4.2720       1.0000          .0000       .10000E+07
    17 'Prefactor '    .43235E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    2.1955       1.0000          .0000       .10000E+07
    19 'Prefactor '    2.3297       1.0000          .0000       .10000E+07
    20 'Prefactor '    15.213       1.0000          .0000       .10000E+07
    21 'norm      '    .21094E-07   1.0000          .0000       .10000E+07
    22 'Prefactor '    29.070       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.2929       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .64503       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=   6461.813     FROM MIGRAD    STATUS=CONVERGED    125 CALLS     1958 TOTAL
                     EDM=   .20E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    4.2184       -.44579E-06** at limit **
   2  Prefactor     .38858E-09    3.2005        .23927E-06** at limit **
   3  Prefactor      .0000        1.3629       -.57397E-07** at limit **
   4  norm          .90439        .62156        .64587E-07   -.65163E-02
   5  Prefactor     .29865E-07    .81178       -.12394E-06** at limit **
   6  norm          5.8098        3.7168        .28319E-07    .43389E-02
   7  Prefactor     .33307E-09    8.3037       -.16438E-05** at limit **
   8  norm           .0000        2.6993       -.13091E-06** at limit **
   9  norm          23.594        4.5319       -.20454E-07    .15046E-03
  10  norm          9.7142        2.5415       -.11000E-06   -.36662E-03
  11  norm          32.056        1.0195       -.10203E-07    .26069E-02
  12  Prefactor     .27756E-09    1.8684        .93567E-06** at limit **
  13  Prefactor     .55511E-10    13.569        .24936E-05** at limit **
  14  norm          23.972        1.3279        .85253E-08    .28033E-01
  15  Prefactor      .0000        16.295       -.12314E-05** at limit **
  16  norm          4.2785        1.2203       -.80618E-08    .98162E-02
  17  Prefactor      .0000        6.6552        .10949E-05** at limit **
  18  Prefactor     2.1981        1.0393        .20848E-07    .27914E-03
  19  Prefactor     2.3338        3.4703        .74615E-07   -.11863E-02
  20  Prefactor     15.208        2.2310       -.18589E-06    .48233E-02
  21  norm           .0000        1.6768       -.83911E-06** at limit **
  22  Prefactor     29.096        6.9098       -.43176E-06   -.16246E-02
  23  Normalizat    1.2925        .19523        .32244E-05   -.66699E-04
  24  Prefactor     .64551        .21297       -.17457E-05    .58829E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Prefactor  = 3.88578e-10
  Prefactor  = 0
  norm       = 0.904388
  Prefactor  = 2.9865e-08
  norm       = 5.80982
  Prefactor  = 3.33067e-10
  norm       = 0
  norm       = 23.5936
  norm       = 9.71417
  norm       = 32.0565
  Prefactor  = 2.77556e-10
  Prefactor  = 5.55112e-11
  norm       = 23.9721
  Prefactor  = 0
  norm       = 4.27852
  Prefactor  = 0
  Prefactor  = 2.19805
  Prefactor  = 2.33384
  Prefactor  = 15.2077
  norm       = 0
  Prefactor  = 29.0961
  Normalizat = 1.29254
  Prefactor  = 0.64551
 **********
 **   18 **HESSE 
 **********

 FCN=   6461.813     FROM HESSE     STATUS=OK           449 CALLS     2407 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    4.2200        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .38858E-09    3.2077        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor      .0000        1.3626        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .90439        3.6076        .45822E-03   -1.5689    
   5  Prefactor     .29865E-07    36.624        .15099E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          5.8098        3.7260        .41652E-03   -1.5660    
   7  Prefactor     .33307E-09    8.3343        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm           .0000        2.6969        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          23.594        7.3919        .20595E-03   -1.5611    
  10  norm          9.7142        11.433        .32139E-03   -1.5646    
  11  norm          32.056        18.579        .17663E-03   -1.5595    
  12  Prefactor     .27756E-09    1.8742        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .55511E-10    13.606        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          23.972        10.543        .20431E-03   -1.5610    
  15  Prefactor      .0000        16.410        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          4.2785        11.584        .48722E-03   -1.5667    
  17  Prefactor      .0000        6.6716        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     2.1981        14.214        .69421E-03   -1.5678    
  19  Prefactor     2.3338        3.4962        .67163E-03   -1.5677    
  20  Prefactor     15.208        19.664        .25652E-03   -1.5630    
  21  norm           .0000        1.6794        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     29.096        6.9504        .18550E-03   -1.5600    
  23  Normalizat    1.2925        .17078        .49823E-01   -.83789    
  24  Prefactor     .64551        .18493        .75458E-01   -1.0570    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.39441e-07
Minuit parameter uncertainties:
  1  2.63738e-05
  2  7.27679e-05
  3  2.55807e-06
  4  3.6076
  5  0.0020926
  6  3.72605
  7  0.00010415
  8  1.01589e-06
  9  7.39194
  10  11.4332
  11  18.5795
  12  4.70777e-05
  13  4.08941e-05
  14  10.5426
  15  2.31543e-05
  16  11.5843
  17  1.67973e-06
  18  11.1793
  19  3.49618
  20  19.6644
  21  1.0285e-05
  22  6.95042
  23  0.170853
  24  0.185104
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  0.000e+00  1.680e-06  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:  6.455e-01  1.851e-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.293e+00  1.709e-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: 5.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/13414/likelihoodResults_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.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) = 6461.81379267
delta logL = -0.0012541119313

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6461.8125387
delta logL = -1.36446033139e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .16281E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.0473       1.0000          .0000       10.000    
     3 'Normalizat'    1.2925       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .64556       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=   6461.813     FROM MIGRAD    STATUS=CONVERGED     31 CALLS      236 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.7323       -.19226E-06** at limit **
   2  Index         2.4234        3.0111        .74225E-05     .0000    
   3  Normalizat    1.2925        .19315        .72348E-06   -.13293E-03
   4  Prefactor     .64551        .21442        .19014E-04   -.20346E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 2.42339
  Normalizat = 1.29254
  Prefactor  = 0.645505
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   6461.813     FROM HESSE     STATUS=FAILED        11 CALLS      247 TOTAL
                     EDM=   .75E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.8126        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .65945        1.9681        .74225E-05   -.54138    
   3  Normalizat    1.2925        1.0810        .72348E-06   -.83789    
   4  Prefactor     .64551        .99463        .19014E-04   -1.0570    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 7.49979e-11
Minuit parameter uncertainties:
  1  8.52919e-06
  2  1.71704
  3  1.10079
  4  1.02401
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/13414': 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) = 6461.81253856
delta logL = -3.09228198603e-11

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  0.000e+00  8.529e-06  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.423e+00  1.717e+00  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:  6.455e-01  1.024e+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.293e+00  1.101e+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/13414/cmap_HighResolution_692928001_693187201_4FGL_J1330.7+2933_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.44e-03', job_status='DONE', photon_flux_upper_limit='5.73e-08', time_completed='2022-12-20 01:07:34.188422', job_id='13414', GAL2='0.65', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1671527254.19', return_code2='101', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.65', dlogl='-3.09e-11', ts2='0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1750' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:07:34 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 13414: <4FGL_J1330.7+2933_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1750> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Dec 20 00:55:16 2022
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 00:55:17 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 00:55:17 2022
Terminated at Tue Dec 20 01:07:35 2022
Results reported at Tue Dec 20 01:07:35 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1750 202.693 29.5536 692928001 693187201 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 :                                   598.22 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             315.80 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   737 sec.
    Turnaround time :                            739 sec.

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

