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


Performing analysis on: 4FGL_J2252.0+4031_daily_bin1733
RA = 343.01, Dec = 40.5232
tmin = 688521601, tmax = 688780801
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='708607', job_status='RUN', time_executed='2022-10-30 00:37:18.113268', time_epoch_executed='1667115438.11' WHERE source_name='4FGL J2252.0+4031' and cadence='daily' and bin_id='1733'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/708607

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/708607/ft1_4FGL_J2252.0+4031_daily_bin1733.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/708607/ft1_4FGL_J2252.0+4031_daily_bin1733.fits outfile=/scratch/kocevski/708607/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin1733.fits ra=343.01 dec=40.5232 rad=12.0 tmin=688521601.0 tmax=688780801.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.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.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/708607/ft1_filteredMKT_4FGL_J2252.0+4031_daily_bin1733.fits evtable="EVENTS" outfile="/scratch/kocevski/708607/ft1_filtered_4FGL_J2252.0+4031_daily_bin1733.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.50
user 0.32
sys 0.16

Number of photons that the gtmktime cut: 1591

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/708607/ft1_filtered_4FGL_J2252.0+4031_daily_bin1733.fits" evtable="EVENTS" scfile=/scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits sctable="SC_DATA" outfile=/scratch/kocevski/708607/ltcube_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.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/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits
.....................!
real 11.89
user 11.51
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/708607/ft1_filtered_4FGL_J2252.0+4031_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits sctable="SC_DATA" expcube=/scratch/kocevski/708607/ltcube_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.fits outfile=/scratch/kocevski/708607/expmap_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.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/708607/ltcube_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.fits
.....................!
real 190.73
user 185.27
sys 5.05

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 FHES J2304.0+5406 in ROI with RadialGaussian spatial model.
Extended source CTB 109 in ROI with RadialDisk spatial model.
Added 173 point sources and 2 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 J2252.0+4031 @ 343.01 40.5232

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/708607/ft1_filtered_4FGL_J2252.0+4031_daily_bin1733.fits scfile=/scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits outfile=/scratch/kocevski/708607/cmap_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.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=343.01 yref=40.5232 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/708607/ft1_filtered_4FGL_J2252.0+4031_daily_bin1733.fits scfile=/scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits outfile=/scratch/kocevski/708607/cmap_HighResolution_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.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=343.01 yref=40.5232 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/708607/ft1_filtered_4FGL_J2252.0+4031_daily_bin1733.fits evtable="EVENTS" scfile=/scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/708607/Model_4FGL_J2252.0+4031_daily_bin1733.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 CTB 109
adding source EG_v02
adding source FHES J2304.0+5406
adding source GAL_V02
Working on...
/scratch/kocevski/708607/ft1_filtered_4FGL_J2252.0+4031_daily_bin1733.fits.....................!
real 192.40
user 190.77
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/708607/ft1_filtered_4FGL_J2252.0+4031_daily_bin1733.fits', '/scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits', expMap='/scratch/kocevski/708607/expmap_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.fits', expCube='/scratch/kocevski/708607/ltcube_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/708607/Model_4FGL_J2252.0+4031_daily_bin1733.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2252.0+4031'

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  2.093e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/708607/ft1_filtered_4FGL_J2252.0+4031_daily_bin1733.fits
Spacecraft file(s): /scratch/kocevski/708607/ft2_4FGL_J2252.0+4031_daily_bin1733.fits
Exposure map: /scratch/kocevski/708607/expmap_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.fits
Exposure cube: /scratch/kocevski/708607/ltcube_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/708607/Model_4FGL_J2252.0+4031_daily_bin1733.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) = 15434.7692765

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    32.473       1.0000          .0000       .10000E+07
     2 'Prefactor '    .15704E-03   1.0000          .0000       .10000E+07
     3 'norm      '    .15482E-05   1.0000          .0000       .10000E+07
     4 'Prefactor '    10.365       1.0000          .0000       .10000E+07
     5 'Prefactor '    .14456E-05   1.0000          .0000       .10000E+07
     6 'Prefactor '    18.401       1.0000          .0000       .10000E+07
     7 'norm      '    1.5456       1.0000          .0000       .10000E+07
     8 'Prefactor '    .29976E-08   1.0000          .0000       .10000E+07
     9 'norm      '    .36607       1.0000          .0000       .10000E+07
    10 'norm      '    15.815       1.0000          .0000       .10000E+07
    11 'Prefactor '    46.294       1.0000          .0000       .10000E+07
    12 'norm      '    .44964E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    .46971E-05   1.0000          .0000       .10000E+07
    14 'Normalizat'    .87910       1.0000         .10000E-01   10.000    
    15 'Prefactor '    .93414       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5890E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   15434.73     FROM MIGRAD    STATUS=CONVERGED     94 CALLS     1190 TOTAL
                     EDM=   .83E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          32.474        1.8207        .18804E-07    .58137E-03
   2  Prefactor      .0000        15.652        .18868E-05** at limit **
   3  norm           .0000        2.0456       -.17567E-06** at limit **
   4  Prefactor     10.364        11.464        .44161E-06   -.50415E-01
   5  Prefactor      .0000        2.4359        .48482E-07** at limit **
   6  Prefactor     18.390        1.0761        .90134E-08   -.46866E-02
   7  norm          1.5461        1.2185        .80095E-07   -.12361E-03
   8  Prefactor      .0000        4.6487       -.53192E-06** at limit **
   9  norm          .36339        15.673        .70013E-05    .20385E-01
  10  norm          15.815        7.5817       -.12764E-05    .10956    
  11  Prefactor     46.327        2.3467        .28338E-06    .73411E-01
  12  norm           .0000        .79176       -.45909E-06** at limit **
  13  Prefactor     .16653E-09    53.868        .50990E-05** at limit **
  14  Normalizat    .87951        .22298        .72379E-05   -.34243E-04
  15  Prefactor     .93408        .71336E-01   -.40052E-05    .12740E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 32.4739
  Prefactor  = 0
  norm       = 0
  Prefactor  = 10.3643
  Prefactor  = 0
  Prefactor  = 18.3898
  norm       = 1.54609
  Prefactor  = 0
  norm       = 0.363391
  norm       = 15.8149
  Prefactor  = 46.3275
  norm       = 0
  Prefactor  = 1.66533e-10
  Normalizat = 0.87951
  Prefactor  = 0.934078
 **********
 **   18 **HESSE 
 **********

 FCN=   15434.73     FROM HESSE     STATUS=OK           214 CALLS     1404 TOTAL
                     EDM=   .20E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          32.474        1.8200        .17551E-03   -1.5594    
   2  Prefactor      .0000        15.614        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        2.0220        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.364        13.150        .31098E-03   -1.5644    
   5  Prefactor      .0000        2.4300        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     18.390        16.297        .23321E-03   -1.5622    
   7  norm          1.5461        1.2376        .85685E-03   -1.5683    
   8  Prefactor      .0000        4.6496        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .36339        3.7664        .93528E-02   -1.5696    
  10  norm          15.815        10.645        .25158E-03   -1.5628    
  11  Prefactor     46.327        27.823        .14698E-03   -1.5572    
  12  norm           .0000        .79584        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .16653E-09    53.934        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Normalizat    .87951        .20398        .11733       -.97184    
  15  Prefactor     .93408        .63887E-01    .45439E-01   -.94960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.96205e-07
