aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 54 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7460
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1711
RA = 202.693, Dec = 29.5536
tmin = 682819201, tmax = 683078401
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='133856', job_status='RUN', time_executed='2022-09-16 17:37:36.239494', time_epoch_executed='1663375056.24' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1711'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/133856

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/133856/ft1_4FGL_J1330.7+2933_daily_bin1711.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/133856/ft2_4FGL_J1330.7+2933_daily_bin1711.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/133856/ft1_4FGL_J1330.7+2933_daily_bin1711.fits outfile=/scratch/kocevski/133856/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1711.fits ra=202.693 dec=29.5536 rad=12.0 tmin=682819201.0 tmax=683078401.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.57
user 4.30
sys 0.23

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

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

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

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

Number of photons that the gtmktime cut: 506

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/133856/ft1_filtered_4FGL_J1330.7+2933_daily_bin1711.fits" evtable="EVENTS" scfile=/scratch/kocevski/133856/ft2_4FGL_J1330.7+2933_daily_bin1711.fits sctable="SC_DATA" outfile=/scratch/kocevski/133856/ltcube_682819201_683078401_4FGL_J1330.7+2933_daily_bin1711.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/133856/ft2_4FGL_J1330.7+2933_daily_bin1711.fits
.....................!
real 13.07
user 12.69
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/133856/ft1_filtered_4FGL_J1330.7+2933_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/133856/ft2_4FGL_J1330.7+2933_daily_bin1711.fits sctable="SC_DATA" expcube=/scratch/kocevski/133856/ltcube_682819201_683078401_4FGL_J1330.7+2933_daily_bin1711.fits outfile=/scratch/kocevski/133856/expmap_682819201_683078401_4FGL_J1330.7+2933_daily_bin1711.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/133856/ltcube_682819201_683078401_4FGL_J1330.7+2933_daily_bin1711.fits
.....................!
real 191.06
user 186.36
sys 4.29

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/133856/ft1_filtered_4FGL_J1330.7+2933_daily_bin1711.fits scfile=/scratch/kocevski/133856/ft2_4FGL_J1330.7+2933_daily_bin1711.fits outfile=/scratch/kocevski/133856/cmap_682819201_683078401_4FGL_J1330.7+2933_daily_bin1711.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/133856/ft1_filtered_4FGL_J1330.7+2933_daily_bin1711.fits scfile=/scratch/kocevski/133856/ft2_4FGL_J1330.7+2933_daily_bin1711.fits outfile=/scratch/kocevski/133856/cmap_HighResolution_682819201_683078401_4FGL_J1330.7+2933_daily_bin1711.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.55
user 0.41
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/133856/ft1_filtered_4FGL_J1330.7+2933_daily_bin1711.fits evtable="EVENTS" scfile=/scratch/kocevski/133856/ft2_4FGL_J1330.7+2933_daily_bin1711.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/133856/Model_4FGL_J1330.7+2933_daily_bin1711.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/133856/ft1_filtered_4FGL_J1330.7+2933_daily_bin1711.fits.....................!
real 47.88
user 46.63
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.506       1.0000          .0000       .10000E+07
     2 'Prefactor '    .13596E-03   1.0000          .0000       .10000E+07
     3 'Prefactor '    .11320E-04   1.0000          .0000       .10000E+07
     4 'norm      '    .19079E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .22044E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .72245E-03   1.0000          .0000       .10000E+07
     7 'Prefactor '    2.8496       1.0000          .0000       .10000E+07
     8 'norm      '    .11014E-04   1.0000          .0000       .10000E+07
     9 'norm      '    16.368       1.0000          .0000       .10000E+07
    10 'norm      '    .38300E-04   1.0000          .0000       .10000E+07
    11 'norm      '    .66970E-03   1.0000          .0000       .10000E+07
    12 'Prefactor '    .22393E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    4.0390       1.0000          .0000       .10000E+07
    14 'norm      '    2.4717       1.0000          .0000       .10000E+07
    15 'Prefactor '    74.509       1.0000          .0000       .10000E+07
    16 'norm      '    2.6932       1.0000          .0000       .10000E+07
    17 'Prefactor '    2.3879       1.0000          .0000       .10000E+07
    18 'Prefactor '    .73842E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    8.2321       1.0000          .0000       .10000E+07
    20 'Prefactor '    .41169E-02   1.0000          .0000       .10000E+07
    21 'norm      '    3.6569       1.0000          .0000       .10000E+07
    22 'Prefactor '    13.256       1.0000          .0000       .10000E+07
    23 'Normalizat'    .98172       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.2627       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=   5764.417     FROM MIGRAD    STATUS=CONVERGED    183 CALLS     2158 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.514        1.4399       -.23201E-07   -.17081E-02
   2  Prefactor     .46629E-08    8.1985        .59087E-07** at limit **
   3  Prefactor     .11657E-08    2.9300        .41991E-07** at limit **
   4  norm          .90705E-07    21.566       -.28011E-06** at limit **
   5  Prefactor      .0000        29.685       -.35070E-06** at limit **
   6  norm          .23638E-05    5.4439        .46255E-06** at limit **
   7  Prefactor     2.8162        14.300       -.66236E-06    .72205E-03
   8  norm          .16098E-08    4.0987       -.34651E-06** at limit **
   9  norm          16.374        6.2481        .85066E-07    .62811E-03
  10  norm          .16653E-08    3.8839        .12422E-06** at limit **
  11  norm          .24425E-08    6.4692        .17278E-06** at limit **
  12  Prefactor     .11657E-08    31.076       -.20340E-05** at limit **
  13  Prefactor     3.9045        18.962        .14703E-05   -.15733E-01
  14  norm          2.4655        3.9171        .56714E-07   -.40512E-03
  15  Prefactor     75.557        24.057       -.44753E-06    .57641E-01
  16  norm          2.7209        7.7341        .37757E-06   -.31608E-03
  17  Prefactor     2.3882        24.004       -.86863E-06    .30803E-02
  18  Prefactor     .19896E-04    402.70        .67593E-05** at limit **
  19  Prefactor     8.2022        6.1829        .33647E-08    .39443E-04
  20  Prefactor     .37026E-07    14.184        .57460E-06** at limit **
  21  norm          3.6531        3.6761       -.15205E-06    .61357E-03
  22  Prefactor     13.285        5.8731       -.69039E-08    .38296E-03
  23  Normalizat    .98174        .23857        .80888E-05   -.26390E-04
  24  Prefactor     1.2627        .26047       -.67856E-05   -.24451E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.5142
  Prefactor  = 4.66294e-09
  Prefactor  = 1.16573e-09
  norm       = 9.07052e-08
  Prefactor  = 0
  norm       = 2.36378e-06
  Prefactor  = 2.81624
  norm       = 1.60982e-09
  norm       = 16.374
  norm       = 1.66533e-09
  norm       = 2.44249e-09
  Prefactor  = 1.16573e-09
  Prefactor  = 3.90454
  norm       = 2.4655
  Prefactor  = 75.5575
  norm       = 2.72093
  Prefactor  = 2.38825
  Prefactor  = 1.98965e-05
  Prefactor  = 8.20219
  Prefactor  = 3.70259e-08
  norm       = 3.65312
  Prefactor  = 13.2847
  Normalizat = 0.981735
  Prefactor  = 1.26268
 **********
 **   18 **HESSE 
 **********

 FCN=   5764.417     FROM HESSE     STATUS=OK           457 CALLS     2615 TOTAL
                     EDM=   .69E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.514        19.758        .25409E-03   -1.5629    
   2  Prefactor     .46629E-08    8.1930        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11657E-08    2.9530        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .90705E-07    21.966        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor      .0000        29.242        .16906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .23638E-05    2.8718        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     2.8162        14.753        .60204E-03   -1.5674    
   8  norm          .16098E-08    4.1066        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          16.374        6.6809        .24729E-03   -1.5627    
  10  norm          .16653E-08    3.8936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .24425E-08    6.4870        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11657E-08    4.7531        .48523E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     3.9045        48.004        .50150E-03   -1.5668    
  14  norm          2.4655        3.9470        .65012E-03   -1.5677    
  15  Prefactor     75.557        85.840        .11586E-03   -1.5534    
  16  norm          2.7209        7.7792        .62054E-03   -1.5675    
  17  Prefactor     2.3882        55.862        .66253E-03   -1.5677    
  18  Prefactor     .19896E-04    454.03        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.2022        6.1906        .34918E-03   -1.5651    
  20  Prefactor     .37026E-07    14.442        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          3.6531        3.6780        .52798E-03   -1.5670    
  22  Prefactor     13.285        5.8828        .27485E-03   -1.5635    
  23  Normalizat    .98174        .20378        .45937E-01   -.93645    
  24  Prefactor     1.2627        .21698        .60845E-01   -.84424    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.90382e-07
