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


Performing analysis on: 4FGL_J1330.2+7002_daily_bin1755
RA = 202.573, Dec = 70.0406
tmin = 694224001, tmax = 694483201
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='823740', job_status='RUN', time_executed='2023-01-04 01:01:39.343823', time_epoch_executed='1672822899.34' WHERE source_name='4FGL J1330.2+7002' and cadence='daily' and bin_id='1755'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823740

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823740/ft1_4FGL_J1330.2+7002_daily_bin1755.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823740/ft2_4FGL_J1330.2+7002_daily_bin1755.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823740/ft1_4FGL_J1330.2+7002_daily_bin1755.fits outfile=/scratch/kocevski/823740/ft1_filteredMKT_4FGL_J1330.2+7002_daily_bin1755.fits ra=202.573 dec=70.0406 rad=12.0 tmin=694224001.0 tmax=694483201.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.22
user 2.90
sys 0.24

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

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

Number of photons that the gtmktime cut: 902

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823740/ft1_filtered_4FGL_J1330.2+7002_daily_bin1755.fits" evtable="EVENTS" scfile=/scratch/kocevski/823740/ft2_4FGL_J1330.2+7002_daily_bin1755.fits sctable="SC_DATA" outfile=/scratch/kocevski/823740/ltcube_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.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/823740/ft2_4FGL_J1330.2+7002_daily_bin1755.fits
.....................!
real 18.55
user 18.10
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823740/ft1_filtered_4FGL_J1330.2+7002_daily_bin1755.fits evtable="EVENTS" scfile=/scratch/kocevski/823740/ft2_4FGL_J1330.2+7002_daily_bin1755.fits sctable="SC_DATA" expcube=/scratch/kocevski/823740/ltcube_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.fits outfile=/scratch/kocevski/823740/expmap_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.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/823740/ltcube_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.fits
.....................!
real 192.42
user 185.78
sys 6.11

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/823740/ft1_filtered_4FGL_J1330.2+7002_daily_bin1755.fits scfile=/scratch/kocevski/823740/ft2_4FGL_J1330.2+7002_daily_bin1755.fits outfile=/scratch/kocevski/823740/cmap_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.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.58
user 0.41
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823740/ft1_filtered_4FGL_J1330.2+7002_daily_bin1755.fits scfile=/scratch/kocevski/823740/ft2_4FGL_J1330.2+7002_daily_bin1755.fits outfile=/scratch/kocevski/823740/cmap_HighResolution_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.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.57
user 0.39
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/823740/ft1_filtered_4FGL_J1330.2+7002_daily_bin1755.fits', '/scratch/kocevski/823740/ft2_4FGL_J1330.2+7002_daily_bin1755.fits', expMap='/scratch/kocevski/823740/expmap_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.fits', expCube='/scratch/kocevski/823740/ltcube_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/823740/Model_4FGL_J1330.2+7002_daily_bin1755.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/823740/ft1_filtered_4FGL_J1330.2+7002_daily_bin1755.fits
Spacecraft file(s): /scratch/kocevski/823740/ft2_4FGL_J1330.2+7002_daily_bin1755.fits
Exposure map: /scratch/kocevski/823740/expmap_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.fits
Exposure cube: /scratch/kocevski/823740/ltcube_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/823740/Model_4FGL_J1330.2+7002_daily_bin1755.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) = 9870.11545109

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    14.956       1.0000          .0000       .10000E+07
     2 'Prefactor '    .25757E-07   1.0000          .0000       .10000E+07
     3 'Prefactor '    .41237       1.0000          .0000       .10000E+07
     4 'Prefactor '    13.398       1.0000          .0000       .10000E+07
     5 'Prefactor '    .18809E-02   1.0000          .0000       .10000E+07
     6 'norm      '    1.1760       1.0000          .0000       .10000E+07
     7 'norm      '    2.8342       1.0000          .0000       .10000E+07
     8 'Prefactor '    .26873E-01   1.0000          .0000       .10000E+07
     9 'Prefactor '    16.869       1.0000          .0000       .10000E+07
    10 'Prefactor '    .29787E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    15.559       1.0000          .0000       .10000E+07
    12 'Prefactor '    1.6355       1.0000          .0000       .10000E+07
    13 'Prefactor '    3.7395       1.0000          .0000       .10000E+07
    14 'Prefactor '    9.0939       1.0000          .0000       .10000E+07
    15 'Prefactor '    .55153E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    25.765       1.0000          .0000       .10000E+07
    17 'Prefactor '    .13440E-02   1.0000          .0000       .10000E+07
    18 'Prefactor '    .16022E-02   1.0000          .0000       .10000E+07
    19 'Prefactor '    .83622E-02   1.0000          .0000       .10000E+07
    20 'Prefactor '    .10703E-01   1.0000          .0000       .10000E+07
    21 'Prefactor '    .27363E-02   1.0000          .0000       .10000E+07
    22 'Normalizat'    1.1423       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .87576       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=   9870.114     FROM MIGRAD    STATUS=CONVERGED    158 CALLS     1840 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     14.929        1.9489       -.93511E-08    .34965E-01
   2  Prefactor      .0000        2.1334       -.37019E-08** at limit **
   3  Prefactor     .50493E-01    1784.6        .82865E-05** at limit **
   4  Prefactor     13.231        21.115        .42311E-06   -.78970E-01
   5  Prefactor     .15850E-05    7.7513        .13568E-07** at limit **
   6  norm          1.1757        1.6773       -.51702E-08   -.51583E-03
   7  norm          2.8323        2.7978       -.76985E-09   -.11272E-03
   8  Prefactor      .0000        17.775       -.58108E-07** at limit **
   9  Prefactor     16.784        18.849       -.72766E-09    .40525E-01
  10  Prefactor     .87180E-06    8.6736        .15667E-06** at limit **
  11  Prefactor     15.530        11.509        .10857E-07    .17434E-01
  12  Prefactor     1.6340        2.9646        .37752E-07    .14556E-02
  13  Prefactor     3.8144        9.0806       -.12551E-06   -.32635E-02
  14  Prefactor     9.0980        1.8394        .17741E-07   -.12539E-01
  15  Prefactor     .80941E-06    11.449        .62339E-08** at limit **
  16  Prefactor     25.599        18.175        .34561E-06   -.69129E-01
  17  Prefactor     .62172E-08    5.4404        .77647E-07** at limit **
  18  Prefactor     .67168E-08    5.3234        .15152E-07** at limit **
  19  Prefactor     .26645E-08    7.3669        .21230E-07** at limit **
  20  Prefactor     .44093E-06    13.364       -.56959E-07** at limit **
  21  Prefactor     .14433E-08    6.3837        .70537E-07** at limit **
  22  Normalizat    1.1425        .14566       -.69046E-07    .13359E-03
  23  Prefactor     .87570        .14990       -.15470E-06    .11813E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 14.929
  Prefactor  = 0
  Prefactor  = 0.0504926
  Prefactor  = 13.2307
  Prefactor  = 1.58501e-06
  norm       = 1.1757
  norm       = 2.8323
  Prefactor  = 0
  Prefactor  = 16.784
  Prefactor  = 8.71803e-07
  Prefactor  = 15.5297
  Prefactor  = 1.63405
  Prefactor  = 3.81442
  Prefactor  = 9.09798
  Prefactor  = 8.09408e-07
  Prefactor  = 25.5989
  Prefactor  = 6.21725e-09
  Prefactor  = 6.71685e-09
  Prefactor  = 2.66454e-09
  Prefactor  = 4.40925e-07
  Prefactor  = 1.44329e-09
  Normalizat = 1.14254
  Prefactor  = 0.875705
 **********
 **   18 **HESSE 
 **********

 FCN=   9870.114     FROM HESSE     STATUS=OK           420 CALLS     2260 TOTAL
                     EDM=   .16E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     14.929        13.248        .25872E-03   -1.5631    
   2  Prefactor      .0000        2.1254        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .50493E-01    21.080        .14296E-01   -1.5703    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     13.231        39.379        .27340E-03   -1.5635    
   5  Prefactor     .15850E-05    11.170        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          1.1757        1.7196        .10556E-02   -1.5686    
   7  norm          2.8323        2.7964        .60379E-03   -1.5674    
   8  Prefactor      .0000        17.608        .16621E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     16.784        26.952        .24358E-03   -1.5626    
  10  Prefactor     .87180E-06    10.545        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     15.530        28.086        .25366E-03   -1.5629    
  12  Prefactor     1.6340        2.9852        .82625E-03   -1.5682    
  13  Prefactor     3.8144        9.7039        .52190E-03   -1.5669    
  14  Prefactor     9.0980        11.366        .33211E-03   -1.5648    
  15  Prefactor     .80941E-06    14.664        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     25.599        46.681        .19705E-03   -1.5607    
  17  Prefactor     .62172E-08    5.5034        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .67168E-08    5.4098        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .26645E-08    7.4027        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .44093E-06    15.538        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .14433E-08    6.4063        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    1.1425        .12729        .36490E-01   -.88397    
  23  Prefactor     .87570        .13124        .44695E-01   -.96995    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.55819e-06
