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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin1134
RA = 214.894, Dec = 38.3657
tmin = 533260801, tmax = 533520001
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='344407', job_status='RUN', time_executed='2021-09-09 09:35:40.883552', time_epoch_executed='1631205340.88' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='1134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/344407

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/344407/ft1_4FGL_J1419.5+3821_daily_bin1134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/344407/ft2_4FGL_J1419.5+3821_daily_bin1134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/344407/ft1_4FGL_J1419.5+3821_daily_bin1134.fits outfile=/scratch/kocevski/344407/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1134.fits ra=214.894 dec=38.3657 rad=12.0 tmin=533260801.0 tmax=533520001.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.34
user 4.12
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/344407/ft2_4FGL_J1419.5+3821_daily_bin1134.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/344407/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin1134.fits evtable="EVENTS" outfile="/scratch/kocevski/344407/ft1_filtered_4FGL_J1419.5+3821_daily_bin1134.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.50
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/344407/ft1_filtered_4FGL_J1419.5+3821_daily_bin1134.fits" evtable="EVENTS" scfile=/scratch/kocevski/344407/ft2_4FGL_J1419.5+3821_daily_bin1134.fits sctable="SC_DATA" outfile=/scratch/kocevski/344407/ltcube_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.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/344407/ft2_4FGL_J1419.5+3821_daily_bin1134.fits
.....................!
real 12.12
user 11.45
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/344407/ft1_filtered_4FGL_J1419.5+3821_daily_bin1134.fits evtable="EVENTS" scfile=/scratch/kocevski/344407/ft2_4FGL_J1419.5+3821_daily_bin1134.fits sctable="SC_DATA" expcube=/scratch/kocevski/344407/ltcube_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.fits outfile=/scratch/kocevski/344407/expmap_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.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/344407/ltcube_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.fits
.....................!
real 190.69
user 186.01
sys 4.24

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/344407/ft1_filtered_4FGL_J1419.5+3821_daily_bin1134.fits scfile=/scratch/kocevski/344407/ft2_4FGL_J1419.5+3821_daily_bin1134.fits outfile=/scratch/kocevski/344407/cmap_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/344407/ft1_filtered_4FGL_J1419.5+3821_daily_bin1134.fits scfile=/scratch/kocevski/344407/ft2_4FGL_J1419.5+3821_daily_bin1134.fits outfile=/scratch/kocevski/344407/cmap_HighResolution_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.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.54
user 0.37
sys 0.16

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/344407/ft1_filtered_4FGL_J1419.5+3821_daily_bin1134.fits', '/scratch/kocevski/344407/ft2_4FGL_J1419.5+3821_daily_bin1134.fits', expMap='/scratch/kocevski/344407/expmap_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.fits', expCube='/scratch/kocevski/344407/ltcube_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/344407/Model_4FGL_J1419.5+3821_daily_bin1134.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  1.000e-04  1.000e+04 ( 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/344407/ft1_filtered_4FGL_J1419.5+3821_daily_bin1134.fits
Spacecraft file(s): /scratch/kocevski/344407/ft2_4FGL_J1419.5+3821_daily_bin1134.fits
Exposure map: /scratch/kocevski/344407/expmap_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.fits
Exposure cube: /scratch/kocevski/344407/ltcube_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/344407/Model_4FGL_J1419.5+3821_daily_bin1134.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) = 5808.01584855

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    62.480       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.3888       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .78794       1.0000         .10000E-03   10000.    
     5 'norm      '    15.676       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    73.257       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.0302       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.1160       1.0000         .10000E-03   10000.    
    12 'Prefactor '    12.077       1.0000         .10000E-03   10000.    
    13 'Prefactor '    18.365       1.0000         .10000E-03   10000.    
    14 'norm      '    10.974       1.0000         .10000E-03   10000.    
    15 'Prefactor '    58.762       1.0000         .10000E-03   10000.    
    16 'norm      '    6.2384       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    18.891       1.0000         .10000E-03   10000.    
    19 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    21.747       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .13669       1.0000         .10000E-03   10000.    
    23 'Prefactor '    8.7418       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    .60720       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.1443       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5807.988     FROM MIGRAD    STATUS=CONVERGED    597 CALLS     3168 TOTAL
                     EDM=   .42E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     62.480        52.374        .18211E-06   -.12480E-04
   2  Prefactor     .10000E-03    21.663        .30121E-05** at limit **
   3  norm          3.3890        1.4640        .61304E-07   -.46491E-04
   4  Prefactor     .78854        3.0794        .14220E-05   -.11892E-03
   5  norm          15.676        12.264        .19088E-06   -.19154E-04
   6  Prefactor     .10000E-03    4.8341        .20235E-06** at limit **
   7  Prefactor     73.265        57.828        .16116E-05    .42444E-04
   8  Prefactor     2.0307        2.6761        .21637E-07   -.24766E-04
   9  Prefactor     .10000E-03    3.4942        .63974E-07** at limit **
  10  norm          .10000E-03    1.6060        .51386E-07** at limit **
  11  Prefactor     8.1348        28.626        .48329E-05    .10233E-03
  12  Prefactor     12.052        30.729       -.46313E-05   -.15565E-03
  13  Prefactor     18.365        5.1568        .20142E-08   -.95857E-04
  14  norm          10.967        20.112       -.12508E-05   -.54769E-04
  15  Prefactor     58.766        28.197        .56187E-06    .33379E-04
  16  norm          6.2389        7.2222        .33859E-05   -.47559E-03
  17  Prefactor     .10000E-03    17.566       -.13686E-05** at limit **
  18  Prefactor     18.892        23.938        .22142E-06   -.60319E-05
  19  norm          .10000E-03    4.2154       -.24809E-06** at limit **
  20  Prefactor     21.745        15.828       -.54335E-06   -.75575E-04
  21  Prefactor     .10000E-03    2.8190       -.47922E-07** at limit **
  22  norm          .13851        .83968        .18594E-06   -.37247E-03
  23  Prefactor     8.7398        14.984        .13305E-06   -.32608E-04
  24  Prefactor     .10000E-03    26.683       -.18980E-05** at limit **
  25  Normalizat    .60702        .16864       -.14002E-05   -.10406E-03
  26  Prefactor     1.1445        .18780       -.18193E-06   -.13130E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 62.4797
  Prefactor  = 0.000100001
  norm       = 3.38901
  Prefactor  = 0.788542
  norm       = 15.676
  Prefactor  = 0.0001
  Prefactor  = 73.2649
  Prefactor  = 2.03067
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 8.1348
  Prefactor  = 12.0522
  Prefactor  = 18.3653
  norm       = 10.9666
  Prefactor  = 58.7662
  norm       = 6.23895
  Prefactor  = 0.0001
  Prefactor  = 18.8918
  norm       = 0.0001
  Prefactor  = 21.7451
  Prefactor  = 0.0001
  norm       = 0.138507
  Prefactor  = 8.73983
  Prefactor  = 0.0001
  Normalizat = 0.607017
  Prefactor  = 1.14451
 **********
 **   18 **HESSE 
 **********

 FCN=   5807.988     FROM HESSE     STATUS=OK           460 CALLS     3628 TOTAL
                     EDM=   .91E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     62.480        52.445        .50765E-04   -1.4125    
   2  Prefactor     .10000E-03    21.871        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.3890        1.4648        .57781E-04   -1.5340    
   4  Prefactor     .78854        3.0967        .24943E-03   -1.5530    
   5  norm          15.676        12.266        .10116E-03   -1.4916    
   6  Prefactor     .10000E-03    4.8348        .16363E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     73.265        57.927        .46908E-04   -1.3994    
   8  Prefactor     2.0307        2.6626        .13846E-03   -1.5423    
   9  Prefactor     .10000E-03    3.4958        .13913E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    1.6177        .94205E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.1348        29.577        .14073E-03   -1.5137    
  12  Prefactor     12.052        31.829        .11527E-03   -1.5014    
  13  Prefactor     18.365        5.1708        .86644E-04   -1.4851    
  14  norm          10.967        20.124        .12094E-03   -1.5046    
  15  Prefactor     58.766        28.290        .52337E-04   -1.4173    
  16  norm          6.2389        7.3406        .80360E-03   -1.5208    
  17  Prefactor     .10000E-03    17.610        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     18.892        23.939        .92149E-04   -1.4838    
  19  norm          .10000E-03    4.2255        .15284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     21.745        15.748        .85891E-04   -1.4775    
  21  Prefactor     .10000E-03    2.8244        .12487E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .13851        3.0985        .12997E-02   -1.5634    
  23  Prefactor     8.7398        14.979        .13557E-03   -1.5117    
  24  Prefactor     .10000E-03    26.757        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    .60702        .19855        .26801E-03   -1.0769    
  26  Prefactor     1.1445        .22331        .24086E-03   -.88056    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.10761e-10
