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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1708
RA = 202.693, Dec = 29.5536
tmin = 682041601, tmax = 682300801
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='133852', job_status='RUN', time_executed='2022-09-16 17:37:38.848064', time_epoch_executed='1663375058.85' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1708'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/133852

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/133852/ft1_4FGL_J1330.7+2933_daily_bin1708.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/133852/ft2_4FGL_J1330.7+2933_daily_bin1708.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/133852/ft1_4FGL_J1330.7+2933_daily_bin1708.fits outfile=/scratch/kocevski/133852/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1708.fits ra=202.693 dec=29.5536 rad=12.0 tmin=682041601.0 tmax=682300801.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.17
user 3.79
sys 0.22

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/133852/ft2_4FGL_J1330.7+2933_daily_bin1708.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/133852/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1708.fits evtable="EVENTS" outfile="/scratch/kocevski/133852/ft1_filtered_4FGL_J1330.7+2933_daily_bin1708.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.54
user 0.34
sys 0.17

Number of photons that the gtmktime cut: 559

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/133852/ft1_filtered_4FGL_J1330.7+2933_daily_bin1708.fits" evtable="EVENTS" scfile=/scratch/kocevski/133852/ft2_4FGL_J1330.7+2933_daily_bin1708.fits sctable="SC_DATA" outfile=/scratch/kocevski/133852/ltcube_682041601_682300801_4FGL_J1330.7+2933_daily_bin1708.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/133852/ft2_4FGL_J1330.7+2933_daily_bin1708.fits
.....................!
real 15.89
user 15.04
sys 0.58

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/133852/ft1_filtered_4FGL_J1330.7+2933_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/133852/ft2_4FGL_J1330.7+2933_daily_bin1708.fits sctable="SC_DATA" expcube=/scratch/kocevski/133852/ltcube_682041601_682300801_4FGL_J1330.7+2933_daily_bin1708.fits outfile=/scratch/kocevski/133852/expmap_682041601_682300801_4FGL_J1330.7+2933_daily_bin1708.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/133852/ltcube_682041601_682300801_4FGL_J1330.7+2933_daily_bin1708.fits
.....................!
real 192.11
user 186.68
sys 5.08

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/133852/ft1_filtered_4FGL_J1330.7+2933_daily_bin1708.fits scfile=/scratch/kocevski/133852/ft2_4FGL_J1330.7+2933_daily_bin1708.fits outfile=/scratch/kocevski/133852/cmap_682041601_682300801_4FGL_J1330.7+2933_daily_bin1708.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/133852/ft1_filtered_4FGL_J1330.7+2933_daily_bin1708.fits scfile=/scratch/kocevski/133852/ft2_4FGL_J1330.7+2933_daily_bin1708.fits outfile=/scratch/kocevski/133852/cmap_HighResolution_682041601_682300801_4FGL_J1330.7+2933_daily_bin1708.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.57
user 0.42
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/133852/ft1_filtered_4FGL_J1330.7+2933_daily_bin1708.fits evtable="EVENTS" scfile=/scratch/kocevski/133852/ft2_4FGL_J1330.7+2933_daily_bin1708.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/133852/Model_4FGL_J1330.7+2933_daily_bin1708.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/133852/ft1_filtered_4FGL_J1330.7+2933_daily_bin1708.fits.....................!
real 53.45
user 52.08
sys 1.26

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    13.200       1.0000          .0000       .10000E+07
     2 'Prefactor '    15.803       1.0000          .0000       .10000E+07
     3 'Prefactor '    .18039E-02   1.0000          .0000       .10000E+07
     4 'norm      '    24.825       1.0000          .0000       .10000E+07
     5 'Prefactor '    .84790       1.0000          .0000       .10000E+07
     6 'norm      '    .19598E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.255       1.0000          .0000       .10000E+07
     8 'norm      '    .17658E-03   1.0000          .0000       .10000E+07
     9 'norm      '    37.689       1.0000          .0000       .10000E+07
    10 'norm      '    17.096       1.0000          .0000       .10000E+07
    11 'norm      '    29.378       1.0000          .0000       .10000E+07
    12 'Prefactor '    .49099E-04   1.0000          .0000       .10000E+07
    13 'Prefactor '    .21870E-04   1.0000          .0000       .10000E+07
    14 'norm      '    6.4209       1.0000          .0000       .10000E+07
    15 'Prefactor '    .47553E-05   1.0000          .0000       .10000E+07
    16 'norm      '    .11462E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    15.206       1.0000          .0000       .10000E+07
    18 'Prefactor '    .10617E-04   1.0000          .0000       .10000E+07
    19 'Prefactor '    6.1985       1.0000          .0000       .10000E+07
    20 'Prefactor '    26.317       1.0000          .0000       .10000E+07
    21 'norm      '    .78462E-04   1.0000          .0000       .10000E+07
    22 'Prefactor '    3.1193       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.1542       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .89852       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=   6277.464     FROM MIGRAD    STATUS=CONVERGED    177 CALLS     1988 TOTAL
                     EDM=   .23E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     13.127        5.9606       -.16138E-06    .91358E-02
   2  Prefactor     15.823        9.9370        .22373E-06    .27054E-03
   3  Prefactor      .0000        4.8667        .40115E-06** at limit **
   4  norm          24.895        8.6698       -.57308E-07    .93093E-03
   5  Prefactor     .33307E-09    199.48       -.56836E-05** at limit **
   6  norm           .0000        1.0791       -.25320E-06** at limit **
   7  Prefactor     11.159        10.282        .18766E-06    .10430E-01
   8  norm           .0000        6.7134       -.43419E-06** at limit **
   9  norm          37.721        6.4977       -.13878E-06   -.12232E-01
  10  norm          17.070        4.5473       -.99406E-07    .13697E-01
  11  norm          29.638        8.9696        .17234E-06   -.12260E-01
  12  Prefactor      .0000        1.3656        .57860E-07** at limit **
  13  Prefactor      .0000        6.3131        .34853E-06** at limit **
  14  norm          6.4315        6.1621       -.13236E-06    .26718E-03
  15  Prefactor     .55511E-10    39.243       -.79015E-06** at limit **
  16  norm           .0000        2.9248        .15052E-06** at limit **
  17  Prefactor     15.478        17.636       -.12251E-06   -.77779E-02
  18  Prefactor     .46074E-08    15.707       -.10389E-06** at limit **
  19  Prefactor     6.2222        4.7773       -.55064E-07    .12240E-03
  20  Prefactor     26.998        21.155        .42325E-06    .22834E-02
  21  norm           .0000        1.1798        .10798E-06** at limit **
  22  Prefactor     3.1087        4.5109       -.30552E-07    .74637E-05
  23  Normalizat    1.1522        .23575       -.32258E-05    .45632E-06
  24  Prefactor     .89836        .24684        .49941E-05    .11536E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 13.1275
  Prefactor  = 15.8231
  Prefactor  = 0
  norm       = 24.8955
  Prefactor  = 3.33067e-10
  norm       = 0
  Prefactor  = 11.1587
  norm       = 0
  norm       = 37.7206
  norm       = 17.0702
  norm       = 29.6378
  Prefactor  = 0
  Prefactor  = 0
  norm       = 6.43148
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 15.4782
  Prefactor  = 4.60743e-09
  Prefactor  = 6.22218
  Prefactor  = 26.9978
  norm       = 0
  Prefactor  = 3.10869
  Normalizat = 1.15219
  Prefactor  = 0.898356
 **********
 **   18 **HESSE 
 **********

 FCN=   6277.464     FROM HESSE     STATUS=OK           449 CALLS     2437 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     13.127        25.534        .27544E-03   -1.5635    
   2  Prefactor     15.823        9.9485        .25168E-03   -1.5628    
   3  Prefactor      .0000        4.8695        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          24.895        8.7715        .20075E-03   -1.5608    
   5  Prefactor     .33307E-09    198.75        .49431E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.0778        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.159        20.295        .31264E-03   -1.5641    
   8  norm           .0000        6.6818        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          37.721        11.854        .16291E-03   -1.5585    
  10  norm          17.070        17.467        .24196E-03   -1.5625    
  11  norm          29.638        23.934        .18453E-03   -1.5599    
  12  Prefactor      .0000        1.3635        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor      .0000        6.3174        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.4315        6.2316        .39585E-03   -1.5657    
  15  Prefactor     .55511E-10    39.337        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm           .0000        2.9159        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     15.478        18.689        .25659E-03   -1.5629    
  18  Prefactor     .46074E-08    16.607        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     6.2222        4.7895        .40298E-03   -1.5658    
  20  Prefactor     26.998        24.027        .19497E-03   -1.5604    
  21  norm           .0000        1.1795        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.1087        4.5315        .57382E-03   -1.5673    
  23  Normalizat    1.1522        .19596        .58287E-01   -.88093    
  24  Prefactor     .89836        .20568        .70373E-01   -.96199    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.78433e-08
