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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1642
RA = 314.072, Dec = -47.2369
tmin = 664934401, tmax = 665193601
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='444877', job_status='RUN', time_executed='2022-01-30 00:37:13.253042', time_epoch_executed='1643531833.25' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1642'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/444877

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/444877/ft1_4FGL_J2056.2-4714_daily_bin1642.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/444877/ft1_4FGL_J2056.2-4714_daily_bin1642.fits outfile=/scratch/kocevski/444877/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1642.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=664934401.0 tmax=665193601.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.68
user 3.43
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.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/444877/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1642.fits evtable="EVENTS" outfile="/scratch/kocevski/444877/ft1_filtered_4FGL_J2056.2-4714_daily_bin1642.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/444877/ft1_filtered_4FGL_J2056.2-4714_daily_bin1642.fits" evtable="EVENTS" scfile=/scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits sctable="SC_DATA" outfile=/scratch/kocevski/444877/ltcube_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.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/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits
.....................!
real 12.53
user 12.17
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/444877/ft1_filtered_4FGL_J2056.2-4714_daily_bin1642.fits evtable="EVENTS" scfile=/scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits sctable="SC_DATA" expcube=/scratch/kocevski/444877/ltcube_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.fits outfile=/scratch/kocevski/444877/expmap_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.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/444877/ltcube_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.fits
.....................!
real 191.13
user 185.43
sys 4.50

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J2056.2-4714 @ 314.072 -47.2369

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/444877/ft1_filtered_4FGL_J2056.2-4714_daily_bin1642.fits scfile=/scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits outfile=/scratch/kocevski/444877/cmap_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.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.072 yref=-47.2369 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.53
user 0.39
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/444877/ft1_filtered_4FGL_J2056.2-4714_daily_bin1642.fits scfile=/scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits outfile=/scratch/kocevski/444877/cmap_HighResolution_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.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.072 yref=-47.2369 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/444877/ft1_filtered_4FGL_J2056.2-4714_daily_bin1642.fits evtable="EVENTS" scfile=/scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/444877/Model_4FGL_J2056.2-4714_daily_bin1642.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/444877/ft1_filtered_4FGL_J2056.2-4714_daily_bin1642.fits.....................!
real 52.29
user 50.81
sys 1.11

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/444877/ft1_filtered_4FGL_J2056.2-4714_daily_bin1642.fits', '/scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits', expMap='/scratch/kocevski/444877/expmap_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.fits', expCube='/scratch/kocevski/444877/ltcube_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/444877/Model_4FGL_J2056.2-4714_daily_bin1642.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J2056.2-4714'

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  5.442e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  4.480e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/444877/ft1_filtered_4FGL_J2056.2-4714_daily_bin1642.fits
Spacecraft file(s): /scratch/kocevski/444877/ft2_4FGL_J2056.2-4714_daily_bin1642.fits
Exposure map: /scratch/kocevski/444877/expmap_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.fits
Exposure cube: /scratch/kocevski/444877/ltcube_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/444877/Model_4FGL_J2056.2-4714_daily_bin1642.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) = 6156.93584474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    18.917       1.0000         .10000E-03   10000.    
     3 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .16500E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    46.142       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10921E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    187.72       1.0000         .10000E-03   10000.    
     9 'Prefactor '    5.4377       1.0000         .10000E-03   10000.    
    10 'Prefactor '    34.727       1.0000         .10000E-03   10000.    
    11 'norm      '    .18534E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    63.095       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10932E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    14.317       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9767       1.0000         .10000E-03   10000.    
    18 'norm      '    2.8031       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.021       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .20725E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .95749       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1450       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6156.930     FROM MIGRAD    STATUS=CONVERGED    531 CALLS     2614 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    3.4356       -.49669E-08** at limit **
   2  norm          18.924        16.930       -.15255E-06    .63546E-05
   3  norm          .10000E-03    .66776        .70181E-07** at limit **
   4  Prefactor     .10000E-03    69.720        .17216E-06** at limit **
   5  norm          .10000E-03    1.8825       -.26200E-06** at limit **
   6  norm          46.149        30.269        .18534E-05   -.81426E-05
   7  Prefactor     .10000E-03    44.134       -.55733E-06** at limit **
   8  Prefactor     187.81        114.40       -.16161E-05   -.16167E-04
   9  Prefactor     5.4402        4.1210       -.41949E-06    .27719E-04
  10  Prefactor     34.753        28.839        .40974E-06    .13195E-04
  11  norm          .31870E-01    .92514       -.17296E-07   -.16319E-04
  12  Prefactor     63.170        38.464       -.24308E-06   -.59594E-06
  13  Prefactor     .10000E-03    70.747        .95069E-06** at limit **
  14  Prefactor     14.325        13.068        .99754E-07    .14173E-04
  15  Prefactor     .10000E-03    8.5347        .12152E-06** at limit **
  16  Prefactor     .10000E-03    18.297        .46214E-06** at limit **
  17  Prefactor     6.9814        7.0940       -.80773E-06   -.23654E-04
  18  norm          2.8040        3.6286       -.56843E-06    .20496E-04
  19  Prefactor     .10000E-03    3.0102        .41507E-07** at limit **
  20  Prefactor     9.9145        38.563       -.17020E-05   -.66261E-05
  21  Prefactor     .10000E-03    42.699        .74056E-05** at limit **
  22  Normalizat    .95669        .28768       -.67943E-07    .11912E-04
  23  Prefactor     1.1452        .14471        .60522E-06   -.83440E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 18.9245
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 46.1485
  Prefactor  = 0.0001
  Prefactor  = 187.812
  Prefactor  = 5.44024
  Prefactor  = 34.7528
  norm       = 0.0318702
  Prefactor  = 63.1701
  Prefactor  = 0.0001
  Prefactor  = 14.3246
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.98139
  norm       = 2.80396
  Prefactor  = 0.0001
  Prefactor  = 9.91451
  Prefactor  = 0.0001
  Normalizat = 0.956693
  Prefactor  = 1.14515
 **********
 **   18 **HESSE 
 **********

 FCN=   6156.930     FROM HESSE     STATUS=OK           370 CALLS     2984 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    3.4413        .14203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          18.924        16.930        .92086E-04   -1.4838    
   3  norm          .10000E-03    .67754        .62578E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    69.844        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.9089        .10517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          46.149        30.382        .59026E-04   -1.4348    
   7  Prefactor     .10000E-03    44.528        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     187.81        114.86        .14736E-03   -1.2958    
   9  Prefactor     5.4402        4.1178        .12962E-03   -1.5241    
  10  Prefactor     34.753        28.898        .68003E-04   -1.4528    
  11  norm          .31870E-01    15.232        .14461E-02   -1.5672    
  12  Prefactor     63.170        38.468        .50518E-04   -1.4117    
  13  Prefactor     .10000E-03    70.939        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     14.325        13.117        .10586E-03   -1.4951    
  15  Prefactor     .10000E-03    8.5379        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    18.340        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.9814        7.1756        .15188E-03   -1.5179    
  18  norm          2.8040        3.6150        .16532E-03   -1.5373    
  19  Prefactor     .10000E-03    3.0114        .13296E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     9.9145        38.302        .12658E-03   -1.5078    
  21  Prefactor     .10000E-03    41.990        .37546E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .95669        .33313        .37789E-03   -.94496    
  23  Prefactor     1.1452        .16795        .18868E-03   -.88036    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.13453e-08
