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


Performing analysis on: 4FGL_J1330.2+7002_daily_bin1746
RA = 202.573, Dec = 70.0406
tmin = 691891201, tmax = 692150401
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='728519', job_status='RUN', time_executed='2022-12-08 01:02:21.671047', time_epoch_executed='1670490141.67' WHERE source_name='4FGL J1330.2+7002' and cadence='daily' and bin_id='1746'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/728519

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/728519/ft1_4FGL_J1330.2+7002_daily_bin1746.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/728519/ft1_4FGL_J1330.2+7002_daily_bin1746.fits outfile=/scratch/kocevski/728519/ft1_filteredMKT_4FGL_J1330.2+7002_daily_bin1746.fits ra=202.573 dec=70.0406 rad=12.0 tmin=691891201.0 tmax=692150401.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.73
user 4.49
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.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/728519/ft1_filteredMKT_4FGL_J1330.2+7002_daily_bin1746.fits evtable="EVENTS" outfile="/scratch/kocevski/728519/ft1_filtered_4FGL_J1330.2+7002_daily_bin1746.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.50
user 0.31
sys 0.18

Number of photons that the gtmktime cut: 685

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/728519/ft1_filtered_4FGL_J1330.2+7002_daily_bin1746.fits" evtable="EVENTS" scfile=/scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits sctable="SC_DATA" outfile=/scratch/kocevski/728519/ltcube_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.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/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits
.....................!
real 12.82
user 12.43
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/728519/ft1_filtered_4FGL_J1330.2+7002_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits sctable="SC_DATA" expcube=/scratch/kocevski/728519/ltcube_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.fits outfile=/scratch/kocevski/728519/expmap_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.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/728519/ltcube_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.fits
.....................!
real 191.66
user 185.57
sys 5.70

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 229 point sources and 0 extended sources

Setting source of interest to:
4FGL J1330.2+7002 @ 202.573 70.0406

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/728519/ft1_filtered_4FGL_J1330.2+7002_daily_bin1746.fits scfile=/scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits outfile=/scratch/kocevski/728519/cmap_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.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.573 yref=70.0406 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/728519/ft1_filtered_4FGL_J1330.2+7002_daily_bin1746.fits scfile=/scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits outfile=/scratch/kocevski/728519/cmap_HighResolution_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.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.573 yref=70.0406 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/728519/ft1_filtered_4FGL_J1330.2+7002_daily_bin1746.fits evtable="EVENTS" scfile=/scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/728519/Model_4FGL_J1330.2+7002_daily_bin1746.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/728519/ft1_filtered_4FGL_J1330.2+7002_daily_bin1746.fits.....................!
real 72.05
user 70.63
sys 1.22

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/728519/ft1_filtered_4FGL_J1330.2+7002_daily_bin1746.fits', '/scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits', expMap='/scratch/kocevski/728519/expmap_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.fits', expCube='/scratch/kocevski/728519/ltcube_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/728519/Model_4FGL_J1330.2+7002_daily_bin1746.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1330.2+7002'

4FGL J1330.2+7002
   Spectrum: PowerLaw