Minuit parameter uncertainties:
  1  13.248
  2  9.11618e-06
  3  2.06341
  4  39.3801
  5  0.00841538
  6  1.71956
  7  2.79636
  8  3.98724e-05
  9  26.9518
  10  0.00606424
  11  28.0858
  12  2.98521
  13  9.70398
  14  11.3659
  15  0.00689042
  16  46.6819
  17  0.000370773
  18  0.000381466
  19  0.000280105
  20  0.00523486
  21  0.000191924
  22  0.127327
  23  0.131288
Done.

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

Extracting fit parameters...

4FGL J1330.2+7002
   Spectrum: PowerLaw
379    Prefactor:  1.553e+01  2.809e+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:  8.757e-01  1.313e-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.143e+00  1.273e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/823740/likelihoodResults_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.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) = 9870.01107787
delta logL = 0.103272318385

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9870.00771093
delta logL = 0.106639256766

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.209       1.0000          .0000       .10000E+07
     2 'Index     '    2.3611       1.0000          .0000       10.000    
     3 'Normalizat'    1.1358       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .87917       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=   9870.008     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      313 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.204        28.963        .12534E-04   -.16127E-02
   2  Index         2.3616        1.1764        .93441E-02   -.40646E-04
   3  Normalizat    1.1358        .14368        .21622E-03    .12566E-03
   4  Prefactor     .87923        .14701        .24870E-03    .48364E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.2041
  Index      = 2.36164
  Normalizat = 1.13578
  Prefactor  = 0.879229
 **********
 **   18 **HESSE 
 **********

 FCN=   9870.008     FROM HESSE     STATUS=OK            25 CALLS      338 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.204        21.959        .50137E-06   -1.5644    
   2  Index         2.3616        .89685        .37377E-03   -.55586    
   3  Normalizat    1.1358        .14343        .86490E-05   -.88611    
   4  Prefactor     .87923        .14677        .99479E-05   -.96871    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.21739e-10
