/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 226 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 = 7484
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin129
RA = 216.169, Dec = 14.784
tmin = 272764801, tmax = 273024001
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='428467', job_status='RUN', time_executed='2021-09-09 14:05:37.954919', time_epoch_executed='1631221537.95' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='129'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428467

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428467/ft1_4FGL_J1424.6+1447_daily_bin129.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428467/ft2_4FGL_J1424.6+1447_daily_bin129.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428467/ft1_4FGL_J1424.6+1447_daily_bin129.fits outfile=/scratch/kocevski/428467/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin129.fits ra=216.169 dec=14.784 rad=12.0 tmin=272764801.0 tmax=273024001.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.74
user 1.56
sys 0.17

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

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

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/428467/ft1_filtered_4FGL_J1424.6+1447_daily_bin129.fits" evtable="EVENTS" scfile=/scratch/kocevski/428467/ft2_4FGL_J1424.6+1447_daily_bin129.fits sctable="SC_DATA" outfile=/scratch/kocevski/428467/ltcube_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.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/428467/ft2_4FGL_J1424.6+1447_daily_bin129.fits
.....................!
real 12.76
user 12.37
sys 0.36

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428467/ft1_filtered_4FGL_J1424.6+1447_daily_bin129.fits evtable="EVENTS" scfile=/scratch/kocevski/428467/ft2_4FGL_J1424.6+1447_daily_bin129.fits sctable="SC_DATA" expcube=/scratch/kocevski/428467/ltcube_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.fits outfile=/scratch/kocevski/428467/expmap_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.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/428467/ltcube_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.fits
.....................!
real 191.31
user 185.27
sys 5.50

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/428467/ft1_filtered_4FGL_J1424.6+1447_daily_bin129.fits scfile=/scratch/kocevski/428467/ft2_4FGL_J1424.6+1447_daily_bin129.fits outfile=/scratch/kocevski/428467/cmap_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.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.55
user 0.35
sys 0.18

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428467/ft1_filtered_4FGL_J1424.6+1447_daily_bin129.fits scfile=/scratch/kocevski/428467/ft2_4FGL_J1424.6+1447_daily_bin129.fits outfile=/scratch/kocevski/428467/cmap_HighResolution_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.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.57
user 0.37
sys 0.17

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/428467/ft1_filtered_4FGL_J1424.6+1447_daily_bin129.fits', '/scratch/kocevski/428467/ft2_4FGL_J1424.6+1447_daily_bin129.fits', expMap='/scratch/kocevski/428467/expmap_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.fits', expCube='/scratch/kocevski/428467/ltcube_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/428467/Model_4FGL_J1424.6+1447_daily_bin129.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/428467/ft1_filtered_4FGL_J1424.6+1447_daily_bin129.fits
Spacecraft file(s): /scratch/kocevski/428467/ft2_4FGL_J1424.6+1447_daily_bin129.fits
Exposure map: /scratch/kocevski/428467/expmap_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.fits
Exposure cube: /scratch/kocevski/428467/ltcube_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/428467/Model_4FGL_J1424.6+1447_daily_bin129.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) = 8253.58578505

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10463E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.6568       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .25586E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    13.529       1.0000         .10000E-03   10000.    
     7 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    7.3381       1.0000         .10000E-03   10000.    
     9 'norm      '    5.7594       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10033E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .62526       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10957E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    16.558       1.0000         .10000E-03   10000.    
    18 'Prefactor '    19.900       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10578E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    6.5598       1.0000         .10000E-03   10000.    
    21 'norm      '    2.1389       1.0000         .10000E-03   10000.    
    22 'norm      '    40.734       1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2608       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .92101       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=   8253.577     FROM MIGRAD    STATUS=CONVERGED    537 CALLS     3251 TOTAL
                     EDM=   .14E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    106.40        .65947E-06** at limit **
   2  Prefactor     1.6561        3.2565        .68785E-06    .19088E-03
   3  Prefactor     .10000E-03    15.687       -.76321E-06** at limit **
   4  Prefactor     .10081E-03    8.0474       -.26123E-05** at limit **
   5  Prefactor     .10000E-03    19.666       -.17478E-06** at limit **
   6  Prefactor     13.527        16.625        .21476E-06    .17472E-06
   7  norm          .10000E-03    8.6636        .30583E-07** at limit **
   8  Prefactor     7.3397        6.3155        .14761E-05    .42919E-03
   9  norm          5.7593        2.5244       -.11904E-07   -.56593E-04
  10  Prefactor     .10000E-03    2.1043       -.58913E-07** at limit **
  11  norm          .10000E-03    1.1105        .12083E-07** at limit **
  12  Prefactor     .10000E-03    50.380        .11111E-05** at limit **
  13  norm          .10000E-03    16.708        .12720E-05** at limit **
  14  norm          .62500        2.8588        .28134E-05    .43032E-03
  15  Prefactor     .10000E-03    9.1172       -.38502E-06** at limit **
  16  Prefactor     .10000E-03    16.301        .52441E-06** at limit **
  17  Prefactor     16.570        17.804        .42066E-06    .71085E-04
  18  Prefactor     19.841        28.193       -.90150E-06   -.28632E-03
  19  Prefactor     .10000E-03    19.770       -.67798E-06** at limit **
  20  Prefactor     6.5597        6.2800       -.42820E-07    .17858E-04
  21  norm          2.1389        .28614        .69259E-08   -.21073E-03
  22  norm          40.734        43.030        .90366E-07   -.35291E-06
  23  Normalizat    1.2608        .19220       -.69435E-06    .20972E-03
  24  Prefactor     .92106        .13828       -.23555E-06    .15929E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100001
  Prefactor  = 1.65611
  Prefactor  = 0.000100001
  Prefactor  = 0.000100813
  Prefactor  = 0.0001
  Prefactor  = 13.5273
  norm       = 0.0001
  Prefactor  = 7.33969
  norm       = 5.7593
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 0.000100002
  norm       = 0.624995
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.5696
  Prefactor  = 19.8406
  Prefactor  = 0.0001
  Prefactor  = 6.55973
  norm       = 2.13894
  norm       = 40.734
  Normalizat = 1.26084
  Prefactor  = 0.921064
 **********
 **   18 **HESSE 
 **********

 FCN=   8253.577     FROM HESSE     STATUS=OK           393 CALLS     3644 TOTAL
                     EDM=   .18E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    107.87        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     1.6561        3.2332        .22311E-03   -1.5451    
   3  Prefactor     .10000E-03    15.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10081E-03    47.555        .40152E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    19.728        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     13.527        16.623        .10890E-03   -1.4972    
   7  norm          .10000E-03    8.6763        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     7.3397        6.3304        .74031E-03   -1.5166    
   9  norm          5.7593        2.5242        .92845E-04   -1.5228    
  10  Prefactor     .10000E-03    2.1157        .12866E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.1284        .93446E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    50.998        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    16.921        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .62500        2.8921        .30382E-03   -1.5550    
  15  Prefactor     .10000E-03    9.1242        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.435        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     16.570        17.798        .98427E-04   -1.4894    
  18  Prefactor     19.841        28.281        .89784E-04   -1.4817    
  19  Prefactor     .10000E-03    19.783        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     6.5597        6.2839        .15669E-03   -1.5196    
  21  norm          2.1389        .28620        .17083E-04   -1.5415    
  22  norm          40.734        43.073        .62806E-04   -1.4431    
  23  Normalizat    1.2608        .23354        .27852E-03   -.84743    
  24  Prefactor     .92106        .16996        .23276E-03   -.95409    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.75106e-08
