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


Performing analysis on: 4FGL_J1419.5+3821_daily_bin93
RA = 214.894, Dec = 38.3657
tmin = 263433601, tmax = 263692801
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='338867', job_status='RUN', time_executed='2021-09-09 09:18:54.530985', time_epoch_executed='1631204334.53' WHERE source_name='4FGL J1419.5+3821' and cadence='daily' and bin_id='93'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/338867

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/338867/ft1_4FGL_J1419.5+3821_daily_bin93.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/338867/ft2_4FGL_J1419.5+3821_daily_bin93.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/338867/ft1_4FGL_J1419.5+3821_daily_bin93.fits outfile=/scratch/kocevski/338867/ft1_filteredMKT_4FGL_J1419.5+3821_daily_bin93.fits ra=214.894 dec=38.3657 rad=12.0 tmin=263433601.0 tmax=263692801.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.45
user 3.23
sys 0.21

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/338867/ft1_filtered_4FGL_J1419.5+3821_daily_bin93.fits" evtable="EVENTS" scfile=/scratch/kocevski/338867/ft2_4FGL_J1419.5+3821_daily_bin93.fits sctable="SC_DATA" outfile=/scratch/kocevski/338867/ltcube_263433601_263692801_4FGL_J1419.5+3821_daily_bin93.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/338867/ft2_4FGL_J1419.5+3821_daily_bin93.fits
.....................!
real 12.00
user 11.68
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/338867/ft1_filtered_4FGL_J1419.5+3821_daily_bin93.fits evtable="EVENTS" scfile=/scratch/kocevski/338867/ft2_4FGL_J1419.5+3821_daily_bin93.fits sctable="SC_DATA" expcube=/scratch/kocevski/338867/ltcube_263433601_263692801_4FGL_J1419.5+3821_daily_bin93.fits outfile=/scratch/kocevski/338867/expmap_263433601_263692801_4FGL_J1419.5+3821_daily_bin93.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/338867/ltcube_263433601_263692801_4FGL_J1419.5+3821_daily_bin93.fits
.....................!
real 189.61
user 185.03
sys 4.22

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/338867/ft1_filtered_4FGL_J1419.5+3821_daily_bin93.fits scfile=/scratch/kocevski/338867/ft2_4FGL_J1419.5+3821_daily_bin93.fits outfile=/scratch/kocevski/338867/cmap_263433601_263692801_4FGL_J1419.5+3821_daily_bin93.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=214.894 yref=38.3657 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtbin version HEAD
real 0.56
user 0.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/338867/ft1_filtered_4FGL_J1419.5+3821_daily_bin93.fits scfile=/scratch/kocevski/338867/ft2_4FGL_J1419.5+3821_daily_bin93.fits outfile=/scratch/kocevski/338867/cmap_HighResolution_263433601_263692801_4FGL_J1419.5+3821_daily_bin93.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.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    29.008       1.0000         .10000E-03   10000.    
     2 'Prefactor '    75.537       1.0000         .10000E-03   10000.    
     3 'norm      '    .30264       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3861       1.0000         .10000E-03   10000.    
     5 'norm      '    24.860       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10948E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.8129       1.0000         .10000E-03   10000.    
     9 'Prefactor '    17.487       1.0000         .10000E-03   10000.    
    10 'norm      '    .79706E-01   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10622E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    14.934       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10014E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    2.1366       1.0000         .10000E-03   10000.    
    16 'norm      '    18.350       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10194E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.476       1.0000         .10000E-03   10000.    
    19 'norm      '    8.9490       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10133E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .10019E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    6.0536       1.0000         .10000E-03   10000.    
    24 'Prefactor '    24.926       1.0000         .10000E-03   10000.    
    25 'Normalizat'    .51520       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.3971       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=   5088.454     FROM MIGRAD    STATUS=CONVERGED    617 CALLS     3138 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     29.035        54.741        .39625E-04   -.43337E-05
   2  Prefactor     75.580        67.272        .42618E-04   -.19921E-04
   3  norm          .30345        .89871       -.35195E-06   -.17254E-02
   4  Prefactor     1.3894        3.8880        .42750E-06   -.75617E-03
   5  norm          24.866        15.861       -.36390E-06   -.19831E-04
   6  Prefactor     .10000E-03    31.858       -.73460E-05** at limit **
   7  Prefactor     .10000E-03    57.955        .25107E-04** at limit **
   8  Prefactor     2.8141        3.6715       -.58518E-06   -.27852E-03
   9  Prefactor     17.504        22.619        .97719E-05   -.11460E-03
  10  norm          .15051        2.3562        .10473E-05   -.19614E-03
  11  Prefactor     .10000E-03    9.5198       -.16057E-05** at limit **
  12  Prefactor     14.907        18.296       -.73704E-06   -.10902E-03
  13  Prefactor     .10000E-03    1.4909        .11282E-06** at limit **
  14  norm          .10000E-03    5.3638        .17675E-06** at limit **
  15  Prefactor     2.1402        88.018        .30407E-04   -.20915E-04
  16  norm          18.346        8.5257       -.15692E-05   -.24944E-03
  17  Prefactor     .10000E-03    68.404       -.15147E-04** at limit **
  18  Prefactor     19.485        23.845        .63472E-05   -.14011E-04
  19  norm          8.9494        9.1416        .15781E-05   -.47968E-04
  20  Prefactor     .10000E-03    8.1363       -.12368E-05** at limit **
  21  Prefactor     .10000E-03    8.3399        .37863E-05** at limit **
  22  norm          .10000E-03    .38994        .20534E-06** at limit **
  23  Prefactor     6.0627        12.707        .28254E-05   -.82699E-04
  24  Prefactor     24.904        55.233       -.30446E-04   -.11018E-04
  25  Normalizat    .51472        .19156       -.12693E-04   -.14895E-03
  26  Prefactor     1.3972        .20960        .18602E-05   -.55180E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 29.0347
  Prefactor  = 75.58
  norm       = 0.30345
  Prefactor  = 1.38936
  norm       = 24.8663
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 2.81412
  Prefactor  = 17.5036
  norm       = 0.150506
  Prefactor  = 0.0001
  Prefactor  = 14.9065
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 2.14018
  norm       = 18.346
  Prefactor  = 0.0001
  Prefactor  = 19.4848
  norm       = 8.94937
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 6.06274
  Prefactor  = 24.904
  Normalizat = 0.514716
  Prefactor  = 1.3972
 **********
 **   18 **HESSE 
 **********

 FCN=   5088.454     FROM HESSE     STATUS=OK           464 CALLS     3602 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     29.035        54.670        .74388E-04   -1.4630    
   2  Prefactor     75.580        67.195        .23100E-03   -1.3967    
   3  norm          .30345        .89450        .11063E-03   -1.5598    
   4  Prefactor     1.3894        3.8627        .22077E-03   -1.5472    
   5  norm          24.866        15.863        .80342E-04   -1.4710    
   6  Prefactor     .10000E-03    32.718        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    58.098        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     2.8141        3.6552        .14895E-03   -1.5372    
   9  Prefactor     17.504        22.657        .95777E-04   -1.4871    
  10  norm          .15051        24.243        .20576E-02   -1.5630    
  11  Prefactor     .10000E-03    9.5273        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     14.907        18.229        .10364E-03   -1.4936    
  13  Prefactor     .10000E-03    1.5100        .84991E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.3656        .16134E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     2.1402        86.632        .28201E-03   -1.5415    
  16  norm          18.346        8.5249        .93497E-04   -1.4851    
  17  Prefactor     .10000E-03    68.590        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     19.485        23.831        .90757E-04   -1.4825    
  19  norm          8.9494        9.1399        .13398E-03   -1.5110    
  20  Prefactor     .10000E-03    8.1607        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     .10000E-03    8.6268        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .10000E-03    .39289        .43484E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     6.0627        12.686        .16319E-03   -1.5215    
  24  Prefactor     24.904        55.273        .80236E-04   -1.4709    
  25  Normalizat    .51472        .22431        .28416E-03   -1.1174    
  26  Prefactor     1.3972        .25214        .22073E-03   -.80461    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.89175e-09
