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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1752
RA = 202.693, Dec = 29.5536
tmin = 693446401, tmax = 693705601
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='264912', job_status='RUN', time_executed='2022-12-26 01:04:03.788027', time_epoch_executed='1672045443.79' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1752'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/264912

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/264912/ft1_4FGL_J1330.7+2933_daily_bin1752.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/264912/ft2_4FGL_J1330.7+2933_daily_bin1752.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/264912/ft1_4FGL_J1330.7+2933_daily_bin1752.fits outfile=/scratch/kocevski/264912/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1752.fits ra=202.693 dec=29.5536 rad=12.0 tmin=693446401.0 tmax=693705601.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.47
user 3.24
sys 0.22

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

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

Number of photons that the gtmktime cut: 534

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/264912/ft1_filtered_4FGL_J1330.7+2933_daily_bin1752.fits" evtable="EVENTS" scfile=/scratch/kocevski/264912/ft2_4FGL_J1330.7+2933_daily_bin1752.fits sctable="SC_DATA" outfile=/scratch/kocevski/264912/ltcube_693446401_693705601_4FGL_J1330.7+2933_daily_bin1752.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/264912/ft2_4FGL_J1330.7+2933_daily_bin1752.fits
.....................!
real 14.69
user 14.29
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/264912/ft1_filtered_4FGL_J1330.7+2933_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/264912/ft2_4FGL_J1330.7+2933_daily_bin1752.fits sctable="SC_DATA" expcube=/scratch/kocevski/264912/ltcube_693446401_693705601_4FGL_J1330.7+2933_daily_bin1752.fits outfile=/scratch/kocevski/264912/expmap_693446401_693705601_4FGL_J1330.7+2933_daily_bin1752.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/264912/ltcube_693446401_693705601_4FGL_J1330.7+2933_daily_bin1752.fits
.....................!
real 192.21
user 186.56
sys 5.01

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/264912/ft1_filtered_4FGL_J1330.7+2933_daily_bin1752.fits scfile=/scratch/kocevski/264912/ft2_4FGL_J1330.7+2933_daily_bin1752.fits outfile=/scratch/kocevski/264912/cmap_693446401_693705601_4FGL_J1330.7+2933_daily_bin1752.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.57
user 0.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/264912/ft1_filtered_4FGL_J1330.7+2933_daily_bin1752.fits scfile=/scratch/kocevski/264912/ft2_4FGL_J1330.7+2933_daily_bin1752.fits outfile=/scratch/kocevski/264912/cmap_HighResolution_693446401_693705601_4FGL_J1330.7+2933_daily_bin1752.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.86
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/264912/ft1_filtered_4FGL_J1330.7+2933_daily_bin1752.fits evtable="EVENTS" scfile=/scratch/kocevski/264912/ft2_4FGL_J1330.7+2933_daily_bin1752.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/264912/Model_4FGL_J1330.7+2933_daily_bin1752.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/264912/ft1_filtered_4FGL_J1330.7+2933_daily_bin1752.fits.....................!
real 48.32
user 46.79
sys 1.29

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .45443E-03   1.0000          .0000       .10000E+07
     2 'Prefactor '    5.3207       1.0000          .0000       .10000E+07
     3 'Prefactor '    .16653E-09   1.0000          .0000       .10000E+07
     4 'norm      '    .17872E-04   1.0000          .0000       .10000E+07
     5 'Prefactor '    38.987       1.0000          .0000       .10000E+07
     6 'norm      '    .52479E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    .32530E-06   1.0000          .0000       .10000E+07
     8 'norm      '    .20325E-01   1.0000          .0000       .10000E+07
     9 'norm      '    30.364       1.0000          .0000       .10000E+07
    10 'norm      '    .36788E-03   1.0000          .0000       .10000E+07
    11 'norm      '    14.295       1.0000          .0000       .10000E+07
    12 'Prefactor '    3.7459       1.0000          .0000       .10000E+07
    13 'Prefactor '    .16032E-06   1.0000          .0000       .10000E+07
    14 'norm      '    13.191       1.0000          .0000       .10000E+07
    15 'Prefactor '    66.526       1.0000          .0000       .10000E+07
    16 'norm      '    4.9789       1.0000          .0000       .10000E+07
    17 'Prefactor '    .12139E-04   1.0000          .0000       .10000E+07
    18 'Prefactor '    .61658E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    3.5986       1.0000          .0000       .10000E+07
    20 'Prefactor '    18.245       1.0000          .0000       .10000E+07
    21 'norm      '    .24773       1.0000          .0000       .10000E+07
    22 'Prefactor '    45.645       1.0000          .0000       .10000E+07
    23 'Normalizat'    .90124       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .83135       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=   5660.246     FROM MIGRAD    STATUS=CONVERGED    179 CALLS     2025 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        6.5731       -.14328E-06** at limit **
   2  Prefactor     5.3941        5.0009       -.29322E-07   -.11747E-02
   3  Prefactor      .0000        2.0753       -.16049E-07** at limit **
   4  norm           .0000        1.6351        .51212E-07** at limit **
   5  Prefactor     39.114        25.927       -.17195E-07    .42355E-01
   6  norm           .0000        1.2906        .83635E-09** at limit **
   7  Prefactor     .86481E-06    7.1370       -.18705E-06** at limit **
   8  norm          .76050E-08    29.485       -.60515E-07** at limit **
   9  norm          30.353        6.5040       -.13166E-07   -.79059E-02
  10  norm          .37376E-06    15.169        .23482E-06** at limit **
  11  norm          14.276        1.1145       -.61074E-09    .45353E-02
  12  Prefactor     3.7610        4.0221       -.39482E-08   -.10623E-02
  13  Prefactor      .0000        5.7338        .11191E-06** at limit **
  14  norm          13.135        7.4821       -.91165E-08   -.22542E-02
  15  Prefactor     66.181        59.411        .88019E-08    .11705E-01
  16  norm          5.0317        8.2348        .11133E-07   -.28238E-02
  17  Prefactor     .75101E-06    7.3990       -.18151E-06** at limit **
  18  Prefactor     .38003E-06    14.151        .18284E-06** at limit **
  19  Prefactor     3.6054        4.0017        .12930E-07    .40651E-03
  20  Prefactor     18.225        1.6455        .66195E-08    .67370E-03
  21  norm          .22849        7.6469       -.11589E-06** at limit **
  22  Prefactor     45.686        8.2393       -.21929E-08   -.66474E-02
  23  Normalizat    .90151        .20827        .90326E-06   -.62929E-04
  24  Prefactor     .83067        .22794       -.15330E-05   -.82778E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Prefactor  = 5.39409
  Prefactor  = 0
  norm       = 0
  Prefactor  = 39.1144
  norm       = 0
  Prefactor  = 8.64808e-07
  norm       = 7.60503e-09
  norm       = 30.3525
  norm       = 3.73757e-07
  norm       = 14.2763
  Prefactor  = 3.76102
  Prefactor  = 0
  norm       = 13.1349
  Prefactor  = 66.1809
  norm       = 5.03173
  Prefactor  = 7.5101e-07
  Prefactor  = 3.80029e-07
  Prefactor  = 3.6054
  Prefactor  = 18.2251
  norm       = 0.22849
  Prefactor  = 45.6856
  Normalizat = 0.901506
  Prefactor  = 0.830666
 **********
 **   18 **HESSE 
 **********

 FCN=   5660.246     FROM HESSE     STATUS=OK           459 CALLS     2484 TOTAL
                     EDM=   .28E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        6.5700        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.3941        5.0007        .43547E-03   -1.5662    
   3  Prefactor      .0000        2.0753        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        1.6333        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     39.114        28.426        .16017E-03   -1.5583    
   6  norm           .0000        1.2880        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .86481E-06    10.628        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .76050E-08    2.8504        .74894E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          30.353        6.5562        .18150E-03   -1.5598    
  10  norm          .37376E-06    16.661        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          14.276        13.139        .26466E-03   -1.5632    
  12  Prefactor     3.7610        4.1230        .52144E-03   -1.5669    
  13  Prefactor      .0000        5.7389        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.135        7.5415        .27554E-03   -1.5635    
  15  Prefactor     66.181        60.573        .12261E-03   -1.5545    
  16  norm          5.0317        8.2733        .45046E-03   -1.5663    
  17  Prefactor     .75101E-06    10.431        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .38003E-06    15.673        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     3.6054        4.0166        .53242E-03   -1.5670    
  20  Prefactor     18.225        18.450        .23421E-03   -1.5623    
  21  norm          .22849        2.8504        .43465E-02   -1.5698    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     45.686        8.2464        .14803E-03   -1.5573    
  23  Normalizat    .90151        .17429        .44917E-01   -.96407    
  24  Prefactor     .83067        .19162        .63534E-01   -.98608    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.79224e-07
