/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 43 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 make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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 = 7477
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1419.8+5423_daily_bin4
RA = 214.955, Dec = 54.3937
tmin = 240364801, tmax = 240624001
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='346448', job_status='RUN', time_executed='2021-09-09 09:41:43.658239', time_epoch_executed='1631205703.66' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='4'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/346448

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/346448/ft1_4FGL_J1419.8+5423_daily_bin4.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/346448/ft1_4FGL_J1419.8+5423_daily_bin4.fits outfile=/scratch/kocevski/346448/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin4.fits ra=214.955 dec=54.3937 rad=12.0 tmin=240364801.0 tmax=240624001.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 1.46
user 1.24
sys 0.17

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.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/346448/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin4.fits evtable="EVENTS" outfile="/scratch/kocevski/346448/ft1_filtered_4FGL_J1419.8+5423_daily_bin4.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/346448/ft1_filtered_4FGL_J1419.8+5423_daily_bin4.fits" evtable="EVENTS" scfile=/scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits sctable="SC_DATA" outfile=/scratch/kocevski/346448/ltcube_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.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/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits
.....................!
real 13.87
user 13.51
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/346448/ft1_filtered_4FGL_J1419.8+5423_daily_bin4.fits evtable="EVENTS" scfile=/scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits sctable="SC_DATA" expcube=/scratch/kocevski/346448/ltcube_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.fits outfile=/scratch/kocevski/346448/expmap_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.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/346448/ltcube_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.fits
.....................!
real 191.51
user 186.69
sys 4.43

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