Minuit parameter uncertainties:
  1  54.7641
  2  67.2629
  3  0.89454
  4  3.86335
  5  15.8658
  6  0.000341771
  7  9.43916e-05
  8  3.65553
  9  22.6679
  10  3.82059
  11  7.10198e-05
  12  18.2361
  13  2.02969e-05
  14  1.32473e-05
  15  27.2747
  16  8.52543
  17  0.000216421
  18  23.8426
  19  9.14132
  20  6.85242e-05
  21  0.000130848
  22  9.85138e-06
  23  12.6912
  24  55.387
  25  0.224705
  26  0.252363
Done.

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

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  7.102e-05  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.397e+00  2.524e-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:  5.147e-01  2.247e-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: 7.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.67e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/338867/likelihoodResults_263433601_263692801_4FGL_J1419.5+3821_daily_bin93.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) = 5088.4546371
delta logL = -0.000499908053825

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5088.45413758
delta logL = -3.82666257792e-07

Fit tolerance = 1e-08

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

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

 FCN=   5088.454     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      213 TOTAL
                     EDM=   .20E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1766.0        .90712E-02** at limit **
   2  Index         2.4622        5.9335        .50000        .45542E-05
   3  Normalizat    .51471        .88568E-01    .64214E-01    .15390E-03
   4  Prefactor     1.3972        .10746        .49931E-01   -.71805E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Index      = 2.46217
  Normalizat = 0.514714
  Prefactor  = 1.39721
 **********
 **   18 **HESSE 
 **********

 FCN=   5088.454     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      244 TOTAL
                     EDM=   .25E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1512.7        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.4622        5.7178        .50000       -.53236    
   3  Normalizat    .51471        .70777E-01    .28416E-03   -1.1174    
   4  Prefactor     1.3972        .87251E-01    .22073E-03   -.80461    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.52613e-08
