aklog: Couldn't determine realm of user:aklog: No credentials cache found  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 49 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 = 7326
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1552.0+0850_daily_bin1667
RA = 238.01, Dec = 8.8419
tmin = 671414401, tmax = 671673601
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='532817', job_status='RUN', time_executed='2022-04-15 03:41:10.611590', time_epoch_executed='1650019270.61' WHERE source_name='4FGL J1552.0+0850' and cadence='daily' and bin_id='1667'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/532817

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/532817/ft1_4FGL_J1552.0+0850_daily_bin1667.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/532817/ft1_4FGL_J1552.0+0850_daily_bin1667.fits outfile=/scratch/kocevski/532817/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1667.fits ra=238.01 dec=8.8419 rad=12.0 tmin=671414401.0 tmax=671673601.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.57
user 3.32
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.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/532817/ft1_filteredMKT_4FGL_J1552.0+0850_daily_bin1667.fits evtable="EVENTS" outfile="/scratch/kocevski/532817/ft1_filtered_4FGL_J1552.0+0850_daily_bin1667.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.52
user 0.34
sys 0.16

Number of photons that the gtmktime cut: 760

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/532817/ft1_filtered_4FGL_J1552.0+0850_daily_bin1667.fits" evtable="EVENTS" scfile=/scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits sctable="SC_DATA" outfile=/scratch/kocevski/532817/ltcube_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.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/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits
.....................!
real 15.69
user 15.26
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/532817/ft1_filtered_4FGL_J1552.0+0850_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits sctable="SC_DATA" expcube=/scratch/kocevski/532817/ltcube_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.fits outfile=/scratch/kocevski/532817/expmap_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.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/532817/ltcube_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.fits
.....................!
real 193.53
user 187.18
sys 5.26

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

