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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1756
RA = 214.894, Dec = 38.3657
tmin = 694483201, tmax = 694742401
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='15824', job_status='RUN', time_executed='2023-01-07 01:02:34.075740', time_epoch_executed='1673082154.08' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1756'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/15824

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/15824/ft1_4FGL_J1419.5+3821_daily_bin1756.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/15824/ft2_4FGL_J1419.5+3821_daily_bin1756.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/15824/ft1_4FGL_J1419.5+3821_daily_bin1756.fits outfile=/scratch/kocevski/15824/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1756.fits ra=214.894 dec=38.3657 rad=12.0 tmin=694483201.0 tmax=694742401.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.18
user 2.74
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/15824/ft2_4FGL_J1419.5+3821_daily_bin1756.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/15824/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1756.fits evtable="EVENTS" outfile="/scratch/kocevski/15824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1756.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.17

Number of photons that the gtmktime cut: 1008

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/15824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1756.fits evtable="EVENTS" scfile=/scratch/kocevski/15824/ft2_4FGL_J1419.5+3821_daily_bin1756.fits sctable="SC_DATA" expcube=/scratch/kocevski/15824/ltcube_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.fits outfile=/scratch/kocevski/15824/expmap_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.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/15824/ltcube_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.fits
.....................!
real 192.10
user 186.59
sys 5.05

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/15824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1756.fits scfile=/scratch/kocevski/15824/ft2_4FGL_J1419.5+3821_daily_bin1756.fits outfile=/scratch/kocevski/15824/cmap_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.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.56
user 0.38
sys 0.17

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/15824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1756.fits scfile=/scratch/kocevski/15824/ft2_4FGL_J1419.5+3821_daily_bin1756.fits outfile=/scratch/kocevski/15824/cmap_HighResolution_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.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.57
user 0.41
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/15824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1756.fits', '/scratch/kocevski/15824/ft2_4FGL_J1419.5+3821_daily_bin1756.fits', expMap='/scratch/kocevski/15824/expmap_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.fits', expCube='/scratch/kocevski/15824/ltcube_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/15824/Model_4FGL_J1419.5+3821_daily_bin1756.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/15824/ft1_filtered_4FGL_J1419.5+3821_daily_bin1756.fits
Spacecraft file(s): /scratch/kocevski/15824/ft2_4FGL_J1419.5+3821_daily_bin1756.fits
Exposure map: /scratch/kocevski/15824/expmap_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.fits
Exposure cube: /scratch/kocevski/15824/ltcube_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/15824/Model_4FGL_J1419.5+3821_daily_bin1756.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) = 10712.6549086

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .81525E-03   1.0000          .0000       .10000E+07
     2 'norm      '    .85287       1.0000          .0000       .10000E+07
     3 'Prefactor '    .71136E-03   1.0000          .0000       .10000E+07
     4 'norm      '    4.0026       1.0000          .0000       .10000E+07
     5 'Prefactor '    105.35       1.0000          .0000       .10000E+07
     6 'Prefactor '    .30087E-07   1.0000          .0000       .10000E+07
     7 'Prefactor '    .39754E-02   1.0000          .0000       .10000E+07
     8 'norm      '    1.9350       1.0000          .0000       .10000E+07
     9 'Prefactor '    .35086E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .52902E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    53.466       1.0000          .0000       .10000E+07
    12 'norm      '    .51075E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .74246E-06   1.0000          .0000       .10000E+07
    14 'Prefactor '    10.783       1.0000          .0000       .10000E+07
    15 'norm      '    .12254E-03   1.0000          .0000       .10000E+07
    16 'Prefactor '    .10273       1.0000          .0000       .10000E+07
    17 'Prefactor '    5.5683       1.0000          .0000       .10000E+07
    18 'norm      '    .33273       1.0000          .0000       .10000E+07
    19 'Prefactor '    .89813       1.0000          .0000       .10000E+07
    20 'Prefactor '    .50532E-02   1.0000          .0000       .10000E+07
    21 'Normalizat'    .88073       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1197       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=   10712.65     FROM MIGRAD    STATUS=CONVERGED    140 CALLS     1747 TOTAL
                     EDM=   .11E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  7.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .29976E-08    13.992       -.50267E-05** at limit **
   2  norm          .85268        .65219        .59339E-07    .28220E-02
   3  Prefactor     .22760E-08    2.9875       -.18392E-05** at limit **
   4  norm          4.0084        2.4177        .10092E-05   -.11420E-01
   5  Prefactor     105.76        50.282        .23817E-05    .40176E-04
   6  Prefactor      .0000        1.3385        .20197E-06** at limit **
   7  Prefactor     .52736E-08    15.634       -.99580E-06** at limit **
   8  norm          1.9399        2.8206       -.15466E-06    .71508E-03
   9  Prefactor     .34972E-08    3.2165        .17952E-05** at limit **
  10  Prefactor     .11102E-09    4.7057       -.12278E-06** at limit **
  11  Prefactor     53.419        5.8491       -.19082E-07   -.75132E-03
  12  norm          .11879E-07    1.6081        .76935E-06** at limit **
  13  norm           .0000        .97249        .81263E-06** at limit **
  14  Prefactor     10.809        1.7037        .10008E-06    .27605E-02
  15  norm          .55511E-10    2.3580       -.29958E-06** at limit **
  16  Prefactor     .37137E-07    32.947        .85749E-05** at limit **
  17  Prefactor     5.5508        4.9896        .22089E-06    .20929E-03
  18  norm          .33356        .78695       -.22427E-06    .16363E-02
  19  Prefactor     .83625        1.8745        .61002E-06   -.12758E-01
  20  Prefactor      .0000        11.231        .54155E-06** at limit **
  21  Normalizat    .88117        .15116        .33592E-04    .53760E-04
  22  Prefactor     1.1197        .17716       -.32483E-04    .71810E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.9976e-09
  norm       = 0.852682
  Prefactor  = 2.27596e-09
  norm       = 4.00839
  Prefactor  = 105.759
  Prefactor  = 0
  Prefactor  = 5.27356e-09
  norm       = 1.93994
  Prefactor  = 3.4972e-09
  Prefactor  = 1.11022e-10
  Prefactor  = 53.4194
  norm       = 1.18794e-08
  norm       = 0
  Prefactor  = 10.8091
  norm       = 5.55112e-11
  Prefactor  = 3.7137e-08
  Prefactor  = 5.55075
  norm       = 0.333563
  Prefactor  = 0.83625
  Prefactor  = 0
  Normalizat = 0.881166
  Prefactor  = 1.11966
 **********
 **   18 **HESSE 
 **********

 FCN=   10712.65     FROM HESSE     STATUS=OK           392 CALLS     2139 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .29976E-08    14.198        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .85268        .65266        .49074E-03   -1.5689    
   3  Prefactor     .22760E-08    3.8623        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.0084        9.7101        .50385E-03   -1.5668    
   5  Prefactor     105.76        50.279        .97433E-04   -1.5502    
   6  Prefactor      .0000        1.3361        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .52736E-08    16.175        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.9399        2.8417        .74623E-03   -1.5680    
   9  Prefactor     .34972E-08    3.6617        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .11102E-09    4.7181        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     53.419        5.8634        .13677E-03   -1.5562    
  12  norm          .11879E-07    3.5895        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        .97265        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     10.809        17.712        .30486E-03   -1.5642    
  15  norm          .55511E-10    2.3618        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .37137E-07    6.2045        .81556E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.5508        5.2343        .42551E-03   -1.5661    
  18  norm          .33356        .77892        .30542E-02   -1.5696    
  19  Prefactor     .83625        20.372        .45890E-03   -1.5690    
  20  Prefactor      .0000        11.240        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .88117        .12814        .44655E-01   -.97125    
  22  Prefactor     1.1197        .14803        .59673E-01   -.88841    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10367e-08