Setting source of interest to:
4FGL J1419.8+5423 @ 214.955 54.3937

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/346448/ft1_filtered_4FGL_J1419.8+5423_daily_bin4.fits scfile=/scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits outfile=/scratch/kocevski/346448/cmap_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.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.955 yref=54.3937 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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/346448/ft1_filtered_4FGL_J1419.8+5423_daily_bin4.fits scfile=/scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits outfile=/scratch/kocevski/346448/cmap_HighResolution_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.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.955 yref=54.3937 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.16

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/346448/ft1_filtered_4FGL_J1419.8+5423_daily_bin4.fits evtable="EVENTS" scfile=/scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/346448/Model_4FGL_J1419.8+5423_daily_bin4.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/346448/ft1_filtered_4FGL_J1419.8+5423_daily_bin4.fits.....................!
real 48.67
user 47.37
sys 1.14

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/346448/ft1_filtered_4FGL_J1419.8+5423_daily_bin4.fits', '/scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits', expMap='/scratch/kocevski/346448/expmap_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.fits', expCube='/scratch/kocevski/346448/ltcube_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/346448/Model_4FGL_J1419.8+5423_daily_bin4.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1419.8+5423'

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  2.306e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/346448/ft1_filtered_4FGL_J1419.8+5423_daily_bin4.fits
Spacecraft file(s): /scratch/kocevski/346448/ft2_4FGL_J1419.8+5423_daily_bin4.fits
Exposure map: /scratch/kocevski/346448/expmap_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.fits
Exposure cube: /scratch/kocevski/346448/ltcube_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/346448/Model_4FGL_J1419.8+5423_daily_bin4.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) = 5688.19084719

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10205E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    23.518       1.0000         .10000E-03   10000.    
     4 'Prefactor '    35.870       1.0000         .10000E-03   10000.    
     5 'Prefactor '    39.960       1.0000         .10000E-03   10000.    
     6 'norm      '    5.8557       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .12737E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10016E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .72095       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    10.108       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .19396E-02   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    7.2714       1.0000         .10000E-03   10000.    
    18 'Prefactor '    1.7700       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    29.594       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10352E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    2.7999       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    3.1388       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .97606       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.0388       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5688.146     FROM MIGRAD    STATUS=CONVERGED    784 CALLS     4117 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    18.866        .86952E-05** at limit **
   2  norm          .10000E-03    2.8691        .10429E-06** at limit **
   3  Prefactor     23.498        34.123       -.12819E-04    .38825E-05
   4  Prefactor     35.876        22.515        .14473E-06    .14342E-03
   5  Prefactor     39.966        33.582        .69002E-05    .23752E-04
   6  norm          5.8560        4.7976        .16532E-06    .59549E-04
   7  Prefactor     .10000E-03    129.89       -.82604E-04** at limit **
   8  Prefactor     .10000E-03    51.009        .20358E-04** at limit **
   9  norm          .72129        1.3976       -.47106E-06   -.12500E-02
  10  norm          .10000E-03    42.819       -.29649E-04** at limit **
  11  norm          10.108        5.0868       -.11975E-05    .94637E-04
  12  Prefactor     .10000E-03    47.481       -.10928E-05** at limit **
  13  Prefactor     .10000E-03    1138.1       -.65052E-03** at limit **
  14  Prefactor     .10000E-03    91.153        .73349E-04** at limit **
  15  Prefactor     .10000E-03    15.169       -.31731E-05** at limit **
  16  Prefactor     .10000E-03    2.0364        .11029E-07** at limit **
  17  Prefactor     7.2711        10.856       -.17356E-05   -.10521E-02
  18  Prefactor     1.7695        1.8528       -.75584E-07   -.70957E-03
  19  Prefactor     .10000E-03    10.503        .29579E-05** at limit **
  20  Prefactor     .10000E-03    10.453        .30921E-05** at limit **
  21  Prefactor     29.585        53.596       -.10392E-04   -.34961E-04
  22  Prefactor     .10000E-03    14.238       -.69491E-05** at limit **
  23  Prefactor     .10000E-03    7.4366        .19080E-05** at limit **
  24  Prefactor     .10000E-03    7.3965        .21677E-05** at limit **
  25  Prefactor     .10000E-03    16.038        .19056E-05** at limit **
  26  norm          2.8002        1.6125        .10013E-07   -.64854E-04
  27  Prefactor     .10000E-03    6.8506       -.16082E-05** at limit **
  28  Prefactor     .10000E-03    8.3543       -.51858E-05** at limit **
  29  Prefactor     3.1388        5.0448        .13840E-05   -.25087E-03
  30  Normalizat    .97604        .16878        .94330E-06    .13733E-03
  31  Prefactor     1.0388        .19708        .55189E-06    .12392E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 23.4982
  Prefactor  = 35.8763
  Prefactor  = 39.9658
  norm       = 5.85597
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  norm       = 0.721294
  norm       = 0.0001
  norm       = 10.1084
  Prefactor  = 0.0001
  Prefactor  = 0.000100003
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.27106
  Prefactor  = 1.76949
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 29.5853
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.80015
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 3.13878
  Normalizat = 0.976042
  Prefactor  = 1.03877
 **********
 **   18 **HESSE 
 **********

 FCN=   5688.146     FROM HESSE     STATUS=OK           610 CALLS     4727 TOTAL
                     EDM=   .26E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    19.072        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    2.8879        .12472E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     23.498        34.108        .82598E-04   -1.4738    
   4  Prefactor     35.876        22.510        .66914E-04   -1.4509    
   5  Prefactor     39.966        33.536        .63409E-04   -1.4443    
   6  norm          5.8560        4.7922        .13484E-03   -1.5224    
   7  Prefactor     .10000E-03    130.83        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    51.156        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .72129        1.3606        .11880E-03   -1.5538    
  10  norm          .10000E-03    42.831        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          10.108        5.0895        .11552E-03   -1.5072    
  12  Prefactor     .10000E-03    47.615        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    1137.1        .20256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    91.974        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    15.180        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    2.0490        .10509E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     7.2711        10.878        .74373E-03   -1.5169    
  18  Prefactor     1.7695        1.8350        .10145E-03   -1.5442    
  19  Prefactor     .10000E-03    10.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    10.473        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     29.585        53.591        .73648E-04   -1.4620    
  22  Prefactor     .10000E-03    14.254        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    7.4557        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     .10000E-03    7.4019        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    16.182        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          2.8002        1.6083        .70109E-04   -1.5373    
  27  Prefactor     .10000E-03    6.9130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    8.5389        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     3.1388        5.0277        .20660E-03   -1.5354    
  30  Normalizat    .97604        .20281        .23026E-03   -.93837    
  31  Prefactor     1.0388        .23682        .26516E-03   -.91448    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.57799e-09
