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


Performing analysis on: 4FGL_J1852.4+4856_daily_bin1780
RA = 283.116, Dec = 48.935
tmin = 700704001, tmax = 700963201
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='73055', job_status='RUN', time_executed='2023-03-20 01:31:47.796249', time_epoch_executed='1679301107.8' WHERE source_name='4FGL J1852.4+4856' and cadence='daily' and bin_id='1780'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/73055

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/73055/ft1_4FGL_J1852.4+4856_daily_bin1780.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/73055/ft1_4FGL_J1852.4+4856_daily_bin1780.fits outfile=/scratch/kocevski/73055/ft1_filteredMKT_4FGL_J1852.4+4856_daily_bin1780.fits ra=283.116 dec=48.935 rad=12.0 tmin=700704001.0 tmax=700963201.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 4.09
user 3.86
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.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/73055/ft1_filteredMKT_4FGL_J1852.4+4856_daily_bin1780.fits evtable="EVENTS" outfile="/scratch/kocevski/73055/ft1_filtered_4FGL_J1852.4+4856_daily_bin1780.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.33
sys 0.15

Number of photons that the gtmktime cut: 1576

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/73055/ft1_filtered_4FGL_J1852.4+4856_daily_bin1780.fits" evtable="EVENTS" scfile=/scratch/kocevski/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.fits sctable="SC_DATA" outfile=/scratch/kocevski/73055/ltcube_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.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/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.fits
.....................!
real 11.74
user 11.37
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/73055/ft1_filtered_4FGL_J1852.4+4856_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.fits sctable="SC_DATA" expcube=/scratch/kocevski/73055/ltcube_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.fits outfile=/scratch/kocevski/73055/expmap_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.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/73055/ltcube_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.fits
.....................!
real 190.09
user 184.69
sys 5.09

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/73055/ft1_filtered_4FGL_J1852.4+4856_daily_bin1780.fits scfile=/scratch/kocevski/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.fits outfile=/scratch/kocevski/73055/cmap_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.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.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/73055/ft1_filtered_4FGL_J1852.4+4856_daily_bin1780.fits scfile=/scratch/kocevski/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.fits outfile=/scratch/kocevski/73055/cmap_HighResolution_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.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.58
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/73055/ft1_filtered_4FGL_J1852.4+4856_daily_bin1780.fits evtable="EVENTS" scfile=/scratch/kocevski/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/73055/Model_4FGL_J1852.4+4856_daily_bin1780.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/73055/ft1_filtered_4FGL_J1852.4+4856_daily_bin1780.fits.....................!
real 165.45
user 163.80
sys 1.35

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/73055/ft1_filtered_4FGL_J1852.4+4856_daily_bin1780.fits', '/scratch/kocevski/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.fits', expMap='/scratch/kocevski/73055/expmap_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.fits', expCube='/scratch/kocevski/73055/ltcube_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/73055/Model_4FGL_J1852.4+4856_daily_bin1780.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/73055/ft1_filtered_4FGL_J1852.4+4856_daily_bin1780.fits
Spacecraft file(s): /scratch/kocevski/73055/ft2_4FGL_J1852.4+4856_daily_bin1780.fits
Exposure map: /scratch/kocevski/73055/expmap_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.fits
Exposure cube: /scratch/kocevski/73055/ltcube_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/73055/Model_4FGL_J1852.4+4856_daily_bin1780.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) = 15959.1687387

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .55511E-09   1.0000          .0000       .10000E+07
     2 'Prefactor '    .14433E-08   1.0000          .0000       .10000E+07
     3 'norm      '    8.1039       1.0000          .0000       .10000E+07
     4 'Prefactor '    .31197E-07   1.0000          .0000       .10000E+07
     5 'norm      '    .48850E-08   1.0000          .0000       .10000E+07
     6 'norm      '    17.361       1.0000          .0000       .10000E+07
     7 'norm      '    1.5803       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.8429       1.0000          .0000       .10000E+07
     9 'norm      '    4.2047       1.0000          .0000       .10000E+07
    10 'Prefactor '    93.502       1.0000          .0000       .10000E+07
    11 'Normalizat'    .98668       1.0000         .10000E-01   10.000    
    12 'Prefactor '    .96851       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=   15959.16     FROM MIGRAD    STATUS=CONVERGED     71 CALLS      853 TOTAL
                     EDM=   .26E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm           .0000        1.6827       -.54262E-08** at limit **
   2  Prefactor      .0000        2.0967       -.75432E-07** at limit **
   3  norm          8.1035        7.6084        .65870E-07    .17435E-01
   4  Prefactor      .0000        11.670        .11071E-06** at limit **
   5  norm           .0000        3.2164       -.11149E-06** at limit **
   6  norm          17.360        4.2362        .20446E-07   -.28212E-01
   7  norm          1.5804        4.7836       -.43760E-06    .42099E-04
   8  Prefactor     2.8429        1.5911        .86045E-07   -.22040E-02
   9  norm          4.2047        1.7986       -.62105E-08    .47864E-03
  10  Prefactor     93.517        1.3866       -.41640E-08    .18606    
  11  Normalizat    .98679        .18444       -.38107E-05    .81093E-04
  12  Prefactor     .96846        .76680E-01   -.80747E-06    .19223E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0
  Prefactor  = 0
  norm       = 8.10348
  Prefactor  = 0
  norm       = 0
  norm       = 17.3603
  norm       = 1.58037
  Prefactor  = 2.84291
  norm       = 4.20467
  Prefactor  = 93.5173
  Normalizat = 0.986788
  Prefactor  = 0.968462
 **********
 **   18 **HESSE 
 **********

 FCN=   15959.16     FROM HESSE     STATUS=OK           153 CALLS     1006 TOTAL
                     EDM=   .12E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm           .0000        1.6830        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor      .0000        2.0856        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          8.1035        8.4526        .35195E-03   -1.5651    
   4  Prefactor      .0000        11.627        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm           .0000        3.1986        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          17.360        8.6824        .24010E-03   -1.5625    
   7  norm          1.5804        4.8385        .84457E-03   -1.5683    
   8  Prefactor     2.8429        1.6002        .60280E-03   -1.5674    
   9  norm          4.2047        1.8013        .49122E-03   -1.5667    
  10  Prefactor     93.517        26.869        .10342E-03   -1.5515    
  11  Normalizat    .98679        .16130        .89515E-01   -.93474    
  12  Prefactor     .96846        .67301E-01    .45872E-01   -.93788    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.23188e-06