Minuit parameter uncertainties:
  1  25.5341
  2  9.9485
  3  1.11073e-05
  4  8.77146
  5  0.000510014
  6  6.40063e-08
  7  20.295
  8  1.35592e-05
  9  11.8543
  10  17.4675
  11  23.9342
  12  1.90858e-07
  13  1.94941e-05
  14  6.23165
  15  7.80865e-05
  16  4.36734e-06
  17  18.6889
  18  0.000553227
  19  4.7895
  20  24.027
  21  4.24848e-08
  22  4.53154
  23  0.196081
  24  0.205856
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  1.548e+01  1.869e+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:  8.984e-01  2.059e-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.152e+00  1.961e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/133852/likelihoodResults_682041601_682300801_4FGL_J1330.7+2933_daily_bin1708.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) = 6276.65560627
delta logL = 0.807930505658

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6276.62159592
delta logL = 0.841940856048

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5936       1.0000          .0000       .10000E+07
     2 'Index     '    3.8592       1.0000          .0000       10.000    
     3 'Normalizat'    1.0645       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96330       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=   6276.622     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      306 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.6024        42.214        .53281E-03    .22199E-02
   2  Index         3.8580        2.7390        .12684        .11084E-03
   3  Normalizat    1.0647        .60057E-01    .60243E-01   -.16181E-03
   4  Prefactor     .96323        .62521E-01    .68237E-01   -.15035E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.60236
  Index      = 3.858
  Normalizat = 1.06469
  Prefactor  = 0.963232
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.622     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      339 TOTAL
                     EDM=   .37E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.6024        79.762        .97306E-05   -1.5670    
   2  Index         3.8580        6.8226        .44682E-02   -.23043    
   3  Normalizat    1.0647        .24931        .26643E-03   -.90894    
   4  Prefactor     .96323        .26150        .30184E-03   -.93965    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.73092e-07