Minuit parameter uncertainties:
  1  1.96336e-05
  2  5.00069
  3  9.74276e-06
  4  1.10506e-05
  5  28.4261
  6  2.59146e-06
  7  0.00606323
  8  0.000294648
  9  6.55619
  10  0.00499089
  11  13.1388
  12  4.12295
  13  1.80814e-05
  14  7.54147
  15  60.5731
  16  8.27337
  17  0.00559775
  18  0.00488109
  19  4.01663
  20  18.4503
  21  1.61404
  22  8.24643
  23  0.174398
  24  0.191777
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  7.510e-07  5.598e-03  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:  8.307e-01  1.918e-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.015e-01  1.744e-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: 7.13e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.52e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/264912/likelihoodResults_693446401_693705601_4FGL_J1330.7+2933_daily_bin1752.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) = 5660.29265151
delta logL = -0.0465404593424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5660.2461111
delta logL = -5.24005372426e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .47268E-06   1.0000          .0000       .10000E+07
     2 'Index     '    1.1867       1.0000          .0000       10.000    
     3 'Normalizat'    .90149       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83066       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=   5660.246     FROM MIGRAD    STATUS=CONVERGED     72 CALLS      243 TOTAL
                     EDM=   .49E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .55511E-10    .91581E-02    .42118E-03** at limit **
   2  Index         3.0422        6.5211        .50000        .22737E-10
   3  Normalizat    .90151        .16193E-03    .44921E-01    .28447E-04
   4  Prefactor     .83067        .18486E-03    .63534E-01    .30310E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.55112e-11
  Index      = 3.04221
  Normalizat = 0.901506
  Prefactor  = 0.830666
 **********
 **   18 **HESSE 
 **********

 FCN=   5660.246     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      276 TOTAL
                     EDM=   .38E-13    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .55511E-10    .70597E-01    .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.0422        8.4136        .50000       -.40232    
   3  Normalizat    .90151        .44840E-03    .23854E-03   -.96407    
   4  Prefactor     .83067        .51148E-03    .28101E-03   -.98608    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.76884e-14
