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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1774
RA = 202.693, Dec = 29.5536
tmin = 699148801, tmax = 699408001
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='683900', job_status='RUN', time_executed='2023-03-02 00:50:48.308199', time_epoch_executed='1677747048.31' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1774'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/683900

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/683900/ft1_4FGL_J1330.7+2933_daily_bin1774.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/683900/ft2_4FGL_J1330.7+2933_daily_bin1774.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/683900/ft1_4FGL_J1330.7+2933_daily_bin1774.fits outfile=/scratch/kocevski/683900/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1774.fits ra=202.693 dec=29.5536 rad=12.0 tmin=699148801.0 tmax=699408001.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 2.79
user 2.59
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/683900/ft2_4FGL_J1330.7+2933_daily_bin1774.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/683900/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1774.fits evtable="EVENTS" outfile="/scratch/kocevski/683900/ft1_filtered_4FGL_J1330.7+2933_daily_bin1774.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: 326

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/683900/ft1_filtered_4FGL_J1330.7+2933_daily_bin1774.fits" evtable="EVENTS" scfile=/scratch/kocevski/683900/ft2_4FGL_J1330.7+2933_daily_bin1774.fits sctable="SC_DATA" outfile=/scratch/kocevski/683900/ltcube_699148801_699408001_4FGL_J1330.7+2933_daily_bin1774.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/683900/ft2_4FGL_J1330.7+2933_daily_bin1774.fits
.....................!
real 12.54
user 12.22
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/683900/ft1_filtered_4FGL_J1330.7+2933_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/683900/ft2_4FGL_J1330.7+2933_daily_bin1774.fits sctable="SC_DATA" expcube=/scratch/kocevski/683900/ltcube_699148801_699408001_4FGL_J1330.7+2933_daily_bin1774.fits outfile=/scratch/kocevski/683900/expmap_699148801_699408001_4FGL_J1330.7+2933_daily_bin1774.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/683900/ltcube_699148801_699408001_4FGL_J1330.7+2933_daily_bin1774.fits
.....................!
real 191.76
user 187.06
sys 4.38

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/683900/ft1_filtered_4FGL_J1330.7+2933_daily_bin1774.fits scfile=/scratch/kocevski/683900/ft2_4FGL_J1330.7+2933_daily_bin1774.fits outfile=/scratch/kocevski/683900/cmap_699148801_699408001_4FGL_J1330.7+2933_daily_bin1774.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.37
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/683900/ft1_filtered_4FGL_J1330.7+2933_daily_bin1774.fits scfile=/scratch/kocevski/683900/ft2_4FGL_J1330.7+2933_daily_bin1774.fits outfile=/scratch/kocevski/683900/cmap_HighResolution_699148801_699408001_4FGL_J1330.7+2933_daily_bin1774.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.40
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/683900/ft1_filtered_4FGL_J1330.7+2933_daily_bin1774.fits evtable="EVENTS" scfile=/scratch/kocevski/683900/ft2_4FGL_J1330.7+2933_daily_bin1774.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/683900/Model_4FGL_J1330.7+2933_daily_bin1774.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/683900/ft1_filtered_4FGL_J1330.7+2933_daily_bin1774.fits.....................!
real 34.91
user 33.75
sys 1.09

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    28.618       1.0000          .0000       .10000E+07
     2 'Prefactor '    26.216       1.0000          .0000       .10000E+07
     3 'Prefactor '    3.0998       1.0000          .0000       .10000E+07
     4 'norm      '    .23488E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    .54728E-02   1.0000          .0000       .10000E+07
     6 'norm      '    .60151       1.0000          .0000       .10000E+07
     7 'Prefactor '    9.1867       1.0000          .0000       .10000E+07
     8 'norm      '    .27071E-03   1.0000          .0000       .10000E+07
     9 'norm      '    15.950       1.0000          .0000       .10000E+07
    10 'norm      '    6.9567       1.0000          .0000       .10000E+07
    11 'norm      '    15.090       1.0000          .0000       .10000E+07
    12 'Prefactor '    .10359E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .89285E-04   1.0000          .0000       .10000E+07
    14 'norm      '    40.200       1.0000          .0000       .10000E+07
    15 'Prefactor '    .86886E-01   1.0000          .0000       .10000E+07
    16 'norm      '    .21023E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    .13744E-03   1.0000          .0000       .10000E+07
    18 'Prefactor '    61.721       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.2777       1.0000          .0000       .10000E+07
    20 'Prefactor '    .11387E-03   1.0000          .0000       .10000E+07
    21 'norm      '    .11130E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    .60431       1.0000          .0000       .10000E+07
    23 'Normalizat'    .80568       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2902       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=   3675.659     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     2848 TOTAL
                     EDM=   .75E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     28.502        6.5416       -.67800E-06    .14936E-02
   2  Prefactor     26.288        4.3872        .87174E-06   -.45447E-01
   3  Prefactor     3.1123        8.9079        .65231E-06    .17609E-03
   4  norm           .0000        2.4837        .15218E-07** at limit **
   5  Prefactor     .52847E-07    9.8687        .13292E-05** at limit **
   6  norm          .58653        1.7589       -.97146E-06   -.75677E-02
   7  Prefactor     9.1156        4.1876        .34087E-06   -.30341E-01
   8  norm           .0000        2.3739       -.49782E-06** at limit **
   9  norm          15.833        6.1945       -.42216E-06    .17902E-01
  10  norm          7.1250        4.9420        .12291E-05   -.20898E-01
  11  norm          14.980        6.9458       -.73875E-06    .98672E-02
  12  Prefactor      .0000        1.8556        .21659E-06** at limit **
  13  Prefactor     .46718E-06    6.4209        .43822E-05** at limit **
  14  norm          40.096        10.526        .18638E-05    .14950E-01
  15  Prefactor     .34417E-07    71.362        .96858E-06** at limit **
  16  norm          .19740E-06    8.4385       -.48954E-05** at limit **
  17  Prefactor     .85204E-05    27.234       -.91557E-06** at limit **
  18  Prefactor     62.070        34.800        .27295E-05   -.88719E-01
  19  Prefactor     4.3505        6.7635       -.24427E-06   -.26088E-02
  20  Prefactor     .12395E-04    26.902       -.18879E-05** at limit **
  21  norm           .0000        2.5863        .36607E-06** at limit **
  22  Prefactor     .60410        2.4484        .11210E-06    .89863E-03
  23  Normalizat    .80536        .27575        .69562E-05    .34536E-04
  24  Prefactor     1.2904        .30530       -.17630E-04    .86491E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 28.5018
  Prefactor  = 26.2875
  Prefactor  = 3.11232
  norm       = 0
  Prefactor  = 5.28466e-08
  norm       = 0.586529
  Prefactor  = 9.1156
  norm       = 0
  norm       = 15.8328
  norm       = 7.12501
  norm       = 14.9802
  Prefactor  = 0
  Prefactor  = 4.67182e-07
  norm       = 40.0964
  Prefactor  = 3.44169e-08
  norm       = 1.97398e-07
  Prefactor  = 8.52041e-06
  Prefactor  = 62.0696
  Prefactor  = 4.35054
  Prefactor  = 1.23953e-05
  norm       = 0
  Prefactor  = 0.604099
  Normalizat = 0.805364
  Prefactor  = 1.29037
 **********
 **   18 **HESSE 
 **********

 FCN=   3675.659     FROM HESSE     STATUS=OK           449 CALLS     3297 TOTAL
                     EDM=   .17E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     28.502        40.277        .18696E-03   -1.5601    
   2  Prefactor     26.288        20.849        .19535E-03   -1.5605    
   3  Prefactor     3.1123        11.669        .57573E-03   -1.5673    
   4  norm           .0000        2.4855        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .52847E-07    10.748        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .58653        11.300        .69092E-03   -1.5693    
   7  Prefactor     9.1156        29.895        .33042E-03   -1.5648    
   8  norm           .0000        2.3792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.833        11.920        .25052E-03   -1.5628    
  10  norm          7.1250        19.287        .38013E-03   -1.5655    
  11  norm          14.980        41.269        .25757E-03   -1.5631    
  12  Prefactor      .0000        1.8551        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .46718E-06    9.6608        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          40.096        17.133        .15774E-03   -1.5581    
  15  Prefactor     .34417E-07    71.283        .14296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .19740E-06    9.2406        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .85204E-05    40.671        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     62.070        42.015        .12730E-03   -1.5550    
  19  Prefactor     4.3505        6.8007        .48688E-03   -1.5666    
  20  Prefactor     .12395E-04    45.536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm           .0000        2.5832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .60410        2.4925        .68842E-03   -1.5692    
  23  Normalizat    .80536        .23511        .62617E-01   -.99870    
  24  Prefactor     1.2904        .25703        .57763E-01   -.83594    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.68612e-06
