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 222 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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


Performing analysis on: 4FGL_J1700.0+6830_monthly_bin169
RA = 255.021, Dec = 68.5042
tmin = 675043201, tmax = 677635201
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='179939', job_status='RUN', time_executed='2022-06-23 02:37:05.967679', time_epoch_executed='1655977025.97' WHERE source_name='4FGL J1700.0+6830' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/179939

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/179939/ft1_4FGL_J1700.0+6830_monthly_bin169.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/179939/ft1_4FGL_J1700.0+6830_monthly_bin169.fits outfile=/scratch/kocevski/179939/ft1_filteredMKT_4FGL_J1700.0+6830_monthly_bin169.fits ra=255.021 dec=68.5042 rad=12.0 tmin=675043201.0 tmax=677635201.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 28.15
user 27.34
sys 0.68

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.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/179939/ft1_filteredMKT_4FGL_J1700.0+6830_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/179939/ft1_filtered_4FGL_J1700.0+6830_monthly_bin169.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.85
user 0.65
sys 0.19

Number of photons that the gtmktime cut: 12281

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/179939/ft1_filtered_4FGL_J1700.0+6830_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/179939/ltcube_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.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/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits
.....................!
real 131.78
user 131.03
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/179939/ft1_filtered_4FGL_J1700.0+6830_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/179939/ltcube_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.fits outfile=/scratch/kocevski/179939/expmap_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.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/179939/ltcube_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.fits
.....................!
real 192.93
user 187.85
sys 4.58

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

Setting source of interest to:
4FGL J1700.0+6830 @ 255.021 68.5042

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/179939/ft1_filtered_4FGL_J1700.0+6830_monthly_bin169.fits scfile=/scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits outfile=/scratch/kocevski/179939/cmap_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.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=255.021 yref=68.5042 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.80
user 0.62
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/179939/ft1_filtered_4FGL_J1700.0+6830_monthly_bin169.fits scfile=/scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits outfile=/scratch/kocevski/179939/cmap_HighResolution_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.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=255.021 yref=68.5042 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.82
user 0.64
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/179939/ft1_filtered_4FGL_J1700.0+6830_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/179939/Model_4FGL_J1700.0+6830_monthly_bin169.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/179939/ft1_filtered_4FGL_J1700.0+6830_monthly_bin169.fits.....................!
real 1111.55
user 1107.70
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/179939/ft1_filtered_4FGL_J1700.0+6830_monthly_bin169.fits', '/scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits', expMap='/scratch/kocevski/179939/expmap_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.fits', expCube='/scratch/kocevski/179939/ltcube_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/179939/Model_4FGL_J1700.0+6830_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1700.0+6830'

4FGL J1700.0+6830
   Spectrum: LogParabola