Minuit parameter uncertainties:
  1  2.98293e-06
  2  11150.3
  3  0.0004484
  4  0.000511485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/264912': 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) = 5660.24611101
delta logL = 3.59668774763e-08

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  5.551e-11  2.983e-06  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  3.042e+00  1.115e+04  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:  8.307e-01  5.115e-04  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.015e-01  4.484e-04  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/264912/cmap_HighResolution_693446401_693705601_4FGL_J1330.7+2933_daily_bin1752.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.52e-03', job_status='DONE', photon_flux_upper_limit='7.13e-08', time_completed='2022-12-26 01:13:46.119102', job_id='264912', GAL2='0.83', fit_tolerance='1e-08', EG2='0.90', EG='0.90', time_epoch_completed='1672046026.12', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.83', dlogl='3.60e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1752' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Dec 26 01:13:46 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0148>
Subject: Job 264912: <4FGL_J1330.7+2933_daily_bin1752> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1752> was submitted from host <rhel6-64l> by user <kocevski> in cluster <slac> at Mon Dec 26 01:00:18 2022
Job was executed on host(s) <bullet0148>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Dec 26 01:00:30 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Dec 26 01:00:30 2022
Terminated at Mon Dec 26 01:13:46 2022
Results reported at Mon Dec 26 01:13:46 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1752 202.693 29.5536 693446401 693705601 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 :                                   584.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   796 sec.
    Turnaround time :                            808 sec.

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

