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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1762
RA = 202.693, Dec = 29.5536
tmin = 696038401, tmax = 696297601
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='110552', job_status='RUN', time_executed='2023-01-25 01:01:12.500900', time_epoch_executed='1674637272.5' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1762'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/110552

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/110552/ft1_4FGL_J1330.7+2933_daily_bin1762.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/110552/ft2_4FGL_J1330.7+2933_daily_bin1762.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/110552/ft1_4FGL_J1330.7+2933_daily_bin1762.fits outfile=/scratch/kocevski/110552/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1762.fits ra=202.693 dec=29.5536 rad=12.0 tmin=696038401.0 tmax=696297601.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.72
user 3.43
sys 0.23

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

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

Number of photons that the gtmktime cut: 613

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/110552/ft1_filtered_4FGL_J1330.7+2933_daily_bin1762.fits" evtable="EVENTS" scfile=/scratch/kocevski/110552/ft2_4FGL_J1330.7+2933_daily_bin1762.fits sctable="SC_DATA" outfile=/scratch/kocevski/110552/ltcube_696038401_696297601_4FGL_J1330.7+2933_daily_bin1762.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/110552/ft2_4FGL_J1330.7+2933_daily_bin1762.fits
.....................!
real 14.39
user 13.90
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/110552/ft1_filtered_4FGL_J1330.7+2933_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110552/ft2_4FGL_J1330.7+2933_daily_bin1762.fits sctable="SC_DATA" expcube=/scratch/kocevski/110552/ltcube_696038401_696297601_4FGL_J1330.7+2933_daily_bin1762.fits outfile=/scratch/kocevski/110552/expmap_696038401_696297601_4FGL_J1330.7+2933_daily_bin1762.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/110552/ltcube_696038401_696297601_4FGL_J1330.7+2933_daily_bin1762.fits
.....................!
real 193.08
user 186.53
sys 5.55

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/110552/ft1_filtered_4FGL_J1330.7+2933_daily_bin1762.fits scfile=/scratch/kocevski/110552/ft2_4FGL_J1330.7+2933_daily_bin1762.fits outfile=/scratch/kocevski/110552/cmap_696038401_696297601_4FGL_J1330.7+2933_daily_bin1762.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.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/110552/ft1_filtered_4FGL_J1330.7+2933_daily_bin1762.fits scfile=/scratch/kocevski/110552/ft2_4FGL_J1330.7+2933_daily_bin1762.fits outfile=/scratch/kocevski/110552/cmap_HighResolution_696038401_696297601_4FGL_J1330.7+2933_daily_bin1762.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.56
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/110552/ft1_filtered_4FGL_J1330.7+2933_daily_bin1762.fits evtable="EVENTS" scfile=/scratch/kocevski/110552/ft2_4FGL_J1330.7+2933_daily_bin1762.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/110552/Model_4FGL_J1330.7+2933_daily_bin1762.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/110552/ft1_filtered_4FGL_J1330.7+2933_daily_bin1762.fits.....................!
real 57.30
user 55.79
sys 1.27

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.185       1.0000          .0000       .10000E+07
     2 'Prefactor '    1.6623       1.0000          .0000       .10000E+07
     3 'Prefactor '    .12061E-04   1.0000          .0000       .10000E+07
     4 'norm      '    10.524       1.0000          .0000       .10000E+07
     5 'Prefactor '    38.087       1.0000          .0000       .10000E+07
     6 'norm      '    5.4932       1.0000          .0000       .10000E+07
     7 'Prefactor '    .59166E-03   1.0000          .0000       .10000E+07
     8 'norm      '    .43986E-05   1.0000          .0000       .10000E+07
     9 'norm      '    41.013       1.0000          .0000       .10000E+07
    10 'norm      '    19.742       1.0000          .0000       .10000E+07
    11 'norm      '    37.066       1.0000          .0000       .10000E+07
    12 'Prefactor '    .36568E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .41851E-03   1.0000          .0000       .10000E+07
    14 'norm      '    62.586       1.0000          .0000       .10000E+07
    15 'Prefactor '    28.976       1.0000          .0000       .10000E+07
    16 'norm      '    .10705E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    14.243       1.0000          .0000       .10000E+07
    18 'Prefactor '    .15743E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.5566       1.0000          .0000       .10000E+07
    20 'Prefactor '    .14710E-07   1.0000          .0000       .10000E+07
    21 'norm      '    .56721E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    2.8648       1.0000          .0000       .10000E+07
    23 'Normalizat'    .99756       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1187       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=   6913.315     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     2021 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.450        2.9077        .25591E-07   -.20911E-01
   2  Prefactor     1.6500        5.5559        .16138E-05    .23931E-02
   3  Prefactor      .0000        4.6072       -.10804E-05** at limit **
   4  norm          10.404        8.1640       -.73539E-06   -.19347E-02
   5  Prefactor     38.379        4.0254       -.35562E-06    .12944    
   6  norm          5.4831        4.4021        .26641E-06    .23611E-02
   7  Prefactor     .13878E-07    12.624        .13781E-05** at limit **
   8  norm          .11102E-09    2.1307       -.22999E-06** at limit **
   9  norm          40.906        7.1564        .57499E-06   -.81363E-01
  10  norm          19.913        5.8369       -.18426E-06    .76829E-01
  11  norm          37.038        1.3206       -.62816E-07    .71610E-01
  12  Prefactor     .24736E-06    7.4749       -.53009E-06** at limit **
  13  Prefactor     .68279E-08    55.158       -.61761E-05** at limit **
  14  norm          62.563        10.888        .76915E-06    .22651    
  15  Prefactor     19.852        64.995        .43799E-05    .33351E-02
  16  norm          .56305E-06    8.6772       -.16611E-07** at limit **
  17  Prefactor     14.349        1.7112        .88874E-07    .14214E-02
  18  Prefactor     .55511E-10    24.836       -.77052E-06** at limit **
  19  Prefactor     6.5469        5.4511       -.25449E-07   -.48858E-04
  20  Prefactor     .21594E-07    6.9340        .42665E-06** at limit **
  21  norm          .10650E-05    6.6697       -.26506E-05** at limit **
  22  Prefactor     2.8552        3.2852       -.99158E-07   -.82350E-03
  23  Normalizat    1.0018        .22985       -.19788E-05   -.12602E-03
  24  Prefactor     1.1177        .24052        .21749E-05   -.26294E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4504
  Prefactor  = 1.65003
  Prefactor  = 0
  norm       = 10.4043
  Prefactor  = 38.3786
  norm       = 5.48312
  Prefactor  = 1.38778e-08
  norm       = 1.11022e-10
  norm       = 40.9059
  norm       = 19.9135
  norm       = 37.0376
  Prefactor  = 2.47358e-07
  Prefactor  = 6.82787e-09
  norm       = 62.5633
  Prefactor  = 19.852
  norm       = 5.6305e-07
  Prefactor  = 14.3493
  Prefactor  = 5.55112e-11
  Prefactor  = 6.54693
  Prefactor  = 2.15938e-08
  norm       = 1.06498e-06
  Prefactor  = 2.85517
  Normalizat = 1.00182
  Prefactor  = 1.11772
 **********
 **   18 **HESSE 
 **********

 FCN=   6913.315     FROM HESSE     STATUS=OK           447 CALLS     2468 TOTAL
                     EDM=   .18E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.450        16.915        .22839E-03   -1.5620    
   2  Prefactor     1.6500        5.6078        .81785E-03   -1.5682    
   3  Prefactor      .0000        4.5927        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.404        10.392        .30860E-03   -1.5643    
   5  Prefactor     38.379        52.206        .16205E-03   -1.5584    
   6  norm          5.4831        4.4344        .42846E-03   -1.5661    
   7  Prefactor     .13878E-07    13.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .11102E-09    2.1457        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          40.906        12.529        .15616E-03   -1.5580    
  10  norm          19.913        17.242        .22514E-03   -1.5619    
  11  norm          37.038        25.576        .16427E-03   -1.5586    
  12  Prefactor     .24736E-06    7.9154        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .68279E-08    55.980        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          62.563        12.678        .12641E-03   -1.5550    
  15  Prefactor     19.852        67.213        .18580E-03   -1.5619    
  16  norm          .56305E-06    11.577        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     14.349        21.460        .26513E-03   -1.5632    
  18  Prefactor     .55511E-10    25.055        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.5469        5.4664        .39168E-03   -1.5657    
  20  Prefactor     .21594E-07    7.0058        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .10650E-05    12.639        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     2.8552        3.2895        .60034E-03   -1.5674    
  23  Normalizat    1.0018        .19964        .46136E-01   -.92969    
  24  Prefactor     1.1177        .20612        .68310E-01   -.88902    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.84599e-06
