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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1252
RA = 314.072, Dec = -47.2369
tmin = 563846401, tmax = 564105601
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='213833', job_status='RUN', time_executed='2021-09-25 21:49:14.451384', time_epoch_executed='1632631754.45' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1252'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213833

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213833/ft1_4FGL_J2056.2-4714_daily_bin1252.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213833/ft2_4FGL_J2056.2-4714_daily_bin1252.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213833/ft1_4FGL_J2056.2-4714_daily_bin1252.fits outfile=/scratch/kocevski/213833/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1252.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=563846401.0 tmax=564105601.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.84
user 2.61
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213833/ft1_filtered_4FGL_J2056.2-4714_daily_bin1252.fits" evtable="EVENTS" scfile=/scratch/kocevski/213833/ft2_4FGL_J2056.2-4714_daily_bin1252.fits sctable="SC_DATA" outfile=/scratch/kocevski/213833/ltcube_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.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/213833/ft2_4FGL_J2056.2-4714_daily_bin1252.fits
.....................!
real 14.36
user 13.90
sys 0.41

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213833/ft1_filtered_4FGL_J2056.2-4714_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/213833/ft2_4FGL_J2056.2-4714_daily_bin1252.fits sctable="SC_DATA" expcube=/scratch/kocevski/213833/ltcube_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.fits outfile=/scratch/kocevski/213833/expmap_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.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/213833/ltcube_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.fits
.....................!
real 191.46
user 186.47
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/213833/ft1_filtered_4FGL_J2056.2-4714_daily_bin1252.fits scfile=/scratch/kocevski/213833/ft2_4FGL_J2056.2-4714_daily_bin1252.fits outfile=/scratch/kocevski/213833/cmap_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.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.56
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213833/ft1_filtered_4FGL_J2056.2-4714_daily_bin1252.fits scfile=/scratch/kocevski/213833/ft2_4FGL_J2056.2-4714_daily_bin1252.fits outfile=/scratch/kocevski/213833/cmap_HighResolution_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.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.59
user 0.39
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213833/ft1_filtered_4FGL_J2056.2-4714_daily_bin1252.fits evtable="EVENTS" scfile=/scratch/kocevski/213833/ft2_4FGL_J2056.2-4714_daily_bin1252.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213833/Model_4FGL_J2056.2-4714_daily_bin1252.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/213833/ft1_filtered_4FGL_J2056.2-4714_daily_bin1252.fits.....................!
real 68.25
user 66.78
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/213833/ft1_filtered_4FGL_J2056.2-4714_daily_bin1252.fits', '/scratch/kocevski/213833/ft2_4FGL_J2056.2-4714_daily_bin1252.fits', expMap='/scratch/kocevski/213833/expmap_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.fits', expCube='/scratch/kocevski/213833/ltcube_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/213833/Model_4FGL_J2056.2-4714_daily_bin1252.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/213833/ft1_filtered_4FGL_J2056.2-4714_daily_bin1252.fits
Spacecraft file(s): /scratch/kocevski/213833/ft2_4FGL_J2056.2-4714_daily_bin1252.fits
Exposure map: /scratch/kocevski/213833/expmap_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.fits
Exposure cube: /scratch/kocevski/213833/ltcube_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/213833/Model_4FGL_J2056.2-4714_daily_bin1252.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) = 8941.49437522

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10731E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    4.6921       1.0000         .10000E-03   10000.    
     3 'norm      '    1.0056       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.7742       1.0000         .10000E-03   10000.    
     6 'norm      '    .10089E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    50.446       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .98883       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.9956       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    14.824       1.0000         .10000E-03   10000.    
    14 'Prefactor '    20.082       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .32824E-01   1.0000         .10000E-03   10000.    
    16 'Prefactor '    55.125       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.2432       1.0000         .10000E-03   10000.    
    18 'norm      '    9.6337       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.3011       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.2053       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1320       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=   8941.482     FROM MIGRAD    STATUS=CONVERGED    533 CALLS     2638 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    5.6574       -.21013E-06** at limit **
   2  norm          4.6911        15.840        .23569E-06    .15667E-04
   3  norm          1.0040        1.3272        .23393E-06    .45411E-03
   4  Prefactor     .10000E-03    15.045       -.17586E-06** at limit **
   5  norm          1.7745        2.8688        .44138E-06   -.12540E-03
   6  norm          .10000E-03    9.0870       -.20536E-06** at limit **
   7  Prefactor     50.456        33.869        .40890E-07   -.61966E-04
   8  Prefactor     .10000E-03    32.880        .19013E-06** at limit **
   9  Prefactor     .98845        1.8783        .80994E-06    .36888E-03
  10  Prefactor     .10000E-03    11.131        .52518E-07** at limit **
  11  norm          5.9955        2.2558        .36221E-07   -.79231E-04
  12  Prefactor     .10000E-03    18.758        .79821E-06** at limit **
  13  Prefactor     14.829        32.436       -.20634E-06   -.36051E-04
  14  Prefactor     20.073        10.530       -.10010E-06   -.89139E-04
  15  Prefactor     .10105E-03    34.076       -.67158E-06** at limit **
  16  Prefactor     55.125        31.192       -.21318E-06   -.58119E-04
  17  Prefactor     1.2439        4.1383        .16386E-05   -.21360E-03
  18  norm          9.6257        5.5496        .61460E-07    .13621E-03
  19  Prefactor     .10000E-03    5.2282        .52763E-07** at limit **
  20  Prefactor     .10000E-03    21.178       -.71644E-06** at limit **
  21  Prefactor     1.2460        23.563        .19180E-05   -.61362E-04
  22  Normalizat    1.2053        .23696       -.90276E-06   -.64960E-04
  23  Prefactor     1.1320        .11984       -.26336E-06   -.73549E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100011
  norm       = 4.69109
  norm       = 1.00399
  Prefactor  = 0.0001
  norm       = 1.77451
  norm       = 0.0001
  Prefactor  = 50.4561
  Prefactor  = 0.0001
  Prefactor  = 0.988449
  Prefactor  = 0.0001
  norm       = 5.99554
  Prefactor  = 0.000100001
  Prefactor  = 14.8295
  Prefactor  = 20.073
  Prefactor  = 0.000101052
  Prefactor  = 55.1248
  Prefactor  = 1.24388
  norm       = 9.62573
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 1.24598
  Normalizat = 1.20527
  Prefactor  = 1.13195
 **********
 **   18 **HESSE 
 **********

 FCN=   8941.482     FROM HESSE     STATUS=OK           384 CALLS     3022 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    32.063        .42644E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          4.6911        15.555        .18578E-03   -1.5275    
   3  norm          1.0040        1.1232        .12449E-02   -1.5508    
   4  Prefactor     .10000E-03    15.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.7745        2.8394        .19575E-03   -1.5442    
   6  norm          .10000E-03    9.0904        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     50.456        33.876        .56463E-04   -1.4286    
   8  Prefactor     .10000E-03    32.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .98845        1.7800        .18459E-02   -1.5509    
  10  Prefactor     .10000E-03    11.193        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.9955        2.2586        .82976E-04   -1.5218    
  12  Prefactor     .10000E-03    18.953        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     14.829        32.444        .10403E-03   -1.4938    
  14  Prefactor     20.073        10.562        .89377E-04   -1.4812    
  15  Prefactor     .10105E-03    32.915        .12927       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     55.125        31.223        .54026E-04   -1.4222    
  17  Prefactor     1.2439        4.0382        .32291E-03   -1.5485    
  18  norm          9.6257        5.5425        .12911E-03   -1.5087    
  19  Prefactor     .10000E-03    5.2441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    21.310        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     1.2460        23.882        .38733E-03   -1.5485    
  22  Normalizat    1.2053        .27788        .35500E-03   -.86440    
  23  Prefactor     1.1320        .14005        .19819E-03   -.88452    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.64647e-10
