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


Performing analysis on: 4FGL_J1330.2+7002_daily_bin1757
RA = 202.573, Dec = 70.0406
tmin = 694742401, tmax = 695001601
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='202265', job_status='RUN', time_executed='2023-01-10 01:16:32.188841', time_epoch_executed='1673342192.19' WHERE source_name='4FGL J1330.2+7002' and cadence='daily' and bin_id='1757'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/202265

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/202265/ft1_4FGL_J1330.2+7002_daily_bin1757.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/202265/ft2_4FGL_J1330.2+7002_daily_bin1757.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/202265/ft1_4FGL_J1330.2+7002_daily_bin1757.fits outfile=/scratch/kocevski/202265/ft1_filteredMKT_4FGL_J1330.2+7002_daily_bin1757.fits ra=202.573 dec=70.0406 rad=12.0 tmin=694742401.0 tmax=695001601.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.00
user 2.75
sys 0.18

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

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

Number of photons that the gtmktime cut: 966

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/202265/ft1_filtered_4FGL_J1330.2+7002_daily_bin1757.fits evtable="EVENTS" scfile=/scratch/kocevski/202265/ft2_4FGL_J1330.2+7002_daily_bin1757.fits sctable="SC_DATA" expcube=/scratch/kocevski/202265/ltcube_694742401_695001601_4FGL_J1330.2+7002_daily_bin1757.fits outfile=/scratch/kocevski/202265/expmap_694742401_695001601_4FGL_J1330.2+7002_daily_bin1757.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/202265/ltcube_694742401_695001601_4FGL_J1330.2+7002_daily_bin1757.fits
.....................!
real 195.81
user 189.64
sys 5.06

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/202265/ft1_filtered_4FGL_J1330.2+7002_daily_bin1757.fits scfile=/scratch/kocevski/202265/ft2_4FGL_J1330.2+7002_daily_bin1757.fits outfile=/scratch/kocevski/202265/cmap_694742401_695001601_4FGL_J1330.2+7002_daily_bin1757.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.56
user 0.39
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/202265/ft1_filtered_4FGL_J1330.2+7002_daily_bin1757.fits scfile=/scratch/kocevski/202265/ft2_4FGL_J1330.2+7002_daily_bin1757.fits outfile=/scratch/kocevski/202265/cmap_HighResolution_694742401_695001601_4FGL_J1330.2+7002_daily_bin1757.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.56
user 0.40
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0655       1.0000          .0000       .10000E+07
     2 'Prefactor '    .14205E-06   1.0000          .0000       .10000E+07
     3 'Prefactor '    2.0547       1.0000          .0000       .10000E+07
     4 'Prefactor '    .19537E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    .16290E-03   1.0000          .0000       .10000E+07
     6 'norm      '    .58842E-08   1.0000          .0000       .10000E+07
     7 'norm      '    .30381E-06   1.0000          .0000       .10000E+07
     8 'Prefactor '    .24730E-02   1.0000          .0000       .10000E+07
     9 'Prefactor '    .64778E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    28.389       1.0000          .0000       .10000E+07
    11 'Prefactor '    .22204E-07   1.0000          .0000       .10000E+07
    12 'Prefactor '    2.7591       1.0000          .0000       .10000E+07
    13 'Prefactor '    .19429E-08   1.0000          .0000       .10000E+07
    14 'Prefactor '    .38303E-07   1.0000          .0000       .10000E+07
    15 'Prefactor '    28.320       1.0000          .0000       .10000E+07
    16 'Prefactor '    2.2717       1.0000          .0000       .10000E+07
    17 'Prefactor '    1.4778       1.0000          .0000       .10000E+07
    18 'Prefactor '    5.5509       1.0000          .0000       .10000E+07
    19 'Prefactor '    .23420E-04   1.0000          .0000       .10000E+07
    20 'Prefactor '    64.856       1.0000          .0000       .10000E+07
    21 'Prefactor '    .26157E-06   1.0000          .0000       .10000E+07
    22 'Normalizat'    .93204       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0296       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=   10611.38     FROM MIGRAD    STATUS=CONVERGED    155 CALLS     1492 TOTAL
                     EDM=   .10E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0450        1.0935       -.27378E-07    .38447E-03
   2  Prefactor     .38858E-09    1.2884       -.86360E-07** at limit **
   3  Prefactor     1.9297        1.1613       -.34740E-09   -.85741E-03
   4  Prefactor     .19984E-08    20.717       -.12765E-05** at limit **
   5  Prefactor     .11102E-09    5.8507        .35092E-05** at limit **
   6  norm          .11102E-09    1.4760        .55553E-07** at limit **
   7  norm           .0000        3.0016       -.61330E-07** at limit **
   8  Prefactor     .78271E-08    44.198        .20031E-05** at limit **
   9  Prefactor     .27756E-09    14.190        .17993E-05** at limit **
  10  Prefactor     28.125        1.6364       -.88558E-07    .13156E-01
  11  Prefactor      .0000        6.5031       -.25686E-05** at limit **
  12  Prefactor     2.7463        2.8163       -.11684E-07    .15371E-02
  13  Prefactor     .16098E-08    2.6558       -.12776E-06** at limit **
  14  Prefactor      .0000        5.7666       -.26033E-05** at limit **
  15  Prefactor     29.335        4.7829        .97080E-07    .26390E-02
  16  Prefactor     1.9647        7.6783       -.23909E-05    .12086E-01
  17  Prefactor     1.4653        16.141       -.18251E-06    .22888E-03
  18  Prefactor     5.7427        1.2414       -.14159E-06    .32433E-02
  19  Prefactor     .55511E-10    12.141       -.10476E-05** at limit **
  20  Prefactor     62.156        37.780       -.11594E-05   -.12994E-01
  21  Prefactor     .11657E-08    6.8658        .20366E-05** at limit **
  22  Normalizat    .93179        .13569        .24229E-05    .33110E-03
  23  Prefactor     1.0300        .14225       -.10612E-05   -.25980E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.04501
  Prefactor  = 3.88578e-10
  Prefactor  = 1.92969
  Prefactor  = 1.9984e-09
  Prefactor  = 1.11022e-10
  norm       = 1.11022e-10
  norm       = 0
  Prefactor  = 7.82707e-09
  Prefactor  = 2.77556e-10
  Prefactor  = 28.125
  Prefactor  = 0
  Prefactor  = 2.74632
  Prefactor  = 1.60982e-09
  Prefactor  = 0
  Prefactor  = 29.3346
  Prefactor  = 1.96469
  Prefactor  = 1.46529
  Prefactor  = 5.74272
  Prefactor  = 5.55112e-11
  Prefactor  = 62.1565
  Prefactor  = 1.16573e-09
  Normalizat = 0.931791
  Prefactor  = 1.02999
 **********
 **   18 **HESSE 
 **********

 FCN=   10611.38     FROM HESSE     STATUS=OK           414 CALLS     1906 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0450        37.752        .71863E-03   -1.5679    
   2  Prefactor     .38858E-09    1.2861        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.9297        64.756        .72078E-03   -1.5680    
   4  Prefactor     .19984E-08    21.705        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .11102E-09    5.8510        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11102E-09    1.4701        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm           .0000        .85512        .42118E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .78271E-08    44.204        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .27756E-09    14.214        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     28.125        23.782        .18772E-03   -1.5602    
  11  Prefactor      .0000        6.5050        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     2.7463        2.8367        .61253E-03   -1.5675    
  13  Prefactor     .16098E-08    2.6536        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor      .0000        5.7677        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     29.335        22.596        .18794E-03   -1.5600    
  16  Prefactor     1.9647        245.93        .68109E-03   -1.5680    
  17  Prefactor     1.4653        16.090        .88286E-03   -1.5684    
  18  Prefactor     5.7427        20.775        .42619E-03   -1.5660    
  19  Prefactor     .55511E-10    12.150        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     62.156        38.302        .12418E-03   -1.5550    
  21  Prefactor     .11657E-08    6.8665        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .93179        .11768        .45310E-01   -.95352    
  23  Prefactor     1.0300        .12286        .41293E-01   -.91736    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.04892e-07