Minuit parameter uncertainties:
  1  6.29279e-05
  2  1.97184e-05
  3  34.1368
  4  22.5157
  5  33.5514
  6  4.79251
  7  0.000930646
  8  8.89932e-05
  9  1.3607
  10  4.04736e-05
  11  5.0897
  12  2.74397e-05
  13  0.00356916
  14  0.000615877
  15  1.03708e-05
  16  3.03896e-06
  17  10.8807
  18  1.83509
  19  1.87849e-06
  20  6.36027e-06
  21  53.6783
  22  2.15017e-06
  23  4.95083e-05
  24  4.76797e-06
  25  1.87872e-05
  26  1.60836
  27  3.19525e-05
  28  1.38043e-05
  29  5.0284
  30  0.202971
  31  0.237063
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  1.769e+00  1.835e+00  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.365e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.039e+00  2.371e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.760e-01  2.030e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.59
Ra Dec: 214.955 54.394
Photon Index (Fixed Index): 2.36 +/- 0.00
Photon Flux (Fixed Index): 2.08e-08 +/- 2.16e-08
Energy Flux (Fixed Index): 7.16e-06 +/- 7.42e-06

TS (Fixed Index): 1.59
Ra Dec: 214.955 54.394
Photon Flux Upper Limit: 7.70e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.94e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/346448/likelihoodResults_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.txt

Performing a free index iterative likelihood fit...

Freezing all point sources, except source of interest...

Done.

Freeing candidate source...
Done.

Fit tolerance = 1

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5688.10159818
delta logL = 0.0446295948186

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5688.09945311
delta logL = 0.0467746701124

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.0670       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1406       1.0000          .0000       10.000    
     3 'Normalizat'    .97973       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0358       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6810E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5688.099     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      228 TOTAL
                     EDM=   .17E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.0656        74.838        .71843E-02   -.35867E-03
   2  Index         2.1406        5.7617        .25038       -.50891E-04
   3  Normalizat    .97977        .65022E-01    .45912E-01   -.11652E-05
   4  Prefactor     1.0357        .71655E-01    .60033E-01    .23977E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.06562
  Index      = 2.14064
  Normalizat = 0.979772
  Prefactor  = 1.03573
 **********
 **   18 **HESSE 
 **********

 FCN=   5688.099     FROM HESSE     STATUS=OK            33 CALLS      261 TOTAL
                     EDM=   .18E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.0656        2.2533        .10904E-03   -1.5421    
   2  Index         2.1406        .71309        .92033E-02   -.60879    
   3  Normalizat    .97977        .19835        .22987E-03   -.93711    
   4  Prefactor     1.0357        .23541        .26548E-03   -.91548    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.7611e-10
Minuit parameter uncertainties:
  1  2.25336
  2  0.716729
  3  0.198496
  4  0.235644
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/346448': No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5688.09945289
delta logL = 0.0467748902647

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  2.066e+00  2.253e+00  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.141e+00  7.167e-01  0.000e+00  1.000e+01 (-1.000e+00)
334        Scale:  8.561e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
678    Prefactor:  1.036e+00  2.356e-01  0.000e+00  1.000e+01 ( 1.000e+00)
679        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
680        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
677   Normalization:  9.798e-01  1.985e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.68
Ra Dec: 214.955 54.394
Photon Index (Free Index): 2.14 +/- 0.72
Photon Flux (Free Index): 1.80e-08 +/- 2.10e-08
Energy Flux (Free Index): 9.05e-06 +/- 1.24e-05

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/346448/cmap_HighResolution_240364801_240624001_4FGL_J1419.8+5423_daily_bin4.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.94e-03', comment='SUCCESS', photon_flux='2.08e-08', energy_flux2='9.05e-06', photon_flux_error='2.16e-08', dlogl='4.68e-02', energy_flux='7.16e-06', photon_flux2='1.80e-08', job_status='DONE', time_completed='2021-09-09 09:56:41.203006', photon_index_error2='0.72', photon_index2='2.14', ts='1.59', fit_tolerance='1e-08', GAL='1.04', photon_index_error='0.00', photon_flux_upper_limit='7.70e-08', energy_flux_error2='1.24e-05', EG='0.98', time_epoch_completed='1631206601.2', return_code='0', job_id='346448', GAL2='1.04', EG2='0.98', return_code2='0', energy_flux_error='7.42e-06', photon_flux_error2='2.10e-08', ts2='1.68', photon_index='2.36' WHERE bin_id='4' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:56:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0032>
Subject: Job 346448: <4FGL_J1419.8+5423_daily_bin4> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin4> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 09:40:51 2021
Job was executed on host(s) <bullet0032>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:40:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 09:40:53 2021
Terminated at Thu Sep  9 09:56:42 2021
Results reported at Thu Sep  9 09:56:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin4 214.955 54.3937 240364801 240624001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1419.8+5423 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   896.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             326.03 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   948 sec.
    Turnaround time :                            951 sec.

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