Minuit parameter uncertainties:
  1  0.00117298
  2  15.5684
  3  1.12322
  4  7.01278e-05
  5  2.83961
  6  8.99686e-06
  7  33.8885
  8  0.00012698
  9  1.78007
  10  8.78754e-06
  11  2.25865
  12  0.000268478
  13  32.4825
  14  10.5632
  15  0.011774
  16  31.2318
  17  4.03905
  18  5.54277
  19  3.77229e-06
  20  0.000260539
  21  10.9145
  22  0.278216
  23  0.140099
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  5.996e+00  2.259e+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.132e+00  1.401e-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:  1.205e+00  2.782e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.59
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.35e-07 +/- 5.07e-08
Energy Flux (Fixed Index): 4.11e-05 +/- 1.55e-05

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) = 8941.39692036
delta logL = 0.0848017485641

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8941.39362972
delta logL = 0.0880923870081

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.8990       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1843       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2251       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1260       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=   8941.394     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      204 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.8990        2.6504        .41335E-02    .45561E-02
   2  alpha         2.1843        .41045        .32493       -.21059E-04
   3  Normalizat    1.2251        .21840        .79658E-01    .26517E-04
   4  Prefactor     1.1260        .11779        .36675E-01   -.14099E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 5.89896
  alpha      = 2.18428
  Normalizat = 1.22515
  Prefactor  = 1.12596
 **********
 **   18 **HESSE 
 **********

 FCN=   8941.394     FROM HESSE     STATUS=OK            31 CALLS      235 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.8990        2.3382        .85490E-04   -1.5222    
   2  alpha         2.1843        .39928        .12979E-01   -.12662    
   3  Normalizat    1.2251        .25397        .35262E-03   -.85829    
   4  Prefactor     1.1260        .13625        .19868E-03   -.88641    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.79053e-09
