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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1751
RA = 214.894, Dec = 38.3657
tmin = 693187201, tmax = 693446401
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='79152', job_status='RUN', time_executed='2022-12-23 00:48:10.184814', time_epoch_executed='1671785290.18' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1751'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/79152

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/79152/ft1_4FGL_J1419.5+3821_daily_bin1751.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/79152/ft1_4FGL_J1419.5+3821_daily_bin1751.fits outfile=/scratch/kocevski/79152/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1751.fits ra=214.894 dec=38.3657 rad=12.0 tmin=693187201.0 tmax=693446401.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.64
user 3.42
sys 0.21

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.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/79152/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1751.fits evtable="EVENTS" outfile="/scratch/kocevski/79152/ft1_filtered_4FGL_J1419.5+3821_daily_bin1751.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.51
user 0.35
sys 0.15

Number of photons that the gtmktime cut: 589

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/79152/ft1_filtered_4FGL_J1419.5+3821_daily_bin1751.fits" evtable="EVENTS" scfile=/scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits sctable="SC_DATA" outfile=/scratch/kocevski/79152/ltcube_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.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/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits
.....................!
real 11.89
user 11.51
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/79152/ft1_filtered_4FGL_J1419.5+3821_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits sctable="SC_DATA" expcube=/scratch/kocevski/79152/ltcube_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.fits outfile=/scratch/kocevski/79152/expmap_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.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/79152/ltcube_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.fits
.....................!
real 192.36
user 187.26
sys 4.79

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 J1419.5+3821 @ 214.894 38.3657

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/79152/ft1_filtered_4FGL_J1419.5+3821_daily_bin1751.fits scfile=/scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits outfile=/scratch/kocevski/79152/cmap_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.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=214.894 yref=38.3657 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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/79152/ft1_filtered_4FGL_J1419.5+3821_daily_bin1751.fits scfile=/scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits outfile=/scratch/kocevski/79152/cmap_HighResolution_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.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=214.894 yref=38.3657 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.54
user 0.37
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/79152/ft1_filtered_4FGL_J1419.5+3821_daily_bin1751.fits evtable="EVENTS" scfile=/scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/79152/Model_4FGL_J1419.5+3821_daily_bin1751.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/79152/ft1_filtered_4FGL_J1419.5+3821_daily_bin1751.fits.....................!
real 49.26
user 47.88
sys 1.29

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/79152/ft1_filtered_4FGL_J1419.5+3821_daily_bin1751.fits', '/scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits', expMap='/scratch/kocevski/79152/expmap_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.fits', expCube='/scratch/kocevski/79152/ltcube_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/79152/Model_4FGL_J1419.5+3821_daily_bin1751.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1419.5+3821'

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  4.993e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.472e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/79152/ft1_filtered_4FGL_J1419.5+3821_daily_bin1751.fits
Spacecraft file(s): /scratch/kocevski/79152/ft2_4FGL_J1419.5+3821_daily_bin1751.fits
Exposure map: /scratch/kocevski/79152/expmap_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.fits
Exposure cube: /scratch/kocevski/79152/ltcube_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/79152/Model_4FGL_J1419.5+3821_daily_bin1751.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) = 6277.13823327

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .56563E-01   1.0000          .0000       .10000E+07
     2 'norm      '    .99920E-09   1.0000          .0000       .10000E+07
     3 'Prefactor '    5.0915       1.0000          .0000       .10000E+07
     4 'norm      '    5.6139       1.0000          .0000       .10000E+07
     5 'Prefactor '    53.366       1.0000          .0000       .10000E+07
     6 'Prefactor '    .17509E-02   1.0000          .0000       .10000E+07
     7 'Prefactor '    10.371       1.0000          .0000       .10000E+07
     8 'norm      '    5.5124       1.0000          .0000       .10000E+07
     9 'Prefactor '    .31175E-02   1.0000          .0000       .10000E+07
    10 'Prefactor '    .15036E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    38.019       1.0000          .0000       .10000E+07
    12 'norm      '    .31716E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .85663E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    111.53       1.0000          .0000       .10000E+07
    15 'norm      '    .16934E-04   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10422E-02   1.0000          .0000       .10000E+07
    17 'Prefactor '    7.0870       1.0000          .0000       .10000E+07
    18 'norm      '    .18858       1.0000          .0000       .10000E+07
    19 'Prefactor '    4.8631       1.0000          .0000       .10000E+07
    20 'Prefactor '    .15975E-01   1.0000          .0000       .10000E+07
    21 'Normalizat'    .75463       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.2750       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6277.127     FROM MIGRAD    STATUS=CONVERGED    160 CALLS     1805 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .70499E-08    29.104       -.49316E-07** at limit **
   2  norm           .0000        .41780       -.11231E-06** at limit **
   3  Prefactor     5.0869        3.7058       -.12948E-06   -.36945E-02
   4  norm          5.5985        9.1043        .71425E-07   -.60710E-02
   5  Prefactor     53.294        2.1585       -.16023E-08   -.30481E-01
   6  Prefactor     .33307E-09    4.7671       -.92478E-07** at limit **
   7  Prefactor     10.362        1.4751       -.94764E-08   -.74720E-02
   8  norm          5.4946        4.0903       -.43500E-07   -.52486E-03
   9  Prefactor     .18335E-06    12.709       -.27596E-06** at limit **
  10  Prefactor     .46740E-07    7.0918       -.19639E-06** at limit **
  11  Prefactor     37.945        7.0980        .24755E-08    .19926E-03
  12  norm          .11102E-09    3.6828       -.18420E-06** at limit **
  13  norm          .13756E-06    7.8226       -.33658E-06** at limit **
  14  Prefactor     112.13        44.896       -.92574E-07   -.72625E-01
  15  norm          .77660E-07    10.740       -.67283E-08** at limit **
  16  Prefactor     .42744E-08    7.7106        .17073E-06** at limit **
  17  Prefactor     7.1965        7.6151        .12117E-07   -.32531E-02
  18  norm          .18360        1.6630       -.26381E-06** at limit **
  19  Prefactor     4.8843        9.5950        .88591E-07    .95087E-01
  20  Prefactor     .45900E-03    121.05        .10156E-05** at limit **
  21  Normalizat    .75490        .20652        .65386E-06    .10251E-04
  22  Prefactor     1.2746        .24329        .61327E-06    .21642E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.04992e-09
  norm       = 0
  Prefactor  = 5.08687
  norm       = 5.59852
  Prefactor  = 53.2944
  Prefactor  = 3.33067e-10
  Prefactor  = 10.3616
  norm       = 5.49462
  Prefactor  = 1.83353e-07
  Prefactor  = 4.67404e-08
  Prefactor  = 37.9452
  norm       = 1.11022e-10
  norm       = 1.37557e-07
  Prefactor  = 112.131
  norm       = 7.76601e-08
  Prefactor  = 4.27436e-09
  Prefactor  = 7.1965
  norm       = 0.183603
  Prefactor  = 4.88426
  Prefactor  = 0.000458998
  Normalizat = 0.754903
  Prefactor  = 1.27458
 **********
 **   18 **HESSE 
 **********

 FCN=   6277.127     FROM HESSE     STATUS=OK           396 CALLS     2201 TOTAL
                     EDM=   .60E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .70499E-08    28.863        .15288E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm           .0000        .41503        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.0869        3.7097        .44535E-03   -1.5663    
   4  norm          5.5985        9.1135        .42375E-03   -1.5661    
   5  Prefactor     53.294        54.511        .13690E-03   -1.5562    
   6  Prefactor     .33307E-09    4.7504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     10.362        18.502        .31089E-03   -1.5644    
   8  norm          5.4946        4.0929        .42770E-03   -1.5661    
   9  Prefactor     .18335E-06    13.400        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .46740E-07    16.881        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     37.945        7.1230        .16220E-03   -1.5585    
  12  norm          .11102E-09    3.6842        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .13756E-06    17.208        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     112.13        46.841        .94695E-04   -1.5496    
  15  norm          .77660E-07    17.963        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .42744E-08    7.7113        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.1965        7.9084        .37658E-03   -1.5654    
  18  norm          .18360        1.1166        .27222E-02   -1.5699    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     4.8843        13.602        .45591E-03   -1.5664    
  20  Prefactor     .45900E-03    64.023        .21762E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .75490        .17688        .43015E-01   -1.0176    
  22  Prefactor     1.2746        .20391        .57905E-01   -.84066    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.01732e-07