Minuit parameter uncertainties:
  1  52.4833
  2  0.000237192
  3  1.46482
  4  3.09737
  5  12.2676
  6  8.18319e-07
  7  57.9717
  8  2.66271
  9  1.03489e-06
  10  2.51187e-06
  11  29.6304
  12  31.8738
  13  5.17088
  14  20.1367
  15  28.2962
  16  7.3417
  17  9.70774e-05
  18  23.9509
  19  1.46727e-05
  20  15.7506
  21  1.35891e-06
  22  1.30982
  23  14.9856
  24  0.000158908
  25  0.198787
  26  0.223496
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  8.135e+00  2.963e+01  1.000e-04  1.000e+04 ( 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.145e+00  2.235e-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:  6.070e-01  1.988e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.41
Ra Dec: 214.894 38.366
Photon Flux Upper Limit: 9.75e-08 ph cm-2 s-1
Energy Flux Upper Limit: 7.57e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/344407/likelihoodResults_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.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) = 5807.97283848
delta logL = 0.0155164137814

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5807.9614855
delta logL = 0.0268693864682

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    10.892       1.0000         .10000E-03   10000.    
     2 'Index     '    2.1700       1.0000          .0000       10.000    
     3 'Normalizat'    .61361       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1384       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.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5807.961     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      218 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     10.895        19.185        .98332E-05   -.37197E-03
   2  Index         2.1699        1.0932       -.20376E-04   -.17865E-03
   3  Normalizat    .61362        .15620       -.29216E-06   -.50507E-05
   4  Prefactor     1.1384        .18676       -.37550E-06    .13237E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 10.8955
  Index      = 2.1699
  Normalizat = 0.613618
  Prefactor  = 1.1384
 **********
 **   18 **HESSE 
 **********

 FCN=   5807.961     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     10.895        19.216        .12139E-03   -1.5048    
   2  Index         2.1699        1.1316        .99578E-03   -.60167    
   3  Normalizat    .61362        .18455        .26669E-03   -1.0741    
   4  Prefactor     1.1384        .22114        .24139E-03   -.88248    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.19162e-09