379    Prefactor:  5.366e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-14)
380        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
381        Scale:  2.478e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/728519/ft1_filtered_4FGL_J1330.2+7002_daily_bin1746.fits
Spacecraft file(s): /scratch/kocevski/728519/ft2_4FGL_J1330.2+7002_daily_bin1746.fits
Exposure map: /scratch/kocevski/728519/expmap_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.fits
Exposure cube: /scratch/kocevski/728519/ltcube_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/728519/Model_4FGL_J1330.2+7002_daily_bin1746.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) = 7488.56372078

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    11.025       1.0000          .0000       .10000E+07
     2 'Prefactor '    4.1676       1.0000          .0000       .10000E+07
     3 'Prefactor '    .11464E-04   1.0000          .0000       .10000E+07
     4 'Prefactor '    20.877       1.0000          .0000       .10000E+07
     5 'Prefactor '    .45630E-07   1.0000          .0000       .10000E+07
     6 'norm      '    .35505E-06   1.0000          .0000       .10000E+07
     7 'norm      '    2.7602       1.0000          .0000       .10000E+07
     8 'Prefactor '    28.229       1.0000          .0000       .10000E+07
     9 'Prefactor '    .19321E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .55738E-03   1.0000          .0000       .10000E+07
    11 'Prefactor '    17.810       1.0000          .0000       .10000E+07
    12 'Prefactor '    .32343       1.0000          .0000       .10000E+07
    13 'Prefactor '    15.241       1.0000          .0000       .10000E+07
    14 'Prefactor '    5.8909       1.0000          .0000       .10000E+07
    15 'Prefactor '    .33731E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .21999E-03   1.0000          .0000       .10000E+07
    17 'Prefactor '    .25742       1.0000          .0000       .10000E+07
    18 'Prefactor '    .17175E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    125.48       1.0000          .0000       .10000E+07
    20 'Prefactor '    59.779       1.0000          .0000       .10000E+07
    21 'Prefactor '    35.522       1.0000          .0000       .10000E+07
    22 'Normalizat'    1.0893       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .76605       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7350E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7488.540     FROM MIGRAD    STATUS=CONVERGED    141 CALLS     1881 TOTAL
                     EDM=   .97E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     11.033        4.2999        .30473E-08    .50004E-01
   2  Prefactor     4.1671        3.0935       -.49838E-07   -.37307E-02
   3  Prefactor     .11102E-09    8.4743        .12101E-06** at limit **
   4  Prefactor     20.671        1.8364        .89461E-08   -.53459E-01
   5  Prefactor      .0000        3.3170       -.54519E-07** at limit **
   6  norm           .0000        3.7394        .27889E-07** at limit **
   7  norm          2.7614        3.1387       -.88877E-07   -.39942E-02
   8  Prefactor     28.306        1.1900       -.35657E-08    .52887E-02
   9  Prefactor     .32196E-08    38.900        .41874E-06** at limit **
  10  Prefactor     .48461E-07    16.506       -.36361E-06** at limit **
  11  Prefactor     17.806        2.6715       -.61960E-08    .41509E-02
  12  Prefactor     .32113        5.2227       -.10758E-06   -.76314E-03
  13  Prefactor     15.230        11.787       -.27255E-07    .35622E-01
  14  Prefactor     5.8698        12.110       -.19624E-06   -.52151E-02
  15  Prefactor     .23225E-05    7.8895       -.13544E-06** at limit **
  16  Prefactor     .15866E-05    11.256       -.92379E-07** at limit **
  17  Prefactor     .27763        .67122        .22602E-07   -.45731E-02
  18  Prefactor     .12500E-04    213.84       -.73049E-06** at limit **
  19  Prefactor     125.72        3.5899        .49445E-08    .21791    
  20  Prefactor     60.525        12.758        .41493E-07    .90350E-01
  21  Prefactor     35.542        1.0312        .21301E-08   -.15499E-01
  22  Normalizat    1.0892        .16173       -.53652E-06    .84346E-04
  23  Prefactor     .76597        .16725        .17511E-05    .11863E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 11.0328
  Prefactor  = 4.16714
  Prefactor  = 1.11022e-10
  Prefactor  = 20.6712
  Prefactor  = 0
  norm       = 0
  norm       = 2.76143
  Prefactor  = 28.3059
  Prefactor  = 3.21965e-09
  Prefactor  = 4.84612e-08
  Prefactor  = 17.8056
  Prefactor  = 0.321134
  Prefactor  = 15.2302
  Prefactor  = 5.86978
  Prefactor  = 2.32253e-06
  Prefactor  = 1.58662e-06
  Prefactor  = 0.277635
  Prefactor  = 1.25004e-05
  Prefactor  = 125.724
  Prefactor  = 60.5253
  Prefactor  = 35.5422
  Normalizat = 1.08919
  Prefactor  = 0.765967
 **********
 **   18 **HESSE 
 **********

 FCN=   7488.540     FROM HESSE     STATUS=OK           424 CALLS     2305 TOTAL
                     EDM=   .20E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     11.033        13.837        .30148E-03   -1.5642    
   2  Prefactor     4.1671        3.1117        .49346E-03   -1.5667    
   3  Prefactor     .11102E-09    8.4978        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     20.671        30.171        .21893E-03   -1.5617    
   5  Prefactor      .0000        3.3517        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm           .0000        3.7201        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          2.7614        3.1384        .61239E-03   -1.5675    
   8  Prefactor     28.306        37.677        .18825E-03   -1.5602    
   9  Prefactor     .32196E-08    39.277        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .48461E-07    16.926        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     17.806        19.691        .23705E-03   -1.5624    
  12  Prefactor     .32113        1.4975        .55461E-02   -1.5697    
  13  Prefactor     15.230        13.084        .25629E-03   -1.5630    
  14  Prefactor     5.8698        12.202        .41352E-03   -1.5660    
  15  Prefactor     .23225E-05    18.640        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .15866E-05    19.099        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .27763        6.8272        .10832E-01   -1.5697    
  18  Prefactor     .12500E-04    220.91        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     125.72        54.636        .89279E-04   -1.5484    
  20  Prefactor     60.525        60.719        .12935E-03   -1.5552    
  21  Prefactor     35.542        26.313        .16780E-03   -1.5589    
  22  Normalizat    1.0892        .14212        .38455E-01   -.90100    
  23  Prefactor     .76597        .14679        .43274E-01   -1.0100    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.97693e-06
Minuit parameter uncertainties:
  1  13.8372
  2  3.11169
  3  5.55851e-05
  4  30.1712
  5  1.54472e-05
  6  1.64361e-05
  7  3.13845
  8  37.6778
  9  0.000710261
  10  0.00181179
  11  19.6907
  12  1.38692
  13  13.0841
  14  12.2025
  15  0.0131592
  16  0.0110097
  17  2.75351
  18  0.105104
  19  54.6359
  20  60.7197
  21  26.313
  22  0.142165
  23  0.146867
