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 83 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 make4FGLDR3xml version 01r09.
The default diffuse model files and names are for P8R3, 4FGL DRs, and the default fermitools directory locations.

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


Performing analysis on: 4FGL_J1520.5+4209_daily_bin1715
RA = 230.135, Dec = 42.16
tmin = 683856001, tmax = 684115201
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='161138', job_status='RUN', time_executed='2022-09-16 19:07:39.649519', time_epoch_executed='1663380459.65' WHERE source_name='4FGL J1520.5+4209' and cadence='daily' and bin_id='1715'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/161138

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/161138/ft1_4FGL_J1520.5+4209_daily_bin1715.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/161138/ft1_4FGL_J1520.5+4209_daily_bin1715.fits outfile=/scratch/kocevski/161138/ft1_filteredMKT_4FGL_J1520.5+4209_daily_bin1715.fits ra=230.135 dec=42.16 rad=12.0 tmin=683856001.0 tmax=684115201.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.46
user 3.25
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.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/161138/ft1_filteredMKT_4FGL_J1520.5+4209_daily_bin1715.fits evtable="EVENTS" outfile="/scratch/kocevski/161138/ft1_filtered_4FGL_J1520.5+4209_daily_bin1715.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.34
sys 0.16

Number of photons that the gtmktime cut: 546

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/161138/ft1_filtered_4FGL_J1520.5+4209_daily_bin1715.fits" evtable="EVENTS" scfile=/scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits sctable="SC_DATA" outfile=/scratch/kocevski/161138/ltcube_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.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/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits
.....................!
real 14.05
user 13.65
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/161138/ft1_filtered_4FGL_J1520.5+4209_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits sctable="SC_DATA" expcube=/scratch/kocevski/161138/ltcube_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.fits outfile=/scratch/kocevski/161138/expmap_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.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/161138/ltcube_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.fits
.....................!
real 191.77
user 186.40
sys 5.01

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

Setting source of interest to:
4FGL J1520.5+4209 @ 230.135 42.16

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/161138/ft1_filtered_4FGL_J1520.5+4209_daily_bin1715.fits scfile=/scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits outfile=/scratch/kocevski/161138/cmap_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.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.135 yref=42.16 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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/161138/ft1_filtered_4FGL_J1520.5+4209_daily_bin1715.fits scfile=/scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits outfile=/scratch/kocevski/161138/cmap_HighResolution_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.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.135 yref=42.16 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.56
user 0.38
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/161138/ft1_filtered_4FGL_J1520.5+4209_daily_bin1715.fits evtable="EVENTS" scfile=/scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/161138/Model_4FGL_J1520.5+4209_daily_bin1715.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/161138/ft1_filtered_4FGL_J1520.5+4209_daily_bin1715.fits.....................!
real 46.11
user 44.76
sys 1.25

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/161138/ft1_filtered_4FGL_J1520.5+4209_daily_bin1715.fits', '/scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits', expMap='/scratch/kocevski/161138/expmap_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.fits', expCube='/scratch/kocevski/161138/ltcube_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/161138/Model_4FGL_J1520.5+4209_daily_bin1715.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1520.5+4209'

4FGL J1520.5+4209
   Spectrum: PowerLaw
