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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1771
RA = 202.693, Dec = 29.5536
tmin = 698371201, tmax = 698630401
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='548863', job_status='RUN', time_executed='2023-02-21 00:55:56.190145', time_epoch_executed='1676969756.19' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1771'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/548863

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/548863/ft1_4FGL_J1330.7+2933_daily_bin1771.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/548863/ft2_4FGL_J1330.7+2933_daily_bin1771.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/548863/ft1_4FGL_J1330.7+2933_daily_bin1771.fits outfile=/scratch/kocevski/548863/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1771.fits ra=202.693 dec=29.5536 rad=12.0 tmin=698371201.0 tmax=698630401.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.20
user 2.84
sys 0.22

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

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

Number of photons that the gtmktime cut: 327

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/548863/ft1_filtered_4FGL_J1330.7+2933_daily_bin1771.fits" evtable="EVENTS" scfile=/scratch/kocevski/548863/ft2_4FGL_J1330.7+2933_daily_bin1771.fits sctable="SC_DATA" outfile=/scratch/kocevski/548863/ltcube_698371201_698630401_4FGL_J1330.7+2933_daily_bin1771.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/548863/ft2_4FGL_J1330.7+2933_daily_bin1771.fits
.....................!
real 12.63
user 12.28
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/548863/ft1_filtered_4FGL_J1330.7+2933_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/548863/ft2_4FGL_J1330.7+2933_daily_bin1771.fits sctable="SC_DATA" expcube=/scratch/kocevski/548863/ltcube_698371201_698630401_4FGL_J1330.7+2933_daily_bin1771.fits outfile=/scratch/kocevski/548863/expmap_698371201_698630401_4FGL_J1330.7+2933_daily_bin1771.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/548863/ltcube_698371201_698630401_4FGL_J1330.7+2933_daily_bin1771.fits
.....................!
real 190.58
user 185.62
sys 4.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/548863/ft1_filtered_4FGL_J1330.7+2933_daily_bin1771.fits scfile=/scratch/kocevski/548863/ft2_4FGL_J1330.7+2933_daily_bin1771.fits outfile=/scratch/kocevski/548863/cmap_698371201_698630401_4FGL_J1330.7+2933_daily_bin1771.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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/548863/ft1_filtered_4FGL_J1330.7+2933_daily_bin1771.fits scfile=/scratch/kocevski/548863/ft2_4FGL_J1330.7+2933_daily_bin1771.fits outfile=/scratch/kocevski/548863/cmap_HighResolution_698371201_698630401_4FGL_J1330.7+2933_daily_bin1771.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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/548863/ft1_filtered_4FGL_J1330.7+2933_daily_bin1771.fits evtable="EVENTS" scfile=/scratch/kocevski/548863/ft2_4FGL_J1330.7+2933_daily_bin1771.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/548863/Model_4FGL_J1330.7+2933_daily_bin1771.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/548863/ft1_filtered_4FGL_J1330.7+2933_daily_bin1771.fits.....................!
real 34.45
user 33.14
sys 1.17

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.929       1.0000          .0000       .10000E+07
     2 'Prefactor '    27.365       1.0000          .0000       .10000E+07
     3 'Prefactor '    .10690E-03   1.0000          .0000       .10000E+07
     4 'norm      '    5.9036       1.0000          .0000       .10000E+07
     5 'Prefactor '    .75260E-01   1.0000          .0000       .10000E+07
     6 'norm      '    .29915E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    .42850E-02   1.0000          .0000       .10000E+07
     8 'norm      '    .24823E-03   1.0000          .0000       .10000E+07
     9 'norm      '    44.068       1.0000          .0000       .10000E+07
    10 'norm      '    .12545E-03   1.0000          .0000       .10000E+07
    11 'norm      '    18.506       1.0000          .0000       .10000E+07
    12 'Prefactor '    .11105E-02   1.0000          .0000       .10000E+07
    13 'Prefactor '    14.302       1.0000          .0000       .10000E+07
    14 'norm      '    22.706       1.0000          .0000       .10000E+07
    15 'Prefactor '    54.583       1.0000          .0000       .10000E+07
    16 'norm      '    3.8814       1.0000          .0000       .10000E+07
    17 'Prefactor '    15.232       1.0000          .0000       .10000E+07
    18 'Prefactor '    .56360E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    5.8113       1.0000          .0000       .10000E+07
    20 'Prefactor '    .10021       1.0000          .0000       .10000E+07
    21 'norm      '    .43763E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    35.346       1.0000          .0000       .10000E+07
    23 'Normalizat'    .83866       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.1277       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=   3639.004     FROM MIGRAD    STATUS=CONVERGED    166 CALLS     2075 TOTAL
                     EDM=   .52E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     61.136        21.270        .45466E-07    .66187E-01
   2  Prefactor     27.366        3.0249       -.11652E-06   -.33685E-03
   3  Prefactor     .16653E-09    6.6476       -.92239E-06** at limit **
   4  norm          5.9264        10.806       -.17258E-05   -.95488E-03
   5  Prefactor      .0000        29.810        .40099E-06** at limit **
   6  norm          .61062E-09    9.1045       -.57427E-06** at limit **
   7  Prefactor     .33862E-08    11.887       -.10336E-05** at limit **
   8  norm          .55511E-10    3.0225        .48045E-07** at limit **
   9  norm          44.028        13.113        .13345E-05    .59917E-02
  10  norm          .21649E-08    26.577        .39560E-06** at limit **
  11  norm          18.317        5.4584        .42965E-06   -.19767E-01
  12  Prefactor     .24980E-08    17.802        .13499E-05** at limit **
  13  Prefactor     14.463        28.502       -.55874E-06   -.49077E-02
  14  norm          22.708        1.8317        .73597E-08    .13286E-02
  15  Prefactor     53.560        88.528       -.13673E-05    .14232E-01
  16  norm          3.8831        6.8157        .61365E-08    .27021E-02
  17  Prefactor     15.229        2.6557        .89421E-07    .44005E-02
  18  Prefactor     .16098E-08    10.243        .25453E-05** at limit **
  19  Prefactor     5.7958        5.8105        .69427E-07    .24794E-02
  20  Prefactor     .33307E-09    37.440       -.86977E-07** at limit **
  21  norm          .83267E-09    6.3153       -.31181E-06** at limit **
  22  Prefactor     35.335        7.6889        .40833E-07    .16970E-03
  23  Normalizat    .83918        .29013       -.96917E-05   -.21606E-03
  24  Prefactor     1.1278        .31015        .41837E-05   -.16373E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 61.1361
  Prefactor  = 27.3659
  Prefactor  = 1.66533e-10
  norm       = 5.92643
  Prefactor  = 0
  norm       = 6.10623e-10
  Prefactor  = 3.38618e-09
  norm       = 5.55112e-11
  norm       = 44.0278
  norm       = 2.16493e-09
  norm       = 18.3174
  Prefactor  = 2.498e-09
  Prefactor  = 14.4629
  norm       = 22.7075
  Prefactor  = 53.5596
  norm       = 3.8831
  Prefactor  = 15.2287
  Prefactor  = 1.60982e-09
  Prefactor  = 5.79577
  Prefactor  = 3.33067e-10
  norm       = 8.32667e-10
  Prefactor  = 35.3355
  Normalizat = 0.839183
  Prefactor  = 1.1278
 **********
 **   18 **HESSE 
 **********

 FCN=   3639.004     FROM HESSE     STATUS=OK           453 CALLS     2528 TOTAL
                     EDM=   .49E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     61.136        76.708        .12812E-03   -1.5552    
   2  Prefactor     27.366        25.287        .19120E-03   -1.5603    
   3  Prefactor     .16653E-09    6.6434        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          5.9264        10.862        .41306E-03   -1.5659    
   5  Prefactor      .0000        29.776        .14648E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .61062E-09    9.0768        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .33862E-08    11.891        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .55511E-10    3.0226        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          44.028        13.241        .15065E-03   -1.5575    
  10  norm          .21649E-08    26.552        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          18.317        31.653        .23254E-03   -1.5622    
  12  Prefactor     .24980E-08    17.778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.463        29.314        .26459E-03   -1.5632    
  14  norm          22.708        12.342        .20991E-03   -1.5613    
  15  Prefactor     53.560        92.409        .13536E-03   -1.5562    
  16  norm          3.8831        7.2841        .51192E-03   -1.5669    
  17  Prefactor     15.229        22.193        .25636E-03   -1.5630    
  18  Prefactor     .16098E-08    10.252        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     5.7958        5.8354        .41638E-03   -1.5660    
  20  Prefactor     .33307E-09    14.354        .73394E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .83267E-09    6.2443        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     35.335        7.6928        .16822E-03   -1.5589    
  23  Normalizat    .83918        .24505        .65143E-01   -.98631    
  24  Prefactor     1.1278        .25882        .62677E-01   -.88583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.85562e-07
