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


Performing analysis on: 4FGL_J1852.4+4856_daily_bin1750
RA = 283.116, Dec = 48.935
tmin = 692928001, tmax = 693187201
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='22303', job_status='RUN', time_executed='2022-12-20 01:31:18.217048', time_epoch_executed='1671528678.22' WHERE source_name='4FGL J1852.4+4856' and cadence='daily' and bin_id='1750'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/22303

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/22303/ft1_4FGL_J1852.4+4856_daily_bin1750.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/22303/ft1_4FGL_J1852.4+4856_daily_bin1750.fits outfile=/scratch/kocevski/22303/ft1_filteredMKT_4FGL_J1852.4+4856_daily_bin1750.fits ra=283.116 dec=48.935 rad=12.0 tmin=692928001.0 tmax=693187201.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.53
user 3.30
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.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/22303/ft1_filteredMKT_4FGL_J1852.4+4856_daily_bin1750.fits evtable="EVENTS" outfile="/scratch/kocevski/22303/ft1_filtered_4FGL_J1852.4+4856_daily_bin1750.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.49
user 0.32
sys 0.17

Number of photons that the gtmktime cut: 1034

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/22303/ft1_filtered_4FGL_J1852.4+4856_daily_bin1750.fits" evtable="EVENTS" scfile=/scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits sctable="SC_DATA" outfile=/scratch/kocevski/22303/ltcube_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.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/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits
.....................!
real 11.87
user 11.49
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/22303/ft1_filtered_4FGL_J1852.4+4856_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits sctable="SC_DATA" expcube=/scratch/kocevski/22303/ltcube_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.fits outfile=/scratch/kocevski/22303/expmap_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.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/22303/ltcube_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.fits
.....................!
real 191.37
user 185.77
sys 5.27

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 gamma Cygni in ROI with RadialDisk spatial model.
Extended source Cygnus Cocoon in ROI with RadialGaussian spatial model.
Extended source HB 21 in ROI with RadialDisk spatial model.
Added 214 point sources and 3 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 J1852.4+4856 @ 283.116 48.935

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/22303/ft1_filtered_4FGL_J1852.4+4856_daily_bin1750.fits scfile=/scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits outfile=/scratch/kocevski/22303/cmap_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.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=283.116 yref=48.935 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.54
user 0.36
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/22303/ft1_filtered_4FGL_J1852.4+4856_daily_bin1750.fits scfile=/scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits outfile=/scratch/kocevski/22303/cmap_HighResolution_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.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=283.116 yref=48.935 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.54
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/22303/ft1_filtered_4FGL_J1852.4+4856_daily_bin1750.fits evtable="EVENTS" scfile=/scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/22303/Model_4FGL_J1852.4+4856_daily_bin1750.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 Cygnus Cocoon
adding source EG_v02
adding source GAL_V02
adding source HB 21
adding source gamma Cygni
Working on...
/scratch/kocevski/22303/ft1_filtered_4FGL_J1852.4+4856_daily_bin1750.fits.....................!
real 109.53
user 108.12
sys 1.23

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/22303/ft1_filtered_4FGL_J1852.4+4856_daily_bin1750.fits', '/scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits', expMap='/scratch/kocevski/22303/expmap_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.fits', expCube='/scratch/kocevski/22303/ltcube_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/22303/Model_4FGL_J1852.4+4856_daily_bin1750.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1852.4+4856'

4FGL J1852.4+4856
   Spectrum: PowerLaw