308    Prefactor:  3.393e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  2.505e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  9.357e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/161138/ft1_filtered_4FGL_J1520.5+4209_daily_bin1715.fits
Spacecraft file(s): /scratch/kocevski/161138/ft2_4FGL_J1520.5+4209_daily_bin1715.fits
Exposure map: /scratch/kocevski/161138/expmap_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.fits
Exposure cube: /scratch/kocevski/161138/ltcube_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/161138/Model_4FGL_J1520.5+4209_daily_bin1715.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) = 5905.64135846

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    17.207       1.0000          .0000       .10000E+07
     2 'Prefactor '    .27955E-02   1.0000          .0000       .10000E+07
     3 'norm      '    .14192E-02   1.0000          .0000       .10000E+07
     4 'Prefactor '    136.25       1.0000          .0000       .10000E+07
     5 'norm      '    4.5470       1.0000          .0000       .10000E+07
     6 'Prefactor '    .12107E-06   1.0000          .0000       .10000E+07
     7 'norm      '    13.665       1.0000          .0000       .10000E+07
     8 'Prefactor '    2.6223       1.0000          .0000       .10000E+07
     9 'norm      '    .80888       1.0000          .0000       .10000E+07
    10 'Prefactor '    10.911       1.0000          .0000       .10000E+07
    11 'Prefactor '    6.2514       1.0000          .0000       .10000E+07
    12 'norm      '    .60391E-05   1.0000          .0000       .10000E+07
    13 'norm      '    .47832E-04   1.0000          .0000       .10000E+07
    14 'Prefactor '    21.875       1.0000          .0000       .10000E+07
    15 'Prefactor '    .30630E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    7.2735       1.0000          .0000       .10000E+07
    17 'Prefactor '    .46166E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .30338E-03   1.0000          .0000       .10000E+07
    19 'Prefactor '    10.280       1.0000          .0000       .10000E+07
    20 'norm      '    12.915       1.0000          .0000       .10000E+07
    21 'Prefactor '    .89410E-02   1.0000          .0000       .10000E+07
    22 'Prefactor '    .27212E-05   1.0000          .0000       .10000E+07
    23 'Prefactor '    .78202E-05   1.0000          .0000       .10000E+07
    24 'Prefactor '    19.891       1.0000          .0000       .10000E+07
    25 'Normalizat'    .69436       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1740       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5905.583     FROM MIGRAD    STATUS=CONVERGED    209 CALLS     2285 TOTAL
                     EDM=   .45E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     17.271        1.9896        .10864E-06   -.20397E-01
   2  Prefactor      .0000        8.2491       -.32883E-07** at limit **
   3  norm           .0000        20.960        .36046E-06** at limit **
   4  Prefactor     137.26        89.980        .23784E-06   -.10706E-02
   5  norm          4.6052        5.8574        .28340E-06   -.59768E-03
   6  Prefactor      .0000        7.4661       -.57074E-06** at limit **
   7  norm          13.674        8.3099        .13220E-06   -.95475E-04
   8  Prefactor     2.7012        5.7222       -.50391E-06    .47699E-04
   9  norm          .80883        .90878       -.46756E-07    .21953E-03
  10  Prefactor     10.940        8.5248       -.76675E-07   -.78944E-03
  11  Prefactor     6.2649        4.3656        .19177E-06   -.28614E-03
  12  norm           .0000        .68054        .15916E-06** at limit **
  13  norm           .0000        3.0476       -.37677E-06** at limit **
  14  Prefactor     21.830        9.2657        .15340E-06   -.59415E-02
  15  Prefactor      .0000        49.058        .11578E-05** at limit **
  16  Prefactor     7.2868        3.4318       -.29956E-06    .14471E-01
  17  Prefactor     .55511E-10    3.9219        .56444E-06** at limit **
  18  norm           .0000        3.2401        .66970E-06** at limit **
  19  Prefactor     10.242        7.5771       -.22680E-06   -.36088E-04
  20  norm          12.864        15.409        .13891E-05    .47247E-02
  21  Prefactor      .0000        13.712       -.40304E-06** at limit **
  22  Prefactor     .28311E-08    30.657        .46187E-06** at limit **
  23  Prefactor     .55511E-10    3.9677       -.12267E-05** at limit **
  24  Prefactor     20.401        4.6264       -.21133E-07   -.12080E-01
  25  Normalizat    .69341        .19952       -.99766E-05   -.21535E-04
  26  Prefactor     1.1742        .21340       -.28796E-05    .15154E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 17.2709
  Prefactor  = 0
  norm       = 0
  Prefactor  = 137.258
  norm       = 4.60523
  Prefactor  = 0
  norm       = 13.6743
  Prefactor  = 2.70122
  norm       = 0.808832
  Prefactor  = 10.9399
  Prefactor  = 6.26487
  norm       = 0
  norm       = 0
  Prefactor  = 21.83
  Prefactor  = 0
  Prefactor  = 7.28684
  Prefactor  = 5.55112e-11
  norm       = 0
  Prefactor  = 10.2421
  norm       = 12.8641
  Prefactor  = 0
  Prefactor  = 2.83107e-09
  Prefactor  = 5.55112e-11
  Prefactor  = 20.4006
  Normalizat = 0.69341
  Prefactor  = 1.17421
 **********
 **   18 **HESSE 
 **********

 FCN=   5905.583     FROM HESSE     STATUS=OK           518 CALLS     2803 TOTAL
                     EDM=   .79E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     17.271        22.482        .24117E-03   -1.5625    
   2  Prefactor      .0000        8.2487        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm           .0000        20.935        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     137.26        90.006        .85678E-04   -1.5474    
   5  norm          4.6052        5.8838        .47186E-03   -1.5665    
   6  Prefactor      .0000        7.4415        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.674        8.3096        .27070E-03   -1.5634    
   8  Prefactor     2.7012        5.7516        .62954E-03   -1.5675    
   9  norm          .80883        .91021        .52276E-03   -1.5690    
  10  Prefactor     10.940        8.5491        .30306E-03   -1.5642    
  11  Prefactor     6.2649        4.3686        .40125E-03   -1.5658    
  12  norm           .0000        .67792        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        3.0238        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     21.830        10.073        .21387E-03   -1.5615    
  15  Prefactor      .0000        49.036        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.2868        18.857        .37167E-03   -1.5654    
  17  Prefactor     .55511E-10    3.9233        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .59033        .30504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     10.242        8.1415        .31226E-03   -1.5644    
  20  norm          12.864        15.530        .27848E-03   -1.5636    
  21  Prefactor      .0000        13.714        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .28311E-08    31.495        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .55511E-10    3.9658        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     20.401        27.024        .22429E-03   -1.5618    
  25  Normalizat    .69341        .17227        .42215E-01   -1.0415    
  26  Prefactor     1.1742        .17902        .50852E-01   -.87129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.86363e-08
