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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1634
RA = 314.072, Dec = -47.2369
tmin = 662860801, tmax = 663120001
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='771714', job_status='RUN', time_executed='2022-01-06 02:12:58.666849', time_epoch_executed='1641463978.67' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1634'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/771714

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/771714/ft1_4FGL_J2056.2-4714_daily_bin1634.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/771714/ft2_4FGL_J2056.2-4714_daily_bin1634.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/771714/ft1_4FGL_J2056.2-4714_daily_bin1634.fits outfile=/scratch/kocevski/771714/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1634.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=662860801.0 tmax=663120001.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.95
user 2.75
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/771714/ft2_4FGL_J2056.2-4714_daily_bin1634.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/771714/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1634.fits evtable="EVENTS" outfile="/scratch/kocevski/771714/ft1_filtered_4FGL_J2056.2-4714_daily_bin1634.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/771714/ft1_filtered_4FGL_J2056.2-4714_daily_bin1634.fits" evtable="EVENTS" scfile=/scratch/kocevski/771714/ft2_4FGL_J2056.2-4714_daily_bin1634.fits sctable="SC_DATA" outfile=/scratch/kocevski/771714/ltcube_662860801_663120001_4FGL_J2056.2-4714_daily_bin1634.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/771714/ft2_4FGL_J2056.2-4714_daily_bin1634.fits
.....................!
real 15.51
user 15.10
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/771714/ft1_filtered_4FGL_J2056.2-4714_daily_bin1634.fits evtable="EVENTS" scfile=/scratch/kocevski/771714/ft2_4FGL_J2056.2-4714_daily_bin1634.fits sctable="SC_DATA" expcube=/scratch/kocevski/771714/ltcube_662860801_663120001_4FGL_J2056.2-4714_daily_bin1634.fits outfile=/scratch/kocevski/771714/expmap_662860801_663120001_4FGL_J2056.2-4714_daily_bin1634.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/771714/ltcube_662860801_663120001_4FGL_J2056.2-4714_daily_bin1634.fits
.....................!
real 192.72
user 187.11
sys 4.32

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/771714/ft1_filtered_4FGL_J2056.2-4714_daily_bin1634.fits scfile=/scratch/kocevski/771714/ft2_4FGL_J2056.2-4714_daily_bin1634.fits outfile=/scratch/kocevski/771714/cmap_662860801_663120001_4FGL_J2056.2-4714_daily_bin1634.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.60
user 0.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/771714/ft1_filtered_4FGL_J2056.2-4714_daily_bin1634.fits scfile=/scratch/kocevski/771714/ft2_4FGL_J2056.2-4714_daily_bin1634.fits outfile=/scratch/kocevski/771714/cmap_HighResolution_662860801_663120001_4FGL_J2056.2-4714_daily_bin1634.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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/771714/ft1_filtered_4FGL_J2056.2-4714_daily_bin1634.fits evtable="EVENTS" scfile=/scratch/kocevski/771714/ft2_4FGL_J2056.2-4714_daily_bin1634.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/771714/Model_4FGL_J2056.2-4714_daily_bin1634.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/771714/ft1_filtered_4FGL_J2056.2-4714_daily_bin1634.fits.....................!
real 45.19
user 43.89
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10136E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    44.479       1.0000         .10000E-03   10000.    
     3 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .10757E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    34.840       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.348       1.0000         .10000E-03   10000.    
    11 'norm      '    6.3318       1.0000         .10000E-03   10000.    
    12 'Prefactor '    80.225       1.0000         .10000E-03   10000.    
    13 'Prefactor '    37.790       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10102E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.9859       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .42869E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    92.505       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10105E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .67723       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2245       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=   5342.130     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2551 TOTAL
                     EDM=   .40E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    14.094       -.56862E-06** at limit **
   2  norm          44.444        43.368        .21975E-06   -.52630E-04
   3  norm          .10000E-03    1.5673       -.14052E-06** at limit **
   4  Prefactor     .10000E-03    57.662        .37982E-06** at limit **
   5  norm          .10000E-03    7.0832       -.15659E-05** at limit **
   6  norm          .10000E-03    16.170       -.13711E-06** at limit **
   7  Prefactor     34.836        43.683       -.38011E-07   -.28825E-05
   8  Prefactor     .10000E-03    63.460       -.14008E-06** at limit **
   9  Prefactor     .10000E-03    1.1312        .24361E-07** at limit **
  10  Prefactor     14.333        25.341       -.40195E-07   -.27912E-04
  11  norm          6.3314        3.0493        .77957E-06    .10573E-03
  12  Prefactor     80.222        49.870        .12327E-06   -.23279E-05
  13  Prefactor     37.787        44.633        .86662E-07   -.80313E-05
  14  Prefactor     .10000E-03    2.1929        .49463E-07** at limit **
  15  Prefactor     .10000E-03    63.720       -.18106E-06** at limit **
  16  Prefactor     .10000E-03    10.021        .10466E-06** at limit **
  17  Prefactor     .10000E-03    3.0594        .22463E-06** at limit **
  18  norm          4.9862        3.8716       -.61214E-07    .19006E-04
  19  Prefactor     .10001E-03    6.1864       -.27576E-06** at limit **
  20  Prefactor     92.498        46.715        .17410E-06   -.23531E-04
  21  Prefactor     .10000E-03    5.2527       -.14407E-07** at limit **
  22  Normalizat    .67733        .26758       -.19580E-05    .16402E-04
  23  Prefactor     1.2244        .15121        .21194E-06    .48978E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 44.4439
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 34.8363
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.3326
  norm       = 6.33141
  Prefactor  = 80.2223
  Prefactor  = 37.7865
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.98622
  Prefactor  = 0.000100006
  Prefactor  = 92.4982
  Prefactor  = 0.0001
  Normalizat = 0.67733
  Prefactor  = 1.22444
 **********
 **   18 **HESSE 
 **********

 FCN=   5342.130     FROM HESSE     STATUS=OK           362 CALLS     2913 TOTAL
                     EDM=   .25E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.127        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          44.444        43.189        .60115E-04   -1.4374    
   3  norm          .10000E-03    1.5798        .89319E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    57.603        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    7.2013        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    16.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     34.836        43.676        .67893E-04   -1.4527    
   8  Prefactor     .10000E-03    63.481        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    1.1515        .75875E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     14.333        25.305        .10574E-03   -1.4951    
  11  norm          6.3314        3.0564        .41610E-03   -1.5205    
  12  Prefactor     80.222        49.872        .44840E-04   -1.3914    
  13  Prefactor     37.787        44.627        .65198E-04   -1.4478    
  14  Prefactor     .10000E-03    2.1975        .10569E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    65.738        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    10.052        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    3.1309        .12478E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.9862        3.8671        .12258E-03   -1.5261    
  19  Prefactor     .10001E-03    27.378        .35001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     92.498        46.865        .41783E-04   -1.3781    
  21  Prefactor     .10000E-03    5.2794        .16344E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .67733        .29261        .39237E-03   -1.0479    
  23  Prefactor     1.2244        .16824        .17894E-03   -.85583    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.45244e-10