Minuit parameter uncertainties:
  1  0.000903232
  2  6.70654e-06
  3  3.70974
  4  9.11349
  5  54.5111
  6  7.99044e-05
  7  18.5025
  8  4.09288
  9  0.00313498
  10  0.00177671
  11  7.12298
  12  4.34393e-05
  13  0.00307686
  14  46.8416
  15  0.00236243
  16  0.000363695
  17  7.90846
  18  0.905567
  19  13.602
  20  0.342853
  21  0.177018
  22  0.204038
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.834e-07  3.135e-03  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  2.472e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.275e+00  2.040e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  7.549e-01  1.770e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 214.894 38.366
Photon Flux Upper Limit: 6.71e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.21e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/79152/likelihoodResults_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.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): 102
logL (Free Index) = 6277.16429416
delta logL = -0.0377537433069

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6276.64111848
delta logL = 0.485421931875

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10596       1.0000          .0000       .10000E+07
     2 'Index     '    5.0029       1.0000          .0000       10.000    
     3 'Normalizat'    .69112       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3254       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5790E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6276.641     FROM MIGRAD    STATUS=CONVERGED     58 CALLS      260 TOTAL
                     EDM=   .92E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10556        1.9328        .61327E-03** at limit **
   2  Index         5.0062        2.8619        .11306        .17628E-03
   3  Normalizat    .69112        .33189E-01    .63242E-01    .25196E-04
   4  Prefactor     1.3252        .40204E-01    .56955E-01   -.11112E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.105555
  Index      = 5.00624
  Normalizat = 0.691116
  Prefactor  = 1.32518
 **********
 **   18 **HESSE 
 **********

 FCN=   6276.641     FROM HESSE     STATUS=NOT POSDEF    35 CALLS      295 TOTAL
                     EDM=   .11E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10556        6.1975        .28305E-04   -1.5701    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         5.0062        7.4716        .62035E-02    .12477E-02
   3  Normalizat    .69112        .13708        .27978E-03   -1.0424    
   4  Prefactor     1.3252        .16337        .25184E-03   -.82561    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.14276e-11
