/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 115 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 = 7388
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J2056.2-4714_daily_bin293
RA = 314.072, Dec = -47.2369
tmin = 315273601, tmax = 315532801
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='209121', job_status='RUN', time_executed='2021-09-25 21:32:29.725373', time_epoch_executed='1632630749.73' WHERE source_name='4FGL J2056.2-4714' and cadence='daily' and bin_id='293'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/209121

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/209121/ft1_4FGL_J2056.2-4714_daily_bin293.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/209121/ft2_4FGL_J2056.2-4714_daily_bin293.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/209121/ft1_4FGL_J2056.2-4714_daily_bin293.fits outfile=/scratch/kocevski/209121/ft1_filteredMKT_4FGL_J2056.2-4714_daily_bin293.fits ra=314.072 dec=-47.2369 rad=12.0 tmin=315273601.0 tmax=315532801.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.72
user 3.49
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/209121/ft1_filtered_4FGL_J2056.2-4714_daily_bin293.fits" evtable="EVENTS" scfile=/scratch/kocevski/209121/ft2_4FGL_J2056.2-4714_daily_bin293.fits sctable="SC_DATA" outfile=/scratch/kocevski/209121/ltcube_315273601_315532801_4FGL_J2056.2-4714_daily_bin293.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/209121/ft2_4FGL_J2056.2-4714_daily_bin293.fits
.....................!
real 13.78
user 13.42
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/209121/ft1_filtered_4FGL_J2056.2-4714_daily_bin293.fits evtable="EVENTS" scfile=/scratch/kocevski/209121/ft2_4FGL_J2056.2-4714_daily_bin293.fits sctable="SC_DATA" expcube=/scratch/kocevski/209121/ltcube_315273601_315532801_4FGL_J2056.2-4714_daily_bin293.fits outfile=/scratch/kocevski/209121/expmap_315273601_315532801_4FGL_J2056.2-4714_daily_bin293.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/209121/ltcube_315273601_315532801_4FGL_J2056.2-4714_daily_bin293.fits
.....................!
real 191.86
user 186.10
sys 5.03

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/209121/ft1_filtered_4FGL_J2056.2-4714_daily_bin293.fits scfile=/scratch/kocevski/209121/ft2_4FGL_J2056.2-4714_daily_bin293.fits outfile=/scratch/kocevski/209121/cmap_315273601_315532801_4FGL_J2056.2-4714_daily_bin293.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/209121/ft1_filtered_4FGL_J2056.2-4714_daily_bin293.fits scfile=/scratch/kocevski/209121/ft2_4FGL_J2056.2-4714_daily_bin293.fits outfile=/scratch/kocevski/209121/cmap_HighResolution_315273601_315532801_4FGL_J2056.2-4714_daily_bin293.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.39
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/209121/ft1_filtered_4FGL_J2056.2-4714_daily_bin293.fits evtable="EVENTS" scfile=/scratch/kocevski/209121/ft2_4FGL_J2056.2-4714_daily_bin293.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/209121/Model_4FGL_J2056.2-4714_daily_bin293.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/209121/ft1_filtered_4FGL_J2056.2-4714_daily_bin293.fits.....................!
real 93.89
user 92.45
sys 1.15

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.9115       1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.6965       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    .47962       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.032       1.0000         .10000E-03   10000.    
     9 'Prefactor '    2.2018       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.763       1.0000         .10000E-03   10000.    
    11 'norm      '    2.9240       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    89.570       1.0000         .10000E-03   10000.    
    16 'Prefactor '    6.6147       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .36742       1.0000         .10000E-03   10000.    
    18 'norm      '    6.7031       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.112       1.0000         .10000E-03   10000.    
    21 'Prefactor '    6.7679       1.0000         .10000E-03   10000.    
    22 'Normalizat'    1.0950       1.0000         .10000E-01   10.000    
    23 'Prefactor '    1.0081       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=   13407.29     FROM MIGRAD    STATUS=CONVERGED    497 CALLS     2238 TOTAL
                     EDM=   .31E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.9126        5.3019        .91351E-07   -.42406E-04
   2  norm          .10000E-03    7.3757       -.10996E-07** at limit **
   3  norm          5.6967        1.6144       -.21913E-08   -.10298E-03
   4  Prefactor     .10000E-03    9.5219        .57472E-07** at limit **
   5  norm          .48018        1.6647        .24486E-06   -.21831E-03
   6  norm          .10000E-03    3.9019       -.10389E-07** at limit **
   7  Prefactor     .10000E-03    7.1600       -.14054E-06** at limit **
   8  Prefactor     13.006        46.456       -.15518E-05   -.97266E-04
   9  Prefactor     2.2020        2.2898        .35297E-06   -.65845E-04
  10  Prefactor     14.761        14.784       -.25821E-06   -.26217E-04
  11  norm          2.9240        1.4157        .67548E-08   -.44407E-04
  12  Prefactor     .10000E-03    6.6585        .17792E-06** at limit **
  13  Prefactor     .10000E-03    21.950       -.91798E-07** at limit **
  14  Prefactor     .10000E-03    1.7186        .18945E-07** at limit **
  15  Prefactor     89.565        25.447       -.14205E-06   -.63583E-04
  16  Prefactor     6.6060        23.512       -.74251E-06   -.49969E-04
  17  Prefactor     .38588        1.4830       -.23500E-06    .13762E-03
  18  norm          6.7030        3.3941        .42462E-07    .13374E-03
  19  Prefactor     .10000E-03    4.8000        .92907E-07** at limit **
  20  Prefactor     10.089        30.834       -.47601E-05   -.14473E-03
  21  Prefactor     6.7657        7.1517        .30891E-05   -.10069E-03
  22  Normalizat    1.0953        .17936        .20369E-05   -.17515E-03
  23  Prefactor     1.0079        .91523E-01   -.14936E-05    .24055E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 6.91258
  norm       = 0.0001
  norm       = 5.69674
  Prefactor  = 0.0001
  norm       = 0.480175
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.0061
  Prefactor  = 2.20197
  Prefactor  = 14.7609
  norm       = 2.92402
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 89.5653
  Prefactor  = 6.60596
  Prefactor  = 0.385883
  norm       = 6.70301
  Prefactor  = 0.0001
  Prefactor  = 10.0885
  Prefactor  = 6.76573
  Normalizat = 1.09533
  Prefactor  = 1.00789
 **********
 **   18 **HESSE 
 **********

 FCN=   13407.29     FROM HESSE     STATUS=OK           374 CALLS     2612 TOTAL
                     EDM=   .69E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.9126        5.3023        .15261E-03   -1.5182    
   2  norm          .10000E-03    7.4308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.6967        1.6149        .75768E-04   -1.5231    
   4  Prefactor     .10000E-03    9.5267        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .48018        2.8201        .26276E-02   -1.5569    
   6  norm          .10000E-03    3.9046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    7.1701        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.006        47.115        .11096E-03   -1.4987    
   9  Prefactor     2.2020        2.2809        .16833E-03   -1.5411    
  10  Prefactor     14.761        14.790        .10424E-03   -1.4939    
  11  norm          2.9240        1.4147        .91185E-04   -1.5366    
  12  Prefactor     .10000E-03    6.6709        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.026        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    1.7280        .14819E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     89.565        25.516        .42456E-04   -1.3812    
  16  Prefactor     6.6060        23.613        .15603E-03   -1.5194    
  17  Prefactor     .38588        9.0291        .25443E-02   -1.5584    
  18  norm          6.7030        3.3938        .14508E-03   -1.5190    
  19  Prefactor     .10000E-03    4.9762        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     10.089        31.223        .12601E-03   -1.5073    
  21  Prefactor     6.7657        7.3075        .77117E-03   -1.5188    
  22  Normalizat    1.0953        .21022        .32920E-03   -.89902    
  23  Prefactor     1.0079        .10632        .18696E-03   -.92467    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.93576e-08
