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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1657
RA = 314.072, Dec = -47.2369
tmin = 668822401, tmax = 669081601
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='530565', job_status='RUN', time_executed='2022-03-16 01:16:59.378313', time_epoch_executed='1647418619.38' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1657'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/530565

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/530565/ft1_4FGL_J2056.2-4714_daily_bin1657.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/530565/ft2_4FGL_J2056.2-4714_daily_bin1657.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/530565/ft1_4FGL_J2056.2-4714_daily_bin1657.fits outfile=/scratch/kocevski/530565/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1657.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=668822401.0 tmax=669081601.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 4.51
user 4.26
sys 0.23

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/530565/ft2_4FGL_J2056.2-4714_daily_bin1657.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/530565/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1657.fits evtable="EVENTS" outfile="/scratch/kocevski/530565/ft1_filtered_4FGL_J2056.2-4714_daily_bin1657.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.43
user 0.29
sys 0.13
Number of photons that survived the gtmktime cut: 649

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/530565/ft1_filtered_4FGL_J2056.2-4714_daily_bin1657.fits" evtable="EVENTS" scfile=/scratch/kocevski/530565/ft2_4FGL_J2056.2-4714_daily_bin1657.fits sctable="SC_DATA" outfile=/scratch/kocevski/530565/ltcube_668822401_669081601_4FGL_J2056.2-4714_daily_bin1657.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/530565/ft2_4FGL_J2056.2-4714_daily_bin1657.fits
.....................!
real 9.86
user 9.55
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/530565/ft1_filtered_4FGL_J2056.2-4714_daily_bin1657.fits evtable="EVENTS" scfile=/scratch/kocevski/530565/ft2_4FGL_J2056.2-4714_daily_bin1657.fits sctable="SC_DATA" expcube=/scratch/kocevski/530565/ltcube_668822401_669081601_4FGL_J2056.2-4714_daily_bin1657.fits outfile=/scratch/kocevski/530565/expmap_668822401_669081601_4FGL_J2056.2-4714_daily_bin1657.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/530565/ltcube_668822401_669081601_4FGL_J2056.2-4714_daily_bin1657.fits
.....................!
real 158.48
user 154.00
sys 4.20

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/530565/ft1_filtered_4FGL_J2056.2-4714_daily_bin1657.fits scfile=/scratch/kocevski/530565/ft2_4FGL_J2056.2-4714_daily_bin1657.fits outfile=/scratch/kocevski/530565/cmap_668822401_669081601_4FGL_J2056.2-4714_daily_bin1657.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.46
user 0.30
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/530565/ft1_filtered_4FGL_J2056.2-4714_daily_bin1657.fits scfile=/scratch/kocevski/530565/ft2_4FGL_J2056.2-4714_daily_bin1657.fits outfile=/scratch/kocevski/530565/cmap_HighResolution_668822401_669081601_4FGL_J2056.2-4714_daily_bin1657.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.46
user 0.31
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/530565/ft1_filtered_4FGL_J2056.2-4714_daily_bin1657.fits evtable="EVENTS" scfile=/scratch/kocevski/530565/ft2_4FGL_J2056.2-4714_daily_bin1657.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/530565/Model_4FGL_J2056.2-4714_daily_bin1657.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/530565/ft1_filtered_4FGL_J2056.2-4714_daily_bin1657.fits.....................!
real 46.18
user 44.94
sys 1.12

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.3859       1.0000         .10000E-03   10000.    
     2 'norm      '    .10459E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    .85472       1.0000         .10000E-03   10000.    
     4 'Prefactor '    25.420       1.0000         .10000E-03   10000.    
     5 'norm      '    1.3150       1.0000         .10000E-03   10000.    
     6 'norm      '    4.7737       1.0000         .10000E-03   10000.    
     7 'Prefactor '    36.168       1.0000         .10000E-03   10000.    
     8 'Prefactor '    44.425       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.9466       1.0000         .10000E-03   10000.    
    10 'Prefactor '    8.1208       1.0000         .10000E-03   10000.    
    11 'norm      '    .57851       1.0000         .10000E-03   10000.    
    12 'Prefactor '    9.3881       1.0000         .10000E-03   10000.    
    13 'Prefactor '    39.751       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .11995E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    5.8201       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .27906E-02   1.0000         .10000E-03   10000.    
    21 'Prefactor '    9.7939       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.3981       1.0000         .10000E-01   10.000    
    23 'Prefactor '    .92322       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6947.069     FROM MIGRAD    STATUS=CONVERGED    919 CALLS     2995 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.3854        9.2056        .13259E-02   -.11320E-03
   2  norm          .10000E-03    33.806        .18142E-02** at limit **
   3  norm          .85457        .89047        .75998E-03   -.12332E-03
   4  Prefactor     25.409        73.145        .79453E-04   -.85852E-06
   5  norm          1.3158        2.7247        .19416E-03   -.25136E-03
   6  norm          4.7713        15.183        .18415E-03    .75937E-05
   7  Prefactor     36.178        30.194        .66639E-04   -.98949E-05
   8  Prefactor     44.410        58.366        .60150E-04   -.13495E-04
   9  Prefactor     2.9442        2.4555        .11464E-03    .50608E-03
  10  Prefactor     8.1715        24.281        .14069E-03   -.13171E-04
  11  norm          .57740        2.1684        .17693E-02    .34536E-03
  12  Prefactor     9.3873        28.390        .13080E-03    .97349E-05
  13  Prefactor     39.799        62.547        .63575E-04    .69741E-05
  14  Prefactor     .10000E-03    3.1570        .14407E-02** at limit **
  15  Prefactor     .10000E-03    60.898        .36285E-03** at limit **
  16  Prefactor     .10000E-03    16.846        .18142E-02** at limit **
  17  Prefactor     .10003E-03    9.9125        .27167E-02** at limit **
  18  norm          5.8223        4.7393        .15849E-03    .53469E-03
  19  Prefactor     .10000E-03    3.2205        .14604E-02** at limit **
  20  Prefactor     .10000E-03    42.296        .15163    ** at limit **
  21  Prefactor     9.7999        11.106        .12805E-03   -.97132E-04
  22  Normalizat    1.3982        .29327        .30735E-03   -.13842E-03
  23  Prefactor     .92323        .15036        .19474E-03   -.33639E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.38538
  norm       = 0.000100004
  norm       = 0.854567
  Prefactor  = 25.4091
  norm       = 1.31582
  norm       = 4.77128
  Prefactor  = 36.1781
  Prefactor  = 44.41
  Prefactor  = 2.94424
  Prefactor  = 8.17149
  norm       = 0.577399
  Prefactor  = 9.38735
  Prefactor  = 39.7994
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.000100029
  norm       = 5.82233
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 9.79987
  Normalizat = 1.39822
  Prefactor  = 0.923233
 **********
 **   18 **HESSE 
 **********

 FCN=   6947.069     FROM HESSE     STATUS=OK           362 CALLS     3357 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.3854        9.1985        .53035E-04   -1.5399    
   2  norm          .10000E-03    33.828        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          .85457        .89052        .30399E-04   -1.5523    
   4  Prefactor     25.409        73.152        .31781E-05   -1.4699    
   5  norm          1.3158        2.7246        .77665E-05   -1.5479    
   6  norm          4.7713        15.182        .73658E-05   -1.5271    
   7  Prefactor     36.178        30.193        .26656E-05   -1.4504    
   8  Prefactor     44.410        58.364        .12030E-04   -1.4374    
   9  Prefactor     2.9442        2.4553        .45854E-05   -1.5365    
  10  Prefactor     8.1715        24.281        .56277E-05   -1.5136    
  11  norm          .57740        2.1612        .70773E-04   -1.5556    
  12  Prefactor     9.3873        28.389        .52319E-05   -1.5095    
  13  Prefactor     39.799        62.484        .25430E-05   -1.4445    
  14  Prefactor     .10000E-03    3.1576        .28814E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    60.901        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.847        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10003E-03    10.044        .54333E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          5.8223        4.7391        .63395E-05   -1.5225    
  19  Prefactor     .10000E-03    3.2206        .29209E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    42.469        .15118       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     9.7999        11.105        .51218E-05   -1.5082    
  22  Normalizat    1.3982        .29320        .12294E-04   -.80680    
  23  Prefactor     .92323        .15049        .38948E-04   -.95334    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.51839e-09
