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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin548
RA = 216.051, Dec = 4.5628
tmin = 381369601, tmax = 381628801
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='422852', job_status='RUN', time_executed='2021-09-09 13:48:51.943100', time_epoch_executed='1631220531.94' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='548'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/422852

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/422852/ft1_4FGL_J1424.2+0433_daily_bin548.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/422852/ft1_4FGL_J1424.2+0433_daily_bin548.fits outfile=/scratch/kocevski/422852/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin548.fits ra=216.051 dec=4.5628 rad=12.0 tmin=381369601.0 tmax=381628801.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.57
user 3.37
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.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/422852/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin548.fits evtable="EVENTS" outfile="/scratch/kocevski/422852/ft1_filtered_4FGL_J1424.2+0433_daily_bin548.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/422852/ft1_filtered_4FGL_J1424.2+0433_daily_bin548.fits" evtable="EVENTS" scfile=/scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits sctable="SC_DATA" outfile=/scratch/kocevski/422852/ltcube_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.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/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits
.....................!
real 15.43
user 15.07
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/422852/ft1_filtered_4FGL_J1424.2+0433_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits sctable="SC_DATA" expcube=/scratch/kocevski/422852/ltcube_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.fits outfile=/scratch/kocevski/422852/expmap_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.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/422852/ltcube_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.fits
.....................!
real 190.44
user 185.32
sys 4.73

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

Setting source of interest to:
4FGL J1424.2+0433 @ 216.051 4.5628

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/422852/ft1_filtered_4FGL_J1424.2+0433_daily_bin548.fits scfile=/scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits outfile=/scratch/kocevski/422852/cmap_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.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.051 yref=4.5628 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.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/422852/ft1_filtered_4FGL_J1424.2+0433_daily_bin548.fits scfile=/scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits outfile=/scratch/kocevski/422852/cmap_HighResolution_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.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.051 yref=4.5628 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.40
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/422852/ft1_filtered_4FGL_J1424.2+0433_daily_bin548.fits evtable="EVENTS" scfile=/scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/422852/Model_4FGL_J1424.2+0433_daily_bin548.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/422852/ft1_filtered_4FGL_J1424.2+0433_daily_bin548.fits.....................!
real 58.38
user 56.98
sys 1.18

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/422852/ft1_filtered_4FGL_J1424.2+0433_daily_bin548.fits', '/scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits', expMap='/scratch/kocevski/422852/expmap_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.fits', expCube='/scratch/kocevski/422852/ltcube_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/422852/Model_4FGL_J1424.2+0433_daily_bin548.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.2+0433'

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  6.175e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/422852/ft1_filtered_4FGL_J1424.2+0433_daily_bin548.fits
Spacecraft file(s): /scratch/kocevski/422852/ft2_4FGL_J1424.2+0433_daily_bin548.fits
Exposure map: /scratch/kocevski/422852/expmap_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.fits
Exposure cube: /scratch/kocevski/422852/ltcube_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/422852/Model_4FGL_J1424.2+0433_daily_bin548.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) = 7858.02318299

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 'Prefactor '    15.559       1.0000         .10000E-03   10000.    
     3 'Prefactor '    2.8605       1.0000         .10000E-03   10000.    
     4 'Prefactor '    1.3370       1.0000         .10000E-03   10000.    
     5 'Prefactor '    44.119       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    31.994       1.0000         .10000E-03   10000.    
     8 'Prefactor '    2.5791       1.0000         .10000E-03   10000.    
     9 'norm      '    28.933       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .13880E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    18.590       1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.408       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2150       1.0000         .10000E-03   10000.    
    18 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .70587       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2477       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   7857.936     FROM MIGRAD    STATUS=CONVERGED    447 CALLS     1909 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1510       -.37771E-07** at limit **
   2  Prefactor     15.579        18.389       -.11398E-05    .23984E-04
   3  Prefactor     2.8603        2.8100       -.48507E-07    .23117E-03
   4  Prefactor     1.2906        24.000       -.26344E-05   -.41268E-03
   5  Prefactor     44.149        23.648        .97068E-05    .21271E-03
   6  Prefactor     .10000E-03    10.820       -.12531E-06** at limit **
   7  norm          31.993        13.642       -.20653E-06    .14475E-05
   8  Prefactor     2.5391        105.22       -.11707E-03   -.56177E-04
   9  norm          28.944        24.674        .11500E-04    .36352E-03
  10  Prefactor     .10000E-03    4.0437       -.34923E-07** at limit **
  11  Prefactor     .10000E-03    2.6433       -.13909E-07** at limit **
  12  Prefactor     .10000E-03    67.273        .13519E-04** at limit **
  13  Prefactor     .10000E-03    31.185       -.40377E-05** at limit **
  14  norm          18.582        18.695        .15473E-05    .12361E-03
  15  Prefactor     27.402        22.118       -.96485E-06    .50878E-04
  16  Prefactor     .10000E-03    5.5283       -.35243E-07** at limit **
  17  norm          2.2149        .35041       -.17082E-07    .66549E-03
  18  norm          .10000E-03    1.1044       -.94499E-07** at limit **
  19  norm          .10000E-03    7.3009       -.78456E-08** at limit **
  20  Normalizat    .70607        .22266        .12241E-04    .21921E-03
  21  Prefactor     1.2477        .14009       -.30848E-05    .10849E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 15.5785
  Prefactor  = 2.86028
  Prefactor  = 1.29065
  Prefactor  = 44.1495
  Prefactor  = 0.0001
  norm       = 31.9931
  Prefactor  = 2.5391
  norm       = 28.9439
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 18.5821
  Prefactor  = 27.4021
  Prefactor  = 0.0001
  norm       = 2.21495
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.706067
  Prefactor  = 1.24767
 **********
 **   18 **HESSE 
 **********

 FCN=   7857.936     FROM HESSE     STATUS=OK           313 CALLS     2222 TOTAL
                     EDM=   .36E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1571        .92857E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     15.579        18.292        .10154E-03   -1.4918    
   3  Prefactor     2.8603        2.8173        .14342E-03   -1.5370    
   4  Prefactor     1.2906        24.021        .37932E-03   -1.5481    
   5  Prefactor     44.149        23.648        .60358E-04   -1.4378    
   6  Prefactor     .10000E-03    10.829        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          31.993        13.647        .70839E-04   -1.4576    
   8  Prefactor     2.5391        107.12        .25413E-03   -1.5389    
   9  norm          28.944        24.716        .74483E-04   -1.4631    
  10  Prefactor     .10000E-03    4.0992        .17405E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    2.6481        .14074E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    67.403        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    31.214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          18.582        18.676        .92892E-04   -1.4846    
  15  Prefactor     27.402        22.118        .76523E-04   -1.4661    
  16  Prefactor     .10000E-03    5.5339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2149        .35075        .20096E-04   -1.5410    
  18  norm          .10000E-03    1.1356        .18180E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    7.4055        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .70607        .25225        .37406E-03   -1.0365    
  21  Prefactor     1.2477        .16073        .19349E-03   -.84877    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.57833e-09
