aklog: Couldn't determine realm of user:aklog: unknown RPC error (-1765328189)  while getting realm
/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 = 17116
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1522.1+3144_weekly_bin555
RA = 230.545, Dec = 31.7395
tmin = 574646401, tmax = 575251201
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='56825', job_status='RUN', time_executed='2021-07-23 09:56:06.478759', time_epoch_executed='1627059366.48' WHERE source_name='4FGL J1522.1+3144' and cadence='weekly' and bin_id='555'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/56825

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

Retrieving the FT1 file...

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

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

Retrieving 107 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/56825/ft1_4FGL_J1522.1+3144_weekly_bin555.fits


Retrieving the FT1 file...

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

Retrieving 107 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/56825/ft1_4FGL_J1522.1+3144_weekly_bin555.fits outfile=/scratch/kocevski/56825/ft1_filteredMKT_4FGL_J1522.1+3144_weekly_bin555.fits ra=230.545 dec=31.7395 rad=12.0 tmin=574646401.0 tmax=575251201.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 11.64
user 11.06
sys 0.54

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.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/56825/ft1_filteredMKT_4FGL_J1522.1+3144_weekly_bin555.fits evtable="EVENTS" outfile="/scratch/kocevski/56825/ft1_filtered_4FGL_J1522.1+3144_weekly_bin555.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.54
user 0.36
sys 0.18

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/56825/ft1_filtered_4FGL_J1522.1+3144_weekly_bin555.fits" evtable="EVENTS" scfile=/scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits sctable="SC_DATA" outfile=/scratch/kocevski/56825/ltcube_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.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/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits
.....................!
real 29.11
user 28.73
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/56825/ft1_filtered_4FGL_J1522.1+3144_weekly_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits sctable="SC_DATA" expcube=/scratch/kocevski/56825/ltcube_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.fits outfile=/scratch/kocevski/56825/expmap_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.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/56825/ltcube_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.fits
.....................!
real 192.84
user 186.99
sys 5.48

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 180 point sources and 0 extended sources

