/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 129 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 = 7440
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.2+0433_daily_bin34
RA = 216.051, Dec = 4.5628
tmin = 248140801, tmax = 248400001
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='419420', job_status='RUN', time_executed='2021-09-09 13:38:43.941025', time_epoch_executed='1631219923.94' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='34'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/419420

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/419420/ft1_4FGL_J1424.2+0433_daily_bin34.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/419420/ft2_4FGL_J1424.2+0433_daily_bin34.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/419420/ft1_4FGL_J1424.2+0433_daily_bin34.fits outfile=/scratch/kocevski/419420/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin34.fits ra=216.051 dec=4.5628 rad=12.0 tmin=248140801.0 tmax=248400001.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 1.41
user 1.23
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/419420/ft2_4FGL_J1424.2+0433_daily_bin34.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/419420/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin34.fits evtable="EVENTS" outfile="/scratch/kocevski/419420/ft1_filtered_4FGL_J1424.2+0433_daily_bin34.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/419420/ft1_filtered_4FGL_J1424.2+0433_daily_bin34.fits" evtable="EVENTS" scfile=/scratch/kocevski/419420/ft2_4FGL_J1424.2+0433_daily_bin34.fits sctable="SC_DATA" outfile=/scratch/kocevski/419420/ltcube_248140801_248400001_4FGL_J1424.2+0433_daily_bin34.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/419420/ft2_4FGL_J1424.2+0433_daily_bin34.fits
.....................!
real 13.10
user 12.73
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/419420/ft1_filtered_4FGL_J1424.2+0433_daily_bin34.fits evtable="EVENTS" scfile=/scratch/kocevski/419420/ft2_4FGL_J1424.2+0433_daily_bin34.fits sctable="SC_DATA" expcube=/scratch/kocevski/419420/ltcube_248140801_248400001_4FGL_J1424.2+0433_daily_bin34.fits outfile=/scratch/kocevski/419420/expmap_248140801_248400001_4FGL_J1424.2+0433_daily_bin34.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/419420/ltcube_248140801_248400001_4FGL_J1424.2+0433_daily_bin34.fits
.....................!
real 192.24
user 186.62
sys 5.25

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/419420/ft1_filtered_4FGL_J1424.2+0433_daily_bin34.fits scfile=/scratch/kocevski/419420/ft2_4FGL_J1424.2+0433_daily_bin34.fits outfile=/scratch/kocevski/419420/cmap_248140801_248400001_4FGL_J1424.2+0433_daily_bin34.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/419420/ft1_filtered_4FGL_J1424.2+0433_daily_bin34.fits scfile=/scratch/kocevski/419420/ft2_4FGL_J1424.2+0433_daily_bin34.fits outfile=/scratch/kocevski/419420/cmap_HighResolution_248140801_248400001_4FGL_J1424.2+0433_daily_bin34.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.55
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    11.162       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    26.147       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .38194E-02   1.0000         .10000E-03   10000.    
     9 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    12.509       1.0000         .10000E-03   10000.    
    12 'Prefactor '    30.438       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10226E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    13.768       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .83551       1.0000         .10000E-03   10000.    
    18 'norm      '    .93450       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.1863       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0643       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=   8286.524     FROM MIGRAD    STATUS=CONVERGED    451 CALLS     2208 TOTAL
                     EDM=   .64E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.1171       -.42182E-07** at limit **
   2  Prefactor     .10000E-03    8.1773        .33841E-05** at limit **
   3  Prefactor     .10000E-03    2.0445       -.26001E-07** at limit **
   4  Prefactor     11.161        11.294       -.82320E-06   -.48020E-04
   5  Prefactor     .10000E-03    21.413       -.60559E-06** at limit **
   6  Prefactor     26.146        22.450        .20869E-05    .83502E-05
   7  norm          .10000E-03    3.9558       -.33410E-07** at limit **
   8  Prefactor     .10044E-03    15.320       -.60769E-06** at limit **
   9  norm          .10000E-03    7.0935        .16642E-05** at limit **
  10  Prefactor     .10000E-03    1.5918        .50842E-08** at limit **
  11  Prefactor     12.508        8.5243       -.12845E-06   -.18231E-04
  12  Prefactor     30.429        43.363       -.16946E-05    .90863E-05
  13  Prefactor     .10000E-03    18.824        .11193E-05** at limit **
  14  norm          13.772        14.961       -.97795E-05   -.14651E-05
  15  Prefactor     .10000E-03    6.9036       -.10319E-05** at limit **
  16  Prefactor     .10000E-03    8.0476       -.40844E-05** at limit **
  17  norm          .83550        .24985        .72680E-08    .45739E-03
  18  norm          .93450        1.9953       -.71081E-06   -.15748E-02
  19  norm          .10000E-03    1.8837       -.13951E-08** at limit **
  20  Normalizat    1.1864        .19212        .11280E-05    .71311E-04
  21  Prefactor     1.0643        .12275        .44763E-06    .14758E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 11.1608
  Prefactor  = 0.0001
  Prefactor  = 26.1463
  norm       = 0.0001
  Prefactor  = 0.000100438
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.508
  Prefactor  = 30.4293
  Prefactor  = 0.000100002
  norm       = 13.7717
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.8355
  norm       = 0.934499
  norm       = 0.0001
  Normalizat = 1.18638
  Prefactor  = 1.0643
 **********
 **   18 **HESSE 
 **********

 FCN=   8286.524     FROM HESSE     STATUS=OK           321 CALLS     2529 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.1234        .93939E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    8.1772        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.1157        .25420E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     11.161        11.326        .11991E-03   -1.5040    
   5  Prefactor     .10000E-03    21.655        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     26.146        22.462        .78342E-04   -1.4685    
   7  norm          .10000E-03    3.9613        .17682E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10044E-03    19.094        .10260       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    7.0973        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    1.5930        .11215E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     12.508        8.5325        .11326E-03   -1.5000    
  12  Prefactor     30.429        43.384        .72623E-04   -1.4604    
  13  Prefactor     .10000E-03    18.912        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          13.772        14.804        .10795E-03   -1.4966    
  15  Prefactor     .10000E-03    6.9046        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.0440        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .83550        .24959        .24047E-04   -1.5525    
  18  norm          .93450        2.0265        .18238E-03   -1.5515    
  19  norm          .10000E-03    1.8841        .12201E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.1864        .22710        .29688E-03   -.87025    
  21  Prefactor     1.0643        .14488        .20389E-03   -.90616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27416e-09