Minuit parameter uncertainties:
  1  4.62374e-06
  2  18.2984
  3  2.81744
  4  11.1407
  5  23.6532
  6  3.00817e-06
  7  13.6482
  8  33.0474
  9  24.7247
  10  7.71358e-06
  11  3.96603e-06
  12  4.89118e-05
  13  6.3249e-05
  14  18.6816
  15  22.1244
  16  4.41048e-06
  17  0.350753
  18  1.03318e-05
  19  7.14749e-06
  20  0.252668
  21  0.160794
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.894e+01  2.472e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.980e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.248e+00  1.608e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  7.061e-01  2.527e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.58
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 2.63e-08 +/- 2.24e-08
Energy Flux (Fixed Index): 1.73e-05 +/- 1.48e-05

TS (Fixed Index): 3.58
Ra Dec: 216.051 4.563
Photon Flux Upper Limit: 8.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 5.28e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/422852/likelihoodResults_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.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) = 7857.78117604
delta logL = 0.155115014172

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7857.77426618
delta logL = 0.16202487271

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.112       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8040       1.0000          .0000       5.0000    
     3 'Normalizat'    .67098       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2598       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+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.

 FCN=   7857.774     FROM MIGRAD    STATUS=CONVERGED     87 CALLS      300 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.106        27.469        .96820E-04   -.49855E-03
   2  alpha         2.8045        1.2366        .15168E-01   -.42196E-04
   3  Normalizat    .67085        .24956        .38303E-03    .82781E-04
   4  Prefactor     1.2599        .16199        .19263E-03   -.33458E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.1059
  alpha      = 2.80453
  Normalizat = 0.670854
  Prefactor  = 1.25994
 **********
 **   18 **HESSE 
 **********

 FCN=   7857.774     FROM HESSE     STATUS=OK            25 CALLS      325 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.106        22.077        .19364E-04   -1.4881    
   2  alpha         2.8045        1.0072        .60672E-03    .12212    
   3  Normalizat    .67085        .24525        .15321E-04   -1.0506    
   4  Prefactor     1.2599        .16066        .38527E-04   -.84506    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.59175e-10
Minuit parameter uncertainties:
  1  22.0878
  2  1.03713
  3  0.245653
  4  0.160724
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/422852': 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) = 7857.77426495
delta logL = 0.16202609991

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.711e+01  2.209e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.805e+00  1.037e+00  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.489e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  1.196e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
500    Prefactor:  1.260e+00  1.607e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  6.709e-01  2.457e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.92
Ra Dec: 216.051 4.563
Photon Index (Free Index): 2.80 +/- 1.04
Photon Flux (Free Index): 5.66e-08 +/- 6.07e-08
Energy Flux (Free Index): 1.51e-05 +/- 1.10e-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/422852/cmap_HighResolution_381369601_381628801_4FGL_J1424.2+0433_daily_bin548.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.28e-05', comment='SUCCESS', photon_flux='2.63e-08', energy_flux2='1.51e-05', photon_flux_error='2.24e-08', dlogl='1.62e-01', energy_flux='1.73e-05', photon_flux2='5.66e-08', job_status='DONE', time_completed='2021-09-09 13:59:17.256949', photon_index_error2='1.04', photon_index2='2.80', ts='3.58', fit_tolerance='1e-08', GAL='1.25', photon_index_error='0.00', photon_flux_upper_limit='8.02e-08', energy_flux_error2='1.10e-05', EG='0.71', time_epoch_completed='1631221157.26', return_code='0', job_id='422852', GAL2='1.26', EG2='0.67', return_code2='0', energy_flux_error='1.48e-05', photon_flux_error2='6.07e-08', ts2='3.92', photon_index='1.98' WHERE bin_id='548' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:59:17 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 422852: <4FGL_J1424.2+0433_daily_bin548> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin548> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Thu Sep  9 13:46:08 2021
Job was executed on host(s) <bullet0262>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:46:09 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 13:46:09 2021
Terminated at Thu Sep  9 13:59:18 2021
Results reported at Thu Sep  9 13:59:18 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin548 216.051 4.5628 381369601 381628801 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.2+0433 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   611.51 sec.
    Max Memory :                                 1022 MB
    Average Memory :                             260.54 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   788 sec.
    Turnaround time :                            790 sec.

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