370    Prefactor:  1.603e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-12)
371        Index:  2.287e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
372        Scale:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/22303/ft1_filtered_4FGL_J1852.4+4856_daily_bin1750.fits
Spacecraft file(s): /scratch/kocevski/22303/ft2_4FGL_J1852.4+4856_daily_bin1750.fits
Exposure map: /scratch/kocevski/22303/expmap_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.fits
Exposure cube: /scratch/kocevski/22303/ltcube_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/22303/Model_4FGL_J1852.4+4856_daily_bin1750.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) = 10508.4839524

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .11048E-02   1.0000          .0000       .10000E+07
     2 'Prefactor '    15.745       1.0000          .0000       .10000E+07
     3 'norm      '    4.2580       1.0000          .0000       .10000E+07
     4 'Prefactor '    .17636E-05   1.0000          .0000       .10000E+07
     5 'norm      '    .37329E-04   1.0000          .0000       .10000E+07
     6 'norm      '    .19938E-02   1.0000          .0000       .10000E+07
     7 'norm      '    .10066E-03   1.0000          .0000       .10000E+07
     8 'Prefactor '    1.7728       1.0000          .0000       .10000E+07
     9 'norm      '    1.0556       1.0000          .0000       .10000E+07
    10 'Prefactor '    11.192       1.0000          .0000       .10000E+07
    11 'Normalizat'    .96893       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .98044       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   10508.39     FROM MIGRAD    STATUS=CONVERGED     68 CALLS      586 TOTAL
                     EDM=   .55E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        6.5501        .23040E-07** at limit **
   2  Prefactor     15.923        1.8203        .60745E-08   -.36467E-01
   3  norm          4.2889        6.8520       -.52065E-07   -.37547E-03
   4  Prefactor     .55511E-10    5.4226        .29966E-07** at limit **
   5  norm          .55511E-10    2.6225        .16692E-07** at limit **
   6  norm          .27756E-09    3.0066        .11890E-06** at limit **
   7  norm          .16653E-08    4.6153        .14384E-06** at limit **
   8  Prefactor     1.7806        2.3886        .34048E-07   -.27418E-03
   9  norm          1.0582        1.4598        .46127E-07   -.32247E-03
  10  Prefactor     11.145        4.5970        .25506E-07    .13354E-01
  11  Normalizat    .96779        .21133       -.42829E-05   -.48228E-05
  12  Prefactor     .98074        .87267E-01    .23519E-05   -.37862E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 15.9227
  norm       = 4.28892
  Prefactor  = 5.55112e-11
  norm       = 5.55112e-11
  norm       = 2.77556e-10
  norm       = 1.66533e-09
  Prefactor  = 1.78064
  norm       = 1.05816
  Prefactor  = 11.1446
  Normalizat = 0.967792
  Prefactor  = 0.980735
 **********
 **   18 **HESSE 
 **********

 FCN=   10508.39     FROM HESSE     STATUS=OK           153 CALLS      739 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        7.1184        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.923        8.8720        .25214E-03   -1.5628    
   3  norm          4.2889        6.8852        .48804E-03   -1.5667    
   4  Prefactor     .55511E-10    5.4361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .55511E-10    2.6273        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .27756E-09    8.1957        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .16653E-08    7.7007        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     1.7806        2.4100        .78607E-03   -1.5681    
   9  norm          1.0582        1.8225        .33149E-02   -1.5687    
  10  Prefactor     11.145        13.975        .29921E-03   -1.5641    
  11  Normalizat    .96779        .18954        .88244E-01   -.94117    
  12  Prefactor     .98074        .76884E-01    .46022E-01   -.93374    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.49862e-08
Minuit parameter uncertainties:
  1  8.63568e-06
  2  8.872
  3  6.88523
  4  3.05578e-05
  5  1.74275e-05
  6  9.59503e-05
  7  0.000225584
  8  2.40995
  9  1.82254
  10  13.9751
  11  0.189671
  12  0.0768923
Done.

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

Extracting fit parameters...

4FGL J1852.4+4856
   Spectrum: PowerLaw
