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


Performing analysis on: 4FGL_J0420.0+0805_daily_bin1740
RA = 65.0086, Dec = 8.0999
tmin = 690336001, tmax = 690595201
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='823342', job_status='RUN', time_executed='2022-11-20 00:16:37.390164', time_epoch_executed='1668932197.39' WHERE source_name='4FGL J0420.0+0805' and cadence='daily' and bin_id='1740'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/823342

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/823342/ft1_4FGL_J0420.0+0805_daily_bin1740.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/823342/ft1_4FGL_J0420.0+0805_daily_bin1740.fits outfile=/scratch/kocevski/823342/ft1_filteredMKT_4FGL_J0420.0+0805_daily_bin1740.fits ra=65.0086 dec=8.0999 rad=12.0 tmin=690336001.0 tmax=690595201.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 2.98
user 2.77
sys 0.20

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.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/823342/ft1_filteredMKT_4FGL_J0420.0+0805_daily_bin1740.fits evtable="EVENTS" outfile="/scratch/kocevski/823342/ft1_filtered_4FGL_J0420.0+0805_daily_bin1740.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.37
sys 0.15

Number of photons that the gtmktime cut: 27

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/823342/ft1_filtered_4FGL_J0420.0+0805_daily_bin1740.fits" evtable="EVENTS" scfile=/scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits sctable="SC_DATA" outfile=/scratch/kocevski/823342/ltcube_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.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/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits
.....................!
real 17.94
user 17.53
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/823342/ft1_filtered_4FGL_J0420.0+0805_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits sctable="SC_DATA" expcube=/scratch/kocevski/823342/ltcube_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.fits outfile=/scratch/kocevski/823342/expmap_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.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/823342/ltcube_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.fits
.....................!
real 194.95
user 189.32
sys 5.14

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

Setting source of interest to:
4FGL J0420.0+0805 @ 65.0086 8.0999

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/823342/ft1_filtered_4FGL_J0420.0+0805_daily_bin1740.fits scfile=/scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits outfile=/scratch/kocevski/823342/cmap_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.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=65.0086 yref=8.0999 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.40
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/823342/ft1_filtered_4FGL_J0420.0+0805_daily_bin1740.fits scfile=/scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits outfile=/scratch/kocevski/823342/cmap_HighResolution_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.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=65.0086 yref=8.0999 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.41
sys 0.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/823342/ft1_filtered_4FGL_J0420.0+0805_daily_bin1740.fits evtable="EVENTS" scfile=/scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/823342/Model_4FGL_J0420.0+0805_daily_bin1740.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/823342/ft1_filtered_4FGL_J0420.0+0805_daily_bin1740.fits...........................!
real 17.71
user 16.37
sys 1.27

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/823342/ft1_filtered_4FGL_J0420.0+0805_daily_bin1740.fits', '/scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits', expMap='/scratch/kocevski/823342/expmap_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.fits', expCube='/scratch/kocevski/823342/ltcube_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/823342/Model_4FGL_J0420.0+0805_daily_bin1740.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0420.0+0805'

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  2.735e+00  0.000e+00  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/823342/ft1_filtered_4FGL_J0420.0+0805_daily_bin1740.fits
Spacecraft file(s): /scratch/kocevski/823342/ft2_4FGL_J0420.0+0805_daily_bin1740.fits
Exposure map: /scratch/kocevski/823342/expmap_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.fits
Exposure cube: /scratch/kocevski/823342/ltcube_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/823342/Model_4FGL_J0420.0+0805_daily_bin1740.xml
Optimizer: MINUIT
Statistic: UNBINNED

