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 51 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_J1830.0+1324_monthly_bin169
RA = 277.512, Dec = 13.4138
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='184210', job_status='RUN', time_executed='2022-06-23 02:47:17.712074', time_epoch_executed='1655977637.71' WHERE source_name='4FGL J1830.0+1324' and cadence='monthly' and bin_id='169'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/184210

Creating custom pfile directory:
/scratch/kocevski/184210/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/184210/ft1_4FGL_J1830.0+1324_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/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/184210/ft1_4FGL_J1830.0+1324_monthly_bin169.fits outfile=/scratch/kocevski/184210/ft1_filteredMKT_4FGL_J1830.0+1324_monthly_bin169.fits ra=277.512 dec=13.4138 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 27.77
user 26.91
sys 0.73

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/184210/ft2_4FGL_J1830.0+1324_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/184210/ft1_filteredMKT_4FGL_J1830.0+1324_monthly_bin169.fits evtable="EVENTS" outfile="/scratch/kocevski/184210/ft1_filtered_4FGL_J1830.0+1324_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.89
user 0.70
sys 0.18

Number of photons that the gtmktime cut: 26466

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/184210/ft1_filtered_4FGL_J1830.0+1324_monthly_bin169.fits" evtable="EVENTS" scfile=/scratch/kocevski/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits sctable="SC_DATA" outfile=/scratch/kocevski/184210/ltcube_675043201_677635201_4FGL_J1830.0+1324_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/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits
.....................!
real 128.06
user 127.33
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/184210/ft1_filtered_4FGL_J1830.0+1324_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits sctable="SC_DATA" expcube=/scratch/kocevski/184210/ltcube_675043201_677635201_4FGL_J1830.0+1324_monthly_bin169.fits outfile=/scratch/kocevski/184210/expmap_675043201_677635201_4FGL_J1830.0+1324_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/184210/ltcube_675043201_677635201_4FGL_J1830.0+1324_monthly_bin169.fits
.....................!
real 192.36
user 186.98
sys 4.89

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
Extended source HESS J1857+026 in ROI with RadialDisk spatial model.
Extended source G42.8+0.6 in ROI with RadialDisk spatial model.
Extended source W 51C in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W51C.fits is the correct path to the extended template.
Extended source Kes 79 in ROI with RadialDisk spatial model.
Extended source W 44 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/W44.fits is the correct path to the extended template.
Extended source G24.7+0.6 in ROI with RadialDisk spatial model.
Extended source FGES J1836.5-0651 in ROI with RadialDisk spatial model.
Extended source FGES J1838.9-0704 in ROI with RadialDisk spatial model.
Extended source Kes 73 in ROI with RadialDisk spatial model.
Extended source HESS J1841-055 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/HESSJ1841-055.fits is the correct path to the extended template.
Added 282 point sources and 10 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J1830.0+1324 @ 277.512 13.4138

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/184210/ft1_filtered_4FGL_J1830.0+1324_monthly_bin169.fits scfile=/scratch/kocevski/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits outfile=/scratch/kocevski/184210/cmap_675043201_677635201_4FGL_J1830.0+1324_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=277.512 yref=13.4138 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.86
user 0.65
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/184210/ft1_filtered_4FGL_J1830.0+1324_monthly_bin169.fits scfile=/scratch/kocevski/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits outfile=/scratch/kocevski/184210/cmap_HighResolution_675043201_677635201_4FGL_J1830.0+1324_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=277.512 yref=13.4138 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.85
user 0.68
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/184210/ft1_filtered_4FGL_J1830.0+1324_monthly_bin169.fits evtable="EVENTS" scfile=/scratch/kocevski/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/184210/Model_4FGL_J1830.0+1324_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 FGES J1836.5-0651
adding source FGES J1838.9-0704
adding source G24.7+0.6
adding source G42.8+0.6
adding source GAL_V02
adding source HESS J1841-055
adding source HESS J1857+026
adding source Kes 73
adding source Kes 79
adding source W 44
adding source W 51C
Working on...
/scratch/kocevski/184210/ft1_filtered_4FGL_J1830.0+1324_monthly_bin169.fits.....................!
real 8119.57
user 8099.33
sys 1.70

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/184210/ft1_filtered_4FGL_J1830.0+1324_monthly_bin169.fits', '/scratch/kocevski/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits', expMap='/scratch/kocevski/184210/expmap_675043201_677635201_4FGL_J1830.0+1324_monthly_bin169.fits', expCube='/scratch/kocevski/184210/ltcube_675043201_677635201_4FGL_J1830.0+1324_monthly_bin169.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/184210/Model_4FGL_J1830.0+1324_monthly_bin169.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1830.0+1324'

