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


Performing analysis on: 4FGL_J2056.2-4714_daily_bin1325
RA = 314.072, Dec = -47.2369
tmin = 582768001, tmax = 583027201
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='213948', job_status='RUN', time_executed='2021-09-25 21:51:20.971245', time_epoch_executed='1632631880.97' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='1325'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/213948

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/213948/ft1_4FGL_J2056.2-4714_daily_bin1325.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/213948/ft2_4FGL_J2056.2-4714_daily_bin1325.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/213948/ft1_4FGL_J2056.2-4714_daily_bin1325.fits outfile=/scratch/kocevski/213948/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1325.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=582768001.0 tmax=583027201.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.89
user 2.67
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/213948/ft2_4FGL_J2056.2-4714_daily_bin1325.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/213948/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin1325.fits evtable="EVENTS" outfile="/scratch/kocevski/213948/ft1_filtered_4FGL_J2056.2-4714_daily_bin1325.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.45
user 0.26
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/213948/ft1_filtered_4FGL_J2056.2-4714_daily_bin1325.fits" evtable="EVENTS" scfile=/scratch/kocevski/213948/ft2_4FGL_J2056.2-4714_daily_bin1325.fits sctable="SC_DATA" outfile=/scratch/kocevski/213948/ltcube_582768001_583027201_4FGL_J2056.2-4714_daily_bin1325.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/213948/ft2_4FGL_J2056.2-4714_daily_bin1325.fits
.....................!
real 10.87
user 10.48
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/213948/ft1_filtered_4FGL_J2056.2-4714_daily_bin1325.fits evtable="EVENTS" scfile=/scratch/kocevski/213948/ft2_4FGL_J2056.2-4714_daily_bin1325.fits sctable="SC_DATA" expcube=/scratch/kocevski/213948/ltcube_582768001_583027201_4FGL_J2056.2-4714_daily_bin1325.fits outfile=/scratch/kocevski/213948/expmap_582768001_583027201_4FGL_J2056.2-4714_daily_bin1325.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/213948/ltcube_582768001_583027201_4FGL_J2056.2-4714_daily_bin1325.fits
.....................!
real 151.16
user 146.65
sys 3.51

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/213948/ft1_filtered_4FGL_J2056.2-4714_daily_bin1325.fits scfile=/scratch/kocevski/213948/ft2_4FGL_J2056.2-4714_daily_bin1325.fits outfile=/scratch/kocevski/213948/cmap_582768001_583027201_4FGL_J2056.2-4714_daily_bin1325.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.48
user 0.33
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/213948/ft1_filtered_4FGL_J2056.2-4714_daily_bin1325.fits scfile=/scratch/kocevski/213948/ft2_4FGL_J2056.2-4714_daily_bin1325.fits outfile=/scratch/kocevski/213948/cmap_HighResolution_582768001_583027201_4FGL_J2056.2-4714_daily_bin1325.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.48
user 0.33
sys 0.13

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/213948/ft1_filtered_4FGL_J2056.2-4714_daily_bin1325.fits evtable="EVENTS" scfile=/scratch/kocevski/213948/ft2_4FGL_J2056.2-4714_daily_bin1325.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/213948/Model_4FGL_J2056.2-4714_daily_bin1325.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/213948/ft1_filtered_4FGL_J2056.2-4714_daily_bin1325.fits.....................!
real 45.47
user 44.04
sys 1.07

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10270E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    1.8737       1.0000         .10000E-03   10000.    
     4 'Prefactor '    76.676       1.0000         .10000E-03   10000.    
     5 'norm      '    5.4399       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    8.1752       1.0000         .10000E-03   10000.    
     9 'Prefactor '    3.7870       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10157E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    41.890       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10794E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    96.047       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10046E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    13.326       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.9212       1.0000         .10000E-03   10000.    
    20 'Prefactor '    86.971       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
    22 'Normalizat'    .50468       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.2239       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=   7164.316     FROM MIGRAD    STATUS=CONVERGED    512 CALLS     2515 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    2.8033        .16865E-07** at limit **
   2  norm          .10000E-03    29.133       -.46865E-07** at limit **
   3  norm          1.8737        1.3809       -.32393E-08    .83961E-04
   4  Prefactor     76.662        108.81       -.13375E-06   -.17753E-04
   5  norm          5.4396        3.6078        .27391E-07    .68023E-04
   6  norm          .10000E-03    8.3046       -.85666E-07** at limit **
   7  Prefactor     .10000E-03    21.361       -.44776E-06** at limit **
   8  Prefactor     8.0668        126.14       -.12241E-04   -.20920E-03
   9  Prefactor     3.7872        2.6934        .12217E-06    .64682E-04
  10  Prefactor     .10000E-03    26.035        .68103E-07** at limit **
  11  norm          41.891        5.0497        .83203E-07   -.17496E-03
  12  Prefactor     .10000E-03    72.266       -.20926E-06** at limit **
  13  Prefactor     96.053        55.809        .41768E-06    .61474E-04
  14  Prefactor     .10000E-03    21.184        .10784E-05** at limit **
  15  Prefactor     .10000E-03    65.712        .97212E-06** at limit **
  16  Prefactor     .10000E-03    16.390        .19319E-06** at limit **
  17  Prefactor     .10000E-03    6.7999        .85645E-06** at limit **
  18  norm          13.325        6.5732       -.28296E-06   -.10155E-03
  19  Prefactor     2.9215        8.6521        .13599E-04   -.22936E-03
  20  Prefactor     86.991        56.434        .14097E-05    .16547E-03
  21  Prefactor     .10000E-03    2.9177        .18821E-06** at limit **
  22  Normalizat    .50435        .29155       -.77109E-05   -.60513E-04
  23  Prefactor     1.2240        .14974        .19446E-05   -.13313E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  norm       = 0.0001
  norm       = 1.8737
  Prefactor  = 76.6618
  norm       = 5.43961
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.0668
  Prefactor  = 3.78719
  Prefactor  = 0.0001
  norm       = 41.8911
  Prefactor  = 0.0001
  Prefactor  = 96.0526
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.325
  Prefactor  = 2.92152
  Prefactor  = 86.9909
  Prefactor  = 0.0001
  Normalizat = 0.504352
  Prefactor  = 1.22397
 **********
 **   18 **HESSE 
 **********

 FCN=   7164.316     FROM HESSE     STATUS=OK           360 CALLS     2875 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8060        .13840E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    29.907        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          1.8737        1.3812        .83144E-04   -1.5434    
   4  Prefactor     76.662        109.00        .45858E-04   -1.3955    
   5  norm          5.4396        3.6064        .12702E-03   -1.5241    
   6  norm          .10000E-03    8.3098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    21.397        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     8.0668        127.93        .14022E-03   -1.5140    
   9  Prefactor     3.7872        2.6853        .11245E-03   -1.5319    
  10  Prefactor     .10000E-03    26.242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          41.891        5.0215        .61666E-04   -1.4413    
  12  Prefactor     .10000E-03    73.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     96.053        55.744        .41013E-04   -1.3745    
  14  Prefactor     .10000E-03    21.873        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    66.248        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    7.0778        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          13.325        6.5586        .10972E-03   -1.4978    
  19  Prefactor     2.9215        8.6636        .11885E-02   -1.5366    
  20  Prefactor     86.991        56.242        .43080E-04   -1.3840    
  21  Prefactor     .10000E-03    2.9199        .14117E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Normalizat    .50435        .29407        .51422E-03   -1.1221    
  23  Prefactor     1.2240        .15460        .18556E-03   -.85597    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.51682e-09