Done.

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

Extracting fit parameters...

4FGL J1330.2+7002
   Spectrum: PowerLaw
379    Prefactor:  1.781e+01  1.969e+01  0.000e+00  1.000e+06 ( 1.000e-14)
380        Index:  1.967e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
381        Scale:  2.478e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  7.660e-01  1.469e-01  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
731   Normalization:  1.089e+00  1.422e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.44
Ra Dec: 202.573 70.041
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.02e-08 +/- 1.12e-08
Energy Flux (Fixed Index): 7.63e-06 +/- 8.44e-06

TS (Fixed Index): 2.44
Ra Dec: 202.573 70.041
Photon Flux Upper Limit: 4.47e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.34e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/728519/likelihoodResults_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.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) = 7488.30958741
delta logL = 0.230778624031

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7488.29332614
delta logL = 0.247039887175

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    21.871       1.0000          .0000       .10000E+07
     2 'Index     '    1.4246       1.0000          .0000       10.000    
     3 'Normalizat'    1.0949       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .76340       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7350E+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=   7488.293     FROM MIGRAD    STATUS=CONVERGED     90 CALLS      245 TOTAL
                     EDM=   .56E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     21.880        24.099        .85554E-05   -.18338E-03
   2  Index         1.4251        .72400        .12775E-01    .26529E-05
   3  Normalizat    1.0949        .15830        .21157E-03    .16980E-04
   4  Prefactor     .76332        .16371        .25638E-03   -.21684E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 21.8795
  Index      = 1.42514
  Normalizat = 1.09491
  Prefactor  = 0.763319
 **********
 **   18 **HESSE 
 **********

 FCN=   7488.293     FROM HESSE     STATUS=OK            25 CALLS      270 TOTAL
                     EDM=   .58E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     21.880        24.216        .34222E-06   -1.5614    
   2  Index         1.4251        .72775        .51100E-03   -.79658    
   3  Normalizat    1.0949        .15844        .84629E-05   -.89915    
   4  Prefactor     .76332        .16385        .10255E-04   -1.0109    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.77555e-12
Minuit parameter uncertainties:
  1  24.2163
  2  0.733114
  3  0.158507
  4  0.163957
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/728519': 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) = 7488.29332562
delta logL = 0.247040407475

Extracting fit parameters...

4FGL J1330.2+7002
   Spectrum: PowerLaw
379    Prefactor:  2.188e+01  2.422e+01  0.000e+00  1.000e+06 ( 1.000e-14)
380        Index:  1.425e+00  7.331e-01  0.000e+00  1.000e+01 (-1.000e+00)
381        Scale:  2.478e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
732    Prefactor:  7.633e-01  1.640e-01  0.000e+00  1.000e+01 ( 1.000e+00)
733        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
734        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
731   Normalization:  1.095e+00  1.585e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.93
Ra Dec: 202.573 70.041
Photon Index (Free Index): 1.43 +/- 0.73
Photon Flux (Free Index): 4.73e-09 +/- 7.29e-09
Energy Flux (Free Index): 1.92e-05 +/- 3.35e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/728519/cmap_HighResolution_691891201_692150401_4FGL_J1330.2+7002_daily_bin1746.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.34e-03', comment='SUCCESS', photon_flux='1.02e-08', energy_flux2='1.92e-05', photon_flux_error='1.12e-08', dlogl='2.47e-01', energy_flux='7.63e-06', photon_flux2='4.73e-09', job_status='DONE', time_completed='2022-12-08 01:16:00.592348', photon_index_error2='0.73', photon_index2='1.43', ts='2.44', fit_tolerance='1e-08', GAL='0.77', photon_index_error='0.00', photon_flux_upper_limit='4.47e-08', energy_flux_error2='3.35e-05', EG='1.09', time_epoch_completed='1670490960.59', return_code='0', job_id='728519', GAL2='0.76', EG2='1.09', return_code2='0', energy_flux_error='8.44e-06', photon_flux_error2='7.29e-09', ts2='2.93', photon_index='1.97' WHERE bin_id='1746' AND source_name='4FGL J1330.2+7002' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Dec  8 01:16:00 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0161>
Subject: Job 728519: <4FGL_J1330.2+7002_daily_bin1746> in cluster <slac> Done

Job <4FGL_J1330.2+7002_daily_bin1746> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Dec  8 01:00:14 2022
Job was executed on host(s) <bullet0161>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Dec  8 01:00:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Dec  8 01:00:15 2022
Terminated at Thu Dec  8 01:16:01 2022
Results reported at Thu Dec  8 01:16:01 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.2+7002_daily_bin1746 202.573 70.0406 691891201 692150401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1330.2+7002 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   819.48 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             300.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   945 sec.
    Turnaround time :                            947 sec.

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