Minuit parameter uncertainties:
  1  9.20397
  2  0.000697996
  3  0.890531
  4  73.412
  5  2.72486
  6  15.1943
  7  30.206
  8  58.4387
  9  2.45535
  10  24.3099
  11  2.1615
  12  28.4295
  13  62.5868
  14  1.88473e-06
  15  0.000260415
  16  0.000376201
  17  0.00108404
  18  4.73936
  19  4.47356e-06
  20  0.000679877
  21  11.1076
  22  0.293554
  23  0.150559
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  5.774e-01  2.161e+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:  9.232e-01  1.506e-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.398e+00  2.936e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/530565/likelihoodResults_668822401_669081601_4FGL_J2056.2-4714_daily_bin1657.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) = 6947.01240595
delta logL = 0.0570691832581

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6947.00755824
delta logL = 0.0619168927933

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .54013       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.2898       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3747       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .93136       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=   6947.008     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      211 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .54016        40.929        .11434E-01    .21497E-02
   2  alpha         3.2899        3.3495        .44106        .43861E-04
   3  Normalizat    1.3747        .52828E-01    .69964E-01   -.44154E-04
   4  Prefactor     .93136        .28184E-01    .45403E-01   -.89957E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.54016
  alpha      = 3.28989
  Normalizat = 1.37468
  Prefactor  = 0.931365
 **********
 **   18 **HESSE 
 **********

 FCN=   6947.008     FROM HESSE     STATUS=OK            33 CALLS      244 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .54016        2.8395        .12805E-03   -1.5561    
   2  alpha         3.2899        4.0199        .51330E-01    .32146    
   3  Normalizat    1.3747        .28255        .30955E-03   -.81364    
   4  Prefactor     .93136        .14652        .19397E-03   -.95054    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.85273e-08
