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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin839
RA = 216.169, Dec = 14.784
tmin = 456796801, tmax = 457056001
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='433619', job_status='RUN', time_executed='2021-09-09 14:20:11.758429', time_epoch_executed='1631222411.76' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='839'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433619

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433619/ft1_4FGL_J1424.6+1447_daily_bin839.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433619/ft1_4FGL_J1424.6+1447_daily_bin839.fits outfile=/scratch/kocevski/433619/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin839.fits ra=216.169 dec=14.784 rad=12.0 tmin=456796801.0 tmax=457056001.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.29
user 3.09
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.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/433619/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin839.fits evtable="EVENTS" outfile="/scratch/kocevski/433619/ft1_filtered_4FGL_J1424.6+1447_daily_bin839.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

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

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.48
user 0.31
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433619/ft1_filtered_4FGL_J1424.6+1447_daily_bin839.fits" evtable="EVENTS" scfile=/scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits sctable="SC_DATA" outfile=/scratch/kocevski/433619/ltcube_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.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/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits
.....................!
real 11.89
user 11.53
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433619/ft1_filtered_4FGL_J1424.6+1447_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits sctable="SC_DATA" expcube=/scratch/kocevski/433619/ltcube_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.fits outfile=/scratch/kocevski/433619/expmap_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.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/433619/ltcube_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.fits
.....................!
real 189.86
user 185.08
sys 4.46

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

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/433619/ft1_filtered_4FGL_J1424.6+1447_daily_bin839.fits scfile=/scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits outfile=/scratch/kocevski/433619/cmap_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.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=216.169 yref=14.784 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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433619/ft1_filtered_4FGL_J1424.6+1447_daily_bin839.fits scfile=/scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits outfile=/scratch/kocevski/433619/cmap_HighResolution_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.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=216.169 yref=14.784 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/433619/ft1_filtered_4FGL_J1424.6+1447_daily_bin839.fits evtable="EVENTS" scfile=/scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/433619/Model_4FGL_J1424.6+1447_daily_bin839.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/433619/ft1_filtered_4FGL_J1424.6+1447_daily_bin839.fits.....................!
real 55.47
user 54.23
sys 1.08

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/433619/ft1_filtered_4FGL_J1424.6+1447_daily_bin839.fits', '/scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits', expMap='/scratch/kocevski/433619/expmap_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.fits', expCube='/scratch/kocevski/433619/ltcube_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/433619/Model_4FGL_J1424.6+1447_daily_bin839.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.6+1447'

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.029e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/433619/ft1_filtered_4FGL_J1424.6+1447_daily_bin839.fits
Spacecraft file(s): /scratch/kocevski/433619/ft2_4FGL_J1424.6+1447_daily_bin839.fits
Exposure map: /scratch/kocevski/433619/expmap_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.fits
Exposure cube: /scratch/kocevski/433619/ltcube_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/433619/Model_4FGL_J1424.6+1447_daily_bin839.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) = 7149.29143283

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    3.3761       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10065E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.946       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    3.5924       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .16304E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    1.7567       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10057E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    15.494       1.0000         .10000E-03   10000.    
    14 'norm      '    84.924       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    20.161       1.0000         .10000E-03   10000.    
    20 'Prefactor '    23.510       1.0000         .10000E-03   10000.    
    21 'norm      '    3.5718       1.0000         .10000E-03   10000.    
    22 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0453       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .91194       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7149.289     FROM MIGRAD    STATUS=CONVERGED    525 CALLS     2697 TOTAL
                     EDM=   .99E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    14.685       -.42904E-05** at limit **
   2  Prefactor     3.3760        4.2563        .43843E-06   -.37952E-03
   3  Prefactor     .10000E-03    4.2041       -.26927E-07** at limit **
   4  Prefactor     .10000E-03    22.293        .75796E-05** at limit **
   5  Prefactor     .10000E-03    16.858        .12375E-06** at limit **
   6  Prefactor     13.948        27.763        .28541E-05   -.10916E-04
   7  norm          .10000E-03    15.374       -.35089E-05** at limit **
   8  Prefactor     .10000E-03    2.0624        .13611E-07** at limit **
   9  norm          3.5923        2.6192       -.32710E-06   -.19189E-02
  10  Prefactor     .10001E-03    4.2683        .14511E-05** at limit **
  11  norm          1.7577        3.4804       -.96103E-06   -.12616E-02
  12  Prefactor     .10000E-03    18.275        .35138E-05** at limit **
  13  norm          15.493        17.860       -.22958E-06   -.46633E-04
  14  norm          84.924        12.160        .40600E-07   -.20755E-04
  15  Prefactor     .10000E-03    12.159       -.21178E-06** at limit **
  16  Prefactor     .10000E-03    24.792        .75416E-06** at limit **
  17  Prefactor     .10000E-03    4.0110       -.43223E-07** at limit **
  18  Prefactor     .10000E-03    8.8269       -.65940E-06** at limit **
  19  Prefactor     20.160        46.028       -.85002E-06   -.42291E-05
  20  Prefactor     23.510        13.255       -.27189E-07   -.18919E-04
  21  norm          3.5718        .41567        .46451E-09   -.18834E-03
  22  norm          .10000E-03    27.035       -.72047E-05** at limit **
  23  Normalizat    1.0450        .20903       -.58277E-06   -.30322E-03
  24  Prefactor     .91208        .15384        .21055E-06   -.33769E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 3.37603
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.9478
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 3.5923
  Prefactor  = 0.00010001
  norm       = 1.7577
  Prefactor  = 0.0001
  norm       = 15.4933
  norm       = 84.9244
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 20.1601
  Prefactor  = 23.5105
  norm       = 3.5718
  norm       = 0.0001
  Normalizat = 1.04503
  Prefactor  = 0.912077
 **********
 **   18 **HESSE 
 **********

 FCN=   7149.289     FROM HESSE     STATUS=OK           393 CALLS     3090 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    14.489        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     3.3760        4.2222        .18817E-03   -1.5340    
   3  Prefactor     .10000E-03    4.2082        .16931E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    22.145        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    16.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.948        27.617        .10726E-03   -1.4961    
   7  norm          .10000E-03    15.305        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.0649        .11856E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          3.5923        2.7063        .58271E-03   -1.5329    
  10  Prefactor     .10001E-03    11.359        .32593E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          1.7577        3.6305        .21699E-03   -1.5443    
  12  Prefactor     .10000E-03    18.154        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          15.493        17.875        .10175E-03   -1.4921    
  14  norm          84.924        12.165        .43592E-04   -1.3862    
  15  Prefactor     .10000E-03    12.259        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    24.908        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    4.0126        .16537E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    8.8280        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     20.160        46.081        .89203E-04   -1.4810    
  20  Prefactor     23.510        13.253        .82612E-04   -1.4738    
  21  norm          3.5718        .41603        .17893E-04   -1.5330    
  22  norm          .10000E-03    26.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0450        .25338        .30765E-03   -.91537    
  24  Prefactor     .91208        .18853        .24038E-03   -.95720    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.65458e-09
