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


Performing analysis on: 4FGL_J1800.6+7828_monthly_bin168
RA = 270.173, Dec = 78.4674
tmin = 672451201, tmax = 675043201
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='643330', job_status='RUN', time_executed='2022-05-24 03:43:02.155496', time_epoch_executed='1653388982.16' WHERE source_name='4FGL J1800.6+7828' and cadence='monthly' and bin_id='168'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/643330

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

Retrieving the FT1 file...

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

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

Retrieving 455 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/643330/ft1_4FGL_J1800.6+7828_monthly_bin168.fits


Retrieving the FT1 file...

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

Retrieving 455 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/643330/ft1_4FGL_J1800.6+7828_monthly_bin168.fits outfile=/scratch/kocevski/643330/ft1_filteredMKT_4FGL_J1800.6+7828_monthly_bin168.fits ra=270.173 dec=78.4674 rad=12.0 tmin=672451201.0 tmax=675043201.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 23.47
user 22.61
sys 0.78

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.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/643330/ft1_filteredMKT_4FGL_J1800.6+7828_monthly_bin168.fits evtable="EVENTS" outfile="/scratch/kocevski/643330/ft1_filtered_4FGL_J1800.6+7828_monthly_bin168.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.74
user 0.56
sys 0.17

Number of photons that the gtmktime cut: 16039

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/643330/ft1_filtered_4FGL_J1800.6+7828_monthly_bin168.fits" evtable="EVENTS" scfile=/scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits sctable="SC_DATA" outfile=/scratch/kocevski/643330/ltcube_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.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/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits
.....................!
real 105.97
user 105.39
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/643330/ft1_filtered_4FGL_J1800.6+7828_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits sctable="SC_DATA" expcube=/scratch/kocevski/643330/ltcube_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.fits outfile=/scratch/kocevski/643330/expmap_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.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/643330/ltcube_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.fits
.....................!
real 156.44
user 152.15
sys 3.93

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

