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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1214
RA = 314.072, Dec = -47.2369
tmin = 553996801, tmax = 554256001
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='213774', job_status='RUN', time_executed='2021-09-25 21:47:50.071107', time_epoch_executed='1632631670.07' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1214'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213774

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213774/ft1_4FGL_J2056.2-4714_daily_bin1214.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213774/ft2_4FGL_J2056.2-4714_daily_bin1214.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213774/ft1_4FGL_J2056.2-4714_daily_bin1214.fits outfile=/scratch/kocevski/213774/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1214.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=553996801.0 tmax=554256001.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.61
user 2.42
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213774/ft1_filtered_4FGL_J2056.2-4714_daily_bin1214.fits" evtable="EVENTS" scfile=/scratch/kocevski/213774/ft2_4FGL_J2056.2-4714_daily_bin1214.fits sctable="SC_DATA" outfile=/scratch/kocevski/213774/ltcube_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.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/213774/ft2_4FGL_J2056.2-4714_daily_bin1214.fits
.....................!
real 13.52
user 13.20
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213774/ft1_filtered_4FGL_J2056.2-4714_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/213774/ft2_4FGL_J2056.2-4714_daily_bin1214.fits sctable="SC_DATA" expcube=/scratch/kocevski/213774/ltcube_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.fits outfile=/scratch/kocevski/213774/expmap_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.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/213774/ltcube_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.fits
.....................!
real 190.23
user 185.12
sys 4.78

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/213774/ft1_filtered_4FGL_J2056.2-4714_daily_bin1214.fits scfile=/scratch/kocevski/213774/ft2_4FGL_J2056.2-4714_daily_bin1214.fits outfile=/scratch/kocevski/213774/cmap_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213774/ft1_filtered_4FGL_J2056.2-4714_daily_bin1214.fits scfile=/scratch/kocevski/213774/ft2_4FGL_J2056.2-4714_daily_bin1214.fits outfile=/scratch/kocevski/213774/cmap_HighResolution_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.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.55
user 0.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213774/ft1_filtered_4FGL_J2056.2-4714_daily_bin1214.fits evtable="EVENTS" scfile=/scratch/kocevski/213774/ft2_4FGL_J2056.2-4714_daily_bin1214.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213774/Model_4FGL_J2056.2-4714_daily_bin1214.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/213774/ft1_filtered_4FGL_J2056.2-4714_daily_bin1214.fits..............................!
real 16.17
user 14.84
sys 1.26

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/213774/ft1_filtered_4FGL_J2056.2-4714_daily_bin1214.fits', '/scratch/kocevski/213774/ft2_4FGL_J2056.2-4714_daily_bin1214.fits', expMap='/scratch/kocevski/213774/expmap_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.fits', expCube='/scratch/kocevski/213774/ltcube_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/213774/Model_4FGL_J2056.2-4714_daily_bin1214.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/213774/ft1_filtered_4FGL_J2056.2-4714_daily_bin1214.fits
Spacecraft file(s): /scratch/kocevski/213774/ft2_4FGL_J2056.2-4714_daily_bin1214.fits
Exposure map: /scratch/kocevski/213774/expmap_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.fits
Exposure cube: /scratch/kocevski/213774/ltcube_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/213774/Model_4FGL_J2056.2-4714_daily_bin1214.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 371.446073474

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 367.843538287

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4320       1.0000         .10000E-03   10000.    
     2 'norm      '    7.5805       1.0000         .10000E-03   10000.    
     3 'norm      '    .24734       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.3851       1.0000         .10000E-03   10000.    
     5 'norm      '    .11747E-01   1.0000         .10000E-03   10000.    
     6 'norm      '    .10429E-01   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .23131       1.0000         .10000E-03   10000.    
     8 'Prefactor '    1.4780       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .82817E-02   1.0000         .10000E-03   10000.    
    11 'norm      '    .10062E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    2.1727       1.0000         .10000E-03   10000.    
    13 'Prefactor '    74.235       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .16858E-01   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .35462E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    122.45       1.0000         .10000E-03   10000.    
    17 'Prefactor '    49.771       1.0000         .10000E-03   10000.    
    18 'norm      '    .83062E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .85759E-01   1.0000         .10000E-03   10000.    
    20 'Prefactor '    130.77       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .99535E-01   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .64195       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .71617       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   367.8233     FROM MIGRAD    STATUS=CONVERGED    239 CALLS      462 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.3416        2296.5        .54585E-02   -.96231E-03
   2  norm          3.4079        9400.4        .36414E-02    .60429E-02
   3  norm          .10000E-03    148.77        .10192E-01** at limit **
   4  Prefactor     2.3851        1.0239         .0000         .0000    
   5  norm          .10003E-03    .20619       -.36788E-05** at limit **
   6  norm          .11232E-02    .20589       -.15872E-06** at limit **
   7  Prefactor     .15054E-03    .25602       -.10331E-04** at limit **
   8  Prefactor     .11171E-03    .19487        .74092E-05** at limit **
   9  Prefactor     .10000E-03    .20571       -.65315E-07** at limit **
  10  Prefactor     .10000E-03    .21199        .20731E-05** at limit **
  11  norm          .10000E-03    .20571       -.29291E-06** at limit **
  12  Prefactor     .10452E-03    .12194       -.18116E-05** at limit **
  13  Prefactor     124.30        1.2907       -.16774E-05    .54802E-02
  14  Prefactor     .10001E-03    .20734        .78076E-05** at limit **
  15  Prefactor     .10239E-03    .21155       -.32877E-05** at limit **
  16  Prefactor     113.95        .96511       -.14942E-05    .69466E-02
  17  Prefactor     49.682        .99916       -.95944E-07   -.63883E-03
  18  norm          .10000E-03    .27247        .28691E-06** at limit **
  19  Prefactor     1.3704        1.1053        .62873E-05   -.10160E-02
  20  Prefactor     120.82        .96169        .81046E-07    .10475E-01
  21  Prefactor     .10000E-03    .22605        .60457E-06** at limit **
  22  Normalizat    .68453        1.0109        .14802E-05    .15114E-04
  23  Prefactor     .68470        1.0440        .12765E-05    .37638E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 4.34159
  norm       = 3.40793
  norm       = 0.0001
  Prefactor  = 2.38509
  norm       = 0.000100028
  norm       = 0.00112321
  Prefactor  = 0.000150538
  Prefactor  = 0.000111712
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000104516
  Prefactor  = 124.299
  Prefactor  = 0.000100013
  Prefactor  = 0.000102393
  Prefactor  = 113.953
  Prefactor  = 49.6817
  norm       = 0.0001
  Prefactor  = 1.3704
  Prefactor  = 120.817
  Prefactor  = 0.0001
  Normalizat = 0.684531
  Prefactor  = 0.684696
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   367.8233     FROM HESSE     STATUS=FAILED        15 CALLS      477 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.3416        2296.5        .54585E-02   -1.5291    
   2  norm          3.4079        9400.4        .36414E-02   -1.5339    
   3  norm          .10000E-03    148.77        .10192E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     562.98        560.48         .0000       -1.5399    
   5  norm          .10003E-03    .20619       -.36788E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .11232E-02    .20589       -.15872E-06   -1.5702    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .15054E-03    .25602       -.10331E-04   -1.5709    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .11171E-03    .19487        .74092E-05   -1.5707    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    .20571       -.65315E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    .21199        .20731E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .20571       -.29291E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10452E-03    .12194       -.18116E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     124.30        1.2907       -.16774E-05   -1.3474    
  14  Prefactor     .10001E-03    .20734        .78076E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10239E-03    .21155       -.32877E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     113.95        .96511       -.14942E-05   -1.3569    
  17  Prefactor     49.682        .99916       -.95944E-07   -1.4297    
  18  norm          .10000E-03    .27247        .28691E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     1.3704        1.1053        .62873E-05   -1.5474    
  20  Prefactor     120.82        .96169        .81046E-07   -1.3505    
  21  Prefactor     .10000E-03    .22605        .60457E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .68453        1.0109        .14802E-05   -1.0451    
  23  Prefactor     .68470        1.0440        .12765E-05   -1.0413    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 8.18951e-10
