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


Performing analysis on: 4FGL_J1419.8+5423_daily_bin75
RA = 214.955, Dec = 54.3937
tmin = 258768001, tmax = 259027201
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='346545', job_status='RUN', time_executed='2021-09-09 09:44:00.012803', time_epoch_executed='1631205840.01' WHERE source_name='4FGL J1419.8+5423' and cadence='daily' and bin_id='75'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/346545

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

Retrieving the FT1 file...

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

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

Retrieving 31 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/346545/ft1_4FGL_J1419.8+5423_daily_bin75.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/346545/ft2_4FGL_J1419.8+5423_daily_bin75.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/346545/ft1_4FGL_J1419.8+5423_daily_bin75.fits outfile=/scratch/kocevski/346545/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin75.fits ra=214.955 dec=54.3937 rad=12.0 tmin=258768001.0 tmax=259027201.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.15
user 0.94
sys 0.17

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/346545/ft2_4FGL_J1419.8+5423_daily_bin75.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/346545/ft1_filteredMKT_4FGL_J1419.8+5423_daily_bin75.fits evtable="EVENTS" outfile="/scratch/kocevski/346545/ft1_filtered_4FGL_J1419.8+5423_daily_bin75.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.54
user 0.32
sys 0.16

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/346545/ft1_filtered_4FGL_J1419.8+5423_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/346545/ft2_4FGL_J1419.8+5423_daily_bin75.fits sctable="SC_DATA" expcube=/scratch/kocevski/346545/ltcube_258768001_259027201_4FGL_J1419.8+5423_daily_bin75.fits outfile=/scratch/kocevski/346545/expmap_258768001_259027201_4FGL_J1419.8+5423_daily_bin75.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/346545/ltcube_258768001_259027201_4FGL_J1419.8+5423_daily_bin75.fits
.....................!
real 191.08
user 185.52
sys 4.97

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/346545/ft1_filtered_4FGL_J1419.8+5423_daily_bin75.fits scfile=/scratch/kocevski/346545/ft2_4FGL_J1419.8+5423_daily_bin75.fits outfile=/scratch/kocevski/346545/cmap_258768001_259027201_4FGL_J1419.8+5423_daily_bin75.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/346545/ft1_filtered_4FGL_J1419.8+5423_daily_bin75.fits scfile=/scratch/kocevski/346545/ft2_4FGL_J1419.8+5423_daily_bin75.fits outfile=/scratch/kocevski/346545/cmap_HighResolution_258768001_259027201_4FGL_J1419.8+5423_daily_bin75.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/346545/ft1_filtered_4FGL_J1419.8+5423_daily_bin75.fits evtable="EVENTS" scfile=/scratch/kocevski/346545/ft2_4FGL_J1419.8+5423_daily_bin75.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/346545/Model_4FGL_J1419.8+5423_daily_bin75.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/346545/ft1_filtered_4FGL_J1419.8+5423_daily_bin75.fits.....................!
real 34.40
user 33.11
sys 1.14

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    2.9249       1.0000         .10000E-03   10000.    
     2 'norm      '    9.2041       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.8603       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    53.121       1.0000         .10000E-03   10000.    
    13 'Prefactor '    79.098       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    19.442       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .75759       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.459       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .54028       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    10.635       1.0000         .10000E-03   10000.    
    26 'norm      '    .11519E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    28 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    29 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    30 'Normalizat'    .61651       1.0000         .10000E-01   10.000    
    31 'Prefactor '    1.2490       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=   3499.055     FROM MIGRAD    STATUS=CONVERGED    783 CALLS     4721 TOTAL
                     EDM=   .37E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     2.9251        15.625        .19942E-05    .13643E-03
   2  norm          9.2055        9.1387        .13045E-08    .95372E-05
   3  Prefactor     .10000E-03    16.073       -.31375E-06** at limit **
   4  Prefactor     .10000E-03    41.930       -.21434E-06** at limit **
   5  Prefactor     .10000E-03    18.439        .43195E-06** at limit **
   6  norm          .10000E-03    2.1883       -.23714E-09** at limit **
   7  Prefactor     .10000E-03    32.636       -.43704E-06** at limit **
   8  Prefactor     .10000E-03    37.617       -.62714E-06** at limit **
   9  norm          3.8604        2.4159       -.76081E-08   -.59934E-05
  10  norm          .10000E-03    35.261       -.73153E-06** at limit **
  11  norm          .10000E-03    1.2686       -.62786E-08** at limit **
  12  Prefactor     53.098        53.623        .15722E-05    .55279E-04
  13  Prefactor     79.658        1224.7       -.38704E-04   -.15583E-04
  14  Prefactor     .10000E-03    22.343        .89331E-06** at limit **
  15  Prefactor     19.435        43.370        .12551E-06   -.14947E-04
  16  Prefactor     .10000E-03    1.7960       -.16681E-07** at limit **
  17  Prefactor     .10000E-03    11.862       -.12487E-06** at limit **
  18  Prefactor     .75924        2.7938        .25112E-06    .82761E-04
  19  Prefactor     .10000E-03    8.3212       -.99327E-07** at limit **
  20  Prefactor     33.445        37.897       -.95159E-07   -.34636E-04
  21  Prefactor     .10000E-03    50.568        .16586E-05** at limit **
  22  Prefactor     .10000E-03    11.649        .64382E-07** at limit **
  23  Prefactor     .56564        19.795        .21517E-05   -.18553E-03
  24  Prefactor     .10000E-03    11.102        .46131E-06** at limit **
  25  Prefactor     10.637        17.579        .27449E-06   -.53139E-04
  26  norm          .10000E-03    1.7734       -.26767E-06** at limit **
  27  Prefactor     .10000E-03    4.9498       -.30483E-07** at limit **
  28  Prefactor     .10001E-03    8.1223        .23875E-05** at limit **
  29  Prefactor     .10000E-03    1.9143       -.10521E-07** at limit **
  30  Normalizat    .61659        .19730        .71303E-06   -.64794E-04
  31  Prefactor     1.2489        .23310       -.55282E-06   -.11656E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 2.92509
  norm       = 9.20552
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.86037
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 53.0979
  Prefactor  = 79.6584
  Prefactor  = 0.0001
  Prefactor  = 19.4354
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.759239
  Prefactor  = 0.0001
  Prefactor  = 33.4453
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.565643
  Prefactor  = 0.0001
  Prefactor  = 10.6368
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100006
  Prefactor  = 0.0001
  Normalizat = 0.616586
  Prefactor  = 1.24889
 **********
 **   18 **HESSE 
 **********

 FCN=   3499.055     FROM HESSE     STATUS=OK           618 CALLS     5339 TOTAL
                     EDM=   .15E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     2.9251        16.765        .11877E-02   -1.5366    
   2  norm          9.2055        9.1345        .13210E-03   -1.5101    
   3  Prefactor     .10000E-03    16.082        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    42.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    18.460        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    2.1965        .85427E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    32.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    37.727        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.8604        2.4134        .69458E-04   -1.5315    
  10  norm          .10000E-03    35.279        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.2716        .65059E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     53.098        53.811        .27515E-03   -1.4249    
  13  Prefactor     79.658        1276.1        .22578E-03   -1.3921    
  14  Prefactor     .10000E-03    22.363        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     19.435        43.342        .90837E-04   -1.4826    
  16  Prefactor     .10000E-03    1.7969        .77410E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    11.887        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .75924        2.4586        .14944E-02   -1.5534    
  19  Prefactor     .10000E-03    8.3263        .16666E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     33.445        35.144        .69276E-04   -1.4551    
  21  Prefactor     .10000E-03    50.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    11.650        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .56564        82.719        .44531E-02   -1.5558    
  24  Prefactor     .10000E-03    11.121        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     10.637        17.027        .12286E-03   -1.5056    
  26  norm          .10000E-03    4.5691        .14780E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    4.9852        .12852E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  Prefactor     .10001E-03    13.181        .26315E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Prefactor     .10000E-03    1.9159        .79928E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  30  Normalizat    .61659        .23245        .24873E-03   -1.0728    
  31  Prefactor     1.2489        .27647        .22106E-03   -.84840    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.48745e-09