Minuit parameter uncertainties:
  1  16.9146
  2  5.6078
  3  1.57543e-05
  4  10.3916
  5  52.2064
  6  4.43437
  7  0.000852001
  8  3.26648e-05
  9  12.5289
  10  17.2419
  11  25.5759
  12  0.00279866
  13  0.00123755
  14  12.6775
  15  67.2151
  16  0.00510621
  17  21.4602
  18  5.59387e-05
  19  5.46639
  20  0.000778369
  21  0.00733774
  22  3.2895
  23  0.199792
  24  0.206271
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  1.435e+01  2.146e+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.118e+00  2.063e-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.002e+00  1.998e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.58
Ra Dec: 202.693 29.554
Photon Flux Upper Limit: 1.33e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.03e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/110552/likelihoodResults_696038401_696297601_4FGL_J1330.7+2933_daily_bin1762.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) = 6913.18179229
delta logL = 0.132935307648

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6913.04029226
delta logL = 0.274435334039

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .48693E-05   1.0000          .0000       .10000E+07
     2 'Index     '    9.8812       1.0000          .0000       10.000    
     3 'Normalizat'    .95928       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1639       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=   6913.599     FROM MIGRAD    STATUS=CONVERGED    174 CALLS      730 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .13878E-08    .64396E-01    .42118E-03** at limit **
   2  Index         .72225        7.2536        .50000        .32742E-08
   3  Normalizat    1.0247        .90170E-03    .45655E-01    .27553E-03
   4  Prefactor     1.1145        .98940E-03    .68467E-01    .21066E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.38778e-09
  Index      = 0.722246
  Normalizat = 1.02469
  Prefactor  = 1.1145
 **********
 **   18 **HESSE 
 **********

 FCN=   6913.599     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      759 TOTAL
                     EDM=   .72E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .13878E-08    .53552        .84235E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .72225        5.7603        .20000       -196.89    
   3  Normalizat    1.0247        .25988E-02    .28785E-03   -.92208    
   4  Prefactor     1.1145        .28497E-02    .30290E-03   -.89005    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 7.23037e-10