358         norm:  1.232e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
359        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
360         beta:  1.037e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
361           Eb:  6.263e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/179939/ft1_filtered_4FGL_J1700.0+6830_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/179939/ft2_4FGL_J1700.0+6830_monthly_bin169.fits
Exposure map: /scratch/kocevski/179939/expmap_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.fits
Exposure cube: /scratch/kocevski/179939/ltcube_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/179939/Model_4FGL_J1700.0+6830_monthly_bin169.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) = 129358.005988

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.7952       1.0000         .10000E-03   10000.    
     2 'Prefactor '    15.234       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11678E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.543       1.0000         .10000E-03   10000.    
     5 'norm      '    1.5158       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .12166E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10206E-02   1.0000         .10000E-03   10000.    
     8 'norm      '    2.5429       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .74423       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .40728E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    5.6450       1.0000         .10000E-03   10000.    
    13 'Prefactor '    1.9731       1.0000         .10000E-03   10000.    
    14 'norm      '    .80804E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .11539       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0323       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    8.9496       1.0000         .10000E-03   10000.    
    20 'Prefactor '    3.2557       1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.3733       1.0000         .10000E-03   10000.    
    22 'Prefactor '    22.732       1.0000         .10000E-03   10000.    
    23 'norm      '    3.0531       1.0000         .10000E-03   10000.    
    24 'norm      '    7.3691       1.0000         .10000E-03   10000.    
    25 'Prefactor '    2.0741       1.0000         .10000E-03   10000.    
    26 'norm      '    4.9544       1.0000         .10000E-03   10000.    
    27 'Prefactor '    5.3473       1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.4418       1.0000         .10000E-03   10000.    
    30 'Prefactor '    2.2825       1.0000         .10000E-03   10000.    
    31 'Prefactor '    15.470       1.0000         .10000E-03   10000.    
    32 'Prefactor '    7.6452       1.0000         .10000E-03   10000.    
    33 'norm      '    1.6412       1.0000         .10000E-03   10000.    
    34 'Normalizat'    .93697       1.0000         .10000E-01   10.000    
    35 'Prefactor '    1.0542       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   129357.8     FROM MIGRAD    STATUS=CONVERGED   1025 CALLS     4578 TOTAL
                     EDM=   .22E-04    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.7956        4.6694         .0000        .31844E-01
   2  Prefactor     15.235        7.7783         .0000       -.54944E-03
   3  Prefactor     .10000E-03    .58619         .0000    ** at limit **
   4  Prefactor     12.543        4.8745         .0000        .33002E-04
   5  norm          1.5158        .44830         .0000        .23917E-02
   6  Prefactor     .10000E-03    2.9750         .0000    ** at limit **
   7  Prefactor     .10008E-03    1.2149         .0000    ** at limit **
   8  norm          2.5436        1.9499         .0000        .22979E-01
   9  Prefactor     .10000E-03    4.9537         .0000    ** at limit **
  10  Prefactor     .74489        1.0234         .0000        .11589E-01
  11  Prefactor     .10000E-03    1.1267         .0000    ** at limit **
  12  norm          5.6452        1.8601         .0000        .63309E-02
  13  Prefactor     1.9732        3.3933         .0000        .28672E-02
  14  norm          .80826E-01    .10618         .0000        .76346E-01
  15  Prefactor     .10000E-03    .25489         .0000    ** at limit **
  16  Prefactor     .11530        .19622         .0000        .15258E-01
  17  Prefactor     1.0326        2.4041         .0000        .26921    
  18  Prefactor     .10000E-03    .24569         .0000    ** at limit **
  19  Prefactor     8.9511        5.8176         .0000        .88053E-03
  20  Prefactor     3.2556        1.7784         .0000        .10436    
  21  Prefactor     2.3700        9.3681         .0000        .10247E-02
  22  Prefactor     22.731        16.430         .0000       -.17451E-03
  23  norm          3.0531        .56538         .0000        .20693E-02
  24  norm          7.3691        .30876         .0000       -.64401E-03
  25  Prefactor     2.0744        2.4571         .0000        .46369E-02
  26  norm          4.9544        1.0735         .0000        .15995E-02
  27  Prefactor     5.3472        3.3354         .0000       -.27718E-02
  28  Prefactor     .10000E-03    7.5991         .0000    ** at limit **
  29  Prefactor     3.4420        1.4151         .0000        .92625E-02
  30  Prefactor     2.2822        3.6000         .0000        .54273E-01
  31  Prefactor     15.466        13.191         .0000       -.27723E-02
  32  Prefactor     7.6440        14.162         .0000       -.48577E-03
  33  norm          1.6412        .57455         .0000        .75275E-02
  34  Normalizat    .93691        .45707E-01     .0000        .50325E-03
  35  Prefactor     1.0542        .33541E-01     .0000        .30670E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.79562
  Prefactor  = 15.2346
  Prefactor  = 0.0001
  Prefactor  = 12.543
  norm       = 1.51577
  Prefactor  = 0.0001
  Prefactor  = 0.000100078
  norm       = 2.54356
  Prefactor  = 0.0001
  Prefactor  = 0.744889
  Prefactor  = 0.000100002
  norm       = 5.64524
  Prefactor  = 1.97324
  norm       = 0.0808261
  Prefactor  = 0.0001
  Prefactor  = 0.115304
  Prefactor  = 1.03261
  Prefactor  = 0.0001
  Prefactor  = 8.95111
  Prefactor  = 3.25555
  Prefactor  = 2.37003
  Prefactor  = 22.731
  norm       = 3.05308
  norm       = 7.36913
  Prefactor  = 2.07443
  norm       = 4.95443
  Prefactor  = 5.34722
  Prefactor  = 0.000100004
  Prefactor  = 3.442
  Prefactor  = 2.28225
  Prefactor  = 15.4664
  Prefactor  = 7.64396
  norm       = 1.64125
  Normalizat = 0.936909
  Prefactor  = 1.05421
 **********
 **   18 **HESSE 
 **********

 FCN=   129357.8     FROM HESSE     STATUS=OK           820 CALLS     5398 TOTAL
                     EDM=   .88E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.7956        4.6675        .15605E-02   -1.5440    
   2  Prefactor     15.235        7.7770        .10262E-03   -1.4927    
   3  Prefactor     .10000E-03    4.0933        .51990E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     12.543        4.8039        .11310E-03   -1.4999    
   5  norm          1.5158        .44651        .12676E-03   -1.5462    
   6  Prefactor     .10000E-03    2.8017        .20531       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10008E-03    9.2087        .76689E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          2.5436        1.9449        .12804E-02   -1.5389    
   9  Prefactor     .10000E-03    4.9570        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .74489        1.6989        .39672E-02   -1.5535    
  11  Prefactor     .10000E-03    1.1873        .13579       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          5.6452        1.8514        .16907E-03   -1.5233    
  13  Prefactor     1.9732        3.3565        .29516E-03   -1.5427    
  14  norm          .80826E-01    .99589E-01    .11808E-03   -1.5651    
  15  Prefactor     .10000E-03    .83076        .34014E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .11530        .43460        .18399E-02   -1.5640    
  17  Prefactor     1.0326        2.3178        .24922E-02   -1.5505    
  18  Prefactor     .10000E-03    .55933        .31888E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     8.9511        5.7052        .13398E-03   -1.5110    
  20  Prefactor     3.2556        1.7599        .11223E-02   -1.5347    
  21  Prefactor     2.3700        8.8798        .26595E-03   -1.5400    
  22  Prefactor     22.731        16.410        .84013E-04   -1.4754    
  23  norm          3.0531        .56377        .11014E-03   -1.5358    
  24  norm          7.3691        .30839        .38628E-04   -1.5165    
  25  Prefactor     2.0744        2.4476        .28681E-03   -1.5420    
  26  norm          4.9544        1.0692        .90342E-04   -1.5263    
  27  Prefactor     5.3472        3.3308        .17379E-03   -1.5245    
  28  Prefactor     .10000E-03    7.6158        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     3.4420        1.3921        .21801E-03   -1.5337    
  30  Prefactor     2.2822        3.5170        .13588E-02   -1.5406    
  31  Prefactor     15.466        13.207        .10183E-03   -1.4921    
  32  Prefactor     7.6440        14.151        .14503E-03   -1.5155    
  33  norm          1.6412        .56369        .14693E-03   -1.5452    
  34  Normalizat    .93691        .50534E-01    .28483E-03   -.95175    
  35  Prefactor     1.0542        .38399E-01    .21313E-03   -.90944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.80443e-07