Minuit parameter uncertainties:
  1  14.0115
  2  9.1359
  3  2.6347e-05
  4  4.5338e-05
  5  3.45857e-05
  6  7.83957e-07
  7  5.10412e-05
  8  6.89435e-05
  9  2.41342
  10  8.66766e-05
  11  6.1515e-07
  12  53.8598
  13  654.957
  14  7.50769e-05
  15  43.4121
  16  1.549e-06
  17  1.5731e-05
  18  2.45896
  19  8.96799e-06
  20  35.1661
  21  0.000184637
  22  2.9879e-06
  23  13.6986
  24  2.91206e-05
  25  17.0349
  26  2.43119e-05
  27  3.62255e-06
  28  0.000547932
  29  8.3746e-07
  30  0.232815
  31  0.276794
Done.

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

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  7.592e-01  2.459e+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.249e+00  2.768e-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:  6.166e-01  2.328e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/346545/likelihoodResults_258768001_259027201_4FGL_J1419.8+5423_daily_bin75.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) = 3499.05470265
delta logL = 0.000729132990273

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 3499.05458954
delta logL = 0.000842243719489

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .79488       1.0000         .10000E-03   10000.    
     2 'Index     '    2.3041       1.0000          .0000       10.000    
     3 'Normalizat'    .61707       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2485       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=   3499.055     FROM MIGRAD    STATUS=CONVERGED     56 CALLS      224 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .79487        64.789        .34102E-01    .45631E-03
   2  Index         2.3001        5.7585        .26010       -.16460E-04
   3  Normalizat    .61711        .28984E-01    .41172E-01    .19018E-03
   4  Prefactor     1.2484        .35765E-01    .50013E-01    .20323E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.794874
  Index      = 2.30009
  Normalizat = 0.617111
  Prefactor  = 1.24844
 **********
 **   18 **HESSE 
 **********

 FCN=   3499.055     FROM HESSE     STATUS=OK            33 CALLS      257 TOTAL
                     EDM=   .56E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .79487        2.5564        .15360E-02   -1.5530    
   2  Index         2.3001        1.6031        .14941E-01   -.57042    
   3  Normalizat    .61711        .22215        .24863E-03   -1.0726    
   4  Prefactor     1.2484        .27328        .22110E-03   -.84853    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.58613e-09