Setting source of interest to:
4FGL J1800.6+7828 @ 270.173 78.4674

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/643330/ft1_filtered_4FGL_J1800.6+7828_monthly_bin168.fits scfile=/scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits outfile=/scratch/kocevski/643330/cmap_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.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=270.173 yref=78.4674 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.70
user 0.53
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/643330/ft1_filtered_4FGL_J1800.6+7828_monthly_bin168.fits scfile=/scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits outfile=/scratch/kocevski/643330/cmap_HighResolution_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.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=270.173 yref=78.4674 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.70
user 0.52
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/643330/ft1_filtered_4FGL_J1800.6+7828_monthly_bin168.fits evtable="EVENTS" scfile=/scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/643330/Model_4FGL_J1800.6+7828_monthly_bin168.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/643330/ft1_filtered_4FGL_J1800.6+7828_monthly_bin168.fits.....................!
real 1490.14
user 1486.02
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/643330/ft1_filtered_4FGL_J1800.6+7828_monthly_bin168.fits', '/scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits', expMap='/scratch/kocevski/643330/expmap_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.fits', expCube='/scratch/kocevski/643330/ltcube_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/643330/Model_4FGL_J1800.6+7828_monthly_bin168.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1800.6+7828'

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  1.608e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
412        alpha:  2.159e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
413         beta:  3.593e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
414           Eb:  6.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/643330/ft1_filtered_4FGL_J1800.6+7828_monthly_bin168.fits
Spacecraft file(s): /scratch/kocevski/643330/ft2_4FGL_J1800.6+7828_monthly_bin168.fits
Exposure map: /scratch/kocevski/643330/expmap_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.fits
Exposure cube: /scratch/kocevski/643330/ltcube_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/643330/Model_4FGL_J1800.6+7828_monthly_bin168.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) = 166491.727841

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9662       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    10.131       1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.684       1.0000         .10000E-03   10000.    
     6 'Prefactor '    11.055       1.0000         .10000E-03   10000.    
     7 'norm      '    .17294       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .15598       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.6046       1.0000         .10000E-03   10000.    
    10 'Prefactor '    2.0271       1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.0284       1.0000         .10000E-03   10000.    
    12 'norm      '    3.6108       1.0000         .10000E-03   10000.    
    13 'norm      '    4.5754       1.0000         .10000E-03   10000.    
    14 'norm      '    3.6677       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10188E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    4.4610       1.0000         .10000E-03   10000.    
    17 'Prefactor '    4.2951       1.0000         .10000E-03   10000.    
    18 'Prefactor '    13.088       1.0000         .10000E-03   10000.    
    19 'norm      '    .71719       1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.2116       1.0000         .10000E-03   10000.    
    21 'norm      '    10.090       1.0000         .10000E-03   10000.    
    22 'norm      '    .21645E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    .16357E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    15.273       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .96494       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0219       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   166491.7     FROM MIGRAD    STATUS=CONVERGED    654 CALLS     3309 TOTAL
                     EDM=   .13E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9664        2.5135         .0000        .63657E-01
   2  Prefactor     .10000E-03    9.2085         .0000    ** at limit **
   3  Prefactor     .10000E-03    5.3959         .0000    ** at limit **
   4  norm          10.131        3.8458         .0000        .86738E-02
   5  Prefactor     11.684        10.123         .0000        .90267E-04
   6  Prefactor     11.055        6.5294         .0000        .38329E-02
   7  norm          .17299        .11736         .0000        .35334E-01
   8  Prefactor     .15677        .22472         .0000        .14397E-01
   9  Prefactor     5.6041        2.9344         .0000        .30594E-01
  10  Prefactor     2.0277        5.6300         .0000        .27280E-01
  11  Prefactor     2.0285        4.3480         .0000        .17206E-02
  12  norm          3.6107        .59814         .0000        .25096E-02
  13  norm          4.5754        .25292         .0000       -.24541E-03
  14  norm          3.6682        .95278         .0000        .67651E-02
  15  Prefactor     .10000E-03    55.448         .0000    ** at limit **
  16  Prefactor     4.4621        1.5289         .0000        .63966E-02
  17  Prefactor     4.2937        4.0820         .0000        .28397E-01
  18  Prefactor     13.088        14.221         .0000        .88590E-03
  19  norm          .71719        .59621         .0000        .16107E-01
  20  Prefactor     2.2120        1.2004         .0000        .17256E-01
  21  norm          10.090        5.1413         .0000        .28066E-03
  22  norm          .10000E-03    .87881E-01     .0000    ** at limit **
  23  norm          .10000E-03    .84199E-01     .0000    ** at limit **
  24  Prefactor     15.274        3.2469         .0000        .10224E-01
  25  Normalizat    .96492        .41757E-01     .0000        .13570E-03
  26  Prefactor     1.0219        .19445E-01     .0000       -.11526E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.96636
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 10.1306
  Prefactor  = 11.6838
  Prefactor  = 11.0551
  norm       = 0.172995
  Prefactor  = 0.156767
  Prefactor  = 5.6041
  Prefactor  = 2.02774
  Prefactor  = 2.0285
  norm       = 3.61073
  norm       = 4.57544
  norm       = 3.66824
  Prefactor  = 0.0001
  Prefactor  = 4.46214
  Prefactor  = 4.29367
  Prefactor  = 13.088
  norm       = 0.717186
  Prefactor  = 2.21198
  norm       = 10.0898
  norm       = 0.000100001
  norm       = 0.0001
  Prefactor  = 15.2738
  Normalizat = 0.964919
  Prefactor  = 1.02191
 **********
 **   18 **HESSE 
 **********

 FCN=   166491.7     FROM HESSE     STATUS=OK           492 CALLS     3801 TOTAL
                     EDM=   .85E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9664        2.5097        .11788E-02   -1.5363    
   2  Prefactor     .10000E-03    9.4605        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    5.4376        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          10.131        3.8432        .62946E-03   -1.5071    
   5  Prefactor     11.684        10.123        .11720E-03   -1.5024    
   6  Prefactor     11.055        6.4625        .12049E-03   -1.5043    
   7  norm          .17299        .11729        .10293E-02   -1.5625    
   8  Prefactor     .15677        .55970        .19963E-02   -1.5629    
   9  Prefactor     5.6041        2.8583        .84846E-03   -1.5234    
  10  Prefactor     2.0277        5.5843        .14530E-02   -1.5423    
  11  Prefactor     2.0285        4.3215        .29049E-03   -1.5423    
  12  norm          3.6107        .59679        .12185E-03   -1.5328    
  13  norm          4.5754        .25227        .44947E-04   -1.5280    
  14  norm          3.6682        .94688        .18724E-03   -1.5325    
  15  Prefactor     .10000E-03    56.320        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     4.4621        1.5101        .19065E-03   -1.5285    
  17  Prefactor     4.2937        3.9164        .97195E-03   -1.5294    
  18  Prefactor     13.088        14.220        .55360E-03   -1.4984    
  19  norm          .71719        .61644        .25269E-02   -1.5539    
  20  Prefactor     2.2120        1.1899        .27658E-03   -1.5411    
  21  norm          10.090        5.1419        .12615E-03   -1.5073    
  22  norm          .10000E-03    .13245        .42981E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          .10000E-03    .11985        .42801E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     15.274        3.2461        .51242E-03   -1.4926    
  25  Normalizat    .96492        .45365E-01    .34830E-03   -.94215    
  26  Prefactor     1.0219        .21453E-01    .16698E-03   -.92003    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.48771e-07
