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 173 seconds before starting...
Proceeding.

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

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

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

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

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


Performing analysis on: 4FGL_J1330.7+2933_daily_bin1772
RA = 202.693, Dec = 29.5536
tmin = 698630401, tmax = 698889601
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='634490', job_status='RUN', time_executed='2023-02-24 01:48:19.139994', time_epoch_executed='1677232099.14' WHERE source_name='4FGL J1330.7+2933' and cadence='daily' and bin_id='1772'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/634490

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/634490/ft1_4FGL_J1330.7+2933_daily_bin1772.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/634490/ft2_4FGL_J1330.7+2933_daily_bin1772.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/634490/ft1_4FGL_J1330.7+2933_daily_bin1772.fits outfile=/scratch/kocevski/634490/ft1_filteredMKT_4FGL_J1330.7+2933_daily_bin1772.fits ra=202.693 dec=29.5536 rad=12.0 tmin=698630401.0 tmax=698889601.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 2.99
user 2.79
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/634490/ft1_filtered_4FGL_J1330.7+2933_daily_bin1772.fits" evtable="EVENTS" scfile=/scratch/kocevski/634490/ft2_4FGL_J1330.7+2933_daily_bin1772.fits sctable="SC_DATA" outfile=/scratch/kocevski/634490/ltcube_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.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/634490/ft2_4FGL_J1330.7+2933_daily_bin1772.fits
.....................!
real 12.97
user 12.59
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/634490/ft1_filtered_4FGL_J1330.7+2933_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/634490/ft2_4FGL_J1330.7+2933_daily_bin1772.fits sctable="SC_DATA" expcube=/scratch/kocevski/634490/ltcube_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.fits outfile=/scratch/kocevski/634490/expmap_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.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/634490/ltcube_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.fits
.....................!
real 189.88
user 184.78
sys 4.63

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/634490/ft1_filtered_4FGL_J1330.7+2933_daily_bin1772.fits scfile=/scratch/kocevski/634490/ft2_4FGL_J1330.7+2933_daily_bin1772.fits outfile=/scratch/kocevski/634490/cmap_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.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.61
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/634490/ft1_filtered_4FGL_J1330.7+2933_daily_bin1772.fits scfile=/scratch/kocevski/634490/ft2_4FGL_J1330.7+2933_daily_bin1772.fits outfile=/scratch/kocevski/634490/cmap_HighResolution_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=202.693 yref=29.5536 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.55
user 0.41
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/634490/ft1_filtered_4FGL_J1330.7+2933_daily_bin1772.fits evtable="EVENTS" scfile=/scratch/kocevski/634490/ft2_4FGL_J1330.7+2933_daily_bin1772.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/634490/Model_4FGL_J1330.7+2933_daily_bin1772.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/634490/ft1_filtered_4FGL_J1330.7+2933_daily_bin1772.fits.....................!
real 38.62
user 37.31
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/634490/ft1_filtered_4FGL_J1330.7+2933_daily_bin1772.fits', '/scratch/kocevski/634490/ft2_4FGL_J1330.7+2933_daily_bin1772.fits', expMap='/scratch/kocevski/634490/expmap_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.fits', expCube='/scratch/kocevski/634490/ltcube_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/634490/Model_4FGL_J1330.7+2933_daily_bin1772.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/634490/ft1_filtered_4FGL_J1330.7+2933_daily_bin1772.fits
Spacecraft file(s): /scratch/kocevski/634490/ft2_4FGL_J1330.7+2933_daily_bin1772.fits
Exposure map: /scratch/kocevski/634490/expmap_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.fits
Exposure cube: /scratch/kocevski/634490/ltcube_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/634490/Model_4FGL_J1330.7+2933_daily_bin1772.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 102
logL (Fixed Index) = 4219.24805627

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11430E-04   1.0000          .0000       .10000E+07
     2 'Prefactor '    .10271E-02   1.0000          .0000       .10000E+07
     3 'Prefactor '    .32016E-03   1.0000          .0000       .10000E+07
     4 'norm      '    .32940E-03   1.0000          .0000       .10000E+07
     5 'Prefactor '    .23127E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .26926E-04   1.0000          .0000       .10000E+07
     7 'Prefactor '    13.896       1.0000          .0000       .10000E+07
     8 'norm      '    .22388E-03   1.0000          .0000       .10000E+07
     9 'norm      '    42.227       1.0000          .0000       .10000E+07
    10 'norm      '    .50771E-03   1.0000          .0000       .10000E+07
    11 'norm      '    .37663E-02   1.0000          .0000       .10000E+07
    12 'Prefactor '    .36273E-03   1.0000          .0000       .10000E+07
    13 'Prefactor '    .18235E-05   1.0000          .0000       .10000E+07
    14 'norm      '    27.065       1.0000          .0000       .10000E+07
    15 'Prefactor '    .43365       1.0000          .0000       .10000E+07
    16 'norm      '    7.2029       1.0000          .0000       .10000E+07
    17 'Prefactor '    .16682       1.0000          .0000       .10000E+07
    18 'Prefactor '    .60521E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    .14316E-05   1.0000          .0000       .10000E+07
    20 'Prefactor '    7.3657       1.0000          .0000       .10000E+07
    21 'norm      '    .13376E-03   1.0000          .0000       .10000E+07
    22 'Prefactor '    11.315       1.0000          .0000       .10000E+07
    23 'Normalizat'    1.0400       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .96050       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=   4218.995     FROM MIGRAD    STATUS=CONVERGED    143 CALLS     1531 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .19301E-06    70.093        .63157E-05** at limit **
   2  Prefactor     .83655E-07    5.1209       -.57824E-07** at limit **
   3  Prefactor     .11657E-08    4.4560       -.47576E-06** at limit **
   4  norm           .0000        2.5989       -.70153E-06** at limit **
   5  Prefactor     .10912E-05    30.170        .12160E-04** at limit **
   6  norm           .0000        1.9615       -.17928E-05** at limit **
   7  Prefactor     13.949        2.3103        .96998E-06    .17059E-01
   8  norm          .15543E-08    5.1041        .14572E-06** at limit **
   9  norm          42.218        9.3208        .93113E-07   -.18456E-01
  10  norm          .25985E-06    4.8429        .14781E-05** at limit **
  11  norm          .63044E-06    17.244       -.13004E-04** at limit **
  12  Prefactor     .11341E-06    7.0798       -.88539E-05** at limit **
  13  Prefactor     .22593E-06    16.672        .61647E-05** at limit **
  14  norm          27.068        2.6447       -.68672E-06   -.68519E-01
  15  Prefactor     .11367E-05    5.4266       -.29134E-05** at limit **
  16  norm          7.1194        2.3819        .94219E-06    .10843E-01
  17  Prefactor     .34439E-04    7.7690       -.98246E-05** at limit **
  18  Prefactor     .11213E-07    7.2291        .36400E-05** at limit **
  19  Prefactor     .11102E-09    3.7674        .18867E-05** at limit **
  20  Prefactor     7.3464        1.6624       -.72786E-06    .15996E-03
  21  norm          .55511E-10    2.1273       -.15875E-06** at limit **
  22  Prefactor     11.372        5.1499        .67746E-06   -.54512E-02
  23  Normalizat    1.0403        .25420        .56076E-04   -.10554E-03
  24  Prefactor     .96039        .27952       -.59462E-04   -.15279E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.93012e-07
  Prefactor  = 8.36553e-08
  Prefactor  = 1.16573e-09
  norm       = 0
  Prefactor  = 1.09118e-06
  norm       = 0
  Prefactor  = 13.949
  norm       = 1.55431e-09
  norm       = 42.2182
  norm       = 2.59848e-07
  norm       = 6.3044e-07
  Prefactor  = 1.13409e-07
  Prefactor  = 2.2593e-07
  norm       = 27.0684
  Prefactor  = 1.1367e-06
  norm       = 7.11943
  Prefactor  = 3.44389e-05
  Prefactor  = 1.12133e-08
  Prefactor  = 1.11022e-10
  Prefactor  = 7.34637
  norm       = 5.55112e-11
  Prefactor  = 11.3719
  Normalizat = 1.04034
  Prefactor  = 0.960386
 **********
 **   18 **HESSE 
 **********

 FCN=   4218.995     FROM HESSE     STATUS=OK           441 CALLS     1972 TOTAL
                     EDM=   .27E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .19301E-06    70.459        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .83655E-07    9.9141        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .11657E-08    4.4936        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm           .0000        2.5990        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10912E-05    32.832        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        1.9616        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     13.949        19.926        .26843E-03   -1.5633    
   8  norm          .15543E-08    5.1041        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          42.218        9.6559        .15390E-03   -1.5578    
  10  norm          .25985E-06    9.8973        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .63044E-06    25.309        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .11341E-06    26.117        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .22593E-06    17.172        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          27.068        13.496        .19225E-03   -1.5604    
  15  Prefactor     .11367E-05    116.32        .85688E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          7.1194        14.356        .37351E-03   -1.5655    
  17  Prefactor     .34439E-04    14.972        .93273E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .11213E-07    7.2597        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .11102E-09    3.7467        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.3464        22.395        .36932E-03   -1.5654    
  21  norm          .55511E-10    2.1238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     11.372        5.1701        .29757E-03   -1.5641    
  23  Normalizat    1.0403        .22054        .41280E-01   -.91691    
  24  Prefactor     .96039        .24082        .45771E-01   -.94062    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.73807e-07
