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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin1356
RA = 216.051, Dec = 4.5628
tmin = 590803201, tmax = 591062401
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='426742', job_status='RUN', time_executed='2021-09-09 13:56:53.783489', time_epoch_executed='1631221013.78' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='1356'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/426742

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/426742/ft1_4FGL_J1424.2+0433_daily_bin1356.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/426742/ft2_4FGL_J1424.2+0433_daily_bin1356.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/426742/ft1_4FGL_J1424.2+0433_daily_bin1356.fits outfile=/scratch/kocevski/426742/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin1356.fits ra=216.051 dec=4.5628 rad=12.0 tmin=590803201.0 tmax=591062401.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 5.51
user 5.24
sys 0.23

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/426742/ft1_filtered_4FGL_J1424.2+0433_daily_bin1356.fits" evtable="EVENTS" scfile=/scratch/kocevski/426742/ft2_4FGL_J1424.2+0433_daily_bin1356.fits sctable="SC_DATA" outfile=/scratch/kocevski/426742/ltcube_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.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/426742/ft2_4FGL_J1424.2+0433_daily_bin1356.fits
.....................!
real 11.48
user 11.15
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/426742/ft1_filtered_4FGL_J1424.2+0433_daily_bin1356.fits evtable="EVENTS" scfile=/scratch/kocevski/426742/ft2_4FGL_J1424.2+0433_daily_bin1356.fits sctable="SC_DATA" expcube=/scratch/kocevski/426742/ltcube_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.fits outfile=/scratch/kocevski/426742/expmap_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.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/426742/ltcube_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.fits
.....................!
real 191.78
user 186.30
sys 5.10

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/426742/ft1_filtered_4FGL_J1424.2+0433_daily_bin1356.fits scfile=/scratch/kocevski/426742/ft2_4FGL_J1424.2+0433_daily_bin1356.fits outfile=/scratch/kocevski/426742/cmap_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/426742/ft1_filtered_4FGL_J1424.2+0433_daily_bin1356.fits scfile=/scratch/kocevski/426742/ft2_4FGL_J1424.2+0433_daily_bin1356.fits outfile=/scratch/kocevski/426742/cmap_HighResolution_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.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.54
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/426742/ft1_filtered_4FGL_J1424.2+0433_daily_bin1356.fits', '/scratch/kocevski/426742/ft2_4FGL_J1424.2+0433_daily_bin1356.fits', expMap='/scratch/kocevski/426742/expmap_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.fits', expCube='/scratch/kocevski/426742/ltcube_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/426742/Model_4FGL_J1424.2+0433_daily_bin1356.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/426742/ft1_filtered_4FGL_J1424.2+0433_daily_bin1356.fits
Spacecraft file(s): /scratch/kocevski/426742/ft2_4FGL_J1424.2+0433_daily_bin1356.fits
Exposure map: /scratch/kocevski/426742/expmap_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.fits
Exposure cube: /scratch/kocevski/426742/ltcube_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/426742/Model_4FGL_J1424.2+0433_daily_bin1356.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) = 6722.968601

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .80925       1.0000         .10000E-03   10000.    
     2 'Prefactor '    4.9395       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    15.299       1.0000         .10000E-03   10000.    
     6 'Prefactor '    149.95       1.0000         .10000E-03   10000.    
     7 'norm      '    11.992       1.0000         .10000E-03   10000.    
     8 'Prefactor '    6.1398       1.0000         .10000E-03   10000.    
     9 'norm      '    .10091E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10339E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10142E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .13555E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.613       1.0000         .10000E-03   10000.    
    16 'Prefactor '    24.017       1.0000         .10000E-03   10000.    
    17 'norm      '    .26545       1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1722       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .81478       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=   6722.898     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     1906 TOTAL
                     EDM=   .13E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .80958        3.5125       -.18644E-05   -.31768E-03
   2  Prefactor     4.9306        19.547        .79271E-05   -.21831E-04
   3  Prefactor     .10000E-03    2.5325        .61599E-08** at limit **
   4  Prefactor     .10000E-03    4.3954        .82098E-06** at limit **
   5  Prefactor     15.296        24.605       -.23921E-06    .13012E-04
   6  Prefactor     149.95        45.390       -.20100E-05    .24083E-04
   7  norm          11.992        9.8753        .29737E-07    .35377E-05
   8  Prefactor     6.1240        27.844       -.90444E-05   -.80412E-05
   9  norm          .10000E-03    12.947        .73780E-07** at limit **
  10  Prefactor     .10000E-03    3.8312        .43987E-07** at limit **
  11  Prefactor     .10000E-03    4.8269       -.26544E-06** at limit **
  12  Prefactor     .10000E-03    117.25       -.13809E-06** at limit **
  13  Prefactor     .10000E-03    10.121        .44706E-07** at limit **
  14  norm          .10000E-03    5.2738        .11954E-06** at limit **
  15  Prefactor     15.607        26.764       -.48212E-05   -.37718E-05
  16  Prefactor     24.015        21.442       -.18778E-06    .58880E-05
  17  norm          .26543        .17940        .20884E-07    .62569E-04
  18  norm          .10000E-03    .69804       -.75481E-08** at limit **
  19  norm          .10000E-03    4.2505       -.71744E-06** at limit **
  20  Normalizat    1.1724        .20646        .15961E-05    .14050E-03
  21  Prefactor     .81470        .11991       -.95979E-07    .28051E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.809579
  Prefactor  = 4.9306
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 15.296
  Prefactor  = 149.951
  norm       = 11.9922
  Prefactor  = 6.12402
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 15.6074
  Prefactor  = 24.0153
  norm       = 0.26543
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 1.1724
  Prefactor  = 0.814704
 **********
 **   18 **HESSE 
 **********

 FCN=   6722.898     FROM HESSE     STATUS=OK           319 CALLS     2225 TOTAL
                     EDM=   .20E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .80958        7.0897        .29199E-02   -1.5528    
   2  Prefactor     4.9306        19.336        .18096E-03   -1.5264    
   3  Prefactor     .10000E-03    2.5448        .12741E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.3892        .16763E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     15.296        24.741        .10240E-03   -1.4926    
   6  Prefactor     149.95        45.401        .16456E-03   -1.3253    
   7  norm          11.992        9.8786        .11568E-03   -1.5015    
   8  Prefactor     6.1240        28.331        .16202E-03   -1.5213    
   9  norm          .10000E-03    12.970        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    3.8566        .15672E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.8426        .17591E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    120.33        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    10.130        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    5.2785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     15.607        26.993        .10136E-03   -1.4918    
  16  Prefactor     24.015        21.446        .81737E-04   -1.4727    
  17  norm          .26543        .17385        .27476E-03   -1.5605    
  18  norm          .10000E-03    .71329        .66866E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    4.3095        .16504E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1724        .25192        .27238E-03   -.87460    
  21  Prefactor     .81470        .14590        .20133E-03   -.99189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.99718e-10