Minuit parameter uncertainties:
  1  21.9591
  2  0.90365
  3  0.143478
  4  0.146839
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823740': 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) = 9870.00770992
delta logL = 0.106640270116

Extracting fit parameters...

4FGL J1330.2+7002
   Spectrum: PowerLaw
379    Prefactor:  1.020e+01  2.196e+01  0.000e+00  1.000e+06 ( 1.000e-14)
380        Index:  2.362e+00  9.037e-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:  8.792e-01  1.468e-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.136e+00  1.435e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.44
Ra Dec: 202.573 70.041

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/823740/cmap_HighResolution_694224001_694483201_4FGL_J1330.2+7002_daily_bin1755.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.39e-03', job_status='DONE', photon_flux_upper_limit='4.53e-08', time_completed='2023-01-04 01:16:59.649919', job_id='823740', GAL2='0.88', fit_tolerance='1e-08', EG2='1.14', EG='1.14', time_epoch_completed='1672823819.65', return_code2='0', ts='0.44', comment='SUCCESS', return_code='0', GAL='0.88', dlogl='1.07e-01', ts2='0.65', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1755' AND source_name='4FGL J1330.2+7002' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Jan  4 01:16:59 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0190>
Subject: Job 823740: <4FGL_J1330.2+7002_daily_bin1755> in cluster <slac> Done

Job <4FGL_J1330.2+7002_daily_bin1755> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Wed Jan  4 01:00:24 2023
Job was executed on host(s) <bullet0190>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Jan  4 01:01:12 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Jan  4 01:01:12 2023
Terminated at Wed Jan  4 01:17:00 2023
Results reported at Wed Jan  4 01:17:00 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.2+7002_daily_bin1755 202.573 70.0406 694224001 694483201 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 :                                   921.29 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             366.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   947 sec.
    Turnaround time :                            996 sec.

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