Minuit parameter uncertainties:
  1  0.00737555
  2  0.00182121
  3  0.000146453
  4  5.53901e-06
  5  0.0119709
  6  9.29185e-06
  7  19.9261
  8  0.000179367
  9  9.65595
  10  0.00320721
  11  0.00798921
  12  0.00344223
  13  0.00393942
  14  13.4956
  15  0.0229978
  16  14.3556
  17  0.0454148
  18  0.000570319
  19  4.1883e-05
  20  22.3954
  21  1.54481e-05
  22  5.17012
  23  0.22073
  24  0.241088
Done.

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

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  3.444e-05  4.541e-02  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:  9.604e-01  2.411e-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.040e+00  2.207e-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: 9.60e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.44e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/634490/likelihoodResults_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.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): 102
logL (Free Index) = 4219.00337534
delta logL = -0.00813759322682

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 4218.87956141
delta logL = 0.11567632982

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .59975       1.0000          .0000       .10000E+07
     2 'Index     '    4.0783       1.0000          .0000       10.000    
     3 'Normalizat'    1.0049       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98498       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=   4218.880     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      226 TOTAL
                     EDM=   .97E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .58664        90.538        .69250E-03    .10135E-01
   2  Index         4.0896        5.7388        .20508E-01    .66317E-04
   3  Normalizat    1.0051        .78535E-01    .46228E-01    .88394E-05
   4  Prefactor     .98483        .87129E-01    .46079E-01    .86048E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.586636
  Index      = 4.08957
  Normalizat = 1.00507
  Prefactor  = 0.984825
 **********
 **   18 **HESSE 
 **********

 FCN=   4218.880     FROM HESSE     STATUS=OK            31 CALLS      257 TOTAL
                     EDM=   .27E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .58664        10.214        .10276E-04   -1.5693    
   2  Index         4.0896        3.6488        .82031E-03   -.18311    
   3  Normalizat    1.0051        .26000        .24653E-03   -.92861    
   4  Prefactor     .98483        .28363        .27640E-03   -.93237    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.72525e-13