Minuit parameter uncertainties:
  1  4.79199
  2  19.3607
  3  1.96626e-06
  4  1.34281e-05
  5  24.7579
  6  45.4117
  7  9.87992
  8  26.3644
  9  3.77339e-05
  10  5.68758e-06
  11  3.5811e-06
  12  6.7727e-05
  13  9.71189e-06
  14  6.78196e-06
  15  27.0138
  16  21.4529
  17  0.17385
  18  9.11033e-07
  19  1.23215e-06
  20  0.25218
  21  0.145966
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  3.773e-05  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:  8.147e-01  1.460e-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:  1.172e+00  2.522e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/426742/likelihoodResults_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.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) = 6722.89873913
delta logL = -0.000367330278095

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6722.89837509
delta logL = -3.29097110807e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .15094E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0185       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1720       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .81495       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.

 FCN=   6722.898     FROM MIGRAD    STATUS=CONVERGED     53 CALLS      199 TOTAL
                     EDM=   .63E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    22.411        .90712E-02** at limit **
   2  alpha         2.0571        3.5146        .42160       -.14512E-04
   3  Normalizat    1.1724        .18864        .61582E-01    .15182E-03
   4  Prefactor     .81471        .11913        .43911E-01    .47887E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 2.05713
  Normalizat = 1.17239
  Prefactor  = 0.814706
 **********
 **   18 **HESSE 
 **********

 FCN=   6722.898     FROM HESSE     STATUS=OK            29 CALLS      228 TOTAL
                     EDM=   .50E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    14.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0571        3.4345        .16864       -.17809    
   3  Normalizat    1.1724        .22634        .27238E-03   -.87460    
   4  Prefactor     .81471        .14303        .20133E-03   -.99189    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.98341e-10
Minuit parameter uncertainties:
  1  9.00632e-05
  2  2.466
  3  0.226524
  4  0.143091
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/426742': 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) = 6722.89837136
delta logL = 4.38051756646e-07

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  9.006e-05  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.057e+00  2.466e+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:  8.147e-01  1.431e-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:  1.172e+00  2.265e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 216.051 4.563

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/426742/cmap_HighResolution_590803201_591062401_4FGL_J1424.2+0433_daily_bin1356.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.98e-05', job_status='DONE', photon_flux_upper_limit='4.53e-08', time_completed='2021-09-09 14:06:38.894619', job_id='426742', GAL2='0.81', fit_tolerance='1e-08', EG2='1.17', EG='1.17', time_epoch_completed='1631221598.89', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.81', dlogl='4.38e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='1356' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:06:38 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0123>
Subject: Job 426742: <4FGL_J1424.2+0433_daily_bin1356> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin1356> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Thu Sep  9 13:56:36 2021
Job was executed on host(s) <bullet0123>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:56:37 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:56:37 2021
Terminated at Thu Sep  9 14:06:39 2021
Results reported at Thu Sep  9 14:06:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin1356 216.051 4.5628 590803201 591062401 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 :                                   560.14 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             303.65 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   602 sec.
    Turnaround time :                            603 sec.

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