Minuit parameter uncertainties:
  1  1.93e-06
  2  6.79144e-06
  3  3.86103e-06
  4  11.3284
  5  1.01975e-05
  6  22.4692
  7  2.48697e-06
  8  0.00578369
  9  7.31938e-07
  10  1.63646e-06
  11  8.5333
  12  43.4295
  13  0.000342385
  14  14.8075
  15  1.49824e-05
  16  1.26359e-06
  17  0.249594
  18  2.02665
  19  4.93076e-08
  20  0.227289
  21  0.144937
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  7.319e-07  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.064e+00  1.449e-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.186e+00  2.273e-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: 3.16e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.08e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/419420/likelihoodResults_248140801_248400001_4FGL_J1424.2+0433_daily_bin34.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) = 8286.5250612
delta logL = -0.000669527964419

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8286.52439167
delta logL = 1.38970790431e-09

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9760       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1864       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0643       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=   8286.524     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      235 TOTAL
                     EDM=   .63E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1329.6        .18142E-02** at limit **
   2  alpha         1.8546        3.3800        .16942        .37577E-08
   3  Normalizat    1.1864        .10244        .29688E-03   -.73345E-03
   4  Prefactor     1.0643        .67456E-01    .20389E-03   -.10492E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.85461
  Normalizat = 1.18638
  Prefactor  = 1.06429
 **********
 **   18 **HESSE 
 **********

 FCN=   8286.524     FROM HESSE     STATUS=OK            23 CALLS      258 TOTAL
                     EDM=   .67E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    7.1706        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8546        2.8359        .67770E-02   -.26112    
   3  Normalizat    1.1864        .21812        .59376E-04   -.87025    
   4  Prefactor     1.0643        .14368        .40778E-04   -.90616    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.66202e-10
Minuit parameter uncertainties:
  1  8.55467e-05
  2  334.571
  3  0.218286
  4  0.143728
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/419420': 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) = 8286.5243916
delta logL = 7.03166733729e-08

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  8.555e-05  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.855e+00  3.346e+02  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.064e+00  1.437e-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.186e+00  2.183e-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 -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/419420/cmap_HighResolution_248140801_248400001_4FGL_J1424.2+0433_daily_bin34.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.08e-05', job_status='DONE', photon_flux_upper_limit='3.16e-08', time_completed='2021-09-09 13:49:24.340226', job_id='419420', GAL2='1.06', fit_tolerance='1e-08', EG2='1.19', EG='1.19', time_epoch_completed='1631220564.34', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='7.03e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='34' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:49:24 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0230>
Subject: Job 419420: <4FGL_J1424.2+0433_daily_bin34> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin34> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 13:36:23 2021
Job was executed on host(s) <bullet0230>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:36:24 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:36:24 2021
Terminated at Thu Sep  9 13:49:25 2021
Results reported at Thu Sep  9 13:49:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin34 216.051 4.5628 248140801 248400001 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 :                                   634.11 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             307.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