Minuit parameter uncertainties:
  1  76.7087
  2  25.287
  3  6.52981e-05
  4  10.862
  5  5.04476e-05
  6  0.000146707
  7  0.000401728
  8  2.40573e-05
  9  13.2414
  10  0.000481699
  11  31.6537
  12  0.000422586
  13  29.3138
  14  12.3418
  15  92.4113
  16  7.28409
  17  22.1928
  18  0.000257795
  19  5.83543
  20  0.000138447
  21  0.000143912
  22  7.69279
  23  0.245378
  24  0.259111
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  1.523e+01  2.219e+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.128e+00  2.591e-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.392e-01  2.454e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/548863/likelihoodResults_698371201_698630401_4FGL_J1330.7+2933_daily_bin1771.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) = 3638.99983189
delta logL = 0.00404688242861

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3638.99489629
delta logL = 0.00898248618432

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    12.243       1.0000          .0000       .10000E+07
     2 'Index     '    2.7343       1.0000          .0000       10.000    
     3 'Normalizat'    .82528       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1384       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   3638.995     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      293 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     12.213        94.092        .11441E-04    .35016E-02
   2  Index         2.7351        6.3674        .95645E-02    .10192E-03
   3  Normalizat    .82515        .36439        .29034E-03    .36867E-03
   4  Prefactor     1.1384        .36273        .27611E-03   -.93719E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 12.213
  Index      = 2.7351
  Normalizat = 0.825153
  Prefactor  = 1.13845
 **********
 **   18 **HESSE 
 **********

 FCN=   3638.995     FROM HESSE     STATUS=OK            25 CALLS      318 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     12.213        34.268        .45765E-06   -1.5638    
   2  Index         2.7351        2.3260        .38258E-03   -.47010    
   3  Normalizat    .82515        .30769        .58068E-04   -.99142    
   4  Prefactor     1.1384        .32436        .55223E-04   -.88247    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.63807e-08
