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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin165
RA = 216.169, Dec = 14.784
tmin = 282096001, tmax = 282355201
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='428524', job_status='RUN', time_executed='2021-09-09 14:04:03.858400', time_epoch_executed='1631221443.86' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='165'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/428524

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/428524/ft1_4FGL_J1424.6+1447_daily_bin165.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/428524/ft2_4FGL_J1424.6+1447_daily_bin165.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/428524/ft1_4FGL_J1424.6+1447_daily_bin165.fits outfile=/scratch/kocevski/428524/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin165.fits ra=216.169 dec=14.784 rad=12.0 tmin=282096001.0 tmax=282355201.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.53
user 3.29
sys 0.21

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/428524/ft1_filtered_4FGL_J1424.6+1447_daily_bin165.fits evtable="EVENTS" scfile=/scratch/kocevski/428524/ft2_4FGL_J1424.6+1447_daily_bin165.fits sctable="SC_DATA" expcube=/scratch/kocevski/428524/ltcube_282096001_282355201_4FGL_J1424.6+1447_daily_bin165.fits outfile=/scratch/kocevski/428524/expmap_282096001_282355201_4FGL_J1424.6+1447_daily_bin165.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/428524/ltcube_282096001_282355201_4FGL_J1424.6+1447_daily_bin165.fits
.....................!
real 192.71
user 187.06
sys 5.29

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/428524/ft1_filtered_4FGL_J1424.6+1447_daily_bin165.fits scfile=/scratch/kocevski/428524/ft2_4FGL_J1424.6+1447_daily_bin165.fits outfile=/scratch/kocevski/428524/cmap_282096001_282355201_4FGL_J1424.6+1447_daily_bin165.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.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/428524/ft1_filtered_4FGL_J1424.6+1447_daily_bin165.fits scfile=/scratch/kocevski/428524/ft2_4FGL_J1424.6+1447_daily_bin165.fits outfile=/scratch/kocevski/428524/cmap_HighResolution_282096001_282355201_4FGL_J1424.6+1447_daily_bin165.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.38
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    2.4076       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14634E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    143.71       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.5611       1.0000         .10000E-03   10000.    
     7 'norm      '    6.6108       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10239E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    7.4989       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10692E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10153E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    26.784       1.0000         .10000E-03   10000.    
    14 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    15.961       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    18 'Prefactor '    11.657       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    7.7304       1.0000         .10000E-03   10000.    
    21 'norm      '    .40963       1.0000         .10000E-03   10000.    
    22 'norm      '    3.1207       1.0000         .10000E-03   10000.    
    23 'Normalizat'    .72838       1.0000         .10000E-01   10.000    
    24 'Prefactor '    1.3222       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=   6541.124     FROM MIGRAD    STATUS=CONVERGED    541 CALLS     2722 TOTAL
                     EDM=   .56E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    15.665       -.77168E-06** at limit **
   2  Prefactor     2.4075        3.5981       -.70067E-06    .57842E-06
   3  Prefactor     .10000E-03    5.3473       -.12418E-06** at limit **
   4  Prefactor     .10000E-03    35.270        .54981E-05** at limit **
   5  Prefactor     143.69        48.392        .96033E-06    .21987E-04
   6  Prefactor     8.5272        33.066        .53199E-05   -.69064E-05
   7  norm          6.6207        24.510       -.11004E-05   -.13476E-04
   8  Prefactor     .10000E-03    2.5496        .21801E-06** at limit **
   9  norm          7.4987        2.8726        .70918E-08    .33311E-04
  10  Prefactor     .10000E-03    6.5887       -.69368E-06** at limit **
  11  norm          .10000E-03    1.1912       -.35046E-06** at limit **
  12  Prefactor     .10000E-03    52.306        .40933E-05** at limit **
  13  norm          26.777        21.487        .10580E-05   -.64820E-04
  14  norm          .10000E-03    1.6533       -.20333E-06** at limit **
  15  Prefactor     .10000E-03    25.567       -.69487E-06** at limit **
  16  Prefactor     15.954        22.257        .15773E-06   -.29489E-05
  17  Prefactor     .10000E-03    7.4132       -.49105E-07** at limit **
  18  Prefactor     11.660        19.884        .43554E-07    .16134E-05
  19  Prefactor     .10000E-03    23.112        .20638E-05** at limit **
  20  Prefactor     7.7303        8.2288       -.10412E-06    .68103E-05
  21  norm          .40958        .20295       -.21972E-07   -.67810E-04
  22  norm          3.1157        84.893       -.49368E-06    .36293E-07
  23  Normalizat    .72845        .22391        .92978E-06    .13274E-03
  24  Prefactor     1.3222        .16519        .71812E-06    .12228E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 2.40748
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 143.692
  Prefactor  = 8.52717
  norm       = 6.62066
  Prefactor  = 0.0001
  norm       = 7.49869
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.000100001
  norm       = 26.7775
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.9537
  Prefactor  = 0.0001
  Prefactor  = 11.6601
  Prefactor  = 0.0001
  Prefactor  = 7.73026
  norm       = 0.409581
  norm       = 3.11567
  Normalizat = 0.728446
  Prefactor  = 1.32221
 **********
 **   18 **HESSE 
 **********

 FCN=   6541.124     FROM HESSE     STATUS=OK           399 CALLS     3121 TOTAL
                     EDM=   .10E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    15.669        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     2.4075        3.5935        .18247E-03   -1.5398    
   3  Prefactor     .10000E-03    5.3593        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    34.964        .40787E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     143.69        48.378        .16805E-03   -1.3305    
   6  Prefactor     8.5272        32.989        .13700E-03   -1.5124    
   7  norm          6.6207        24.512        .15607E-03   -1.5193    
   8  Prefactor     .10000E-03    2.5511        .12601E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          7.4987        2.8726        .82348E-04   -1.5160    
  10  Prefactor     .10000E-03    6.8615        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    1.2168        .86326E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    51.512        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          26.777        21.355        .77407E-04   -1.4673    
  14  norm          .10000E-03    1.6643        .10160E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    25.736        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     15.954        22.232        .10025E-03   -1.4909    
  17  Prefactor     .10000E-03    7.4330        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  Prefactor     11.660        19.870        .11733E-03   -1.5025    
  19  Prefactor     .10000E-03    23.115        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     7.7303        8.2280        .14423E-03   -1.5152    
  21  norm          .40958        .20104        .24551E-04   -1.5580    
  22  norm          3.1157        85.454        .22951E-03   -1.5355    
  23  Normalizat    .72845        .25101        .34557E-03   -1.0278    
  24  Prefactor     1.3222        .18976        .19976E-03   -.82649    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01157e-10
