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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1769
RA = 214.894, Dec = 38.3657
tmin = 697852801, tmax = 698112001
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='435942', job_status='RUN', time_executed='2023-02-15 00:52:28.196373', time_epoch_executed='1676451148.2' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1769'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/435942

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/435942/ft1_4FGL_J1419.5+3821_daily_bin1769.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/435942/ft2_4FGL_J1419.5+3821_daily_bin1769.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/435942/ft1_4FGL_J1419.5+3821_daily_bin1769.fits outfile=/scratch/kocevski/435942/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1769.fits ra=214.894 dec=38.3657 rad=12.0 tmin=697852801.0 tmax=698112001.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 4.40
user 4.18
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/435942/ft2_4FGL_J1419.5+3821_daily_bin1769.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/435942/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1769.fits evtable="EVENTS" outfile="/scratch/kocevski/435942/ft1_filtered_4FGL_J1419.5+3821_daily_bin1769.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.48
user 0.34
sys 0.13

Number of photons that the gtmktime cut: 534

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/435942/ft1_filtered_4FGL_J1419.5+3821_daily_bin1769.fits" evtable="EVENTS" scfile=/scratch/kocevski/435942/ft2_4FGL_J1419.5+3821_daily_bin1769.fits sctable="SC_DATA" outfile=/scratch/kocevski/435942/ltcube_697852801_698112001_4FGL_J1419.5+3821_daily_bin1769.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/435942/ft2_4FGL_J1419.5+3821_daily_bin1769.fits
.....................!
real 11.96
user 11.66
sys 0.27

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/435942/ft1_filtered_4FGL_J1419.5+3821_daily_bin1769.fits evtable="EVENTS" scfile=/scratch/kocevski/435942/ft2_4FGL_J1419.5+3821_daily_bin1769.fits sctable="SC_DATA" expcube=/scratch/kocevski/435942/ltcube_697852801_698112001_4FGL_J1419.5+3821_daily_bin1769.fits outfile=/scratch/kocevski/435942/expmap_697852801_698112001_4FGL_J1419.5+3821_daily_bin1769.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/435942/ltcube_697852801_698112001_4FGL_J1419.5+3821_daily_bin1769.fits
.....................!
real 189.33
user 185.04
sys 3.99

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/435942/ft1_filtered_4FGL_J1419.5+3821_daily_bin1769.fits scfile=/scratch/kocevski/435942/ft2_4FGL_J1419.5+3821_daily_bin1769.fits outfile=/scratch/kocevski/435942/cmap_697852801_698112001_4FGL_J1419.5+3821_daily_bin1769.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/435942/ft1_filtered_4FGL_J1419.5+3821_daily_bin1769.fits scfile=/scratch/kocevski/435942/ft2_4FGL_J1419.5+3821_daily_bin1769.fits outfile=/scratch/kocevski/435942/cmap_HighResolution_697852801_698112001_4FGL_J1419.5+3821_daily_bin1769.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.53
user 0.39
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.372       1.0000          .0000       .10000E+07
     2 'norm      '    .18665E-04   1.0000          .0000       .10000E+07
     3 'Prefactor '    7.5092       1.0000          .0000       .10000E+07
     4 'norm      '    .14626E-02   1.0000          .0000       .10000E+07
     5 'Prefactor '    54.280       1.0000          .0000       .10000E+07
     6 'Prefactor '    .34551E-05   1.0000          .0000       .10000E+07
     7 'Prefactor '    1.2603       1.0000          .0000       .10000E+07
     8 'norm      '    2.3937       1.0000          .0000       .10000E+07
     9 'Prefactor '    .23711E-03   1.0000          .0000       .10000E+07
    10 'Prefactor '    .24161E-02   1.0000          .0000       .10000E+07
    11 'Prefactor '    13.281       1.0000          .0000       .10000E+07
    12 'norm      '    .47434E-03   1.0000          .0000       .10000E+07
    13 'norm      '    .10240E-03   1.0000          .0000       .10000E+07
    14 'Prefactor '    379.47       1.0000          .0000       .10000E+07
    15 'norm      '    .24367E-02   1.0000          .0000       .10000E+07
    16 'Prefactor '    10.234       1.0000          .0000       .10000E+07
    17 'Prefactor '    .39727E-05   1.0000          .0000       .10000E+07
    18 'norm      '    .51120E-06   1.0000          .0000       .10000E+07
    19 'Prefactor '    .16416       1.0000          .0000       .10000E+07
    20 'Prefactor '    .55785E-05   1.0000          .0000       .10000E+07
    21 'Normalizat'    .94969       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .80089       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=   5722.575     FROM MIGRAD    STATUS=CONVERGED    165 CALLS     1794 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.722        23.288       -.93466E-07    .23172E-02
   2  norm           .0000        1.5935       -.31645E-07** at limit **
   3  Prefactor     7.5064        4.6684        .66386E-08   -.24703E-03
   4  norm          .34972E-08    3.3568       -.41677E-07** at limit **
   5  Prefactor     57.613        59.431        .16272E-06   -.89317E-01
   6  Prefactor     .24702E-07    4.2674       -.96199E-07** at limit **
   7  Prefactor     .98761        21.193       -.12922E-06    .24772E-01
   8  norm          2.3913        3.0902        .42843E-07    .23655E-02
   9  Prefactor     .13267E-07    4.6203       -.36542E-07** at limit **
  10  Prefactor     .80491E-08    5.9864        .70048E-07** at limit **
  11  Prefactor     13.323        4.3644       -.16800E-07   -.51964E-02
  12  norm          .38858E-08    3.7530        .61196E-07** at limit **
  13  norm           .0000        2.1013        .14426E-07** at limit **
  14  Prefactor     381.36        32.429        .17206E-07    .49248    
  15  norm          .10436E-07    6.2074        .17452E-06** at limit **
  16  Prefactor     10.161        2.9395       -.18399E-07   -.51119E-02
  17  Prefactor      .0000        2.1817        .15049E-07** at limit **
  18  norm           .0000        .97209        .11347E-08** at limit **
  19  Prefactor     .63277E-06    28.385        .38211E-06** at limit **
  20  Prefactor     .36637E-08    20.733       -.10225E-06** at limit **
  21  Normalizat    .94838        .18692       -.10703E-05   -.55621E-03
  22  Prefactor     .80146        .21493       -.76641E-06   -.42966E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.7222
  norm       = 0
  Prefactor  = 7.50638
  norm       = 3.4972e-09
  Prefactor  = 57.6132
  Prefactor  = 2.47025e-08
  Prefactor  = 0.987605
  norm       = 2.39129
  Prefactor  = 1.32672e-08
  Prefactor  = 8.04912e-09
  Prefactor  = 13.3227
  norm       = 3.88578e-09
  norm       = 0
  Prefactor  = 381.363
  norm       = 1.04361e-08
  Prefactor  = 10.1606
  Prefactor  = 0
  norm       = 0
  Prefactor  = 6.32772e-07
  Prefactor  = 3.66374e-09
  Normalizat = 0.948377
  Prefactor  = 0.801459
 **********
 **   18 **HESSE 
 **********

 FCN=   5722.575     FROM HESSE     STATUS=OK           386 CALLS     2180 TOTAL
                     EDM=   .34E-05    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.722        25.226        .22728E-03   -1.5619    
   2  norm           .0000        1.5478        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     7.5064        4.6711        .36574E-03   -1.5653    
   4  norm          .34972E-08    3.3605        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     57.613        69.354        .13574E-03   -1.5556    
   6  Prefactor     .24702E-07    4.2662        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .98761        21.452        .99321E-02   -1.5688    
   8  norm          2.3913        3.1112        .66165E-03   -1.5677    
   9  Prefactor     .13267E-07    4.6197        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .80491E-08    6.0655        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     13.323        4.3754        .27459E-03   -1.5635    
  12  norm          .38858E-08    3.7504        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm           .0000        2.0997        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     381.36        62.334        .51345E-04   -1.5317    
  15  norm          .10436E-07    6.4531        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     10.161        11.869        .31296E-03   -1.5644    
  17  Prefactor      .0000        2.1801        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm           .0000        .94675        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .63277E-06    27.562        .12452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .36637E-08    20.769        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .94838        .16159        .45533E-01   -.94781    
  22  Prefactor     .80146        .18134        .63160E-01   -.99675    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.39095e-06
