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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin1050
RA = 216.169, Dec = 14.784
tmin = 511488001, tmax = 511747201
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='433934', job_status='RUN', time_executed='2021-09-09 14:16:39.828450', time_epoch_executed='1631222199.83' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='1050'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/433934

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/433934/ft1_4FGL_J1424.6+1447_daily_bin1050.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/433934/ft2_4FGL_J1424.6+1447_daily_bin1050.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/433934/ft1_4FGL_J1424.6+1447_daily_bin1050.fits outfile=/scratch/kocevski/433934/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin1050.fits ra=216.169 dec=14.784 rad=12.0 tmin=511488001.0 tmax=511747201.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.54
user 3.33
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/433934/ft1_filtered_4FGL_J1424.6+1447_daily_bin1050.fits" evtable="EVENTS" scfile=/scratch/kocevski/433934/ft2_4FGL_J1424.6+1447_daily_bin1050.fits sctable="SC_DATA" outfile=/scratch/kocevski/433934/ltcube_511488001_511747201_4FGL_J1424.6+1447_daily_bin1050.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/433934/ft2_4FGL_J1424.6+1447_daily_bin1050.fits
.....................!
real 12.46
user 12.05
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/433934/ft1_filtered_4FGL_J1424.6+1447_daily_bin1050.fits evtable="EVENTS" scfile=/scratch/kocevski/433934/ft2_4FGL_J1424.6+1447_daily_bin1050.fits sctable="SC_DATA" expcube=/scratch/kocevski/433934/ltcube_511488001_511747201_4FGL_J1424.6+1447_daily_bin1050.fits outfile=/scratch/kocevski/433934/expmap_511488001_511747201_4FGL_J1424.6+1447_daily_bin1050.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/433934/ltcube_511488001_511747201_4FGL_J1424.6+1447_daily_bin1050.fits
.....................!
real 190.00
user 185.22
sys 4.37

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/433934/ft1_filtered_4FGL_J1424.6+1447_daily_bin1050.fits scfile=/scratch/kocevski/433934/ft2_4FGL_J1424.6+1447_daily_bin1050.fits outfile=/scratch/kocevski/433934/cmap_511488001_511747201_4FGL_J1424.6+1447_daily_bin1050.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.40
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/433934/ft1_filtered_4FGL_J1424.6+1447_daily_bin1050.fits scfile=/scratch/kocevski/433934/ft2_4FGL_J1424.6+1447_daily_bin1050.fits outfile=/scratch/kocevski/433934/cmap_HighResolution_511488001_511747201_4FGL_J1424.6+1447_daily_bin1050.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.56
user 0.41
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    23.058       1.0000         .10000E-03   10000.    
     2 'Prefactor '    9.1605       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    3.5917       1.0000         .10000E-03   10000.    
     5 'Prefactor '    24.668       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    22.064       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.9975       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    5.3170       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    22.489       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10426E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.1097       1.0000         .10000E-03   10000.    
    18 'Prefactor '    61.857       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10069E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .75919E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    2.6709       1.0000         .10000E-03   10000.    
    22 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.2557       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .71405       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=   6604.915     FROM MIGRAD    STATUS=CONVERGED    542 CALLS     2736 TOTAL
                     EDM=   .29E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     23.036        40.506       -.42686E-05   -.17816E-03
   2  Prefactor     9.1598        5.4677        .63598E-06   -.29618E-03
   3  Prefactor     .10000E-03    11.404       -.95154E-06** at limit **
   4  Prefactor     3.5867        10.954        .45428E-06   -.18105E-04
   5  Prefactor     24.657        31.911       -.15251E-05   -.11555E-03
   6  Prefactor     .10000E-03    10.244        .38846E-06** at limit **
   7  norm          22.067        26.799        .32593E-06    .12896E-04
   8  Prefactor     .10000E-03    2.7418       -.63641E-07** at limit **
   9  norm          4.9974        2.2697       -.45238E-08    .24753E-04
  10  Prefactor     .10000E-03    5.2864       -.24995E-07** at limit **
  11  norm          5.3163        3.5644        .62725E-07   -.16060E-04
  12  Prefactor     .10000E-03    14.291        .98927E-06** at limit **
  13  norm          .10000E-03    6.3346        .39602E-07** at limit **
  14  norm          22.489        7.1376        .54945E-08    .44977E-05
  15  Prefactor     .10000E-03    23.821       -.20806E-05** at limit **
  16  Prefactor     .10000E-03    54.296       -.85972E-06** at limit **
  17  Prefactor     5.0929        16.568        .64707E-05   -.18131E-03
  18  Prefactor     61.848        30.809       -.14071E-05   -.81104E-04
  19  Prefactor     .10000E-03    17.197        .48867E-07** at limit **
  20  Prefactor     .10000E-03    5.8773       -.59569E-07** at limit **
  21  norm          2.6708        .36688       -.15741E-07    .12459E-03
  22  norm          .10000E-03    32.220        .22096E-05** at limit **
  23  Normalizat    1.2559        .20725        .37288E-06   -.28215E-04
  24  Prefactor     .71389        .14398       -.81053E-06    .53330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 23.0357
  Prefactor  = 9.15981
  Prefactor  = 0.0001
  Prefactor  = 3.58671
  Prefactor  = 24.6571
  Prefactor  = 0.0001
  norm       = 22.0665
  Prefactor  = 0.0001
  norm       = 4.9974
  Prefactor  = 0.0001
  norm       = 5.31633
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 22.4888
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 5.09289
  Prefactor  = 61.848
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 2.67079
  norm       = 0.000100001
  Normalizat = 1.25586
  Prefactor  = 0.713885
 **********
 **   18 **HESSE 
 **********

 FCN=   6604.915     FROM HESSE     STATUS=OK           395 CALLS     3131 TOTAL
                     EDM=   .68E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     23.036        42.172        .83417E-04   -1.4748    
   2  Prefactor     9.1598        5.4928        .66210E-03   -1.5103    
   3  Prefactor     .10000E-03    11.666        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     3.5867        11.034        .21322E-03   -1.5329    
   5  Prefactor     24.657        32.456        .80652E-04   -1.4714    
   6  Prefactor     .10000E-03    10.271        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.067        26.834        .85272E-04   -1.4768    
   8  Prefactor     .10000E-03    2.7481        .13138E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.9974        2.2712        .80289E-04   -1.5261    
  10  Prefactor     .10000E-03    5.4137        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          5.3163        3.5675        .11882E-03   -1.5247    
  12  Prefactor     .10000E-03    14.384        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    6.3436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          22.489        7.1412        .84465E-04   -1.4759    
  15  Prefactor     .10000E-03    24.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    55.070        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     5.0929        17.158        .88931E-03   -1.5257    
  18  Prefactor     61.848        30.782        .51019E-04   -1.4133    
  19  Prefactor     .10000E-03    17.209        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    24.305        .38235E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          2.6708        .36723        .17508E-04   -1.5381    
  22  norm          .10000E-03    32.667        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.2559        .24965        .26594E-03   -.84894    
  24  Prefactor     .71389        .17141        .24679E-03   -1.0299    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.77693e-10