Minuit parameter uncertainties:
  1  2.55672
  2  1.64467
  3  0.222474
  4  0.273595
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/346545': 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) = 3499.05458594
delta logL = 0.000845846322591

Extracting fit parameters...

4FGL J1419.8+5423
   Spectrum: PowerLaw
332    Prefactor:  7.949e-01  2.557e+00  1.000e-04  1.000e+04 ( 1.000e-12)
333        Index:  2.300e+00  1.645e+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.248e+00  2.736e-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:  6.171e-01  2.225e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.15
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/346545/cmap_HighResolution_258768001_259027201_4FGL_J1419.8+5423_daily_bin75.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.73e-03', job_status='DONE', photon_flux_upper_limit='8.72e-08', time_completed='2021-09-09 09:55:46.372264', job_id='346545', GAL2='1.25', fit_tolerance='1e-08', EG2='0.62', EG='0.62', time_epoch_completed='1631206546.37', return_code2='0', ts='0.15', comment='SUCCESS', return_code='0', GAL='1.25', dlogl='8.46e-04', ts2='0.15', photon_index_error='0.00', photon_index='2.36' WHERE bin_id='75' AND source_name='4FGL J1419.8+5423' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 09:55:46 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0274>
Subject: Job 346545: <4FGL_J1419.8+5423_daily_bin75> in cluster <slac> Done

Job <4FGL_J1419.8+5423_daily_bin75> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 09:41:02 2021
Job was executed on host(s) <bullet0274>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 09:41:03 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:41:03 2021
Terminated at Thu Sep  9 09:55:47 2021
Results reported at Thu Sep  9 09:55:47 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1419.8+5423_daily_bin75 214.955 54.3937 258768001 259027201 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 :                                   705.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             311.71 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   883 sec.
    Turnaround time :                            885 sec.

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