Minuit parameter uncertainties:
  1  17.5732
  2  4.44574e-05
  3  22.3573
  4  0.000416848
  5  5.10291e-05
  6  2.62078e-05
  7  5.02389e-06
  8  0.00117596
  9  0.000119883
  10  23.7822
  11  2.45633e-05
  12  2.83674
  13  0.000130626
  14  1.83046e-05
  15  22.5958
  16  43.9647
  17  9.71105
  18  20.775
  19  5.94802e-05
  20  38.3026
  21  0.000179648
  22  0.117708
  23  0.122898
Done.

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

Extracting fit parameters...

4FGL J1330.2+7002
   Spectrum: PowerLaw
379    Prefactor:  0.000e+00  2.456e-05  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:  1.030e+00  1.229e-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:  9.318e-01  1.177e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/202265/likelihoodResults_694742401_695001601_4FGL_J1330.2+7002_daily_bin1757.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) = 10611.4529099
delta logL = -0.0734889796677

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10611.3794209
delta logL = -5.69816620555e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .17508E-06   1.0000          .0000       .10000E+07
     2 'Index     '    .64334       1.0000          .0000       10.000    
     3 'Normalizat'    .93182       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0300       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=   10611.38     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      197 TOTAL
                     EDM=   .37E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .27756E-09    7.8675        .92395E-06** at limit **
   2  Index         1.7835        2.6847       -.41682E-04    .57283E-10
   3  Normalizat    .93179        .13399       -.64505E-05   -.24908E-03
   4  Prefactor     1.0300        .14125        .31773E-05   -.19766E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.77556e-10
  Index      = 1.78354
  Normalizat = 0.931787
  Prefactor  = 1.02999
 **********
 **   18 **HESSE 
 **********

 FCN=   10611.38     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      230 TOTAL
                     EDM=   .23E-12    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .27756E-09    .76297E-01    .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7835        8.5799        .41642       -.69879    
   3  Normalizat    .93179        .28653E-03    .45307E-01   -.95352    
   4  Prefactor     1.0300        .30268E-03    .41262E-01   -.91736    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.3136e-13