Minuit parameter uncertainties:
  1  22.4822
  2  6.02047e-06
  3  1.1455e-06
  4  90.007
  5  5.88377
  6  3.66975e-06
  7  8.30957
  8  5.75162
  9  0.91021
  10  8.54914
  11  4.36859
  12  9.87948e-07
  13  1.73247e-05
  14  10.0729
  15  1.95519e-05
  16  18.8572
  17  3.17761e-05
  18  3.21613e-06
  19  8.14153
  20  15.5298
  21  3.08948e-05
  22  0.000594724
  23  2.87355e-05
  24  27.0246
  25  0.172409
  26  0.179107
Done.

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

Extracting fit parameters...

4FGL J1520.5+4209
   Spectrum: PowerLaw
308    Prefactor:  7.287e+00  1.886e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  2.505e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
310        Scale:  9.357e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.174e+00  1.791e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  6.934e-01  1.724e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.19
Ra Dec: 230.135 42.160
Photon Flux Upper Limit: 9.06e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.05e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/161138/likelihoodResults_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.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) = 5905.53392478
delta logL = 0.0489494968242

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5905.52675079
delta logL = 0.0561234906272

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.5150       1.0000          .0000       .10000E+07
     2 'Index     '    2.9258       1.0000          .0000       10.000    
     3 'Normalizat'    .68506       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1792       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6280E+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=   5905.527     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      246 TOTAL
                     EDM=   .60E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.5146        16.962        .17104E-04   -.27784E-03
   2  Index         2.9274        1.4869        .92146E-02    .22643E-03
   3  Normalizat    .68568        .19655        .26328E-03   -.13598E-03
   4  Prefactor     1.1787        .21265        .22442E-03   -.13817E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.51457
  Index      = 2.92738
  Normalizat = 0.685677
  Prefactor  = 1.17867
 **********
 **   18 **HESSE 
 **********

 FCN=   5905.527     FROM HESSE     STATUS=OK            25 CALLS      271 TOTAL
                     EDM=   .36E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.5146        14.940        .68416E-06   -1.5661    
   2  Index         2.9274        1.3145        .18429E-02   -.42742    
   3  Normalizat    .68568        .19677        .10531E-04   -1.0446    
   4  Prefactor     1.1787        .21278        .44883E-04   -.86990    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.61302e-11
Minuit parameter uncertainties:
  1  14.9403
  2  1.33354
  3  0.196969
  4  0.212933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/161138': 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) = 5905.5267431
delta logL = 0.056131173711

Extracting fit parameters...

4FGL J1520.5+4209
   Spectrum: PowerLaw
308    Prefactor:  5.515e+00  1.494e+01  0.000e+00  1.000e+06 ( 1.000e-13)
309        Index:  2.927e+00  1.334e+00  0.000e+00  1.000e+01 (-1.000e+00)
310        Scale:  9.357e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
625    Prefactor:  1.179e+00  2.129e-01  0.000e+00  1.000e+01 ( 1.000e+00)
626        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
627        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
624   Normalization:  6.857e-01  1.970e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.19
Ra Dec: 230.135 42.160

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/161138/cmap_HighResolution_683856001_684115201_4FGL_J1520.5+4209_daily_bin1715.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.05e-03', job_status='DONE', photon_flux_upper_limit='9.06e-08', time_completed='2022-09-16 19:18:48.569775', job_id='161138', GAL2='1.18', fit_tolerance='1e-08', EG2='0.69', EG='0.69', time_epoch_completed='1663381128.57', return_code2='0', ts='0.19', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='5.61e-02', ts2='0.31', photon_index_error='0.00', photon_index='2.50' WHERE bin_id='1715' AND source_name='4FGL J1520.5+4209' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 16 19:18:48 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0239>
Subject: Job 161138: <4FGL_J1520.5+4209_daily_bin1715> in cluster <slac> Done

Job <4FGL_J1520.5+4209_daily_bin1715> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 16 19:05:25 2022
Job was executed on host(s) <bullet0239>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 16 19:06:07 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 16 19:06:07 2022
Terminated at Fri Sep 16 19:18:49 2022
Results reported at Fri Sep 16 19:18:49 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1520.5+4209_daily_bin1715 230.135 42.16 683856001 684115201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1520.5+4209 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   671.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   761 sec.
    Turnaround time :                            804 sec.

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