Setting source of interest to:
4FGL J1522.1+3144 @ 230.545 31.7395

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/56825/ft1_filtered_4FGL_J1522.1+3144_weekly_bin555.fits scfile=/scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits outfile=/scratch/kocevski/56825/cmap_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.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=230.545 yref=31.7395 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.58
user 0.42
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/56825/ft1_filtered_4FGL_J1522.1+3144_weekly_bin555.fits scfile=/scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits outfile=/scratch/kocevski/56825/cmap_HighResolution_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.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=230.545 yref=31.7395 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.59
user 0.41
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/56825/ft1_filtered_4FGL_J1522.1+3144_weekly_bin555.fits evtable="EVENTS" scfile=/scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/56825/Model_4FGL_J1522.1+3144_weekly_bin555.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/56825/ft1_filtered_4FGL_J1522.1+3144_weekly_bin555.fits.....................!
real 84.92
user 83.45
sys 1.28

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/56825/ft1_filtered_4FGL_J1522.1+3144_weekly_bin555.fits', '/scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits', expMap='/scratch/kocevski/56825/expmap_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.fits', expCube='/scratch/kocevski/56825/ltcube_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/56825/Model_4FGL_J1522.1+3144_weekly_bin555.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1522.1+3144'

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  8.555e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.370e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.148e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/56825/ft1_filtered_4FGL_J1522.1+3144_weekly_bin555.fits
Spacecraft file(s): /scratch/kocevski/56825/ft2_4FGL_J1522.1+3144_weekly_bin555.fits
Exposure map: /scratch/kocevski/56825/expmap_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.fits
Exposure cube: /scratch/kocevski/56825/ltcube_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/56825/Model_4FGL_J1522.1+3144_weekly_bin555.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) = 13079.2657427

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    5.7868       1.0000         .10000E-03   10000.    
     2 'Prefactor '    24.227       1.0000         .10000E-03   10000.    
     3 'norm      '    5.1772       1.0000         .10000E-03   10000.    
     4 'Prefactor '    63.823       1.0000         .10000E-03   10000.    
     5 'norm      '    7.5404       1.0000         .10000E-03   10000.    
     6 'Prefactor '    7.6755       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .11672E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    11.312       1.0000         .10000E-03   10000.    
     9 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10221E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .44128       1.0000         .10000E-03   10000.    
    14 'norm      '    2.1993       1.0000         .10000E-03   10000.    
    15 'Prefactor '    4.4307       1.0000         .10000E-03   10000.    
    16 'Prefactor '    10.827       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10163E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    10.899       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.1783       1.0000         .10000E-03   10000.    
    20 'Prefactor '    10.355       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    3.8398       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .78708       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91897       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   13079.03     FROM MIGRAD    STATUS=CONVERGED     82 CALLS     2292 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY= 12.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          5.7878        3.5244       -.20951E-05   -.34396E-04
   2  Prefactor     24.224        1.5483       -.81927E-06    .20023E-02
   3  norm          5.1774        2.7039       -.21008E-06    .19414E-03
   4  Prefactor     63.821        1.0171       -.40396E-07    .99072E-03
   5  norm          7.5417        1.0381       -.22190E-06   -.12936E-03
   6  Prefactor     7.6787        1.2242       -.46877E-06   -.34259E-03
   7  Prefactor     .10000E-03    11.915       -.14970E-04** at limit **
   8  Prefactor     11.312        1.0099       -.32785E-07    .13295E-03
   9  norm          .10000E-03    .71067        .10098E-06** at limit **
  10  Prefactor     .10000E-03    46.584       -.76174E-05** at limit **
  11  Prefactor     .10000E-03    2.5501       -.15843E-06** at limit **
  12  Prefactor     .10000E-03    4.4027        .32198E-06** at limit **
  13  Prefactor     .47123        38.329       -.35769E-04   -.40953E-04
  14  norm          2.1993        .74745       -.31674E-07    .73756E-03
  15  Prefactor     4.4307        1.0335        .51868E-07    .31545E-03
  16  Prefactor     10.825        1.0261       -.14141E-06    .15047E-03
  17  Prefactor     .10000E-03    8.0101        .36841E-05** at limit **
  18  norm          10.896        1.0285        .18627E-07   -.18686E-03
  19  Prefactor     1.1786        1.3952       -.15681E-06    .25859E-03
  20  Prefactor     10.356        1.6935       -.11348E-05   -.53789E-03
  21  Prefactor     .10000E-03    4.8040       -.14912E-05** at limit **
  22  Prefactor     3.8399        2.0427       -.57299E-07   -.63626E-03
  23  Normalizat    .78709        .12512        .34185E-05   -.70946E-04
  24  Prefactor     .91893        .10271       -.86210E-06    .40371E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 5.78775
  Prefactor  = 24.2239
  norm       = 5.17743
  Prefactor  = 63.8208
  norm       = 7.54171
  Prefactor  = 7.6787
  Prefactor  = 0.0001
  Prefactor  = 11.3124
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.471231
  norm       = 2.19934
  Prefactor  = 4.43069
  Prefactor  = 10.8247
  Prefactor  = 0.0001
  norm       = 10.8955
  Prefactor  = 1.17858
  Prefactor  = 10.3556
  Prefactor  = 0.0001
  Prefactor  = 3.83988
  Normalizat = 0.787088
  Prefactor  = 0.918926
 **********
 **   18 **HESSE 
 **********

 FCN=   13079.03     FROM HESSE     STATUS=OK           465 CALLS     2757 TOTAL
                     EDM=   .44E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          5.7878        3.5798        .41740E-02   -1.5227    
   2  Prefactor     24.224        29.603        .20345E-02   -1.4723    
   3  norm          5.1774        2.7076        .44169E-02   -1.5253    
   4  Prefactor     63.821        24.677        .12558E-02   -1.4109    
   5  norm          7.5417        4.9949        .36512E-02   -1.5159    
   6  Prefactor     7.6787        7.4632        .36186E-02   -1.5154    
   7  Prefactor     .10000E-03    2.2615        .53995E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     11.312        5.3999        .29779E-02   -1.5035    
   9  norm          .10000E-03    .32191        .23453E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    46.118        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.5059        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    4.3720        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .47123        4.2715        .11029       -1.5571    
  14  norm          2.1993        .82908        .69363E-02   -1.5411    
  15  Prefactor     4.4307        5.6965        .47828E-02   -1.5287    
  16  Prefactor     10.825        16.071        .30440E-02   -1.5050    
  17  Prefactor     .10000E-03    7.9790        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          10.896        7.2281        .30340E-02   -1.5048    
  19  Prefactor     1.1786        1.4276        .10538E-01   -1.5491    
  20  Prefactor     10.356        12.119        .31129E-02   -1.5064    
  21  Prefactor     .10000E-03    4.7232        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     3.8399        2.0486        .51489E-02   -1.5316    
  23  Normalizat    .78709        .11367        .43441E-01   -1.0055    
  24  Prefactor     .91893        .89646E-01    .45246E-01   -.95483    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.40342e-08