Minuit parameter uncertainties:
  1  33.9021
  2  5.09971
  3  0.249581
  4  0.261841
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/133852': 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) = 6276.62159473
delta logL = 0.841942044036

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  3.602e+00  3.390e+01  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  3.858e+00  5.100e+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:  9.632e-01  2.618e-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.065e+00  2.496e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.83
Ra Dec: 202.693 29.554
Photon Index (Free Index): 3.86 +/- 5.10
Photon Flux (Free Index): 1.06e-07 +/- 1.11e-07
Energy Flux (Free Index): 1.63e-05 +/- 1.18e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/133852/cmap_HighResolution_682041601_682300801_4FGL_J1330.7+2933_daily_bin1708.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.66e-03', comment='SUCCESS', energy_flux2='1.63e-05', dlogl='8.42e-01', photon_flux2='1.06e-07', job_status='DONE', time_completed='2022-09-16 17:47:39.308891', photon_index_error2='5.10', photon_index2='3.86', ts='0.97', fit_tolerance='1e-08', GAL='0.90', photon_index_error='0.00', photon_flux_upper_limit='1.25e-07', energy_flux_error2='1.18e-05', EG='1.15', time_epoch_completed='1663375659.31', return_code='0', job_id='133852', GAL2='0.96', EG2='1.06', return_code2='102', photon_flux_error2='1.11e-07', ts2='2.83', photon_index='2.45' WHERE bin_id='1708' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 17:47:39 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 133852: <4FGL_J1330.7+2933_daily_bin1708> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1708> 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) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 17:36:32 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:32 2022
Terminated at Fri Sep 16 17:47:39 2022
Results reported at Fri Sep 16 17:47:39 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1708 202.693 29.5536 682041601 682300801 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 :                                   602.34 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.29 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   667 sec.
    Turnaround time :                            737 sec.

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