Minuit parameter uncertainties:
  1  5.43199e-07
  2  4.22253
  3  1.03009e-06
  4  0.000129944
  5  7.71448e-06
  6  27.6427
  7  1.17774e-05
  8  1.94151e-06
  9  2.70637
  10  0.00066639
  11  3.631
  12  1.22378e-06
  13  17.881
  14  12.1655
  15  8.29588e-06
  16  2.47597e-07
  17  1.22009e-06
  18  4.72047e-06
  19  46.1629
  20  13.2544
  21  0.416028
  22  2.47449e-06
  23  0.253677
  24  0.188664
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.942e-06  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  9.121e-01  1.887e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.045e+00  2.537e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 4.76e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.62e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433619/likelihoodResults_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.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) = 7149.29081856
delta logL = -0.00227638643355

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 7149.28854184
delta logL = 3.30021975969e-07

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   7149.289     FROM MIGRAD    STATUS=FAILED        85 CALLS      220 TOTAL
                     EDM=   .22E-07    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10001E-03    2.9456        .12024E-02** at limit **
   2  Index         2.1347        6.0083        .50000        .71211E-04
   3  Normalizat    1.0450        .24912        .30765E-03   -.17922E-04
   4  Prefactor     .91208        .18439        .24038E-03    .14188E-05
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   7149.289     FROM SIMPLEX   STATUS=UNCHANGED    136 CALLS      356 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX APPROXIMATE

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10001E-03    2.9456        .25615E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1347        6.0083        .27228E-03   -.61023    
   3  Normalizat    1.0450        .24912        .20188E-04   -.91537    
   4  Prefactor     .91208        .18439        .96205E-05   -.95720    
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7149.289     FROM MIGRAD    STATUS=CONVERGED     46 CALLS      402 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    128.79        .24047E-02** at limit **
   2  Index         1.5735        9.2119        .50000        .14750E-06
   3  Normalizat    1.0450        .37085E-01    .12306E-04    .13599E-03
   4  Prefactor     .91208        .27428E-01    .96154E-05    .28353E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.57347
  Normalizat = 1.04503
  Prefactor  = 0.912078
 **********
 **   18 **HESSE 
 **********

 FCN=   7149.289     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      431 TOTAL
                     EDM=   .49E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    497.66        .48095E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.5735        6.4259        .50000       -.75502    
   3  Normalizat    1.0450        .10438        .24612E-05   -.91537    
   4  Prefactor     .91208        .77054E-01    .19231E-05   -.95720    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 4.90926e-08
Minuit parameter uncertainties:
  1  0.000782802
  2  1884.33
  3  0.104404
  4  0.0770635
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433619': 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) = 7149.28853656
delta logL = 5.61482738703e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  7.828e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.573e+00  1.884e+03  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  9.121e-01  7.706e-02  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.045e+00  1.044e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.169 14.784

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/433619/cmap_HighResolution_456796801_457056001_4FGL_J1424.6+1447_daily_bin839.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.62e-03', job_status='DONE', photon_flux_upper_limit='4.76e-08', time_completed='2021-09-09 14:31:06.335599', job_id='433619', GAL2='0.91', fit_tolerance='1e-08', EG2='1.05', EG='1.05', time_epoch_completed='1631223066.34', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.91', dlogl='5.61e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='839' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:31:06 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0275>
Subject: Job 433619: <4FGL_J1424.6+1447_daily_bin839> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin839> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:05 2021
Job was executed on host(s) <bullet0275>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:06 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:16:06 2021
Terminated at Thu Sep  9 14:31:07 2021
Results reported at Thu Sep  9 14:31:07 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin839 216.169 14.784 456796801 457056001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   653.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             273.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   900 sec.
    Turnaround time :                            902 sec.

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