Minuit parameter uncertainties:
  1  4.34219e-07
  2  3.59383
  3  5.51341e-06
  4  9.68315e-05
  5  48.3911
  6  33.0594
  7  24.5494
  8  6.88074e-06
  9  2.87261
  10  3.00731e-05
  11  2.45412e-06
  12  0.000413931
  13  21.3609
  14  1.61759e-06
  15  5.31666e-05
  16  22.2439
  17  1.18299e-05
  18  19.881
  19  2.78724e-05
  20  8.22919
  21  0.201038
  22  32.6855
  23  0.251407
  24  0.189858
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  6.881e-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:  1.322e+00  1.899e-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:  7.284e-01  2.514e-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.55e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.22e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/428524/likelihoodResults_282096001_282355201_4FGL_J1424.6+1447_daily_bin165.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) = 6541.12535637
delta logL = -0.00184132723643

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6541.12351505
delta logL = -7.75708031142e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1539       1.0000          .0000       10.000    
     3 'Normalizat'    .72837       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3223       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=   6541.124     FROM MIGRAD    STATUS=FAILED        86 CALLS      239 TOTAL
                     EDM=   .46E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10150E-03    39.977        .12772E-02** at limit **
   2  Index         2.0890        8.7479        .50000        .49709E-04
   3  Normalizat    .72845        .19663E-01    .34556E-03    .30333E-04
   4  Prefactor     1.3222        .14953E-01    .19976E-03    .27317E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6541.124     FROM SIMPLEX   STATUS=PROGRESS     122 CALLS      361 TOTAL
                     EDM=   .47E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10204E-03    39.977        .18522E-03** at limit **
   2  Index         2.0534        8.7479        .12048E-01    .49709E-04
   3  Normalizat    .72838        .19663E-01    .37107E-04    .30333E-04
   4  Prefactor     1.3222        .14953E-01    .25448E-05    .27317E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6541.124     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      414 TOTAL
                     EDM=   .31E-09    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    45.826        .25544E-02** at limit **
   2  Index         1.6809        8.1022        .50000        .20650E-06
   3  Normalizat    .72845        .19637E-01    .13823E-04    .20183E-03
   4  Prefactor     1.3222        .14934E-01    .79905E-05    .77683E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 1.68086
  Normalizat = 0.728449
  Prefactor  = 1.32221
 **********
 **   18 **HESSE 
 **********

 FCN=   6541.124     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      443 TOTAL
                     EDM=   .14E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    207.86        .51088E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         1.6809        5.5907        .50000       -.72593    
   3  Normalizat    .72845        .44830E-01    .27645E-05   -1.0278    
   4  Prefactor     1.3222        .34088E-01    .15981E-05   -.82649    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.40378e-09
Minuit parameter uncertainties:
  1  3.44623e-05
  2  776.826
  3  0.0448321
  4  0.0340887
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/428524': 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) = 6541.12351153
delta logL = 3.51557264366e-06

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  3.446e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  1.681e+00  7.768e+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.322e+00  3.409e-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:  7.284e-01  4.483e-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/428524/cmap_HighResolution_282096001_282355201_4FGL_J1424.6+1447_daily_bin165.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.22e-03', job_status='DONE', photon_flux_upper_limit='5.55e-08', time_completed='2021-09-09 14:14:26.586935', job_id='428524', GAL2='1.32', fit_tolerance='1e-08', EG2='0.73', EG='0.73', time_epoch_completed='1631222066.59', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.32', dlogl='3.52e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='165' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:14:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0169>
Subject: Job 428524: <4FGL_J1424.6+1447_daily_bin165> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin165 216.169 14.784 282096001 282355201 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 :                                   621.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             286.48 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   760 sec.
    Turnaround time :                            763 sec.

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

