/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 237 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 = 7368
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1419.8+5423_daily_bin1202
RA = 214.955, Dec = 54.3937
tmin = 550886401, tmax = 551145601
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='354381', job_status='RUN', time_executed='2021-09-09 10:09:42.069897', time_epoch_executed='1631207382.07' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='1202'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/354381

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/354381/ft1_4FGL_J1419.8+5423_daily_bin1202.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/354381/ft2_4FGL_J1419.8+5423_daily_bin1202.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/354381/ft1_4FGL_J1419.8+5423_daily_bin1202.fits outfile=/scratch/kocevski/354381/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1202.fits ra=214.955 dec=54.3937 rad=12.0 tmin=550886401.0 tmax=551145601.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.74
user 3.52
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/354381/ft2_4FGL_J1419.8+5423_daily_bin1202.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/354381/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin1202.fits evtable="EVENTS" outfile="/scratch/kocevski/354381/ft1_filtered_4FGL_J1419.8+5423_daily_bin1202.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.49
user 0.31
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/354381/ft1_filtered_4FGL_J1419.8+5423_daily_bin1202.fits" evtable="EVENTS" scfile=/scratch/kocevski/354381/ft2_4FGL_J1419.8+5423_daily_bin1202.fits sctable="SC_DATA" outfile=/scratch/kocevski/354381/ltcube_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.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/354381/ft2_4FGL_J1419.8+5423_daily_bin1202.fits
.....................!
real 11.71
user 11.34
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/354381/ft1_filtered_4FGL_J1419.8+5423_daily_bin1202.fits evtable="EVENTS" scfile=/scratch/kocevski/354381/ft2_4FGL_J1419.8+5423_daily_bin1202.fits sctable="SC_DATA" expcube=/scratch/kocevski/354381/ltcube_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.fits outfile=/scratch/kocevski/354381/expmap_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.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/354381/ltcube_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.fits
.....................!
real 192.26
user 187.20
sys 4.70

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/354381/ft1_filtered_4FGL_J1419.8+5423_daily_bin1202.fits scfile=/scratch/kocevski/354381/ft2_4FGL_J1419.8+5423_daily_bin1202.fits outfile=/scratch/kocevski/354381/cmap_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/354381/ft1_filtered_4FGL_J1419.8+5423_daily_bin1202.fits scfile=/scratch/kocevski/354381/ft2_4FGL_J1419.8+5423_daily_bin1202.fits outfile=/scratch/kocevski/354381/cmap_HighResolution_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.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.55
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/354381/ft1_filtered_4FGL_J1419.8+5423_daily_bin1202.fits', '/scratch/kocevski/354381/ft2_4FGL_J1419.8+5423_daily_bin1202.fits', expMap='/scratch/kocevski/354381/expmap_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.fits', expCube='/scratch/kocevski/354381/ltcube_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/354381/Model_4FGL_J1419.8+5423_daily_bin1202.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/354381/ft1_filtered_4FGL_J1419.8+5423_daily_bin1202.fits
Spacecraft file(s): /scratch/kocevski/354381/ft2_4FGL_J1419.8+5423_daily_bin1202.fits
Exposure map: /scratch/kocevski/354381/expmap_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.fits
Exposure cube: /scratch/kocevski/354381/ltcube_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/354381/Model_4FGL_J1419.8+5423_daily_bin1202.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) = 2058.50324121

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
     2 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    103.75       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    9.1802       1.0000         .10000E-03   10000.    
     6 'norm      '    20.133       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .20432E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    63.106       1.0000         .10000E-03   10000.    
     9 'norm      '    7.2303       1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    13.643       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .39431E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    91.010       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10637E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    6.9136       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.9373       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    77.944       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    46.650       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10049E-03   1.0000         .10000E-03   10000.    
    26 'norm      '    .29663       1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .12292E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    20.977       1.0000         .10000E-03   10000.    
    30 'Normalizat'    .59710       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.5952       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=   2058.379     FROM MIGRAD    STATUS=CONVERGED    808 CALLS     4142 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    8.6900       -.42040E-06** at limit **
   2  norm          .10000E-03    5.0615        .84583E-07** at limit **
   3  Prefactor     103.79        113.23       -.19551E-05   -.15433E-04
   4  Prefactor     .10000E-03    24.961       -.21842E-07** at limit **
   5  Prefactor     9.1580        376.41        .42506E-05    .79726E-05
   6  norm          20.134        11.239       -.16992E-06   -.23946E-04
   7  Prefactor     .10001E-03    190.85       -.68807E-05** at limit **
   8  Prefactor     62.822        92.769       -.18582E-05   -.32391E-04
   9  norm          7.2308        4.6565       -.62245E-07   -.12061E-03
  10  norm          .10000E-03    132.03        .34785E-06** at limit **
  11  norm          13.652        10.468       -.11742E-07    .34312E-04
  12  Prefactor     .10000E-03    35.645        .11248E-06** at limit **
  13  Prefactor     .10000E-03    969.18       -.40321E-06** at limit **
  14  Prefactor     90.945        113.33       -.24337E-06   -.10972E-04
  15  Prefactor     .10000E-03    46.067       -.29658E-06** at limit **
  16  Prefactor     .10000E-03    4.5914        .23585E-07** at limit **
  17  Prefactor     6.8794        75.939        .12409E-06   -.10543E-04
  18  Prefactor     2.9406        4.7478        .26272E-07    .21901E-04
  19  Prefactor     .10000E-03    14.804       -.27323E-07** at limit **
  20  Prefactor     .10000E-03    20.312        .11463E-06** at limit **
  21  Prefactor     77.972        166.24       -.52924E-06   -.25298E-04
  22  Prefactor     .10000E-03    22.207        .12028E-06** at limit **
  23  Prefactor     46.659        49.156       -.11973E-05   -.12714E-03
  24  Prefactor     .10000E-03    11.178        .72754E-07** at limit **
  25  Prefactor     .10000E-03    18.424        .26812E-06** at limit **
  26  norm          .29195        3.6231        .44711E-06   -.12756E-03
  27  Prefactor     .10000E-03    9.4529        .25684E-06** at limit **
  28  Prefactor     .10000E-03    24.711        .19262E-05** at limit **
  29  Prefactor     20.981        16.983       -.56944E-06   -.65113E-04
  30  Normalizat    .59534        .41081        .18123E-04   -.12894E-03
  31  Prefactor     1.5974        .46180       -.15134E-04   -.11997E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 103.79
  Prefactor  = 0.0001
  Prefactor  = 9.15805
  norm       = 20.1343
  Prefactor  = 0.000100006
  Prefactor  = 62.8224
  norm       = 7.23077
  norm       = 0.0001
  norm       = 13.6517
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 90.9447
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 6.87943
  Prefactor  = 2.94055
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 77.9718
  Prefactor  = 0.0001
  Prefactor  = 46.6586
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.291947
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.9805
  Normalizat = 0.595337
  Prefactor  = 1.59739
 **********
 **   18 **HESSE 
 **********

 FCN=   2058.379     FROM HESSE     STATUS=OK           614 CALLS     4756 TOTAL
                     EDM=   .78E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    8.7025        .13070E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  norm          .10000E-03    5.0626        .99696E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     103.79        111.71        .19738E-03   -1.3667    
   4  Prefactor     .10000E-03    25.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     9.1580        366.72        .13228E-03   -1.5103    
   6  norm          20.134        11.231        .89265E-04   -1.4810    
   7  Prefactor     .10001E-03    193.41        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     62.822        92.950        .25257E-03   -1.4121    
   9  norm          7.2308        4.6443        .72600E-04   -1.5170    
  10  norm          .10000E-03    132.04        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          13.652        10.462        .10844E-03   -1.4969    
  12  Prefactor     .10000E-03    35.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    969.34        .21270E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     90.945        113.25        .21061E-03   -1.3798    
  15  Prefactor     .10000E-03    46.085        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.5929        .94941E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     6.8794        75.841        .15258E-03   -1.5183    
  18  Prefactor     2.9406        4.7256        .11698E-03   -1.5365    
  19  Prefactor     .10000E-03    14.805        .17053E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    20.316        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     77.972        166.20        .45486E-04   -1.3940    
  22  Prefactor     .10000E-03    22.208        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     46.659        49.145        .58705E-04   -1.4341    
  24  Prefactor     .10000E-03    11.178        .14818E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    18.441        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  norm          .29195        6.6159        .16174E-02   -1.5600    
  27  Prefactor     .10000E-03    9.4680        .13622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10000E-03    25.444        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     20.981        16.978        .87453E-04   -1.4792    
  30  Normalizat    .59534        .40949        .32775E-03   -1.0818    
  31  Prefactor     1.5974        .46209        .25752E-03   -.74847    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.76411e-09