Minuit parameter uncertainties:
  1  5.30261
  2  2.55819e-05
  3  1.61491
  4  3.0378e-06
  5  2.32729
  6  4.57861e-07
  7  8.15003e-06
  8  47.2504
  9  2.281
  10  14.794
  11  1.41471
  12  2.30923e-05
  13  3.00512e-05
  14  9.23763e-07
  15  25.5194
  16  23.6467
  17  3.73333
  18  3.39393
  19  3.22246e-06
  20  31.2737
  21  7.30847
  22  0.210379
  23  0.106342
Done.

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

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.924e+00  1.415e+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.008e+00  1.063e-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.104e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 7.75
Ra Dec: 314.072 -47.237
Photon Index (Fixed Index): 2.35 +/- 0.00
Photon Flux (Fixed Index): 6.56e-08 +/- 3.17e-08
Energy Flux (Fixed Index): 2.01e-05 +/- 9.70e-06

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) = 13407.2347246
delta logL = 0.0504692423892

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13407.2325229
delta logL = 0.0526709768383

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.9042       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5235       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0821       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0124       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=   13407.23     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      242 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.9042        1.3924        .87689E-04    .81315E-03
   2  alpha         2.5235        .53313        .19090E-01    .48655E-04
   3  Normalizat    1.0821        .19259        .33094E-03   -.30299E-04
   4  Prefactor     1.0124        .10374        .18659E-03   -.70191E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 2.90419
  alpha      = 2.52355
  Normalizat = 1.08206
  Prefactor  = 1.01244
 **********
 **   18 **HESSE 
 **********

 FCN=   13407.23     FROM HESSE     STATUS=OK            25 CALLS      267 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.9042        1.3790        .35075E-05   -1.5367    
   2  alpha         2.5235        .52756        .76361E-03    .94200E-02
   3  Normalizat    1.0821        .19275        .13237E-04   -.90330    
   4  Prefactor     1.0124        .10380        .74635E-05   -.92316    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.1737e-10
