/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 204 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 = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.6+1447_daily_bin230
RA = 216.169, Dec = 14.784
tmin = 298944001, tmax = 299203201
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='429775', job_status='RUN', time_executed='2021-09-09 14:09:48.751938', time_epoch_executed='1631221788.75' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/429775

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/429775/ft1_4FGL_J1424.6+1447_daily_bin230.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/429775/ft2_4FGL_J1424.6+1447_daily_bin230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/429775/ft1_4FGL_J1424.6+1447_daily_bin230.fits outfile=/scratch/kocevski/429775/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin230.fits ra=216.169 dec=14.784 rad=12.0 tmin=298944001.0 tmax=299203201.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.41
user 3.20
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/429775/ft2_4FGL_J1424.6+1447_daily_bin230.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/429775/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin230.fits evtable="EVENTS" outfile="/scratch/kocevski/429775/ft1_filtered_4FGL_J1424.6+1447_daily_bin230.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.32
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/429775/ft1_filtered_4FGL_J1424.6+1447_daily_bin230.fits" evtable="EVENTS" scfile=/scratch/kocevski/429775/ft2_4FGL_J1424.6+1447_daily_bin230.fits sctable="SC_DATA" outfile=/scratch/kocevski/429775/ltcube_298944001_299203201_4FGL_J1424.6+1447_daily_bin230.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/429775/ft2_4FGL_J1424.6+1447_daily_bin230.fits
.....................!
real 11.71
user 11.33
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/429775/ft1_filtered_4FGL_J1424.6+1447_daily_bin230.fits evtable="EVENTS" scfile=/scratch/kocevski/429775/ft2_4FGL_J1424.6+1447_daily_bin230.fits sctable="SC_DATA" expcube=/scratch/kocevski/429775/ltcube_298944001_299203201_4FGL_J1424.6+1447_daily_bin230.fits outfile=/scratch/kocevski/429775/expmap_298944001_299203201_4FGL_J1424.6+1447_daily_bin230.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/429775/ltcube_298944001_299203201_4FGL_J1424.6+1447_daily_bin230.fits
.....................!
real 190.20
user 185.05
sys 4.78

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/429775/ft1_filtered_4FGL_J1424.6+1447_daily_bin230.fits scfile=/scratch/kocevski/429775/ft2_4FGL_J1424.6+1447_daily_bin230.fits outfile=/scratch/kocevski/429775/cmap_298944001_299203201_4FGL_J1424.6+1447_daily_bin230.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.53
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/429775/ft1_filtered_4FGL_J1424.6+1447_daily_bin230.fits scfile=/scratch/kocevski/429775/ft2_4FGL_J1424.6+1447_daily_bin230.fits outfile=/scratch/kocevski/429775/cmap_HighResolution_298944001_299203201_4FGL_J1424.6+1447_daily_bin230.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.54
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    100.64       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    10.718       1.0000         .10000E-03   10000.    
     5 'Prefactor '    21.330       1.0000         .10000E-03   10000.    
     6 'Prefactor '    30.760       1.0000         .10000E-03   10000.    
     7 'norm      '    .12275E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.6853       1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.1529       1.0000         .10000E-03   10000.    
    11 'norm      '    4.3555       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13747E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    23.730       1.0000         .10000E-03   10000.    
    14 'norm      '    .48376       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    2.1825       1.0000         .10000E-03   10000.    
    21 'norm      '    .30358       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.0235       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.0335       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=   6479.766     FROM MIGRAD    STATUS=CONVERGED    538 CALLS     2692 TOTAL
                     EDM=   .12E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     100.64        58.214        .86731E-07    .72898E-06
   2  Prefactor     .10000E-03    1.1401       -.87427E-09** at limit **
   3  Prefactor     .10000E-03    4.9019       -.18288E-07** at limit **
   4  Prefactor     10.719        12.372       -.55319E-07   -.32469E-05
   5  Prefactor     21.333        19.917        .10554E-05    .82021E-05
   6  Prefactor     30.755        27.585       -.32970E-05    .14986E-05
   7  norm          .10000E-03    42.891       -.41224E-05** at limit **
   8  Prefactor     .10000E-03    2.8587        .15383E-08** at limit **
   9  norm          6.6854        2.9133        .19202E-08    .21692E-04
  10  Prefactor     1.1512        11.785       -.36356E-06   -.10500E-03
  11  norm          4.3563        3.0830       -.83641E-08   -.21203E-04
  12  Prefactor     .10000E-03    41.680        .22214E-05** at limit **
  13  norm          23.731        22.702        .18154E-05   -.11016E-04
  14  norm          .48970        3.1114       -.26224E-06    .17082E-04
  15  Prefactor     .10000E-03    24.087        .47858E-05** at limit **
  16  Prefactor     .10000E-03    22.951        .47707E-07** at limit **
  17  Prefactor     .10000E-03    5.6543        .80670E-07** at limit **
  18  Prefactor     .10000E-03    11.467       -.21862E-05** at limit **
  19  Prefactor     .10000E-03    13.444        .55943E-05** at limit **
  20  Prefactor     2.1816        2.6620        .33317E-06   -.89888E-03
  21  norm          .30358        .15644       -.40711E-08   -.12008E-03
  22  norm          .10000E-03    17.395       -.69255E-05** at limit **
  23  Normalizat    1.0234        .20840        .20585E-06   -.89153E-05
  24  Prefactor     1.0336        .14923       -.48633E-07    .10615E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 100.636
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7195
  Prefactor  = 21.3334
  Prefactor  = 30.7551
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.68536
  Prefactor  = 1.15123
  norm       = 4.35627
  Prefactor  = 0.0001
  norm       = 23.7313
  norm       = 0.489701
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 2.18157
  norm       = 0.303584
  norm       = 0.0001
  Normalizat = 1.02342
  Prefactor  = 1.03364
 **********
 **   18 **HESSE 
 **********

 FCN=   6479.766     FROM HESSE     STATUS=OK           399 CALLS     3091 TOTAL
                     EDM=   .23E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     100.64        58.225        .40076E-04   -1.3698    
   2  Prefactor     .10000E-03    1.1422        .83936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    4.9143        .17405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     10.719        12.424        .12238E-03   -1.5053    
   5  Prefactor     21.333        19.920        .86725E-04   -1.4784    
   6  Prefactor     30.755        27.599        .72243E-04   -1.4598    
   7  norm          .10000E-03    42.982        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    2.8664        .13283E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.6854        2.9129        .87807E-04   -1.5191    
  10  Prefactor     1.1512        12.074        .43054E-03   -1.5493    
  11  norm          4.3563        3.0724        .11282E-03   -1.5291    
  12  Prefactor     .10000E-03    41.582        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          23.731        22.652        .82229E-04   -1.4733    
  14  norm          .48970        6.4501        .27328E-02   -1.5568    
  15  Prefactor     .10000E-03    24.468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    23.108        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    5.6667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     .10000E-03    11.538        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    13.484        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     2.1816        7.6692        .13932E-02   -1.5413    
  21  norm          .30358        .15558        .22079E-04   -1.5598    
  22  norm          .10000E-03    17.450        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.0234        .25237        .28185E-03   -.92250    
  24  Prefactor     1.0336        .18271        .20908E-03   -.91616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.26286e-09