Minuit parameter uncertainties:
  1  1.81996
  2  2.89981e-05
  3  1.28115e-05
  4  13.1496
  5  1.2092e-05
  6  16.2966
  7  1.23761
  8  3.22696e-06
  9  2.3398
  10  10.6447
  11  27.8235
  12  5.1171e-06
  13  0.000193149
  14  0.204157
  15  0.0638919
Done.

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

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  0.000e+00  1.209e-05  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  2.052e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  9.341e-01  6.389e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  8.795e-01  2.042e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 343.010 40.523
Photon Flux Upper Limit: 4.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/708607/likelihoodResults_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.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) = 15434.3380174
delta logL = 0.394866636923

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 15434.2717513
delta logL = 0.461132727694

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   15434.27     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      226 TOTAL
                     EDM=   .24E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.1730        2.5808        .44774E-02    .61991E-02
   2  Index         .75749        .67409        .43154       -.16294E-03
   3  Normalizat    .87336        .19529        .11766        .68428E-04
   4  Prefactor     .93490        .63192E-01    .45449E-01   -.11182E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.173
  Index      = 0.757491
  Normalizat = 0.873356
  Prefactor  = 0.934901
 **********
 **   18 **HESSE 
 **********

 FCN=   15434.27     FROM HESSE     STATUS=OK            35 CALLS      261 TOTAL
                     EDM=   .29E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.1730        2.4729        .27732E-03   -1.5686    
   2  Index         .75749        .81534        .29981E-01   -1.0131    
   3  Normalizat    .87336        .21693        .52200E-03   -.97403    
   4  Prefactor     .93490        .70494E-01    .16275E-03   -.94932    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.85667e-08
Minuit parameter uncertainties:
  1  2.47287
  2  0.828826
  3  0.217151
  4  0.0705009
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/708607': 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) = 15434.2717484
delta logL = 0.46113556264

Extracting fit parameters...

4FGL J2252.0+4031
   Spectrum: PowerLaw
404    Prefactor:  1.173e+00  2.473e+00  0.000e+00  1.000e+06 ( 1.000e-13)
405        Index:  7.575e-01  8.288e-01  0.000e+00  1.000e+01 (-1.000e+00)
406        Scale:  2.181e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  9.349e-01  7.050e-02  0.000e+00  1.000e+01 ( 1.000e+00)
587        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
588        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
581   Normalization:  8.734e-01  2.172e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 343.010 40.523

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/708607/cmap_HighResolution_688521601_688780801_4FGL_J2252.0+4031_daily_bin1733.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.56e-03', job_status='DONE', photon_flux_upper_limit='4.73e-08', time_completed='2022-10-30 00:52:17.048157', job_id='708607', GAL2='0.93', fit_tolerance='1e-08', EG2='0.87', EG='0.88', time_epoch_completed='1667116337.05', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='0.93', dlogl='4.61e-01', ts2='0.92', photon_index_error='0.00', photon_index='2.05' WHERE bin_id='1733' AND source_name='4FGL J2252.0+4031' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Oct 30 00:52:17 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 708607: <4FGL_J2252.0+4031_daily_bin1733> in cluster <slac> Done

Job <4FGL_J2252.0+4031_daily_bin1733> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Oct 30 00:35:39 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Oct 30 00:35:40 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Oct 30 00:35:40 2022
Terminated at Sun Oct 30 00:52:17 2022
Results reported at Sun Oct 30 00:52:17 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2252.0+4031_daily_bin1733 343.01 40.5232 688521601 688780801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2252.0+4031 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   900.21 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             351.35 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   997 sec.
    Turnaround time :                            998 sec.

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