Minuit parameter uncertainties:
  1  2.33828
  2  0.401024
  3  0.254226
  4  0.136295
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213833': 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) = 8941.39362972
delta logL = 0.0880923907571

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  5.899e+00  2.338e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.184e+00  4.010e-01  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.126e+00  1.363e-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:  1.225e+00  2.542e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 20.72
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.18 +/- 0.40
Photon Flux (Free Index): 1.18e-07 +/- 6.09e-08
Energy Flux (Free Index): 4.26e-05 +/- 1.72e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/213833/cmap_HighResolution_563846401_564105601_4FGL_J2056.2-4714_daily_bin1252.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.35e-07', energy_flux2='4.26e-05', photon_flux_error='5.07e-08', dlogl='8.81e-02', energy_flux='4.11e-05', photon_flux2='1.18e-07', job_status='DONE', time_completed='2021-09-25 22:00:58.470291', photon_index_error2='0.40', photon_index2='2.18', ts='20.59', fit_tolerance='1e-08', GAL='1.13', photon_index_error='0.00', energy_flux_error2='1.72e-05', EG='1.21', time_epoch_completed='1632632458.47', return_code='0', job_id='213833', GAL2='1.13', EG2='1.23', return_code2='0', energy_flux_error='1.55e-05', photon_flux_error2='6.09e-08', ts2='20.72', photon_index='2.35' WHERE bin_id='1252' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 22:00:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0258>
Subject: Job 213833: <4FGL_J2056.2-4714_daily_bin1252> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1252> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Sat Sep 25 21:45:42 2021
Job was executed on host(s) <bullet0258>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:47:55 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:55 2021
Terminated at Sat Sep 25 22:00:59 2021
Results reported at Sat Sep 25 22:00:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1252 314.072 -47.2369 563846401 564105601 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 :                                   698.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             281.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   783 sec.
    Turnaround time :                            917 sec.

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