Minuit parameter uncertainties:
  1  0.000466454
  2  3.23359
  3  0.000273162
  4  0.0124437
  5  8.26445e-05
  6  16.6285
  7  1.05081e-06
  8  6.33096
  9  2.52429
  10  4.51868e-06
  11  1.22111e-06
  12  0.00035972
  13  0.000393044
  14  2.6889
  15  1.20195e-05
  16  0.000142401
  17  17.8037
  18  28.2999
  19  0.000129505
  20  6.28452
  21  0.286203
  22  43.1064
  23  0.233733
  24  0.170062
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  7.340e+00  6.331e+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

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  9.211e-01  1.701e-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.261e+00  2.337e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.72
Ra Dec: 216.169 14.784
Photon Index (Fixed Index): 2.17 +/- 0.00
Photon Flux (Fixed Index): 3.18e-08 +/- 2.74e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.30e-05

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

Saving results to:
/scratch/kocevski/428467/likelihoodResults_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.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) = 8253.56089123
delta logL = 0.0161016589554

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 8253.55034279
delta logL = 0.026650093776

Fit tolerance = 1e-08

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

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

 FCN=   8253.550     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      228 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2677        130.09        .40069E-02    .96574E-03
   2  Index         2.3409        6.1704        .14170        .32594E-03
   3  Normalizat    1.2522        .90453E-01    .63152E-01    .27049E-03
   4  Prefactor     .92457        .49413E-01    .45319E-01   -.12152E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.26775
  Index      = 2.34086
  Normalizat = 1.2522
  Prefactor  = 0.924566
 **********
 **   18 **HESSE 
 **********

 FCN=   8253.550     FROM HESSE     STATUS=OK            31 CALLS      259 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2677        8.1965        .16028E-03   -1.5207    
   2  Index         2.3409        .82802        .79447E-02   -.56076    
   3  Normalizat    1.2522        .23551        .27933E-03   -.85005    
   4  Prefactor     .92457        .16965        .23236E-03   -.95288    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.14139e-09