Minuit parameter uncertainties:
  1  58.2584
  2  6.32139e-08
  3  7.84888e-07
  4  12.4267
  5  19.9266
  6  27.6109
  7  0.000129977
  8  6.65e-07
  9  2.91299
  10  7.45814
  11  3.07247
  12  0.000161666
  13  22.6598
  14  3.5546
  15  2.16079e-05
  16  2.50575e-05
  17  9.39313e-07
  18  7.53147e-06
  19  1.88695e-05
  20  7.67262
  21  0.15558
  22  2.94343e-05
  23  0.252665
  24  0.182816
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.650e-07  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:  1.034e+00  1.828e-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.023e+00  2.527e-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: 5.66e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.31e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/429775/likelihoodResults_298944001_299203201_4FGL_J1424.6+1447_daily_bin230.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) = 6479.76763062
delta logL = -0.00165808249858

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6479.76597254
delta logL = -1.09139364213e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10082E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1575       1.0000          .0000       10.000    
     3 'Normalizat'    1.0234       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0336       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=   6479.766     FROM MIGRAD    STATUS=FAILED        87 CALLS      238 TOTAL
                     EDM=   .55E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10125E-03    50.469        .13396E-02** at limit **
   2  Index         2.0914        5.8275        .50000        .34351E-04
   3  Normalizat    1.0234        .20175E-01    .28185E-03   -.43442E-04
   4  Prefactor     1.0336        .15120E-01    .20908E-03   -.18053E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6479.766     FROM SIMPLEX   STATUS=PROGRESS     128 CALLS      366 TOTAL
                     EDM=   .70E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10115E-03    50.469        .24733E-03** at limit **
   2  Index         2.0906        5.8275        .25573E-03    .34351E-04
   3  Normalizat    1.0234        .20175E-01    .53602E-05   -.43442E-04
   4  Prefactor     1.0336        .15120E-01    .29398E-05   -.18053E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6479.766     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      417 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    50.604        .26793E-02** at limit **
   2  Index         1.7484        8.6791        .50000       -.60027E-08
   3  Normalizat    1.0234        .19288E-01    .11274E-04   -.41546E-04
   4  Prefactor     1.0336        .14456E-01    .83631E-05   -.24197E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.74844
  Normalizat = 1.02342
  Prefactor  = 1.03364
 **********
 **   18 **HESSE 
 **********

 FCN=   6479.766     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      446 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    241.73        .53586E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.7484        6.6887        .50000       -.70800    
   3  Normalizat    1.0234        .45672E-01    .22548E-05   -.92250    
   4  Prefactor     1.0336        .34226E-01    .16726E-05   -.91616    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 6.02509e-10
Minuit parameter uncertainties:
  1  0.000151351
  2  927.975
  3  0.0456735
  4  0.0342269
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/429775': 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) = 6479.76597035
delta logL = 2.18071727431e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  1.514e-04  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.748e+00  9.280e+02  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:  1.034e+00  3.423e-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.023e+00  4.567e-02  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/429775/cmap_HighResolution_298944001_299203201_4FGL_J1424.6+1447_daily_bin230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.31e-03', job_status='DONE', photon_flux_upper_limit='5.66e-08', time_completed='2021-09-09 14:20:21.479183', job_id='429775', GAL2='1.03', fit_tolerance='1e-08', EG2='1.02', EG='1.02', time_epoch_completed='1631222421.48', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.03', dlogl='2.18e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='230' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:20:21 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0050>
Subject: Job 429775: <4FGL_J1424.6+1447_daily_bin230> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin230> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:13 2021
Job was executed on host(s) <bullet0050>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:15 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:06:15 2021
Terminated at Thu Sep  9 14:20:22 2021
Results reported at Thu Sep  9 14:20:22 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin230 216.169 14.784 298944001 299203201 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 :                                   623.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             267.44 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   846 sec.
    Turnaround time :                            849 sec.

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