Minuit parameter uncertainties:
  1  2.50974
  2  2.76394e-05
  3  2.57733e-06
  4  3.84334
  5  10.1246
  6  6.46287
  7  0.117289
  8  0.559721
  9  2.85835
  10  5.58571
  11  4.32221
  12  0.596787
  13  0.252274
  14  0.946888
  15  0.000248388
  16  1.51009
  17  3.91661
  18  14.2242
  19  0.616446
  20  1.18992
  21  5.14217
  22  2.16881e-05
  23  6.62195e-07
  24  3.24617
  25  0.0453666
  26  0.021453
Done.

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

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  4.575e+00  2.523e-01  1.000e-04  1.000e+04 ( 1.000e-11)
412        alpha:  2.159e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
413         beta:  3.593e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
414           Eb:  6.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.022e+00  2.145e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.649e-01  4.537e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1002.40
Ra Dec: 270.173 78.467
Photon Index (Fixed Index): 2.16 +/- 0.00
Photon Flux (Fixed Index): 2.15e-07 +/- 1.19e-08
Energy Flux (Fixed Index): 9.64e-05 +/- 5.31e-06

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) = 166490.890962
delta logL = 0.812166665972

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 166490.890919
delta logL = 0.812209462252

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4567       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.2247       1.0000          .0000       5.0000    
     3 'Normalizat'    .95500       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0245       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6530E+05   .2000E-04
 **********
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   166490.9     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      257 TOTAL
                     EDM=   .75E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4567        .26277        .43841E-04    .28711E-02
   2  alpha         2.2247        .52864E-01    .71276E-02    .40281E-03
   3  Normalizat    .95500        .43252E-01    .34980E-03    .17264E-03
   4  Prefactor     1.0245        .20908E-01    .16679E-03   -.45150E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.45669
  alpha      = 2.22471
  Normalizat = 0.955004
  Prefactor  = 1.02448
 **********
 **   18 **HESSE 
 **********

 FCN=   166490.9     FROM HESSE     STATUS=OK            25 CALLS      282 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4567        .26037        .17536E-05   -1.5286    
   2  alpha         2.2247        .52359E-01    .28510E-03   -.11034    
   3  Normalizat    .95500        .43271E-01    .13992E-04   -.94553    
   4  Prefactor     1.0245        .20916E-01    .66716E-05   -.91918    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.53315e-11
Minuit parameter uncertainties:
  1  0.260369
  2  0.0523633
  3  0.0432725
  4  0.0209157
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/643330': 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) = 166490.890919
delta logL = 0.812209462252

Extracting fit parameters...

4FGL J1800.6+7828
   Spectrum: LogParabola
411         norm:  4.457e+00  2.604e-01  1.000e-04  1.000e+04 ( 1.000e-11)
412        alpha:  2.225e+00  5.236e-02  0.000e+00  5.000e+00 ( 1.000e+00)
413         beta:  3.593e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
414           Eb:  6.563e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
650    Prefactor:  1.024e+00  2.092e-02  0.000e+00  1.000e+01 ( 1.000e+00)
651        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
652        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
649   Normalization:  9.550e-01  4.327e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1003.64
Ra Dec: 270.173 78.467
Photon Index (Free Index): 2.22 +/- 0.05
Photon Flux (Free Index): 2.25e-07 +/- 1.39e-08
Energy Flux (Free Index): 9.05e-05 +/- 6.47e-06

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/643330/cmap_HighResolution_672451201_675043201_4FGL_J1800.6+7828_monthly_bin168.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='2.15e-07', energy_flux2='9.05e-05', photon_flux_error='1.19e-08', dlogl='8.12e-01', energy_flux='9.64e-05', photon_flux2='2.25e-07', job_status='DONE', time_completed='2022-05-24 06:37:40.756564', photon_index_error2='0.05', photon_index2='2.22', ts='1002.40', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='6.47e-06', EG='0.96', time_epoch_completed='1653399460.76', return_code='0', job_id='643330', GAL2='1.02', EG2='0.96', return_code2='0', energy_flux_error='5.31e-06', photon_flux_error2='1.39e-08', ts2='1003.64', photon_index='2.16' WHERE bin_id='168' AND source_name='4FGL J1800.6+7828' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Tue May 24 06:37:40 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0071>
Subject: Job 643330: <4FGL_J1800.6+7828_monthly_bin168> in cluster <slac> Done

Job <4FGL_J1800.6+7828_monthly_bin168> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue May 24 03:40:28 2022
Job was executed on host(s) <bullet0071>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue May 24 03:42:14 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue May 24 03:42:14 2022
Terminated at Tue May 24 06:37:42 2022
Results reported at Tue May 24 06:37:42 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1800.6+7828_monthly_bin168 270.173 78.4674 672451201 675043201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1800.6+7828 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   10447.00 sec.
    Max Memory :                                 637 MB
    Average Memory :                             549.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   10530 sec.
    Turnaround time :                            10634 sec.

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