Minuit parameter uncertainties:
  1  5.44979e-05
  2  9299.4
  3  0.00259882
  4  0.00284975
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/110552': 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) = 6913.59930338
delta logL = -0.284575788211

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  1.388e-09  5.450e-05  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  7.222e-01  9.299e+03  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.114e+00  2.850e-03  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.025e+00  2.599e-03  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.58
Ra Dec: 202.693 29.554

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/110552/cmap_HighResolution_696038401_696297601_4FGL_J1330.7+2933_daily_bin1762.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.03e-02', job_status='DONE', photon_flux_upper_limit='1.33e-07', time_completed='2023-01-25 01:12:13.850300', job_id='110552', GAL2='1.11', fit_tolerance='1e-08', EG2='1.02', EG='1.00', time_epoch_completed='1674637933.85', return_code2='102', ts='0.58', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='-2.85e-01', ts2='-0.00', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1762' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan 25 01:12:13 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0121>
Subject: Job 110552: <4FGL_J1330.7+2933_daily_bin1762> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1762> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Wed Jan 25 01:00:26 2023
Job was executed on host(s) <bullet0121>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan 25 01:00:41 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan 25 01:00:41 2023
Terminated at Wed Jan 25 01:12:14 2023
Results reported at Wed Jan 25 01:12:14 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1762 202.693 29.5536 696038401 696297601 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 :                                   662.32 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             326.46 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   693 sec.
    Turnaround time :                            708 sec.

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