Minuit parameter uncertainties:
  1  8.198
  2  0.833389
  3  0.235707
  4  0.169745
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428467': 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) = 8253.55034199
delta logL = 0.0266508983605

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  6.268e+00  8.198e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.341e+00  8.334e-01  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.246e-01  1.697e-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.252e+00  2.357e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 2.77
Ra Dec: 216.169 14.784
Photon Index (Free Index): 2.34 +/- 0.83
Photon Flux (Free Index): 3.85e-08 +/- 4.32e-08
Energy Flux (Free Index): 1.37e-05 +/- 1.30e-05

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/428467/cmap_HighResolution_272764801_273024001_4FGL_J1424.6+1447_daily_bin129.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.40e-03', comment='SUCCESS', photon_flux='3.18e-08', energy_flux2='1.37e-05', photon_flux_error='2.74e-08', dlogl='2.67e-02', energy_flux='1.50e-05', photon_flux2='3.85e-08', job_status='DONE', time_completed='2021-09-09 14:17:59.128378', photon_index_error2='0.83', photon_index2='2.34', ts='2.72', fit_tolerance='1e-08', GAL='0.92', photon_index_error='0.00', photon_flux_upper_limit='9.73e-08', energy_flux_error2='1.30e-05', EG='1.26', time_epoch_completed='1631222279.13', return_code='0', job_id='428467', GAL2='0.92', EG2='1.25', return_code2='0', energy_flux_error='1.30e-05', photon_flux_error2='4.32e-08', ts2='2.77', photon_index='2.17' WHERE bin_id='129' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:17:59 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0276>
Subject: Job 428467: <4FGL_J1424.6+1447_daily_bin129> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin129> was submitted from host <rhel6-64o> by user <kocevski> in cluster <slac> at Thu Sep  9 14:01:41 2021
Job was executed on host(s) <bullet0276>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:01:43 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:01:43 2021
Terminated at Thu Sep  9 14:17:59 2021
Results reported at Thu Sep  9 14:17:59 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin129 216.169 14.784 272764801 273024001 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 :                                   739.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             244.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   976 sec.
    Turnaround time :                            978 sec.

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