Minuit parameter uncertainties:
  1  2.47688
  2  3.41841
  3  0.282869
  4  0.146585
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/530565': 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) = 6947.00755824
delta logL = 0.0619168995563

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  5.402e-01  2.477e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  3.290e+00  3.418e+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:  9.314e-01  1.466e-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.375e+00  2.829e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/530565/cmap_HighResolution_668822401_669081601_4FGL_J2056.2-4714_daily_bin1657.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-05', job_status='DONE', photon_flux_upper_limit='1.22e-07', time_completed='2022-03-16 01:26:52.509958', job_id='530565', GAL2='0.93', fit_tolerance='1e-08', EG2='1.37', EG='1.40', time_epoch_completed='1647419212.51', return_code2='0', ts='0.08', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='6.19e-02', ts2='0.21', photon_index_error='0.00', photon_index='2.35' WHERE bin_id='1657' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Mar 16 01:26:52 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0086>
Subject: Job 530565: <4FGL_J2056.2-4714_daily_bin1657> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1657> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Wed Mar 16 01:15:34 2022
Job was executed on host(s) <bullet0086>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Mar 16 01:16:41 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Mar 16 01:16:41 2022
Terminated at Wed Mar 16 01:26:53 2022
Results reported at Wed Mar 16 01:26:53 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1657 314.072 -47.2369 668822401 669081601 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 :                                   594.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             298.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   611 sec.
    Turnaround time :                            679 sec.

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