Minuit parameter uncertainties:
  1  25.226
  2  1.12634e-05
  3  4.67113
  4  0.000216374
  5  69.3549
  6  0.000649578
  7  9.20578
  8  3.11124
  9  0.000495252
  10  0.000442437
  11  4.37541
  12  0.000241542
  13  8.48455e-06
  14  62.3341
  15  0.000519389
  16  11.8694
  17  9.46069e-06
  18  1.0798e-06
  19  0.00835229
  20  0.000551923
  21  0.161675
  22  0.181471
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.327e-08  4.953e-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:  8.015e-01  1.815e-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:  9.484e-01  1.617e-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: 4.82e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.74e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/435942/likelihoodResults_697852801_698112001_4FGL_J1419.5+3821_daily_bin1769.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) = 5722.57713208
delta logL = -0.00229999934436

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5722.57483212
delta logL = -3.83824954042e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10664E-06   1.0000          .0000       .10000E+07
     2 'Index     '    2.7400       1.0000          .0000       10.000    
     3 'Normalizat'    .94838       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .80148       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=   5722.575     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      225 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor      .0000        1.1394        .42118E-03** at limit **
   2  Index         .64152        .55319        .48542E-05     .0000    
   3  Normalizat    .94838        1.2812       -.53351E-06    .48629E-04
   4  Prefactor     .80146        1.1500        .39047E-05    .37764E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0
  Index      = 0.641521
  Normalizat = 0.948378
  Prefactor  = 0.80146
 **********
 **   18 **HESSE 
 **********
  MNHESS FAILS AND WILL RETURN DIAGONAL MATRIX. 

 FCN=   5722.575     FROM HESSE     STATUS=FAILED         9 CALLS      234 TOTAL
                     EDM=   .18E-11  STRATEGY=1  ERROR MATRIX UNCERTAINTY=100.0%

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor      .0000        1.1394        .42118E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         .11492E-04    .75404        .48542E-05   -1.0587    
   3  Normalizat    .94838        1.2812       -.53351E-06   -.94780    
   4  Prefactor     .80146        1.1500        .39047E-05   -.99675    
                               ERR DEF=  .500    