Minuit parameter uncertainties:
  1  40.2776
  2  20.8487
  3  11.6689
  4  1.26565e-05
  5  0.00150697
  6  5.14897
  7  29.8959
  8  1.07203e-05
  9  11.9201
  10  19.2867
  11  41.2701
  12  3.30998e-06
  13  0.004249
  14  17.1334
  15  0.0031331
  16  0.00270118
  17  0.037231
  18  42.0156
  19  6.80067
  20  0.047516
  21  5.80644e-06
  22  2.45413
  23  0.235405
  24  0.257278
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  8.520e-06  3.723e-02  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.290e+00  2.573e-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:  8.054e-01  2.354e-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: 1.49e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.16e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/683900/likelihoodResults_699148801_699408001_4FGL_J1330.7+2933_daily_bin1774.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) = 3675.67146039
delta logL = -0.0120224326511

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 3675.20480741
delta logL = 0.454630551983

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3675.205     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      240 TOTAL
                     EDM=   .64E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .77002        19.632        .55655E-03    .69447E-02
   2  Index         4.5774        3.5806        .98793E-01    .10802E-03
   3  Normalizat    .69852        .63381E-01    .66633E-01    .14068E-04
   4  Prefactor     1.3664        .72094E-01    .56316E-01    .24655E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.770019
  Index      = 4.57742
  Normalizat = 0.698524
  Prefactor  = 1.36641
 **********
 **   18 **HESSE 
 **********

 FCN=   3675.205     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .77002        41.065        .53931E-05   -1.5690    
   2  Index         4.5774        7.2762        .48781E-02   -.84618E-01
   3  Normalizat    .69852        .23827        .29484E-03   -1.0395    
   4  Prefactor     1.3664        .26345        .24900E-03   -.81353    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.58732e-07