Minuit parameter uncertainties:
  1  3.84136e-05
  2  3.90357e-06
  3  111.938
  4  3.77566e-05
  5  116.679
  6  11.232
  7  0.00216695
  8  93.1658
  9  4.64455
  10  0.00011898
  11  10.4631
  12  4.72302e-05
  13  0.000841584
  14  113.52
  15  7.06293e-05
  16  1.90917e-06
  17  45.7569
  18  4.72625
  19  6.47034e-06
  20  2.51281e-05
  21  167.202
  22  3.40161e-05
  23  49.188
  24  5.46098e-06
  25  3.13627e-06
  26  2.77944
  27  1.97694e-05
  28  0.000206308
  29  16.9823
  30  0.411599
  31  0.463327
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  2.941e+00  4.726e+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.597e+00  4.633e-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:  5.953e-01  4.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.58
Ra Dec: 214.955 54.394
Photon Flux Upper Limit: 1.82e-07 ph cm-2 s-1
Energy Flux Upper Limit: 1.41e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/354381/likelihoodResults_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.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) = 2058.20308294
delta logL = 0.176042722372

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2058.19778027
delta logL = 0.181345397197

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.5113       1.0000         .10000E-03   10000.    
     2 'Index     '    3.1606       1.0000          .0000       10.000    
     3 'Normalizat'    .56501       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.6189       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=   2058.198     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      243 TOTAL
                     EDM=   .29E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.5097        54.199        .86975E-02    .19208E-03
   2  Index         3.1614        6.5780        .15835        .36620E-04
   3  Normalizat    .56500        .91320E-01    .75755E-01    .91599E-05
   4  Prefactor     1.6190        .10873        .57890E-01   -.36725E-05
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.50972
  Index      = 3.16138
  Normalizat = 0.564996
  Prefactor  = 1.61897
 **********
 **   18 **HESSE 
 **********

 FCN=   2058.198     FROM HESSE     STATUS=OK            33 CALLS      276 TOTAL
                     EDM=   .49E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.5097        4.1643        .65745E-04   -1.5462    
   2  Index         3.1614        1.6748        .55292E-02   -.37656    
   3  Normalizat    .56500        .37381        .33540E-03   -1.0949    
   4  Prefactor     1.6190        .45475        .25594E-03   -.74260    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.93423e-12