4FGL J1830.0+1324
   Spectrum: PowerLaw
331    Prefactor:  6.344e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
332        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.813e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/184210/ft1_filtered_4FGL_J1830.0+1324_monthly_bin169.fits
Spacecraft file(s): /scratch/kocevski/184210/ft2_4FGL_J1830.0+1324_monthly_bin169.fits
Exposure map: /scratch/kocevski/184210/expmap_675043201_677635201_4FGL_J1830.0+1324_monthly_bin169.fits
Exposure cube: /scratch/kocevski/184210/ltcube_675043201_677635201_4FGL_J1830.0+1324_monthly_bin169.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/184210/Model_4FGL_J1830.0+1324_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) = 254930.601263

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.0573       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.5016       1.0000         .10000E-03   10000.    
     3 'norm      '    5.7725       1.0000         .10000E-03   10000.    
     4 'norm      '    5.3986       1.0000         .10000E-03   10000.    
     5 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    34.904       1.0000         .10000E-03   10000.    
     7 'Prefactor '    3.1834       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.2863       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Normalizat'    1.1410       1.0000         .10000E-01   10.000    
    12 'Prefactor '    1.0005       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1053E+06   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   254930.3     FROM MIGRAD    STATUS=CONVERGED    204 CALLS      856 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.0573        .37674        .72035E-02    .12163E-01
   2  Prefactor     4.5001        6.3991        .47441E-02    .23394E-02
   3  norm          5.7725        2.6260        .41792E-02    .78083E-03
   4  norm          5.3986        3.5847        .43238E-02    .45098E-03
   5  norm          .10000E-03    .27296        .13806    ** at limit **
   6  Prefactor     34.904        14.074        .16958E-02    .18171E-03
   7  Prefactor     3.1825        6.4256        .56780E-02    .80314E-03
   8  Prefactor     .10000E-03    4.8778        .90712E-02** at limit **
   9  norm          4.2864        2.7036        .48649E-02    .42567E-02
  10  Prefactor     .10000E-03    2.6324        .90712E-02** at limit **
  11  Normalizat    1.1410        .92498E-01    .23603        .10528E-02
  12  Prefactor     1.0005        .98885E-02    .27618E-01   -.40501E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.05733
  Prefactor  = 4.50011
  norm       = 5.77245
  norm       = 5.39865
  norm       = 0.0001
  Prefactor  = 34.9036
  Prefactor  = 3.18249
  Prefactor  = 0.0001
  norm       = 4.28638
  Prefactor  = 0.0001
  Normalizat = 1.14103
  Prefactor  = 1.00049
 **********
 **   18 **HESSE 
 **********

 FCN=   254930.3     FROM HESSE     STATUS=OK           133 CALLS      989 TOTAL
                     EDM=   .62E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.0573        .37500        .12742E-03   -1.5421    
   2  Prefactor     4.5001        6.3894        .18976E-03   -1.5284    
   3  norm          5.7725        2.6252        .16717E-03   -1.5227    
   4  norm          5.3986        3.5828        .17295E-03   -1.5243    
   5  norm          .10000E-03    1.6081        .50768E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     34.904        14.066        .67831E-04   -1.4526    
   7  Prefactor     3.1825        6.4065        .22712E-03   -1.5351    
   8  Prefactor     .10000E-03    4.9324        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.2864        2.7006        .19460E-03   -1.5294    
  10  Prefactor     .10000E-03    2.6701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Normalizat    1.1410        .90428E-01    .10562E-02   -.88445    
  12  Prefactor     1.0005        .99074E-02    .12205E-03   -.92713    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.15424e-09
Minuit parameter uncertainties:
  1  0.375004
  2  6.39035
  3  2.62526
  4  3.58289
  5  2.16776e-07
  6  14.067
  7  6.40787
  8  3.83661e-06
  9  2.70069
  10  1.41525e-06
  11  0.09044
  12  0.00990739
Done.

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

Extracting fit parameters...

4FGL J1830.0+1324
   Spectrum: PowerLaw