Performing an iterative likelihood fit...

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 373.575030831

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 370.257058417

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .38141E-05   1.0000          .0000       .10000E+07
     2 'Prefactor '    385.24       1.0000          .0000       .10000E+07
     3 'Prefactor '    .34352E-03   1.0000          .0000       .10000E+07
     4 'Prefactor '    73.914       1.0000          .0000       .10000E+07
     5 'norm      '    6.5269       1.0000          .0000       .10000E+07
     6 'Prefactor '    126.85       1.0000          .0000       .10000E+07
     7 'norm      '    .33583E-01   1.0000          .0000       .10000E+07
     8 'Prefactor '    .11752E-06   1.0000          .0000       .10000E+07
     9 'Prefactor '    .90041E-01   1.0000          .0000       .10000E+07
    10 'Prefactor '    .10305E-01   1.0000          .0000       .10000E+07
    11 'Prefactor '    2.9241       1.0000          .0000       .10000E+07
    12 'norm      '    .74940E-08   1.0000          .0000       .10000E+07
    13 'Prefactor '    14.281       1.0000          .0000       .10000E+07
    14 'norm      '    10.129       1.0000          .0000       .10000E+07
    15 'norm      '    .36188E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    .12206       1.0000          .0000       .10000E+07
    17 'Prefactor '    .36336       1.0000          .0000       .10000E+07
    18 'Prefactor '    .31394       1.0000          .0000       .10000E+07
    19 'norm      '    .14266E-07   1.0000          .0000       .10000E+07
    20 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
    21 'Prefactor '    .53451       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   370.2268     FROM MIGRAD    STATUS=CONVERGED    345 CALLS      745 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .11102E-09    100.85       -.56242E-06** at limit **
   2  Prefactor     393.25        425.24       -.17759E-05   -.62293E-04
   3  Prefactor     .94369E-09    160.80       -.48007E-06** at limit **
   4  Prefactor     73.799        74.245        .52434E-07   -.13930E-03
   5  norm          6.4982        10.538        .13956E-06    .78376E-03
   6  Prefactor     .38858E-09    6468.2       -.12451E-04** at limit **
   7  norm          .43324E-01    22.052       -.12688E-05** at limit **
   8  Prefactor      .0000        2.1895        .15755E-07** at limit **
   9  Prefactor      .0000        122.53       -.10829E-06** at limit **
  10  Prefactor      .0000        69.946        .21847E-06** at limit **
  11  Prefactor     2.9241        1.0154         .0000         .0000    
  12  norm           .0000        9.2643        .20648E-07** at limit **
  13  Prefactor     691.29        1812.8       -.30110E-05    .64105E-04
  14  norm          10.115        8.6541        .60830E-08    .25195E-03
  15  norm           .0000        158.26        .40537E-06** at limit **
  16  Prefactor      .0000        204.78        .37318E-07** at limit **
  17  Prefactor     .55511E-10    208.79        .31957E-06** at limit **
  18  Prefactor     .61062E-09    260.32       -.11134E-05** at limit **
  19  norm           .0000        4.3237        .50752E-08** at limit **
  20  Normalizat    .10000E-01    .22570        .11647E-06** at limit **
  21  Prefactor     .53573        .18398        .27455E-05    .33149E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.11022e-10
  Prefactor  = 393.248
  Prefactor  = 9.4369e-10
  Prefactor  = 73.7993
  norm       = 6.49817
  Prefactor  = 3.88578e-10
  norm       = 0.0433238
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 0
  Prefactor  = 2.92409
  norm       = 0
  Prefactor  = 691.285
  norm       = 10.1155
  norm       = 0
  Prefactor  = 0
  Prefactor  = 5.55112e-11
  Prefactor  = 6.10623e-10
  norm       = 0
  Normalizat = 0.01
  Prefactor  = 0.535735
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   370.2268     FROM HESSE     STATUS=FAILED        51 CALLS      796 TOTAL
                     EDM=   .24E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .11102E-09    101.10        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     393.25        393.83        .50959E-04   -1.5311    
   3  Prefactor     .94369E-09    168.94        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     73.799        73.429        .11632E-03   -1.5536    
   5  norm          6.4982        9.5905        .39259E-03   -1.5657    
   6  Prefactor     .38858E-09    6303.1        .88795E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .43324E-01    5.0302        .16267E-02   -1.5704    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor      .0000        2.2037        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor      .0000        120.16        .14205E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor      .0000        70.051        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     62796.        62793.         .0000       -1.5674    
  12  norm           .0000        .44347E-01    .20648E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     691.29        6.9594       -.30110E-05   -1.5182    
  14  norm          10.115        1.0005        .60830E-08   -1.5644    
  15  norm           .0000        .44347E-01    .40537E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor      .0000        .44696        .37318E-07   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .55511E-10    .22024        .31957E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .61062E-09    .25112       -.11134E-05   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm           .0000        .44347E-01    .50752E-08   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .10000E-01    .25767        .11647E-06   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .53573        .88005        .27455E-05   -1.1036    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 2.3916e-11
Minuit parameter uncertainties:
  1  0.000224151
  2  393.853
  3  0.000791571
  4  73.4303
  5  9.59048
  6  0.00323271
  7  0.933658
  8  1.31551e-06
  9  8.1534e-06
  10  7.42976e-05
  11  1.01542
  12  2.85325e-07
  13  6.95939
  14  1.00054
  15  2.18677e-06
  16  2.7122e-08
  17  8.28026e-06
  18  2.52299e-05
  19  9.62441e-08
  20  1.2776e-08
  21  0.904147
Done.