Minuit parameter uncertainties:
  1  0.00041105
  2  0.652657
  3  0.000187873
  4  9.71011
  5  50.2794
  6  8.95548e-07
  7  0.000584938
  8  2.84171
  9  0.000226397
  10  4.19081e-05
  11  5.86337
  12  0.000412916
  13  6.25629e-06
  14  17.7122
  15  1.80654e-05
  16  0.00096033
  17  5.23426
  18  0.778925
  19  8.2549
  20  2.07707e-05
  21  0.12818
  22  0.148081
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  3.497e-09  2.264e-04  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.120e+00  1.481e-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:  8.812e-01  1.282e-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: 3.83e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.97e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/15824/likelihoodResults_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.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) = 10712.6614764
delta logL = -0.0110781121548

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 10712.6503986
delta logL = -2.65905327979e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .14125E-05   1.0000          .0000       .10000E+07
     2 'Index     '    2.6134       1.0000          .0000       10.000    
     3 'Normalizat'    .88112       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1197       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.
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10712.65     FROM MIGRAD    STATUS=CONVERGED     49 CALLS      231 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        .91736        .42118E-03** at limit **
   2  Index         .75295        .60555       -.91905E-04     .0000    
   3  Normalizat    .88117        1.2173        .30456E-05   -.53908E-03
   4  Prefactor     1.1197        1.1368        .64865E-05   -.42173E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.752954
  Normalizat = 0.881165
  Prefactor  = 1.11966
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   10712.65     FROM HESSE     STATUS=FAILED         9 CALLS      240 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        .91736        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .52734E-02    .86103       -.91905E-04   -1.0149    
   3  Normalizat    .88117        1.2173        .30456E-05   -.97125    
   4  Prefactor     1.1197        1.1368        .64865E-05   -.88841    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.25095e-10
Minuit parameter uncertainties:
  1  7.5426e-06
  2  0.610995
  3  1.25875
  4  1.163
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/15824': 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): 101
logL (Free Index) = 10712.6503983
delta logL = 3.91082721762e-10

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  7.543e-06  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  7.530e-01  6.110e-01  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.120e+00  1.163e+00  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:  8.812e-01  1.259e+00  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 214.894 38.366

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/15824/cmap_HighResolution_694483201_694742401_4FGL_J1419.5+3821_daily_bin1756.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.97e-03', job_status='DONE', photon_flux_upper_limit='3.83e-08', time_completed='2023-01-07 01:15:31.506005', job_id='15824', GAL2='1.12', fit_tolerance='1e-08', EG2='0.88', EG='0.88', time_epoch_completed='1673082931.51', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.12', dlogl='3.91e-10', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1756' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Sat Jan  7 01:15:31 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 15824: <4FGL_J1419.5+3821_daily_bin1756> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1756> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sat Jan  7 01:00:15 2023
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Sat Jan  7 01:00:55 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sat Jan  7 01:00:55 2023
Terminated at Sat Jan  7 01:15:32 2023
Results reported at Sat Jan  7 01:15:32 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1756 214.894 38.3657 694483201 694742401 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 :                                   779.33 sec.
    Max Memory :                                 1148 MB
    Average Memory :                             342.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   876 sec.
    Turnaround time :                            917 sec.

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