Minuit parameter uncertainties:
  1  8.94493e-06
  2  6223.49
  3  0.000286531
  4  0.000302681
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/202265': 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) = 10611.3794209
delta logL = 3.21961124428e-10

Extracting fit parameters...

4FGL J1330.2+7002
   Spectrum: PowerLaw
379    Prefactor:  2.776e-10  8.945e-06  0.000e+00  1.000e+06 ( 1.000e-14)
380        Index:  1.784e+00  6.223e+03  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:  1.030e+00  3.027e-04  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:  9.318e-01  2.865e-04  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
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/202265/cmap_HighResolution_694742401_695001601_4FGL_J1330.2+7002_daily_bin1757.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.46e-03', job_status='DONE', photon_flux_upper_limit='1.95e-08', time_completed='2023-01-10 01:31:14.704354', job_id='202265', GAL2='1.03', fit_tolerance='1e-08', EG2='0.93', EG='0.93', time_epoch_completed='1673343074.7', return_code2='102', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='3.22e-10', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1757' AND source_name='4FGL J1330.2+7002' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jan 10 01:31:14 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0052>
Subject: Job 202265: <4FGL_J1330.2+7002_daily_bin1757> in cluster <slac> Done

Job <4FGL_J1330.2+7002_daily_bin1757> was submitted from host <rhel6-64e> by user <kocevski> in cluster <slac> at Tue Jan 10 01:15:15 2023
Job was executed on host(s) <bullet0052>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jan 10 01:16:00 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jan 10 01:16:00 2023
Terminated at Tue Jan 10 01:31:15 2023
Results reported at Tue Jan 10 01:31:15 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1330.2+7002_daily_bin1757 202.573 70.0406 694742401 695001601 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 :                                   883.00 sec.
    Max Memory :                                 1258 MB
    Average Memory :                             354.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   915 sec.
    Turnaround time :                            960 sec.

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