Minuit parameter uncertainties:
  1  3.29541e-05
  2  43.2196
  3  3.34804e-07
  4  0.000285219
  5  1.44425e-06
  6  3.52249e-05
  7  43.7158
  8  8.85223e-05
  9  1.48247e-06
  10  25.3235
  11  3.05649
  12  49.8977
  13  44.6662
  14  2.7609e-07
  15  0.000124813
  16  1.01136e-06
  17  6.15801e-06
  18  3.86733
  19  0.000807911
  20  46.8836
  21  5.0328e-06
  22  0.293282
  23  0.16831
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  6.331e+00  3.056e+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.224e+00  1.683e-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.773e-01  2.933e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.52
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 1.42e-07 +/- 6.86e-08
Energy Flux (Fixed Index): 4.34e-05 +/- 2.10e-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) = 5339.97010591
delta logL = 2.15982562769

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5339.96680699
delta logL = 2.16312455134

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.2337       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.6022       1.0000          .0000       5.0000    
     3 'Normalizat'    .55471       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2728       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=   5339.967     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      266 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.2338        2.7824        .47444E-04   -.70856E-03
   2  alpha         3.6022        .75186        .10454E-02   -.32613E-04
   3  Normalizat    .55472        .28412        .42963E-03    .33607E-05
   4  Prefactor     1.2728        .16805        .17577E-03    .10409E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 3.23376
  alpha      = 3.6022
  Normalizat = 0.554721
  Prefactor  = 1.27283
 **********
 **   18 **HESSE 
 **********

 FCN=   5339.967     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .45E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.2338        2.7331        .18978E-05   -1.5348    
   2  alpha         3.6022        .73902        .41817E-04    .45658    
   3  Normalizat    .55472        .28419        .17185E-04   -1.0994    
   4  Prefactor     1.2728        .16806        .35154E-04   -.84119    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.51176e-11
Minuit parameter uncertainties:
  1  2.73318
  2  0.753076
  3  0.284939
  4  0.168134
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/771714': 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) = 5339.96680698
delta logL = 2.16312455822

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  3.234e+00  2.733e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  3.602e+00  7.531e-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.273e+00  1.681e-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:  5.547e-01  2.849e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 11.31
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 3.60 +/- 0.75
Photon Flux (Free Index): 2.38e-07 +/- 9.38e-08
Energy Flux (Free Index): 3.97e-05 +/- 1.60e-05

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/771714/cmap_HighResolution_662860801_663120001_4FGL_J2056.2-4714_daily_bin1634.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.42e-07', energy_flux2='3.97e-05', photon_flux_error='6.86e-08', dlogl='2.16e+00', energy_flux='4.34e-05', photon_flux2='2.38e-07', job_status='DONE', time_completed='2022-01-06 02:21:57.863748', photon_index_error2='0.75', photon_index2='3.60', ts='6.52', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='1.60e-05', EG='0.68', time_epoch_completed='1641464517.86', return_code='0', job_id='771714', GAL2='1.27', EG2='0.55', return_code2='0', energy_flux_error='2.10e-05', photon_flux_error2='9.38e-08', ts2='11.31', photon_index='2.35' WHERE bin_id='1634' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Jan  6 02:21:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0030>
Subject: Job 771714: <4FGL_J2056.2-4714_daily_bin1634> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin1634> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Thu Jan  6 02:10:23 2022
Job was executed on host(s) <bullet0030>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Jan  6 02:11:22 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Jan  6 02:11:22 2022
Terminated at Thu Jan  6 02:21:58 2022
Results reported at Thu Jan  6 02:21:58 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1634 314.072 -47.2369 662860801 663120001 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 :                                   540.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             305.23 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   636 sec.
    Turnaround time :                            695 sec.

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