Minuit fit quality: 1   estimated distance: 1.83005e-12
Minuit parameter uncertainties:
  1  1.65958e-07
  2  0.558005
  3  1.32655
  4  1.18753
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/435942': 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) = 5722.57483208
delta logL = 1.57797330758e-09

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  0.000e+00  1.660e-07  0.000e+00  1.000e+06 ( 1.000e-13)
286        Index:  6.415e-01  5.580e-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:  8.015e-01  1.188e+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:  9.484e-01  1.327e+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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/435942/cmap_HighResolution_697852801_698112001_4FGL_J1419.5+3821_daily_bin1769.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.74e-03', job_status='DONE', photon_flux_upper_limit='4.82e-08', time_completed='2023-02-15 01:01:42.351963', job_id='435942', GAL2='0.80', fit_tolerance='1e-08', EG2='0.95', EG='0.95', time_epoch_completed='1676451702.35', return_code2='101', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='1.58e-09', ts2='0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1769' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Wed Feb 15 01:01:42 PST 2023


------------------------------------------------------------
Sender: LSF System <lsf@bullet0153>
Subject: Job 435942: <4FGL_J1419.5+3821_daily_bin1769> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1769> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Wed Feb 15 00:50:28 2023
Job was executed on host(s) <bullet0153>, in queue <medium>, as user <kocevski> in cluster <slac> at Wed Feb 15 00:50:29 2023
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Wed Feb 15 00:50:29 2023
Terminated at Wed Feb 15 01:01:42 2023
Results reported at Wed Feb 15 01:01:42 2023

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1769 214.894 38.3657 697852801 698112001 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 :                                   556.11 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             327.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   673 sec.
    Turnaround time :                            674 sec.

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