Minuit parameter uncertainties:
  1  34.2689
  2  2.44712
  3  0.308339
  4  0.324928
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/548863': 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) = 3638.99489526
delta logL = 0.0089835210797

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  1.221e+01  3.427e+01  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  2.735e+00  2.447e+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.138e+00  3.249e-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.252e-01  3.083e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.70
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/548863/cmap_HighResolution_698371201_698630401_4FGL_J1330.7+2933_daily_bin1771.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.20e-02', job_status='DONE', photon_flux_upper_limit='1.55e-07', time_completed='2023-02-21 01:04:03.585152', job_id='548863', GAL2='1.14', fit_tolerance='1e-08', EG2='0.83', EG='0.84', time_epoch_completed='1676970243.59', return_code2='0', ts='0.70', comment='SUCCESS', return_code='0', GAL='1.13', dlogl='8.98e-03', ts2='0.72', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1771' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Feb 21 01:04:03 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0074>
Subject: Job 548863: <4FGL_J1330.7+2933_daily_bin1771> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1771> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Tue Feb 21 00:55:18 2023
Job was executed on host(s) <bullet0074>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Feb 21 00:55:19 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Feb 21 00:55:19 2023
Terminated at Tue Feb 21 01:04:04 2023
Results reported at Tue Feb 21 01:04:04 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1771 202.693 29.5536 698371201 698630401 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 :                                   489.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.88 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   524 sec.
    Turnaround time :                            526 sec.

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