MINUIT Return Code (Fixed Index): 101
logL (Fixed Index) = 370.226849824

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  3.886e-10  3.233e-03  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.543e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  5.357e-01  9.041e-01  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.000e-02  1.278e-08  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.00
Ra Dec: 65.009 8.100
Photon Flux Upper Limit: 2.52e-06 ph cm-2 s-1
Energy Flux Upper Limit: 1.96e-01 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/823342/likelihoodResults_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.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) = 370.226946821
delta logL = -9.69967294964e-05

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 370.226850137
delta logL = -3.13129191909e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .32034E-02   1.0000          .0000       .10000E+07
     2 'Index     '    2.5661       1.0000          .0000       10.000    
     3 'Normalizat'    .10000E-01   1.0000         .10000E-01   10.000    
     4 'Prefactor '    .53573       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4760E+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=   370.2268     FROM MIGRAD    STATUS=CONVERGED    118 CALLS      296 TOTAL
                     EDM=   .90E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .40074E-06    18.036        .14155E-01** at limit **
   2  Index         2.3597        6.8532        .37844        .22155E-09
   3  Normalizat    .10000E-01    .24062E-05    .56115E-03** at limit **
   4  Prefactor     .53573        .49385E-03    .12729E-03   -.89316E-07
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.00735e-07
  Index      = 2.3597
  Normalizat = 0.01
  Prefactor  = 0.535735
 **********
 **   18 **HESSE 
 **********

 FCN=   370.2268     FROM HESSE     STATUS=NOT POSDEF    39 CALLS      335 TOTAL
                     EDM=   .18E-14    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .40074E-06    3.0186        .23752E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.3597        6.0226        .50000       -.55631    
   3  Normalizat    .10000E-01    .10123E-05    .11223E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .53573        .32032E-03    .50914E-05   -1.1036    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.83057e-15
Minuit parameter uncertainties:
  1  0.00219966
  2  589.724
  3  7.98542e-10
  4  0.00032032
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/823342': 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) = 370.226849824
delta logL = 4.54747350886e-13

Extracting fit parameters...

4FGL J0420.0+0805
   Spectrum: PowerLaw
192    Prefactor:  4.007e-07  2.200e-03  0.000e+00  1.000e+06 ( 1.000e-13)
193        Index:  2.360e+00  5.897e+02  0.000e+00  1.000e+01 (-1.000e+00)
194        Scale:  9.789e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
473    Prefactor:  5.357e-01  3.203e-04  0.000e+00  1.000e+01 ( 1.000e+00)
474        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
475        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
472   Normalization:  1.000e-02  7.985e-10  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.00
Ra Dec: 65.009 8.100

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/823342/cmap_HighResolution_690336001_690595201_4FGL_J0420.0+0805_daily_bin1740.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.96e-01', job_status='DONE', photon_flux_upper_limit='2.52e-06', time_completed='2022-11-20 00:22:02.816837', job_id='823342', GAL2='0.54', fit_tolerance='1e-08', EG2='0.01', EG='0.01', time_epoch_completed='1668932522.82', return_code2='102', ts='0.00', comment='SUCCESS', return_code='101', GAL='0.54', dlogl='4.55e-13', ts2='-0.00', photon_index_error='0.00', photon_index='2.54' WHERE bin_id='1740' AND source_name='4FGL J0420.0+0805' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sun Nov 20 00:22:02 PST 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0094>
Subject: Job 823341: <4FGL_J0420.0+0805_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0420.0+0805_daily_bin1740> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:35 2022
Job was executed on host(s) <bullet0094>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:15:05 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:15:05 2022
Terminated at Sun Nov 20 00:21:43 2022
Results reported at Sun Nov 20 00:21:43 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0420.0+0805_daily_bin1740 65.0086 8.0999 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0420.0+0805 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   324.00 sec.
    Max Memory :                                 309 MB
    Average Memory :                             235.07 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   398 sec.
    Turnaround time :                            968 sec.

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


------------------------------------------------------------
Sender: LSF System <lsf@bullet0272>
Subject: Job 823342: <4FGL_J0420.0+0805_daily_bin1740> in cluster <slac> Done

Job <4FGL_J0420.0+0805_daily_bin1740> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Sun Nov 20 00:05:35 2022
Job was executed on host(s) <bullet0272>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Nov 20 00:15:06 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Nov 20 00:15:06 2022
Terminated at Sun Nov 20 00:22:04 2022
Results reported at Sun Nov 20 00:22:04 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0420.0+0805_daily_bin1740 65.0086 8.0999 690336001 690595201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0420.0+0805 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   327.38 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             423.20 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   417 sec.
    Turnaround time :                            989 sec.

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

