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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1031
RA = 314.072, Dec = -47.2369
tmin = 506563201, tmax = 506822401
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='212509', job_status='RUN', time_executed='2021-09-25 21:42:10.080547', time_epoch_executed='1632631330.08' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1031'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/212509

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/212509/ft1_4FGL_J2056.2-4714_daily_bin1031.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/212509/ft2_4FGL_J2056.2-4714_daily_bin1031.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/212509/ft1_4FGL_J2056.2-4714_daily_bin1031.fits outfile=/scratch/kocevski/212509/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1031.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=506563201.0 tmax=506822401.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.53
user 3.19
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/212509/ft2_4FGL_J2056.2-4714_daily_bin1031.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/212509/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1031.fits evtable="EVENTS" outfile="/scratch/kocevski/212509/ft1_filtered_4FGL_J2056.2-4714_daily_bin1031.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.61
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/212509/ft1_filtered_4FGL_J2056.2-4714_daily_bin1031.fits" evtable="EVENTS" scfile=/scratch/kocevski/212509/ft2_4FGL_J2056.2-4714_daily_bin1031.fits sctable="SC_DATA" outfile=/scratch/kocevski/212509/ltcube_506563201_506822401_4FGL_J2056.2-4714_daily_bin1031.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/212509/ft2_4FGL_J2056.2-4714_daily_bin1031.fits
.....................!
real 13.67
user 13.34
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/212509/ft1_filtered_4FGL_J2056.2-4714_daily_bin1031.fits evtable="EVENTS" scfile=/scratch/kocevski/212509/ft2_4FGL_J2056.2-4714_daily_bin1031.fits sctable="SC_DATA" expcube=/scratch/kocevski/212509/ltcube_506563201_506822401_4FGL_J2056.2-4714_daily_bin1031.fits outfile=/scratch/kocevski/212509/expmap_506563201_506822401_4FGL_J2056.2-4714_daily_bin1031.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/212509/ltcube_506563201_506822401_4FGL_J2056.2-4714_daily_bin1031.fits
.....................!
real 192.30
user 186.54
sys 5.22

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/212509/ft1_filtered_4FGL_J2056.2-4714_daily_bin1031.fits scfile=/scratch/kocevski/212509/ft2_4FGL_J2056.2-4714_daily_bin1031.fits outfile=/scratch/kocevski/212509/cmap_506563201_506822401_4FGL_J2056.2-4714_daily_bin1031.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.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/212509/ft1_filtered_4FGL_J2056.2-4714_daily_bin1031.fits scfile=/scratch/kocevski/212509/ft2_4FGL_J2056.2-4714_daily_bin1031.fits outfile=/scratch/kocevski/212509/cmap_HighResolution_506563201_506822401_4FGL_J2056.2-4714_daily_bin1031.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.57
user 0.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/212509/ft1_filtered_4FGL_J2056.2-4714_daily_bin1031.fits evtable="EVENTS" scfile=/scratch/kocevski/212509/ft2_4FGL_J2056.2-4714_daily_bin1031.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/212509/Model_4FGL_J2056.2-4714_daily_bin1031.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/212509/ft1_filtered_4FGL_J2056.2-4714_daily_bin1031.fits.....................!
real 74.34
user 72.97
sys 1.20

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.959       1.0000         .10000E-03   10000.    
     2 'norm      '    2.6646       1.0000         .10000E-03   10000.    
     3 'norm      '    .10098E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10215E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    3.7702       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    51.587       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .99722E-01   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10281E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.4129       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11485E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    15.806       1.0000         .10000E-03   10000.    
    14 'Prefactor '    1.7883       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10360E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10129E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.963       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .32193       1.0000         .10000E-03   10000.    
    21 'Prefactor '    1.3097       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0951       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.1106       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=   9947.776     FROM MIGRAD    STATUS=CONVERGED    560 CALLS     2616 TOTAL
                     EDM=   .88E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.958        7.9347        .11460E-05   -.21199E-04
   2  norm          2.6652        29.699        .15149E-05   -.14000E-04
   3  norm          .10000E-03    .86693        .36950E-07** at limit **
   4  Prefactor     .10000E-03    12.292       -.38540E-06** at limit **
   5  norm          .10000E-03    1.2027       -.40157E-08** at limit **
   6  norm          3.7690        11.093        .93746E-05    .76835E-05
   7  Prefactor     .10000E-03    7.6527       -.29804E-06** at limit **
   8  Prefactor     51.584        64.121       -.78048E-05   -.58683E-05
   9  Prefactor     .98005E-01    .91895        .29950E-07   -.42954E-03
  10  Prefactor     .10000E-03    5.6754        .28489E-06** at limit **
  11  norm          2.4132        1.8730        .22385E-06    .46215E-04
  12  Prefactor     .10000E-03    61.608        .28502E-05** at limit **
  13  Prefactor     15.785        36.085        .14739E-04    .64320E-05
  14  Prefactor     1.7902        5.6366       -.23947E-05   -.29117E-04
  15  Prefactor     .10000E-03    9.2383        .57025E-06** at limit **
  16  Prefactor     .10000E-03    56.203       -.24777E-05** at limit **
  17  Prefactor     .10000E-03    2.1421        .83868E-07** at limit **
  18  norm          13.963        4.5881       -.15413E-07    .13872E-04
  19  Prefactor     .10000E-03    1.7591        .33780E-07** at limit **
  20  Prefactor     .19812        21.977       -.75169E-07    .38821E-04
  21  Prefactor     1.3172        .92823        .88915E-07   -.99148E-03
  22  Normalizat    1.0948        .19617        .37362E-07   -.37794E-04
  23  Prefactor     1.1106        .10396       -.49389E-06    .16884E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.9576
  norm       = 2.66521
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 3.76897
  Prefactor  = 0.0001
  Prefactor  = 51.5837
  Prefactor  = 0.098005
  Prefactor  = 0.0001
  norm       = 2.41317
  Prefactor  = 0.0001
  Prefactor  = 15.7845
  Prefactor  = 1.79023
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 13.9633
  Prefactor  = 0.0001
  Prefactor  = 0.198123
  Prefactor  = 1.31719
  Normalizat = 1.09479
  Prefactor  = 1.11062
 **********
 **   18 **HESSE 
 **********

 FCN=   9947.776     FROM HESSE     STATUS=OK           380 CALLS     2996 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.958        7.8929        .12102E-03   -1.5046    
   2  norm          2.6652        29.324        .24969E-03   -1.5381    
   3  norm          .10000E-03    1.6127        .17947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    12.295        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.2152        .10676E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          3.7690        11.085        .20792E-03   -1.5320    
   7  Prefactor     .10000E-03    7.6582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     51.584        64.204        .55839E-04   -1.4270    
   9  Prefactor     .98005E-01    13.638        .18156E-02   -1.5645    
  10  Prefactor     .10000E-03    5.6865        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.4132        1.8715        .11256E-03   -1.5397    
  12  Prefactor     .10000E-03    62.981        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     15.785        36.177        .10074E-03   -1.4913    
  14  Prefactor     1.7902        5.6515        .31282E-03   -1.5440    
  15  Prefactor     .10000E-03    9.2591        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    57.852        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.2033        .28484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.963        4.5916        .10719E-03   -1.4960    
  19  Prefactor     .10000E-03    1.7602        .12919E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .19812        24.582        .13596       -1.5619    
  21  Prefactor     1.3172        5.5274        .19267E-02   -1.5478    
  22  Normalizat    1.0948        .23212        .32879E-03   -.89919    
  23  Prefactor     1.1106        .12234        .18330E-03   -.89128    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.17526e-09