Minuit parameter uncertainties:
  1  19.7584
  2  0.000391087
  3  0.000117888
  4  0.00282292
  5  2.37258e-06
  6  0.00521091
  7  12.8915
  8  0.00016367
  9  6.68088
  10  0.000160975
  11  0.00025087
  12  0.00014855
  13  27.3815
  14  3.94698
  15  85.8414
  16  7.77919
  17  23.101
  18  0.190105
  19  6.19057
  20  0.00146293
  21  3.67796
  22  5.88284
  23  0.203945
  24  0.217139
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  2.388e+00  2.310e+01  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.263e+00  2.171e-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:  9.817e-01  2.039e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.01
Ra Dec: 202.693 29.554
Photon Flux Upper Limit: 1.20e-07 ph cm-2 s-1
Energy Flux Upper Limit: 9.26e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/133856/likelihoodResults_682819201_683078401_4FGL_J1330.7+2933_daily_bin1711.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) = 5763.98530515
delta logL = 0.431366977387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5763.81237472
delta logL = 0.604297415893

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    9.5385       1.0000          .0000       .10000E+07
     2 'Index     '    1.0882       1.0000          .0000       10.000    
     3 'Normalizat'    .97531       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2642       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=   5763.812     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      225 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     9.5828        12.136        .32424E-03    .35993E-02
   2  Index         1.0895        .40000        .24501       -.82305E-04
   3  Normalizat    .97539        .18988        .45857E-01    .11001E-04
   4  Prefactor     1.2639        .21564        .60788E-01    .30668E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 9.58276
  Index      = 1.08951
  Normalizat = 0.975386
  Prefactor  = 1.2639
 **********
 **   18 **HESSE 
 **********

 FCN=   5763.812     FROM HESSE     STATUS=OK            33 CALLS      258 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     9.5828        17.386        .64847E-04   -1.5646    
   2  Index         1.0895        .65057        .95339E-02   -.89803    
   3  Normalizat    .97539        .22710        .26637E-03   -.93860    
   4  Prefactor     1.2639        .25788        .26884E-03   -.84387    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.73526e-09