Minuit parameter uncertainties:
  1  1.61763
  2  7.0657
  3  0.137144
  4  0.163437
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/79152': 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) = 6276.64111272
delta logL = 0.485427692887

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.056e-01  1.618e+00  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  5.006e+00  7.066e+00  0.000e+00  1.000e+01 (-1.000e+00)
287        Scale:  1.090e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
576    Prefactor:  1.325e+00  1.634e-01  0.000e+00  1.000e+01 ( 1.000e+00)
577        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
578        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
575   Normalization:  6.911e-01  1.371e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.05
Ra Dec: 214.894 38.366
Photon Index (Free Index): 5.01 +/- 7.07
Photon Flux (Free Index): 4.14e-08 +/- 4.32e-08
Energy Flux (Free Index): 5.50e-06 +/- 7.04e-06

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/79152/cmap_HighResolution_693187201_693446401_4FGL_J1419.5+3821_daily_bin1751.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.21e-03', comment='SUCCESS', energy_flux2='5.50e-06', dlogl='4.85e-01', photon_flux2='4.14e-08', job_status='DONE', time_completed='2022-12-23 00:57:57.104063', photon_index_error2='7.07', photon_index2='5.01', ts='-0.00', fit_tolerance='1e-08', GAL='1.27', photon_index_error='0.00', photon_flux_upper_limit='6.71e-08', energy_flux_error2='7.04e-06', EG='0.75', time_epoch_completed='1671785877.1', return_code='0', job_id='79152', GAL2='1.33', EG2='0.69', return_code2='102', photon_flux_error2='4.32e-08', ts2='1.05', photon_index='2.47' WHERE bin_id='1751' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Dec 23 00:57:57 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0216>
Subject: Job 79152: <4FGL_J1419.5+3821_daily_bin1751> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1751> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Dec 23 00:45:31 2022
Job was executed on host(s) <bullet0216>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Dec 23 00:45:32 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Dec 23 00:45:32 2022
Terminated at Fri Dec 23 00:57:57 2022
Results reported at Fri Dec 23 00:57:57 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1751 214.894 38.3657 693187201 693446401 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1419.5+3821 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   589.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             276.08 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   745 sec.
    Turnaround time :                            746 sec.

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