Minuit parameter uncertainties:
  1  7.8936
  2  17.6917
  3  3.56568e-06
  4  1.2257e-07
  5  2.76551e-08
  6  11.0911
  7  1.50555e-05
  8  64.2907
  9  2.31156
  10  1.06711e-05
  11  1.87152
  12  4.65006e-05
  13  36.227
  14  5.65317
  15  1.19077e-05
  16  0.000495515
  17  3.02747e-06
  18  4.59172
  19  5.5221e-07
  20  4.41451
  21  5.39715
  22  0.232333
  23  0.122371
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.413e+00  1.872e+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.111e+00  1.224e-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.095e+00  2.323e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.18
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 5.42e-08 +/- 4.20e-08
Energy Flux (Fixed Index): 1.66e-05 +/- 1.28e-05

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

Saving results to:
/scratch/kocevski/212509/likelihoodResults_506563201_506822401_4FGL_J2056.2-4714_daily_bin1031.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) = 9945.27504092
delta logL = 2.50053349461

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9945.23378271
delta logL = 2.54179171121

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.1183       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.0459       1.0000          .0000       5.0000    
     3 'Normalizat'    .97697       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1525       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=   9945.234     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      214 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.1176        6.2077        .96852E-02   -.29307E-02
   2  alpha         4.0470        4.5040        .38832       -.69797E-04
   3  Normalizat    .97677        .63963E-01    .77971E-01    .45456E-03
   4  Prefactor     1.1526        .36292E-01    .35864E-01    .68289E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 1.1176
  alpha      = 4.04695
  Normalizat = 0.976768
  Prefactor  = 1.15258
 **********
 **   18 **HESSE 
 **********

 FCN=   9945.234     FROM HESSE     STATUS=OK            31 CALLS      245 TOTAL
                     EDM=   .85E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.1176        1.7075        .43594E-04   -1.5497    
   2  alpha         4.0470        1.1797        .18043E-01    .66719    
   3  Normalizat    .97677        .22151        .34508E-03   -.93813    
   4  Prefactor     1.1526        .12231        .18018E-03   -.87803    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.54455e-10