370    Prefactor:  1.781e+00  2.410e+00  0.000e+00  1.000e+06 ( 1.000e-12)
371        Index:  2.287e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
372        Scale:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  9.807e-01  7.689e-02  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  9.678e-01  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.70
Ra Dec: 283.116 48.935
Photon Flux Upper Limit: 1.10e-07 ph cm-2 s-1
Energy Flux Upper Limit: 8.41e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/22303/likelihoodResults_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.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) = 10508.2615966
delta logL = 0.12885446277

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10508.2564835
delta logL = 0.133967588125

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .89481       1.0000          .0000       .10000E+07
     2 'Index     '    2.9709       1.0000          .0000       10.000    
     3 'Normalizat'    .94160       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .98744       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7480E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   10508.26     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      252 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .89383        20.544        .46119E-03    .27146E-01
   2  Index         2.9723        3.3591        .16693        .24126E-03
   3  Normalizat    .94209        .53688E-01    .89328E-01   -.22265E-03
   4  Prefactor     .98730        .21469E-01    .46110E-01    .89761E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.893832
  Index      = 2.9723
  Normalizat = 0.942087
  Prefactor  = 0.987299
 **********
 **   18 **HESSE 
 **********

 FCN=   10508.26     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      285 TOTAL
                     EDM=   .47E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .89383        51.289        .10138E-04   -1.5689    
   2  Index         2.9723        5.7546        .92226E-02   -.41757    
   3  Normalizat    .94209        .24136        .39560E-03   -.94997    
   4  Prefactor     .98730        .95940E-01    .16168E-03   -.93154    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.70764e-09
Minuit parameter uncertainties:
  1  13.5417
  2  8.85842
  3  0.241643
  4  0.0959569
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/22303': 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) = 10508.2564786
delta logL = 0.133972513955

Extracting fit parameters...

4FGL J1852.4+4856
   Spectrum: PowerLaw
370    Prefactor:  8.938e-01  1.354e+01  0.000e+00  1.000e+06 ( 1.000e-12)
371        Index:  2.972e+00  8.858e+00  0.000e+00  1.000e+01 (-1.000e+00)
372        Scale:  1.016e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
737    Prefactor:  9.873e-01  9.596e-02  0.000e+00  1.000e+01 ( 1.000e+00)
738        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
739        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
736   Normalization:  9.421e-01  2.416e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.01
Ra Dec: 283.116 48.935
Photon Index (Free Index): 2.97 +/- 8.86
Photon Flux (Free Index): 4.47e-08 +/- 6.45e-08
Energy Flux (Free Index): 9.04e-06 +/- 3.41e-05

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/22303/cmap_HighResolution_692928001_693187201_4FGL_J1852.4+4856_daily_bin1750.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='8.41e-03', comment='SUCCESS', energy_flux2='9.04e-06', dlogl='1.34e-01', photon_flux2='4.47e-08', job_status='DONE', time_completed='2022-12-20 01:42:09.559423', photon_index_error2='8.86', photon_index2='2.97', ts='0.70', fit_tolerance='1e-08', GAL='0.98', photon_index_error='0.00', photon_flux_upper_limit='1.10e-07', energy_flux_error2='3.41e-05', EG='0.97', time_epoch_completed='1671529329.56', return_code='0', job_id='22303', GAL2='0.99', EG2='0.94', return_code2='102', photon_flux_error2='6.45e-08', ts2='1.01', photon_index='2.29' WHERE bin_id='1750' AND source_name='4FGL J1852.4+4856' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Dec 20 01:42:09 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0223>
Subject: Job 22303: <4FGL_J1852.4+4856_daily_bin1750> in cluster <slac> Done

Job <4FGL_J1852.4+4856_daily_bin1750> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Tue Dec 20 01:30:20 2022
Job was executed on host(s) <bullet0223>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Dec 20 01:30:21 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Dec 20 01:30:21 2022
Terminated at Tue Dec 20 01:42:10 2022
Results reported at Tue Dec 20 01:42:10 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1852.4+4856_daily_bin1750 283.116 48.935 692928001 693187201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1852.4+4856 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   653.47 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             310.67 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   708 sec.
    Turnaround time :                            710 sec.

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