Setting source of interest to:
4FGL J1552.0+0850 @ 238.01 8.8419

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/532817/ft1_filtered_4FGL_J1552.0+0850_daily_bin1667.fits scfile=/scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits outfile=/scratch/kocevski/532817/cmap_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.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=238.01 yref=8.8419 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.65
user 0.36
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/532817/ft1_filtered_4FGL_J1552.0+0850_daily_bin1667.fits scfile=/scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits outfile=/scratch/kocevski/532817/cmap_HighResolution_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.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=238.01 yref=8.8419 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.57
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/532817/ft1_filtered_4FGL_J1552.0+0850_daily_bin1667.fits evtable="EVENTS" scfile=/scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/532817/Model_4FGL_J1552.0+0850_daily_bin1667.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/532817/ft1_filtered_4FGL_J1552.0+0850_daily_bin1667.fits....................!
real 69.19
user 66.70
sys 1.68

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/532817/ft1_filtered_4FGL_J1552.0+0850_daily_bin1667.fits', '/scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits', expMap='/scratch/kocevski/532817/expmap_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.fits', expCube='/scratch/kocevski/532817/ltcube_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/532817/Model_4FGL_J1552.0+0850_daily_bin1667.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1552.0+0850'

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  7.420e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/532817/ft1_filtered_4FGL_J1552.0+0850_daily_bin1667.fits
Spacecraft file(s): /scratch/kocevski/532817/ft2_4FGL_J1552.0+0850_daily_bin1667.fits
Exposure map: /scratch/kocevski/532817/expmap_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.fits
Exposure cube: /scratch/kocevski/532817/ltcube_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/532817/Model_4FGL_J1552.0+0850_daily_bin1667.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) = 8289.0011688

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .21488       1.0000         .10000E-03   10000.    
     2 'norm      '    2.4258       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10174E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.177       1.0000         .10000E-03   10000.    
     6 'Prefactor '    22.684       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    5.9808       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .28306E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10097E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    29.393       1.0000         .10000E-03   10000.    
    13 'norm      '    13.027       1.0000         .10000E-03   10000.    
    14 'norm      '    3.2808       1.0000         .10000E-03   10000.    
    15 'norm      '    63.560       1.0000         .10000E-03   10000.    
    16 'norm      '    68.955       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .41970E-02   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10074E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1673       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86734       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   8288.984     FROM MIGRAD    STATUS=CONVERGED    500 CALLS     2383 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .21502        .22952       -.96015E-07   -.23600E-02
   2  norm          2.4258        3.9952       -.24352E-06   -.23360E-03
   3  Prefactor     .10000E-03    39.058        .26278E-06** at limit **
   4  Prefactor     .10000E-03    16.630       -.14483E-06** at limit **
   5  Prefactor     15.178        5.9689       -.44883E-06    .81099E-04
   6  Prefactor     22.666        28.612        .10677E-04    .14711E-05
   7  Prefactor     .10000E-03    57.885       -.15618E-05** at limit **
   8  norm          5.9811        2.8025       -.14375E-06    .36192E-04
   9  Prefactor     .10000E-03    1.9106       -.31045E-06** at limit **
  10  Prefactor     .10000E-03    9.8736       -.18149E-06** at limit **
  11  norm          .10000E-03    1.3492        .19454E-07** at limit **
  12  Prefactor     29.342        45.871       -.15652E-04    .73029E-05
  13  norm          13.029        9.9883       -.12482E-05   -.32799E-04
  14  norm          3.2808        1.4762        .10912E-06    .33758E-03
  15  norm          63.567        20.064       -.15067E-05    .38418E-04
  16  norm          68.789        130.86       -.17351E-03    .13493E-04
  17  Prefactor     .10000E-03    360.57        .27085E-04** at limit **
  18  Prefactor     .10000E-03    10.621        .21673E-07** at limit **
  19  Prefactor     .10000E-03    5.7603       -.96502E-07** at limit **
  20  Prefactor     .10000E-03    2.2557       -.28096E-07** at limit **
  21  Normalizat    1.1672        .23101       -.39358E-05    .37209E-03
  22  Prefactor     .86727        .96799E-01    .48322E-05   -.71473E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.215021
  norm       = 2.42582
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.1785
  Prefactor  = 22.6658
  Prefactor  = 0.0001
  norm       = 5.98109
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 29.3424
  norm       = 13.0292
  norm       = 3.28085
  norm       = 63.567
  norm       = 68.7894
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.16717
  Prefactor  = 0.867266
 **********
 **   18 **HESSE 
 **********

 FCN=   8288.984     FROM HESSE     STATUS=OK           346 CALLS     2729 TOTAL
                     EDM=   .38E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .21502        .21106        .43229E-03   -1.5615    
   2  norm          2.4258        3.9741        .22775E-03   -1.5396    
   3  Prefactor     .10000E-03    39.187        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    16.660        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.178        5.9524        .10281E-03   -1.4929    
   6  Prefactor     22.666        28.655        .84100E-04   -1.4755    
   7  Prefactor     .10000E-03    58.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          5.9811        2.8010        .10020E-03   -1.5219    
   9  Prefactor     .10000E-03    7.3035        .23939E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    9.8777        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.3596        .10324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     29.342        45.894        .73899E-04   -1.4624    
  13  norm          13.029        9.9980        .11098E-03   -1.4986    
  14  norm          3.2808        1.4780        .71791E-04   -1.5346    
  15  norm          63.567        20.089        .50334E-04   -1.4112    
  16  norm          68.789        131.03        .24169E-03   -1.4047    
  17  Prefactor     .10000E-03    364.47        .19434E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    10.633        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    5.8061        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    2.2599        .13353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1672        .27383        .35758E-03   -.87623    
  22  Prefactor     .86727        .11502        .17676E-03   -.97294    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.75777e-09
Minuit parameter uncertainties:
  1  0.211065
  2  3.9745
  3  8.03603e-05
  4  3.80461e-05
  5  5.95262
  6  28.6725
  7  0.000182019
  8  2.80105
  9  8.73464e-05
  10  4.16611e-05
  11  1.62526e-06
  12  45.9495
  13  9.99933
  14  1.47802
  15  20.0914
  16  131.588
  17  0.000744437
  18  1.36919e-05
  19  2.24562e-05
  20  4.65004e-06
  21  0.274166
  22  0.115049