Minuit parameter uncertainties:
  1  19.2264
  2  1.14629
  3  0.184739
  4  0.221319
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/344407': 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) = 5807.96148549
delta logL = 0.0268694025572

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.090e+01  1.923e+01  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.170e+00  1.146e+00  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.138e+00  2.213e-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:  6.136e-01  1.847e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.41
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/344407/cmap_HighResolution_533260801_533520001_4FGL_J1419.5+3821_daily_bin1134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.57e-03', job_status='DONE', photon_flux_upper_limit='9.75e-08', time_completed='2021-09-09 09:47:34.695485', job_id='344407', GAL2='1.14', fit_tolerance='1e-08', EG2='0.61', EG='0.61', time_epoch_completed='1631206054.7', return_code2='0', ts='0.41', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='2.69e-02', ts2='0.46', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='1134' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:47:34 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0102>
Subject: Job 344407: <4FGL_J1419.5+3821_daily_bin1134> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin1134> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 09:35:25 2021
Job was executed on host(s) <bullet0102>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:35:27 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:35:27 2021
Terminated at Thu Sep  9 09:47:35 2021
Results reported at Thu Sep  9 09:47:35 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin1134 214.894 38.3657 533260801 533520001 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 :                                   708.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             332.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   727 sec.
    Turnaround time :                            730 sec.

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