Minuit parameter uncertainties:
  1  4.6684
  2  7.77756
  3  6.70122e-06
  4  4.80403
  5  0.446508
  6  1.23113e-05
  7  0.00169928
  8  1.94496
  9  3.60142e-05
  10  1.69897
  11  8.66233e-05
  12  1.85139
  13  3.35682
  14  0.099589
  15  9.59864e-07
  16  0.434609
  17  2.31795
  18  2.976e-08
  19  5.70556
  20  1.75991
  21  8.88473
  22  16.4135
  23  0.56377
  24  0.308389
  25  2.44773
  26  1.06917
  27  3.33093
  28  0.000368334
  29  1.39212
  30  3.51734
  31  13.2093
  32  14.1576
  33  0.563692
  34  0.0505367
  35  0.0384
Done.

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

Extracting fit parameters...

4FGL J1700.0+6830
   Spectrum: LogParabola
358         norm:  8.083e-02  9.959e-02  1.000e-04  1.000e+04 ( 1.000e-11)
359        alpha:  2.278e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
360         beta:  1.037e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
361           Eb:  6.263e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.054e+00  3.840e-02  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  9.369e-01  5.054e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.82
Ra Dec: 255.021 68.504
Photon Flux Upper Limit: 1.23e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.36e-06 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/179939/likelihoodResults_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.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) = 129357.816149
delta logL = 1.09251704998e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 129357.81614
delta logL = 2.0120627596e-05

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .80852E-01   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2735       1.0000          .0000       5.0000    
     3 'Normalizat'    .93693       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0542       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6590E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   129357.8     FROM MIGRAD    STATUS=FAILED        92 CALLS      244 TOTAL
                     EDM=   .37E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .80836E-01    .10042        .11818E-03    .29705E-02
   2  alpha         2.2735        .77578        .89774E-01   -.59646E-03
   3  Normalizat    .93693        .47150E-01    .28483E-03    .44703E-05
   4  Prefactor     1.0542        .37346E-01    .21313E-03    .42673E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   129357.8     FROM SIMPLEX   STATUS=UNCHANGED     81 CALLS      325 TOTAL
                     EDM=   .11E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .80836E-01    .10042        .91410E-05   -1.5651    
   2  alpha         2.2735        .77578        .11646E-02   -.90743E-01
   3  Normalizat    .93693        .47150E-01    .58818E-04   -.95174    
   4  Prefactor     1.0542        .37346E-01    .43863E-04   -.90944    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   129357.8     FROM MIGRAD    STATUS=CONVERGED     30 CALLS      355 TOTAL
                     EDM=   .84E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .80837E-01    .97341E-01    .23636E-04    .79266E-03
   2  alpha         2.2734        .75834        .17955E-01   -.28265E-05
   3  Normalizat    .93693        .47170E-01    .11393E-04    .19159E-04
   4  Prefactor     1.0542        .37356E-01    .85253E-05    .21336E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0808366
  alpha      = 2.27344
  Normalizat = 0.936931
  Prefactor  = 1.0542
 **********
 **   18 **HESSE 
 **********

 FCN=   129357.8     FROM HESSE     STATUS=OK            23 CALLS      378 TOTAL
                     EDM=   .79E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .80837E-01    .97161E-01    .94546E-06   -1.5651    
   2  alpha         2.2734        .75722        .71819E-03   -.90747E-01
   3  Normalizat    .93693        .47163E-01    .22787E-05   -.95174    
   4  Prefactor     1.0542        .37349E-01    .17051E-05   -.90944    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.8514e-12