Done.

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

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  2.934e+01  4.595e+01  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  2.059e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  8.673e-01  1.150e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.167e+00  2.742e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.57
Ra Dec: 238.010 8.842
Photon Flux Upper Limit: 8.50e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.40e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/532817/likelihoodResults_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8288.41376697
delta logL = 0.570625584272

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8288.41325387
delta logL = 0.571138679403

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.3392       1.0000         .10000E-03   10000.    
     2 'Index     '    3.4581       1.0000          .0000       10.000    
     3 'Normalizat'    1.0704       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .89241       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5020E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   8288.413     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      332 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.2910        94.634        .43482E-02    .10913E-02
   2  Index         3.4627        2.6129        .86469E-01    .44191E-03
   3  Normalizat    1.0703        .81703E-01    .83799E-01   -.13850E-03
   4  Prefactor     .89251        .31965E-01    .44908E-01   -.18176E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.29101
  Index      = 3.46266
  Normalizat = 1.07026
  Prefactor  = 0.892507
 **********
 **   18 **HESSE 
 **********

 FCN=   8288.413     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      363 TOTAL
                     EDM=   .44E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.2910        164.90        .16361E-03   -1.5248    
   2  Index         3.4627        3.9066        .48623E-02   -.31253    
   3  Normalizat    1.0703        .26978        .37103E-03   -.90712    
   4  Prefactor     .89251        .10769        .17441E-03   -.96403    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.36456e-09
Minuit parameter uncertainties:
  1  59.2544
  2  4.58337
  3  0.270124
  4  0.107716
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/532817': 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): 102
logL (Free Index) = 8288.41324502
delta logL = 0.571147536883

Extracting fit parameters...

4FGL J1552.0+0850
   Spectrum: PowerLaw
249    Prefactor:  5.291e+00  5.925e+01  1.000e-04  1.000e+04 ( 1.000e-14)
250        Index:  3.463e+00  4.583e+00  0.000e+00  1.000e+01 (-1.000e+00)
251        Scale:  2.194e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
499    Prefactor:  8.925e-01  1.077e-01  0.000e+00  1.000e+01 ( 1.000e+00)
500        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
501        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
498   Normalization:  1.070e+00  2.701e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.84
Ra Dec: 238.010 8.842
Photon Index (Free Index): 3.46 +/- 4.58
Photon Flux (Free Index): 9.50e-08 +/- 1.32e-07
Energy Flux (Free Index): 1.60e-05 +/- 1.34e-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/532817/cmap_HighResolution_671414401_671673601_4FGL_J1552.0+0850_daily_bin1667.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.40e-03', comment='SUCCESS', energy_flux2='1.60e-05', dlogl='5.71e-01', photon_flux2='9.50e-08', job_status='DONE', time_completed='2022-04-15 03:52:54.117513', photon_index_error2='4.58', photon_index2='3.46', ts='0.57', fit_tolerance='1e-08', GAL='0.87', photon_index_error='0.00', photon_flux_upper_limit='8.50e-08', energy_flux_error2='1.34e-05', EG='1.17', time_epoch_completed='1650019974.12', return_code='0', job_id='532817', GAL2='0.89', EG2='1.07', return_code2='102', photon_flux_error2='1.32e-07', ts2='1.84', photon_index='2.06' WHERE bin_id='1667' AND source_name='4FGL J1552.0+0850' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Apr 15 03:52:54 PDT 2022

-----------------------------------------------------------
Sender: LSF System <lsf@bullet0189>
Subject: Job 478194: <4FGL_J1552.0+0850_daily_bin1667> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 00:07:38 2022
Job was executed on host(s) <bullet0189>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:29:58 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:29:58 2022
Terminated at Fri Apr 15 03:41:08 2022
Results reported at Fri Apr 15 03:41:08 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin1667 238.01 8.8419 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1552.0+0850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   570.30 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             268.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   669 sec.
    Turnaround time :                            12810 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 532817: <4FGL_J1552.0+0850_daily_bin1667> in cluster <slac> Done

Job <4FGL_J1552.0+0850_daily_bin1667> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Apr 15 03:40:11 2022
Job was executed on host(s) <bullet0031>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Apr 15 03:40:12 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Apr 15 03:40:12 2022
Terminated at Fri Apr 15 03:52:55 2022
Results reported at Fri Apr 15 03:52:55 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1552.0+0850_daily_bin1667 238.01 8.8419 671414401 671673601 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1552.0+0850 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   704.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             285.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   762 sec.
    Turnaround time :                            764 sec.

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