331    Prefactor:  3.490e+01  1.407e+01  1.000e-04  1.000e+04 ( 1.000e-14)
332        Index:  2.082e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
333        Scale:  2.813e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1028    Prefactor:  1.000e+00  9.907e-03  0.000e+00  1.000e+01 ( 1.000e+00)
1029        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1030        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1014   Normalization:  1.141e+00  9.044e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 14.99
Ra Dec: 277.512 13.414
Photon Index (Fixed Index): 2.08 +/- 0.00
Photon Flux (Fixed Index): 3.36e-08 +/- 1.35e-08
Energy Flux (Fixed Index): 1.91e-05 +/- 7.72e-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) = 254930.020422
delta logL = 0.30221141639

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 254930.009837
delta logL = 0.312796284183

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    27.591       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3777       1.0000          .0000       10.000    
     3 'Normalizat'    1.1262       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0007       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .1053E+06   .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.

 FCN=   254930.0     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      312 TOTAL
                     EDM=   .41E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     27.591        29.069        .76269E-04    .27646E-02
   2  Index         2.3777        .68500        .15459E-01    .66896E-03
   3  Normalizat    1.1261        .96948E-01    .10620E-02    .41382E-04
   4  Prefactor     1.0007        .98667E-02    .12204E-03    .29810E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 27.5908
  Index      = 2.3777
  Normalizat = 1.12615
  Prefactor  = 1.00066
 **********
 **   18 **HESSE 
 **********

 FCN=   254930.0     FROM HESSE     STATUS=OK            27 CALLS      339 TOTAL
                     EDM=   .67E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     27.591        15.471        .15254E-04   -1.4657    
   2  Index         2.3777        .36540        .61838E-03   -.55208    
   3  Normalizat    1.1261        .91559E-01    .21239E-03   -.88917    
   4  Prefactor     1.0007        .98426E-02    .48816E-05   -.92708    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66892e-09
Minuit parameter uncertainties:
  1  15.4732
  2  0.365853
  3  0.0915724
  4  0.00984258
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/184210': 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) = 254930.009837
delta logL = 0.312796307262

Extracting fit parameters...

4FGL J1830.0+1324
   Spectrum: PowerLaw
331    Prefactor:  2.759e+01  1.547e+01  1.000e-04  1.000e+04 ( 1.000e-14)
332        Index:  2.378e+00  3.659e-01  0.000e+00  1.000e+01 (-1.000e+00)
333        Scale:  2.813e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
1028    Prefactor:  1.001e+00  9.843e-03  0.000e+00  1.000e+01 ( 1.000e+00)
1029        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
1030        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
1014   Normalization:  1.126e+00  9.157e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 15.74
Ra Dec: 277.512 13.414
Photon Index (Free Index): 2.38 +/- 0.37
Photon Flux (Free Index): 5.59e-08 +/- 3.56e-08
Energy Flux (Free Index): 1.89e-05 +/- 6.80e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -4.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  4.440e+00 [aplpy.core]
Saving /scratch/kocevski/184210/cmap_HighResolution_675043201_677635201_4FGL_J1830.0+1324_monthly_bin169.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='3.36e-08', energy_flux2='1.89e-05', photon_flux_error='1.35e-08', dlogl='3.13e-01', energy_flux='1.91e-05', photon_flux2='5.59e-08', job_status='DONE', time_completed='2022-06-23 07:29:16.655861', photon_index_error2='0.37', photon_index2='2.38', ts='14.99', fit_tolerance='1e-08', GAL='1.00', photon_index_error='0.00', energy_flux_error2='6.80e-06', EG='1.14', time_epoch_completed='1655994556.66', return_code='0', job_id='184210', GAL2='1.00', EG2='1.13', return_code2='0', energy_flux_error='7.72e-06', photon_flux_error2='3.56e-08', ts2='15.74', photon_index='2.08' WHERE bin_id='169' AND source_name='4FGL J1830.0+1324' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Thu Jun 23 07:29:16 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0126>
Subject: Job 184210: <4FGL_J1830.0+1324_monthly_bin169> in cluster <slac> Done

Job <4FGL_J1830.0+1324_monthly_bin169> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Jun 23 02:45:34 2022
Job was executed on host(s) <bullet0126>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jun 23 02:46:18 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:46:18 2022
Terminated at Thu Jun 23 07:29:19 2022
Results reported at Thu Jun 23 07:29:19 2022

Your job looked like:

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

Successfully completed.

Resource usage summary:

    CPU time :                                   16881.00 sec.
    Max Memory :                                 997 MB
    Average Memory :                             800.40 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   16982 sec.
    Turnaround time :                            17025 sec.

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