Minuit parameter uncertainties:
  1  1.6394e-06
  2  5.90761e-05
  3  1.38118
  4  109.281
  5  3.60656
  6  4.05943e-06
  7  0.000136084
  8  64.4128
  9  2.68536
  10  9.92235e-05
  11  5.02152
  12  0.000218273
  13  55.7741
  14  0.000158907
  15  0.000616663
  16  1.43549e-05
  17  1.93546e-05
  18  6.55896
  19  8.6673
  20  56.2768
  21  9.6966e-08
  22  0.294984
  23  0.154656
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  4.189e+01  5.022e+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.547e-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.044e-01  2.950e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 220.38
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 9.40e-07 +/- 1.13e-07
Energy Flux (Fixed Index): 2.87e-04 +/- 3.44e-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) = 7164.15893387
delta logL = 0.157068283118

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7164.10303194
delta logL = 0.212970212184

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    40.620       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.4474       1.0000          .0000       5.0000    
     3 'Normalizat'    .46226       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2399       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=   7164.103     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      203 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          40.620        6.0306        .15723E-02   -.37219E-02
   2  alpha         2.4475        .16699        .94610E-01    .27978E-04
   3  Normalizat    .46249        .28790        .12074        .56910E-04
   4  Prefactor     1.2397        .15306        .33750E-01    .28073E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 40.6196
  alpha      = 2.44748
  Normalizat = 0.462492
  Prefactor  = 1.23971
 **********
 **   18 **HESSE 
 **********

 FCN=   7164.103     FROM HESSE     STATUS=OK            29 CALLS      232 TOTAL
                     EDM=   .96E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          40.620        5.2926        .60179E-04   -1.4432    
   2  alpha         2.4475        .14652        .41633E-03   -.21010E-01
   3  Normalizat    .46249        .28520        .53525E-03   -1.1419    
   4  Prefactor     1.2397        .15261        .18450E-03   -.85118    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.57965e-10
Minuit parameter uncertainties:
  1  5.29266
  2  0.146604
  3  0.286106
  4  0.152666
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/213948': 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) = 7164.10303123
delta logL = 0.212970926522

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  4.062e+01  5.293e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.447e+00  1.466e-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.240e+00  1.527e-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:  4.625e-01  2.861e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 219.10
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.45 +/- 0.15
Photon Flux (Free Index): 9.81e-07 +/- 1.31e-07
Energy Flux (Free Index): 2.76e-04 +/- 3.64e-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/213948/cmap_HighResolution_582768001_583027201_4FGL_J2056.2-4714_daily_bin1325.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.40e-07', energy_flux2='2.76e-04', photon_flux_error='1.13e-07', dlogl='2.13e-01', energy_flux='2.87e-04', photon_flux2='9.81e-07', job_status='DONE', time_completed='2021-09-25 21:59:42.132564', photon_index_error2='0.15', photon_index2='2.45', ts='220.38', fit_tolerance='1e-08', GAL='1.22', photon_index_error='0.00', energy_flux_error2='3.64e-05', EG='0.50', time_epoch_completed='1632632382.13', return_code='0', job_id='213948', GAL2='1.24', EG2='0.46', return_code2='0', energy_flux_error='3.44e-05', photon_flux_error2='1.31e-07', ts2='219.10', photon_index='2.35' WHERE bin_id='1325' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:59:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0095>
Subject: Job 213948: <4FGL_J2056.2-4714_daily_bin1325> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin1325 314.072 -47.2369 582768001 583027201 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 :                                   491.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             290.45 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   619 sec.
    Turnaround time :                            829 sec.

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

