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


Performing analysis on: 4FGL_J2056.5-0202_daily_bin1701
RA = 314.142, Dec = -2.0355
tmin = 680227201, tmax = 680486401
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='191924', job_status='RUN', time_executed='2022-07-26 02:12:17.164051', time_epoch_executed='1658826737.16' WHERE source_name='4FGL J2056.5-0202' and cadence='daily' and bin_id='1701'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/191924

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/191924/ft1_4FGL_J2056.5-0202_daily_bin1701.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/191924/ft1_4FGL_J2056.5-0202_daily_bin1701.fits outfile=/scratch/kocevski/191924/ft1_filteredMKT_4FGL_J2056.5-0202_daily_bin1701.fits ra=314.142 dec=-2.0355 rad=12.0 tmin=680227201.0 tmax=680486401.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 2.90
user 2.67
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.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/191924/ft1_filteredMKT_4FGL_J2056.5-0202_daily_bin1701.fits evtable="EVENTS" outfile="/scratch/kocevski/191924/ft1_filtered_4FGL_J2056.5-0202_daily_bin1701.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.51
user 0.37
sys 0.14

Number of photons that the gtmktime cut: 236

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/191924/ft1_filtered_4FGL_J2056.5-0202_daily_bin1701.fits" evtable="EVENTS" scfile=/scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits sctable="SC_DATA" outfile=/scratch/kocevski/191924/ltcube_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.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/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits
.....................!
real 16.46
user 16.07
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/191924/ft1_filtered_4FGL_J2056.5-0202_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits sctable="SC_DATA" expcube=/scratch/kocevski/191924/ltcube_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.fits outfile=/scratch/kocevski/191924/expmap_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.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/191924/ltcube_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.fits
.....................!
real 193.03
user 186.92
sys 5.37

Generating the xml model:
radLim = 0.001
maxRad = 12
normsOnly = True
freeVariableSources = True
Fixing all sources to their catalog values, except variable sources
Creating file and adding sources from 4FGL
Added 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J2056.5-0202 @ 314.142 -2.0355

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/191924/ft1_filtered_4FGL_J2056.5-0202_daily_bin1701.fits scfile=/scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits outfile=/scratch/kocevski/191924/cmap_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.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=314.142 yref=-2.0355 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.56
user 0.39
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/191924/ft1_filtered_4FGL_J2056.5-0202_daily_bin1701.fits scfile=/scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits outfile=/scratch/kocevski/191924/cmap_HighResolution_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.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=314.142 yref=-2.0355 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.57
user 0.41
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/191924/ft1_filtered_4FGL_J2056.5-0202_daily_bin1701.fits evtable="EVENTS" scfile=/scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/191924/Model_4FGL_J2056.5-0202_daily_bin1701.xml irfs="P8R3_SOURCE_V2" evclsmin=0 evclass="INDEF" evtype="INDEF" convert=yes chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/191924/ft1_filtered_4FGL_J2056.5-0202_daily_bin1701.fits......................!
real 39.42
user 38.06
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/191924/ft1_filtered_4FGL_J2056.5-0202_daily_bin1701.fits', '/scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits', expMap='/scratch/kocevski/191924/expmap_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.fits', expCube='/scratch/kocevski/191924/ltcube_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/191924/Model_4FGL_J2056.5-0202_daily_bin1701.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2056.5-0202'

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  1.312e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
327        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  7.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/191924/ft1_filtered_4FGL_J2056.5-0202_daily_bin1701.fits
Spacecraft file(s): /scratch/kocevski/191924/ft2_4FGL_J2056.5-0202_daily_bin1701.fits
Exposure map: /scratch/kocevski/191924/expmap_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.fits
Exposure cube: /scratch/kocevski/191924/ltcube_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/191924/Model_4FGL_J2056.5-0202_daily_bin1701.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) = 2849.47056012

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2018       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10317E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .22267E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .13550E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10028E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10040E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    60.729       1.0000         .10000E-03   10000.    
     9 'Prefactor '    59.572       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10650E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    56.540       1.0000         .10000E-03   10000.    
    14 'Prefactor '    36.880       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10628E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    19 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    20 'Prefactor '    1.2386       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2849.445     FROM MIGRAD    STATUS=CONVERGED    413 CALLS     2012 TOTAL
                     EDM=   .19E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.1834        307.48       -.15180E-05    .89915E-05
   2  Prefactor     .10000E-03    18.727        .17515E-06** at limit **
   3  norm          .10000E-03    3.7240        .26093E-06** at limit **
   4  Prefactor     .10000E-03    61.556        .38870E-06** at limit **
   5  norm          .10000E-03    12.396        .26859E-07** at limit **
   6  Prefactor     .10000E-03    8.5050       -.13234E-06** at limit **
   7  Prefactor     .10000E-03    48.093       -.32469E-06** at limit **
   8  Prefactor     60.686        117.34       -.42073E-07    .38371E-04
   9  Prefactor     59.571        36.801        .13394E-06    .11855E-03
  10  Prefactor     .10000E-03    11.185       -.28298E-07** at limit **
  11  Prefactor     .10000E-03    118.06       -.39125E-06** at limit **
  12  Prefactor     .10000E-03    111.76        .22103E-06** at limit **
  13  Prefactor     56.507        52.301        .24094E-06    .73174E-04
  14  Prefactor     36.872        95.769       -.13171E-06    .17466E-04
  15  Prefactor     .10000E-03    28.578        .66197E-07** at limit **
  16  Prefactor     .10000E-03    2.0525       -.26315E-07** at limit **
  17  Prefactor     .10000E-03    64.535        .11382E-06** at limit **
  18  Prefactor     .10000E-03    141.25       -.60782E-06** at limit **
  19  Normalizat    .10000E-01    .13633       -.11621E-04** at limit **
  20  Prefactor     1.2385        .97598E-01    .14560E-05    .43107E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.18343
  Prefactor  = 0.0001
  norm       = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 60.6861
  Prefactor  = 59.571
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 56.5073
  Prefactor  = 36.8718
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Normalizat = 0.01
  Prefactor  = 1.23847
 **********
 **   18 **HESSE 
 **********

 FCN=   2849.445     FROM HESSE     STATUS=OK           277 CALLS     2289 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.1834        310.38        .19660E-03   -1.5299    
   2  Prefactor     .10000E-03    18.787        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .10000E-03    6.8140        .19884E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    62.047        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    12.405        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    8.5304        .15201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    48.188        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     60.686        117.66        .51487E-04   -1.4148    
   9  Prefactor     59.571        36.874        .51982E-04   -1.4163    
  10  Prefactor     .10000E-03    11.187        .17437E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    118.16        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    111.78        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     56.507        52.469        .53349E-04   -1.4203    
  14  Prefactor     36.872        95.778        .65994E-04   -1.4493    
  15  Prefactor     .10000E-03    28.580        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.0534        .74683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    64.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    141.53        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Normalizat    .10000E-01    .20846        .11349E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     1.2385        .10469        .14395E-03   -.85155    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.95751e-10