Minuit parameter uncertainties:
  1  42.2268
  2  5.49312
  3  8.6004e-05
  4  11.0399
  5  32.4789
  6  3.40488e-05
  7  26.8482
  8  3.22919e-06
  9  2.27126
  10  6.28753e-06
  11  3.56761
  12  0.000115986
  13  7.19701e-08
  14  7.14147
  15  0.000293908
  16  0.000265624
  17  17.1741
  18  30.7902
  19  1.31647e-05
  20  0.000248415
  21  0.367232
  22  0.000406565
  23  0.249886
  24  0.171537
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  3.229e-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:  7.139e-01  1.715e-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.256e+00  2.499e-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.69e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.33e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/433934/likelihoodResults_511488001_511747201_4FGL_J1424.6+1447_daily_bin1050.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) = 6604.91637831
delta logL = -0.00172301197654

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6604.91465529
delta logL = 1.20180629892e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     2 'Index     '    2.1654       1.0000          .0000       10.000    
     3 'Normalizat'    1.2559       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71390       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=   6604.915     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      204 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    85.217        .90712E-02** at limit **
   2  Index         2.1588        6.6741        .50000        .20059E-04
   3  Normalizat    1.2559        .28494E-01    .60132E-01    .12478E-04
   4  Prefactor     .71388        .20627E-01    .42586E-01    .21725E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Index      = 2.15875
  Normalizat = 1.25587
  Prefactor  = 0.713884
 **********
 **   18 **HESSE 
 **********

 FCN=   6604.915     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      237 TOTAL
                     EDM=   .35E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    250.71        .13163E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         2.1588        8.1415        .50000       -.60438    
   3  Normalizat    1.2559        .53352E-01    .26594E-03   -.84894    
   4  Prefactor     .71388        .38632E-01    .24679E-03   -1.0299    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.54429e-08
Minuit parameter uncertainties:
  1  2.15209e-05
  2  39.4131
  3  0.0533545
  4  0.038633
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/433934': 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) = 6604.91465523
delta logL = 6.56264091958e-08

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.000e-04  2.152e-05  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.159e+00  3.941e+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:  7.139e-01  3.863e-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.256e+00  5.335e-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 -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/433934/cmap_HighResolution_511488001_511747201_4FGL_J1424.6+1447_daily_bin1050.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.33e-03', job_status='DONE', photon_flux_upper_limit='5.69e-08', time_completed='2021-09-09 14:27:17.203256', job_id='433934', GAL2='0.71', fit_tolerance='1e-08', EG2='1.26', EG='1.26', time_epoch_completed='1631222837.2', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.71', dlogl='6.56e-08', ts2='-0.00', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='1050' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:27:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0222>
Subject: Job 433934: <4FGL_J1424.6+1447_daily_bin1050> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin1050> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 14:16:27 2021
Job was executed on host(s) <bullet0222>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:16:28 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:28 2021
Terminated at Thu Sep  9 14:27:18 2021
Results reported at Thu Sep  9 14:27:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin1050 216.169 14.784 511488001 511747201 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 :                                   629.20 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             343.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   649 sec.
    Turnaround time :                            651 sec.

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