Minuit parameter uncertainties:
  1  1.37904
  2  0.531558
  3  0.192873
  4  0.103816
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/209121': 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) = 13407.2325229
delta logL = 0.0526709859059

Extracting fit parameters...

4FGL J2056.2-4714
   Spectrum: LogParabola
291         norm:  2.904e+00  1.379e+00  1.000e-04  1.000e+04 ( 1.000e-11)
292        alpha:  2.524e+00  5.316e-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.012e+00  1.038e-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.082e+00  1.929e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.85
Ra Dec: 314.072 -47.237
Photon Index (Free Index): 2.52 +/- 0.53
Photon Flux (Free Index): 7.45e-08 +/- 4.34e-08
Energy Flux (Free Index): 1.98e-05 +/- 9.28e-06

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/209121/cmap_HighResolution_315273601_315532801_4FGL_J2056.2-4714_daily_bin293.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='6.56e-08', energy_flux2='1.98e-05', photon_flux_error='3.17e-08', dlogl='5.27e-02', energy_flux='2.01e-05', photon_flux2='7.45e-08', job_status='DONE', time_completed='2021-09-25 21:46:47.357600', photon_index_error2='0.53', photon_index2='2.52', ts='7.75', fit_tolerance='1e-08', GAL='1.01', photon_index_error='0.00', energy_flux_error2='9.28e-06', EG='1.10', time_epoch_completed='1632631607.36', return_code='0', job_id='209121', GAL2='1.01', EG2='1.08', return_code2='0', energy_flux_error='9.70e-06', photon_flux_error2='4.34e-08', ts2='7.85', photon_index='2.35' WHERE bin_id='293' AND source_name='4FGL J2056.2-4714' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Sep 25 21:46:47 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 209121: <4FGL_J2056.2-4714_daily_bin293> in cluster <slac> Done

Job <4FGL_J2056.2-4714_daily_bin293> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sat Sep 25 21:30:16 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Sep 25 21:30:25 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:30:25 2021
Terminated at Sat Sep 25 21:46:47 2021
Results reported at Sat Sep 25 21:46:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J2056.2-4714_daily_bin293 314.072 -47.2369 315273601 315532801 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 :                                   855.13 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             317.84 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   982 sec.
    Turnaround time :                            991 sec.

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