Minuit parameter uncertainties:
  1  1.84608e-06
  2  16.9344
  3  1.20781e-06
  4  5.08705e-05
  5  1.34992e-06
  6  30.3926
  7  0.000163142
  8  115
  9  4.11803
  10  28.9093
  11  1.39165
  12  38.4829
  13  2.22093e-05
  14  13.1197
  15  1.01063e-06
  16  9.07889e-06
  17  7.17646
  18  3.61528
  19  3.63469e-08
  20  38.3969
  21  2.96721e-05
  22  0.333852
  23  0.168032
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.187e-02  1.392e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.353e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
293         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  4.480e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.145e+00  1.680e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.567e-01  3.339e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 314.072 -47.237
Photon Flux Upper Limit: 1.01e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/444877/likelihoodResults_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.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) = 6156.92618992
delta logL = 0.00376478701219

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6156.9158651
delta logL = 0.014089613026

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21446       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8654       1.0000          .0000       5.0000    
     3 'Normalizat'    .95769       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1433       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6156.916     FROM MIGRAD    STATUS=CONVERGED     95 CALLS      294 TOTAL
                     EDM=   .18E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21401        2.0532        .21270E-03   -.56655E-05
   2  alpha         1.8643        1.8276        .55260E-01   -.49271E-05
   3  Normalizat    .95770        .29700        .37771E-03   -.18361E-05
   4  Prefactor     1.1433        .16235        .18881E-03   -.44558E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.214006
  alpha      = 1.86431
  Normalizat = 0.957702
  Prefactor  = 1.14327
 **********
 **   18 **HESSE 
 **********

 FCN=   6156.916     FROM HESSE     STATUS=OK            25 CALLS      319 TOTAL
                     EDM=   .75E-12    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21401        2.0828        .85082E-05   -1.5615    
   2  alpha         1.8643        1.8415        .22104E-02   -.25710    
   3  Normalizat    .95770        .29725        .15108E-04   -.94461    
   4  Prefactor     1.1433        .16245        .75523E-05   -.88095    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.51571e-13
Minuit parameter uncertainties:
  1  1.33503
  2  2.0934
  3  0.297759
  4  0.162519
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/444877': 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) = 6156.91586492
delta logL = 0.0140897919346

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.140e-01  1.335e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  1.864e+00  2.093e+00  0.000e+00  5.000e+00 ( 1.000e+00)
293         beta:  1.074e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
294           Eb:  4.480e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.143e+00  1.625e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
548   Normalization:  9.577e-01  2.978e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 314.072 -47.237

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/444877/cmap_HighResolution_664934401_665193601_4FGL_J2056.2-4714_daily_bin1642.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.08e-05', job_status='DONE', photon_flux_upper_limit='1.01e-07', time_completed='2022-01-30 00:47:52.732311', job_id='444877', GAL2='1.14', fit_tolerance='1e-08', EG2='0.96', EG='0.96', time_epoch_completed='1643532472.73', return_code2='0', ts='0.00', comment='SUCCESS', return_code='0', GAL='1.15', dlogl='1.41e-02', ts2='0.03', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1642' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Jan 30 00:47:52 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0154>
Subject: Job 444877: <4FGL_J2056.2-4714_daily_bin1642> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1642> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Sun Jan 30 00:35:41 2022
Job was executed on host(s) <bullet0154>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Jan 30 00:35:43 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Jan 30 00:35:43 2022
Terminated at Sun Jan 30 00:47:53 2022
Results reported at Sun Jan 30 00:47:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1642 314.072 -47.2369 664934401 665193601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J2056.2-4714 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   639.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             262.31 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   730 sec.
    Turnaround time :                            732 sec.

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