Minuit parameter uncertainties:
  1  72.4613
  2  9.01357e-05
  3  0.000213906
  4  0.000105267
  5  5.87592e-06
  6  2.19413e-05
  7  0.000249038
  8  118.113
  9  36.8882
  10  7.67941e-07
  11  0.000385176
  12  0.000235849
  13  52.512
  14  96.181
  15  3.50636e-05
  16  2.1279e-06
  17  0.000261923
  18  0.000661702
  19  5.37479e-06
  20  0.104712
Done.

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

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  1.000e-04  2.194e-05  1.000e-04  1.000e+04 ( 1.000e-12)
327        Index:  2.517e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
328        Scale:  7.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  1.238e+00  1.047e-01  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
585   Normalization:  1.000e-02  5.375e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 314.142 -2.035
Photon Flux Upper Limit: 2.99e-07 ph cm-2 s-1
Energy Flux Upper Limit: 2.33e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/191924/likelihoodResults_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.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): 102
logL (Free Index) = 2849.44542674
delta logL = -0.000576089129481

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 2849.44485177
delta logL = -1.11179451778e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10096E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.5037       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2383       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   2849.445     FROM MIGRAD    STATUS=CONVERGED    105 CALLS      261 TOTAL
                     EDM=   .59E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    83.205        .15322E-01** at limit **
   2  Index         1.9414        5.5223        .50000       -.65904E-07
   3  Normalizat    .10000E-01    .34198E-02    .11349E-01** at limit **
   4  Prefactor     1.2385        .11616E-01    .14395E-03    .66731E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.94137
  Normalizat = 0.01
  Prefactor  = 1.23847
 **********
 **   18 **HESSE 
 **********

 FCN=   2849.445     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      290 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    761.70        .16800E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.9414        8.4407        .50000       -.65824    
   3  Normalizat    .10000E-01    .36747E-01    .22698E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     1.2385        .38078E-01    .28790E-04   -.85155    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 5.55667e-10
Minuit parameter uncertainties:
  1  1.91125e-05
  2  1360.83
  3  2.08529e-06
  4  0.0380793
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/191924': 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) = 2849.44484957
delta logL = 1.08428230305e-06

Extracting fit parameters...

4FGL J2056.5-0202
   Spectrum: PowerLaw
326    Prefactor:  1.000e-04  1.911e-05  1.000e-04  1.000e+04 ( 1.000e-12)
327        Index:  1.941e+00  1.361e+03  0.000e+00  1.000e+01 (-1.000e+00)
328        Scale:  7.173e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
586    Prefactor:  1.238e+00  3.808e-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
585   Normalization:  1.000e-02  2.085e-06  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 314.142 -2.035

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/191924/cmap_HighResolution_680227201_680486401_4FGL_J2056.5-0202_daily_bin1701.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.33e-02', job_status='DONE', photon_flux_upper_limit='2.99e-07', time_completed='2022-07-26 02:19:48.977859', job_id='191924', GAL2='1.24', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1658827188.98', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.24', dlogl='1.08e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.52' WHERE bin_id='1701' AND source_name='4FGL J2056.5-0202' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Tue Jul 26 02:19:49 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0055>
Subject: Job 191924: <4FGL_J2056.5-0202_daily_bin1701> in cluster <slac> Done

Job <4FGL_J2056.5-0202_daily_bin1701> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Tue Jul 26 02:10:15 2022
Job was executed on host(s) <bullet0055>, in queue <medium>, as user <kocevski> in cluster <slac> at Tue Jul 26 02:10:48 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Tue Jul 26 02:10:48 2022
Terminated at Tue Jul 26 02:19:49 2022
Results reported at Tue Jul 26 02:19:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.5-0202_daily_bin1701 314.142 -2.0355 680227201 680486401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2056.5-0202 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   454.07 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             345.10 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   541 sec.
    Turnaround time :                            574 sec.

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