Minuit parameter uncertainties:
  1  3.57995
  2  29.6209
  3  2.70767
  4  24.6813
  5  4.99518
  6  7.46413
  7  9.49823e-06
  8  5.40015
  9  1.37398e-06
  10  0.000278136
  11  1.60854e-05
  12  1.73556e-05
  13  2.83748
  14  0.829088
  15  5.69723
  16  16.077
  17  1.67712e-05
  18  7.22867
  19  1.4276
  20  12.1223
  21  4.85203e-05
  22  2.04868
  23  0.1137
  24  0.0896607
Done.

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

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  2.199e+00  8.291e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  2.370e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
272         beta:  7.148e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.189e-01  8.966e-02  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  7.871e-01  1.137e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 20.60
Ra Dec: 230.545 31.739
Photon Index (Fixed Index): 2.37 +/- 0.00
Photon Flux (Fixed Index): 7.18e-08 +/- 2.70e-08
Energy Flux (Fixed Index): 2.26e-05 +/- 8.52e-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) = 13077.7775132
delta logL = 1.25091931104

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 13077.7706602
delta logL = 1.25777232077

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9827       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7882       1.0000          .0000       5.0000    
     3 'Normalizat'    .82407       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .90085       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5820E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   13077.77     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      208 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9827        .73432        .73583E-02   -.11716E-02
   2  alpha         1.7882        .26097        .31237       -.93838E-04
   3  Normalizat    .82407        .10501        .43924E-01    .34588E-04
   4  Prefactor     .90085        .88403E-01    .45016E-01    .12347E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.9827
  alpha      = 1.78822
  Normalizat = 0.824067
  Prefactor  = 0.900855
 **********
 **   18 **HESSE 
 **********

 FCN=   13077.77     FROM HESSE     STATUS=OK            33 CALLS      241 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9827        .86084        .57565E-04   -1.5426    
   2  alpha         1.7882        .34985        .12060E-01   -.28871    
   3  Normalizat    .82407        .12153        .24917E-03   -.99182    
   4  Prefactor     .90085        .10183        .20169E-03   -.96111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.0964e-10
Minuit parameter uncertainties:
  1  0.860847
  2  0.351103
  3  0.121568
  4  0.101847
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/56825': 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) = 13077.7706602
delta logL = 1.25777232128

Extracting fit parameters...

4FGL J1522.1+3144
   Spectrum: LogParabola
270         norm:  1.983e+00  8.608e-01  1.000e-04  1.000e+04 ( 1.000e-11)
271        alpha:  1.788e+00  3.511e-01  0.000e+00  5.000e+00 ( 1.000e+00)
272         beta:  7.148e-02  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
273           Eb:  5.171e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
579    Prefactor:  9.009e-01  1.018e-01  0.000e+00  1.000e+01 ( 1.000e+00)
580        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
581        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
578   Normalization:  8.241e-01  1.216e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 23.12
Ra Dec: 230.545 31.739
Photon Index (Free Index): 1.79 +/- 0.35
Photon Flux (Free Index): 4.28e-08 +/- 2.31e-08
Energy Flux (Free Index): 3.31e-05 +/- 1.70e-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/56825/cmap_HighResolution_574646401_575251201_4FGL_J1522.1+3144_weekly_bin555.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='7.18e-08', energy_flux2='3.31e-05', photon_flux_error='2.70e-08', dlogl='1.26e+00', energy_flux='2.26e-05', photon_flux2='4.28e-08', job_status='DONE', time_completed='2021-07-23 10:12:13.913798', photon_index_error2='0.35', photon_index2='1.79', ts='20.60', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', energy_flux_error2='1.70e-05', EG='0.79', time_epoch_completed='1627060333.91', return_code='0', job_id='56825', GAL2='0.90', EG2='0.82', return_code2='0', energy_flux_error='8.52e-06', photon_flux_error2='2.31e-08', ts2='23.12', photon_index='2.37' WHERE bin_id='555' AND source_name='4FGL J1522.1+3144' AND cadence='weekly';

Database successfully updated.


Analysis Complete.


Fri Jul 23 10:12:13 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0270>
Subject: Job 56825: <4FGL_J1522.1+3144_weekly_bin555> in cluster <slac> Done

Job <4FGL_J1522.1+3144_weekly_bin555> was submitted from host <rhel6-64m> by user <kocevski> in cluster <slac> at Fri Jul 23 09:55:41 2021
Job was executed on host(s) <bullet0270>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Jul 23 09:55:51 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Jul 23 09:55:51 2021
Terminated at Fri Jul 23 10:12:14 2021
Results reported at Fri Jul 23 10:12:14 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1522.1+3144_weekly_bin555 230.545 31.7395 574646401 575251201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1522.1+3144 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   947.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             298.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   983 sec.
    Turnaround time :                            993 sec.

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