Minuit parameter uncertainties:
  1  208.317
  2  456.322
  3  0.000298368
  4  1.02386
  5  0.000153037
  6  0.0290292
  7  0.00719407
  8  0.00302151
  9  9.20936e-07
  10  2.80428e-05
  11  3.99546e-06
  12  0.00148409
  13  1.29075
  14  0.000105022
  15  0.00142313
  16  0.965114
  17  0.99916
  18  4.39481e-06
  19  1.10533
  20  0.961693
  21  8.71387e-06
  22  1.04054
  23  1.07627
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 367.823275367

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.000e-04  3.995e-06  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:  6.847e-01  1.076e+00  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:  6.845e-01  1.041e+00  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.33e-06 ph cm-2 s-1
Energy Flux Upper Limit: 4.06e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/213774/likelihoodResults_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.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) = 367.823619941
delta logL = -0.000344573627785

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 367.823276714
delta logL = -1.34711268629e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.3531       1.0000          .0000       5.0000    
     3 'Normalizat'    .68589       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .68388       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.

 FCN=   367.8233     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      193 TOTAL
                     EDM=   .70E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    476.69        .90712E-02** at limit **
   2  alpha         2.3533        3.6630        .41242       -.80756E-07
   3  Normalizat    .68453        .15450        .88530E-01    .11769E-04
   4  Prefactor     .68469        .84799E-01    .42186E-01    .15581E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.35329
  Normalizat = 0.684533
  Prefactor  = 0.684694
 **********
 **   18 **HESSE 
 **********

 FCN=   367.8233     FROM HESSE     STATUS=OK            29 CALLS      222 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.176        .65360E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.3533        2.8417        .16497       -.58717E-01
   3  Normalizat    .68453        .89647        .39221E-03   -1.0451    
   4  Prefactor     .68469        .50088        .21357E-03   -1.0413    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.01852e-10
Minuit parameter uncertainties:
  1  7.56771e-05
  2  572.746
  3  0.916771
  4  0.504225
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213774': 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) = 367.823275367
delta logL = 1.5518253349e-11

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.000e-04  7.568e-05  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.353e+00  5.727e+02  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:  6.847e-01  5.042e-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:  6.845e-01  9.168e-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/213774/cmap_HighResolution_553996801_554256001_4FGL_J2056.2-4714_daily_bin1214.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.06e-04', job_status='DONE', photon_flux_upper_limit='1.33e-06', time_completed='2021-09-25 21:53:11.598926', job_id='213774', GAL2='0.68', fit_tolerance='1e-08', EG2='0.68', EG='0.68', time_epoch_completed='1632631991.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='101', GAL='0.68', dlogl='1.55e-11', ts2='-0.00', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1214' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:53:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0278>
Subject: Job 213774: <4FGL_J2056.2-4714_daily_bin1214> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1214> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 21:45:37 2021
Job was executed on host(s) <bullet0278>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:47:05 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Sep 25 21:47:05 2021
Terminated at Sat Sep 25 21:53:12 2021
Results reported at Sat Sep 25 21:53:12 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1214 314.072 -47.2369 553996801 554256001 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 :                                   319.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   366 sec.
    Turnaround time :                            455 sec.

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