Minuit parameter uncertainties:
  1  17.3863
  2  0.655394
  3  0.227325
  4  0.258143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/133856': 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) = 5763.81237004
delta logL = 0.604302086362

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  9.583e+00  1.739e+01  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  1.090e+00  6.554e-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.264e+00  2.581e-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:  9.754e-01  2.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 202.693 29.554
Photon Index (Free Index): 1.09 +/- 0.66
Photon Flux (Free Index): 6.34e-09 +/- 9.50e-09
Energy Flux (Free Index): 7.27e-05 +/- 1.16e-04

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/133856/cmap_HighResolution_682819201_683078401_4FGL_J1330.7+2933_daily_bin1711.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.26e-03', comment='SUCCESS', energy_flux2='7.27e-05', dlogl='6.04e-01', photon_flux2='6.34e-09', job_status='DONE', time_completed='2022-09-16 17:47:26.109258', photon_index_error2='0.66', photon_index2='1.09', ts='0.01', fit_tolerance='1e-08', GAL='1.26', photon_index_error='0.00', photon_flux_upper_limit='1.20e-07', energy_flux_error2='1.16e-04', EG='0.98', time_epoch_completed='1663375646.11', return_code='0', job_id='133856', GAL2='1.26', EG2='0.98', return_code2='0', photon_flux_error2='9.50e-09', ts2='1.22', photon_index='2.45' WHERE bin_id='1711' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:47:26 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0202>
Subject: Job 133856: <4FGL_J1330.7+2933_daily_bin1711> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1711> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 17:35:22 2022
Job was executed on host(s) <bullet0202>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:36:34 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 17:36:34 2022
Terminated at Fri Sep 16 17:47:26 2022
Results reported at Fri Sep 16 17:47:26 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1711 202.693 29.5536 682819201 683078401 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 :                                   592.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             356.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   652 sec.
    Turnaround time :                            724 sec.

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