Minuit parameter uncertainties:
  1  0.0971614
  2  0.769413
  3  0.0471656
  4  0.0373495
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/179939': 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) = 129357.81614
delta logL = 2.0134539227e-05

Extracting fit parameters...

4FGL J1700.0+6830
   Spectrum: LogParabola
358         norm:  8.084e-02  9.716e-02  1.000e-04  1.000e+04 ( 1.000e-11)
359        alpha:  2.273e+00  7.694e-01  0.000e+00  5.000e+00 ( 1.000e+00)
360         beta:  1.037e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
361           Eb:  6.263e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
656    Prefactor:  1.054e+00  3.735e-02  0.000e+00  1.000e+01 ( 1.000e+00)
657        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
658        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
655   Normalization:  9.369e-01  4.717e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.82
Ra Dec: 255.021 68.504

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/179939/cmap_HighResolution_675043201_677635201_4FGL_J1700.0+6830_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.36e-06', job_status='DONE', photon_flux_upper_limit='1.23e-08', time_completed='2022-06-23 07:26:05.330448', job_id='179939', GAL2='1.05', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1655994365.33', return_code2='0', ts='0.82', comment='SUCCESS', return_code='0', GAL='1.05', dlogl='2.01e-05', ts2='0.82', photon_index_error='0.00', photon_index='2.28' WHERE bin_id='169' AND source_name='4FGL J1700.0+6830' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 07:26:05 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0105>
Subject: Job 179939: <4FGL_J1700.0+6830_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1700.0+6830_monthly_bin169> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Jun 23 02:30:28 2022
Job was executed on host(s) <bullet0105>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:33:15 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jun 23 02:33:15 2022
Terminated at Thu Jun 23 07:26:06 2022
Results reported at Thu Jun 23 07:26:06 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1700.0+6830_monthly_bin169 255.021 68.5042 675043201 677635201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1700.0+6830 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   17283.00 sec.
    Max Memory :                                 859 MB
    Average Memory :                             495.30 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   17573 sec.
    Turnaround time :                            17738 sec.

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