Minuit parameter uncertainties:
  1  4.08388e-08
  2  4.47613e-06
  3  8.4526
  4  1.13937e-05
  5  5.6271e-06
  6  8.68242
  7  4.83856
  8  1.6002
  9  1.80131
  10  26.8687
  11  0.161377
  12  0.0673065
Done.

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

Extracting fit parameters...

4FGL J1852.4+4856
   Spectrum: PowerLaw
370    Prefactor:  2.843e+00  1.600e+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.685e-01  6.731e-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.868e-01  1.614e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.90
Ra Dec: 283.116 48.935
Photon Index (Fixed Index): 2.29 +/- 0.00
Photon Flux (Fixed Index): 4.44e-08 +/- 2.50e-08
Energy Flux (Fixed Index): 1.72e-05 +/- 9.66e-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) = 15959.0739087
delta logL = 0.0896274182014

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15959.0643262
delta logL = 0.0992099455016

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.1920       1.0000          .0000       .10000E+07
     2 'Index     '    2.0995       1.0000          .0000       10.000    
     3 'Normalizat'    .99431       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .96685       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=   15959.06     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      239 TOTAL
                     EDM=   .61E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.1926        42.358        .56690E-03    .30999E-02
   2  Index         2.0996        6.0461        .18575        .11880E-03
   3  Normalizat    .99442        .93635E-01    .89210E-01    .53142E-04
   4  Prefactor     .96681        .31860E-01    .45851E-01   -.65974E-06
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.19256
  Index      = 2.09963
  Normalizat = 0.994419
  Prefactor  = 0.96681
 **********
 **   18 **HESSE 
 **********

 FCN=   15959.06     FROM HESSE     STATUS=OK            33 CALLS      272 TOTAL
                     EDM=   .39E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.1926        1.9464        .12600E-04   -1.5672    
   2  Index         2.0996        .41933        .96979E-02   -.61882    
   3  Normalizat    .99442        .17599        .39505E-03   -.93218    
   4  Prefactor     .96681        .75879E-01    .17232E-03   -.93844    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.8699e-12
Minuit parameter uncertainties:
  1  1.94641
  2  0.420072
  3  0.176095
  4  0.0758872
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/73055': 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) = 15959.0643259
delta logL = 0.0992102958044

Extracting fit parameters...

4FGL J1852.4+4856
   Spectrum: PowerLaw
370    Prefactor:  3.193e+00  1.946e+00  0.000e+00  1.000e+06 ( 1.000e-12)
371        Index:  2.100e+00  4.201e-01  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.668e-01  7.589e-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.944e-01  1.761e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.07
Ra Dec: 283.116 48.935
Photon Index (Free Index): 2.10 +/- 0.42
Photon Flux (Free Index): 3.78e-08 +/- 2.64e-08
Energy Flux (Free Index): 2.07e-05 +/- 1.60e-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/73055/cmap_HighResolution_700704001_700963201_4FGL_J1852.4+4856_daily_bin1780.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.44e-08', energy_flux2='2.07e-05', photon_flux_error='2.50e-08', dlogl='9.92e-02', energy_flux='1.72e-05', photon_flux2='3.78e-08', job_status='DONE', time_completed='2023-03-20 01:45:09.587096', photon_index_error2='0.42', photon_index2='2.10', ts='7.90', fit_tolerance='1e-08', GAL='0.97', photon_index_error='0.00', energy_flux_error2='1.60e-05', EG='0.99', time_epoch_completed='1679301909.59', return_code='0', job_id='73055', GAL2='0.97', EG2='0.99', return_code2='0', energy_flux_error='9.66e-06', photon_flux_error2='2.64e-08', ts2='8.07', photon_index='2.29' WHERE bin_id='1780' AND source_name='4FGL J1852.4+4856' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Mon Mar 20 01:45:09 PDT 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0107>
Subject: Job 73055: <4FGL_J1852.4+4856_daily_bin1780> in cluster <slac> Done

Job <4FGL_J1852.4+4856_daily_bin1780> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Mon Mar 20 01:30:12 2023
Job was executed on host(s) <bullet0107>, in queue <medium>, as user <kocevski> in cluster <slac> at Mon Mar 20 01:30:13 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Mon Mar 20 01:30:13 2023
Terminated at Mon Mar 20 01:45:10 2023
Results reported at Mon Mar 20 01:45:10 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1852.4+4856_daily_bin1780 283.116 48.935 700704001 700963201 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 :                                   803.17 sec.
    Max Memory :                                 1259 MB
    Average Memory :                             298.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   896 sec.
    Turnaround time :                            898 sec.

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