Minuit parameter uncertainties:
  1  11.2466
  2  6.90539
  3  0.238619
  4  0.263712
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/683900': 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) = 3675.20480405
delta logL = 0.454633915345

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  7.700e-01  1.125e+01  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  4.577e+00  6.905e+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:  1.366e+00  2.637e-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:  6.985e-01  2.386e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.04
Ra Dec: 202.693 29.554
Photon Index (Free Index): 4.58 +/- 6.91
Photon Flux (Free Index): 9.82e-08 +/- 1.11e-07
Energy Flux (Free Index): 1.36e-05 +/- 2.06e-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/683900/cmap_HighResolution_699148801_699408001_4FGL_J1330.7+2933_daily_bin1774.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.16e-02', comment='SUCCESS', energy_flux2='1.36e-05', dlogl='4.55e-01', photon_flux2='9.82e-08', job_status='DONE', time_completed='2023-03-02 00:59:05.709198', photon_index_error2='6.91', photon_index2='4.58', ts='-0.00', fit_tolerance='1e-08', GAL='1.29', photon_index_error='0.00', photon_flux_upper_limit='1.49e-07', energy_flux_error2='2.06e-05', EG='0.81', time_epoch_completed='1677747545.71', return_code='0', job_id='683900', GAL2='1.37', EG2='0.70', return_code2='102', photon_flux_error2='1.11e-07', ts2='1.04', photon_index='2.45' WHERE bin_id='1774' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Mar  2 00:59:05 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0198>
Subject: Job 683900: <4FGL_J1330.7+2933_daily_bin1774> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1774> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Mar  2 00:50:11 2023
Job was executed on host(s) <bullet0198>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Mar  2 00:50:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Mar  2 00:50:12 2023
Terminated at Thu Mar  2 00:59:06 2023
Results reported at Thu Mar  2 00:59:06 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1774 202.693 29.5536 699148801 699408001 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 :                                   499.29 sec.
    Max Memory :                                 631 MB
    Average Memory :                             306.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   2929 MB
    Max Processes :                              6
    Max Threads :                                21
    Run time :                                   533 sec.
    Turnaround time :                            535 sec.

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