Minuit parameter uncertainties:
  1  1.70757
  2  1.26543
  3  0.221714
  4  0.122341
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/212509': 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) = 9945.23378087
delta logL = 2.54179355109

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  1.118e+00  1.708e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  4.047e+00  1.265e+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.153e+00  1.223e-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.768e-01  2.217e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.73
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 4.05 +/- 1.27
Photon Flux (Free Index): 1.36e-07 +/- 5.95e-08
Energy Flux (Free Index): 2.07e-05 +/- 1.01e-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/212509/cmap_HighResolution_506563201_506822401_4FGL_J2056.2-4714_daily_bin1031.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.12e-05', comment='SUCCESS', photon_flux='5.42e-08', energy_flux2='2.07e-05', photon_flux_error='4.20e-08', dlogl='2.54e+00', energy_flux='1.66e-05', photon_flux2='1.36e-07', job_status='DONE', time_completed='2021-09-25 21:56:26.781327', photon_index_error2='1.27', photon_index2='4.05', ts='2.18', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='1.35e-07', energy_flux_error2='1.01e-05', EG='1.09', time_epoch_completed='1632632186.78', return_code='0', job_id='212509', GAL2='1.15', EG2='0.98', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='5.95e-08', ts2='7.73', photon_index='2.35' WHERE bin_id='1031' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:56:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0143>
Subject: Job 212509: <4FGL_J2056.2-4714_daily_bin1031> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1031> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Sat Sep 25 21:40:55 2021
Job was executed on host(s) <bullet0143>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:41:53 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:41:53 2021
Terminated at Sat Sep 25 21:56:27 2021
Results reported at Sat Sep 25 21:56:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1031 314.072 -47.2369 506563201 506822401 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 :                                   854.54 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             369.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   874 sec.
    Turnaround time :                            932 sec.

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