Minuit parameter uncertainties:
  1  4.16511
  2  1.71328
  3  0.37549
  4  0.455914
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/354381': 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) = 2058.19778004
delta logL = 0.181345625064

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  1.510e+00  4.165e+00  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  3.161e+00  1.713e+00  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.619e+00  4.559e-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:  5.650e-01  3.755e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.58
Ra Dec: 214.955 54.394

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/354381/cmap_HighResolution_550886401_551145601_4FGL_J1419.8+5423_daily_bin1202.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.41e-02', job_status='DONE', photon_flux_upper_limit='1.82e-07', time_completed='2021-09-09 10:19:14.736906', job_id='354381', GAL2='1.62', fit_tolerance='1e-08', EG2='0.56', EG='0.60', time_epoch_completed='1631207954.74', return_code2='0', ts='0.58', comment='SUCCESS', return_code='0', GAL='1.60', dlogl='1.81e-01', ts2='0.96', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='1202' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 10:19:14 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0217>
Subject: Job 354381: <4FGL_J1419.8+5423_daily_bin1202> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin1202> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 10:05:35 2021
Job was executed on host(s) <bullet0217>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 10:05:36 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 10:05:36 2021
Terminated at Thu Sep  9 10:19:15 2021
Results reported at Thu Sep  9 10:19:15 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin1202 214.955 54.3937 550886401 551145601 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 :                                   550.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             242.41 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   818 sec.
    Turnaround time :                            820 sec.

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