Minuit parameter uncertainties:
  1  4.89559
  2  4.11162
  3  0.260326
  4  0.284064
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/634490': 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) = 4218.87955464
delta logL = 0.115683104564

Extracting fit parameters...

4FGL J1330.7+2933
   Spectrum: PowerLaw
305    Prefactor:  5.866e-01  4.896e+00  0.000e+00  1.000e+06 ( 1.000e-13)
306        Index:  4.090e+00  4.112e+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.848e-01  2.841e-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.005e+00  2.603e-01  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/634490/cmap_HighResolution_698630401_698889601_4FGL_J1330.7+2933_daily_bin1772.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.44e-03', job_status='DONE', photon_flux_upper_limit='9.60e-08', time_completed='2023-02-24 01:56:25.711817', job_id='634490', GAL2='0.98', fit_tolerance='1e-08', EG2='1.01', EG='1.04', time_epoch_completed='1677232585.71', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.96', dlogl='1.16e-01', ts2='0.25', photon_index_error='0.00', photon_index='2.45' WHERE bin_id='1772' AND source_name='4FGL J1330.7+2933' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Feb 24 01:56:25 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0203>
Subject: Job 634490: <4FGL_J1330.7+2933_daily_bin1772> in cluster <slac> Done

Job <4FGL_J1330.7+2933_daily_bin1772> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Fri Feb 24 01:45:15 2023
Job was executed on host(s) <bullet0203>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Feb 24 01:45:17 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Feb 24 01:45:17 2023
Terminated at Fri Feb 24 01:56:26 2023
Results reported at Fri Feb 24 01:56:26 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.7+2933_daily_bin1772 202.693 29.5536 698630401 698889601 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 :                                   487.18 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             266.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            671 sec.

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