Minuit parameter uncertainties:
  1  0.00191077
  2  55.8002
  3  0.0707898
  4  0.08726
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/338867': 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): 102
logL (Free Index) = 5088.45413718
delta logL = 1.09839675133e-08

Extracting fit parameters...

4FGL J1419.5+3821
   Spectrum: PowerLaw
285    Prefactor:  1.000e-04  1.911e-03  1.000e-04  1.000e+04 ( 1.000e-13)
286        Index:  2.462e+00  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:  1.397e+00  8.726e-02  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:  5.147e-01  7.079e-02  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/338867/cmap_HighResolution_263433601_263692801_4FGL_J1419.5+3821_daily_bin93.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.67e-03', job_status='DONE', photon_flux_upper_limit='7.30e-08', time_completed='2021-09-09 09:29:41.897839', job_id='338867', GAL2='1.40', fit_tolerance='1e-08', EG2='0.51', EG='0.51', time_epoch_completed='1631204981.9', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.40', dlogl='1.10e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.47' WHERE bin_id='93' AND source_name='4FGL J1419.5+3821' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:29:41 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0038>
Subject: Job 338867: <4FGL_J1419.5+3821_daily_bin93> in cluster <slac> Done

Job <4FGL_J1419.5+3821_daily_bin93> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 09:15:46 2021
Job was executed on host(s) <bullet0038>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:15:47 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:15:47 2021
Terminated at Thu Sep  9 09:29:42 2021
Results reported at Thu Sep  9 09:29:42 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.5+3821_daily_bin93 214.894 38.3657 263433601 263692801 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 :                                   646.12 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             253.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   835 sec.
    Turnaround time :                            836 sec.

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

