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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin324
RA = 216.051, Dec = 4.5628
tmin = 323308801, tmax = 323568001
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='421250', job_status='RUN', time_executed='2021-09-09 13:45:45.917073', time_epoch_executed='1631220345.92' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='324'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/421250

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/421250/ft1_4FGL_J1424.2+0433_daily_bin324.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/421250/ft2_4FGL_J1424.2+0433_daily_bin324.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/421250/ft1_4FGL_J1424.2+0433_daily_bin324.fits outfile=/scratch/kocevski/421250/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin324.fits ra=216.051 dec=4.5628 rad=12.0 tmin=323308801.0 tmax=323568001.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.32
user 3.10
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/421250/ft2_4FGL_J1424.2+0433_daily_bin324.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/421250/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin324.fits evtable="EVENTS" outfile="/scratch/kocevski/421250/ft1_filtered_4FGL_J1424.2+0433_daily_bin324.fits" apply_filter=yes overwrite=yes header_obstimes=yes tstart=0.0 tstop=0.0 gtifile="default" chatter=3 clobber=yes debug=no gui=no mode="ql"

WARNING: version mismatch between CFITSIO header (v3.43) and linked library (v3.41).

This is gtmktime version HEAD
Applying GTI filter:
IN_SAA!=T && LIVETIME>0 && gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nogrb.gti',(START+STOP)/2) && (angsep(RA_SUN,DEC_SUN,RA_ZENITH,DEC_ZENITH)>115 || gtifilter('/nfs/farm/g/glast/g/LCRepository/Likelihood/GTIs/nosolarflares.gti',(START+STOP)/2))
real 0.52
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/421250/ft1_filtered_4FGL_J1424.2+0433_daily_bin324.fits" evtable="EVENTS" scfile=/scratch/kocevski/421250/ft2_4FGL_J1424.2+0433_daily_bin324.fits sctable="SC_DATA" outfile=/scratch/kocevski/421250/ltcube_323308801_323568001_4FGL_J1424.2+0433_daily_bin324.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/421250/ft2_4FGL_J1424.2+0433_daily_bin324.fits
.....................!
real 11.79
user 11.41
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/421250/ft1_filtered_4FGL_J1424.2+0433_daily_bin324.fits evtable="EVENTS" scfile=/scratch/kocevski/421250/ft2_4FGL_J1424.2+0433_daily_bin324.fits sctable="SC_DATA" expcube=/scratch/kocevski/421250/ltcube_323308801_323568001_4FGL_J1424.2+0433_daily_bin324.fits outfile=/scratch/kocevski/421250/expmap_323308801_323568001_4FGL_J1424.2+0433_daily_bin324.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/421250/ltcube_323308801_323568001_4FGL_J1424.2+0433_daily_bin324.fits
.....................!
real 190.41
user 185.12
sys 4.94

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/421250/ft1_filtered_4FGL_J1424.2+0433_daily_bin324.fits scfile=/scratch/kocevski/421250/ft2_4FGL_J1424.2+0433_daily_bin324.fits outfile=/scratch/kocevski/421250/cmap_323308801_323568001_4FGL_J1424.2+0433_daily_bin324.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/421250/ft1_filtered_4FGL_J1424.2+0433_daily_bin324.fits scfile=/scratch/kocevski/421250/ft2_4FGL_J1424.2+0433_daily_bin324.fits outfile=/scratch/kocevski/421250/cmap_HighResolution_323308801_323568001_4FGL_J1424.2+0433_daily_bin324.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/421250/ft1_filtered_4FGL_J1424.2+0433_daily_bin324.fits evtable="EVENTS" scfile=/scratch/kocevski/421250/ft2_4FGL_J1424.2+0433_daily_bin324.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/421250/Model_4FGL_J1424.2+0433_daily_bin324.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/421250/ft1_filtered_4FGL_J1424.2+0433_daily_bin324.fits.....................!
real 48.00
user 46.68
sys 1.18

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.2663       1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.220       1.0000         .10000E-03   10000.    
     3 'Prefactor '    4.1269       1.0000         .10000E-03   10000.    
     4 'Prefactor '    4.5170       1.0000         .10000E-03   10000.    
     5 'Prefactor '    10.019       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    16.864       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .30478E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .14704E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    10.762       1.0000         .10000E-03   10000.    
    15 'Prefactor '    28.606       1.0000         .10000E-03   10000.    
    16 'Prefactor '    9.2594       1.0000         .10000E-03   10000.    
    17 'norm      '    .61945       1.0000         .10000E-03   10000.    
    18 'norm      '    3.1131       1.0000         .10000E-03   10000.    
    19 'norm      '    3.2058       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.7064       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .56861       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=   5867.465     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2204 TOTAL
                     EDM=   .33E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.2651        4.7476        .68208E-06   -.13128E-03
   2  Prefactor     11.214        24.657       -.85667E-05   -.61964E-05
   3  Prefactor     4.1263        4.6058       -.26308E-05   -.29986E-03
   4  Prefactor     4.5152        10.799       -.21438E-06   -.85920E-04
   5  Prefactor     10.017        20.597       -.29256E-05   -.22249E-04
   6  Prefactor     .10000E-03    15.502        .24255E-05** at limit **
   7  norm          16.864        14.889       -.77707E-06    .20710E-05
   8  Prefactor     .10000E-03    35.468        .26196E-04** at limit **
   9  norm          .10000E-03    10.739       -.14187E-05** at limit **
  10  Prefactor     .10000E-03    6.3290       -.14673E-05** at limit **
  11  Prefactor     .10000E-03    10.044        .83015E-06** at limit **
  12  Prefactor     .10000E-03    27.622       -.16249E-04** at limit **
  13  Prefactor     .10002E-03    53.086       -.83515E-05** at limit **
  14  norm          10.737        23.122       -.16248E-04    .53495E-04
  15  Prefactor     28.599        32.908       -.39221E-05    .54954E-04
  16  Prefactor     9.2450        22.879       -.12576E-04   -.36580E-06
  17  norm          .61942        .22653        .52901E-07    .11040E-02
  18  norm          3.1130        2.4715       -.25635E-06   -.27491E-03
  19  norm          3.2060        3.9778       -.50487E-07    .55150E-04
  20  Normalizat    1.7068        .23022        .36644E-05   -.55449E-04
  21  Prefactor     .56841        .13748        .13296E-05    .20257E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.26512
  Prefactor  = 11.2139
  Prefactor  = 4.12626
  Prefactor  = 4.51522
  Prefactor  = 10.0168
  Prefactor  = 0.0001
  norm       = 16.8641
  Prefactor  = 0.000100001
  norm       = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100015
  norm       = 10.7365
  Prefactor  = 28.5987
  Prefactor  = 9.24496
  norm       = 0.619423
  norm       = 3.11296
  norm       = 3.20599
  Normalizat = 1.70677
  Prefactor  = 0.56841
 **********
 **   18 **HESSE 
 **********

 FCN=   5867.465     FROM HESSE     STATUS=OK           323 CALLS     2527 TOTAL
                     EDM=   .88E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.2651        4.7548        .13921E-03   -1.5207    
   2  Prefactor     11.214        24.694        .11960E-03   -1.5038    
   3  Prefactor     4.1263        4.6195        .16891E-03   -1.5302    
   4  Prefactor     4.5152        10.766        .18943E-03   -1.5283    
   5  Prefactor     10.017        20.586        .12659E-03   -1.5075    
   6  Prefactor     .10000E-03    15.535        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          16.864        14.895        .97531E-04   -1.4886    
   8  Prefactor     .10000E-03    35.684        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    10.750        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    23.495        .37006E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    10.218        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    27.671        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10002E-03    52.626        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          10.737        23.040        .12213E-03   -1.5053    
  15  Prefactor     28.599        32.908        .74907E-04   -1.4638    
  16  Prefactor     9.2450        22.974        .13171E-03   -1.5100    
  17  norm          .61942        .22683        .21060E-04   -1.5551    
  18  norm          3.1130        2.4649        .10254E-03   -1.5355    
  19  norm          3.2060        3.9746        .16605E-03   -1.5350    
  20  Normalizat    1.7068        .27104        .24826E-03   -.72123    
  21  Prefactor     .56841        .16115        .24858E-03   -1.0893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.80747e-10
Minuit parameter uncertainties:
  1  4.75506
  2  24.7161
  3  4.61994
  4  10.7704
  5  20.601
  6  2.97643e-05
  7  14.8982
  8  0.000294794
  9  9.97599e-06
  10  0.000593007
  11  5.48028e-06
  12  7.17059e-07
  13  0.00178517
  14  23.0588
  15  32.9286
  16  22.996
  17  0.226835
  18  2.46493
  19  3.97489
  20  0.271275
  21  0.161283
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  9.976e-06  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:  5.684e-01  1.613e-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.707e+00  2.713e-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.58e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.02e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/421250/likelihoodResults_323308801_323568001_4FGL_J1424.2+0433_daily_bin324.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) = 5867.46501848
delta logL = -0.000441941444478

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5867.46457654
delta logL = -7.22138793208e-10

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.9793       1.0000          .0000       5.0000    
     3 'Normalizat'    1.7068       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .56841       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=   5867.465     FROM MIGRAD    STATUS=CONVERGED     81 CALLS      226 TOTAL
                     EDM=   .18E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    11.301        .18142E-02** at limit **
   2  alpha         1.9626        2.7784        .16936E-01    .16057E-06
   3  Normalizat    1.7068        .25663        .24826E-03   -.10990E-05
   4  Prefactor     .56841        .15856        .24858E-03   -.86894E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100011
  alpha      = 1.96263
  Normalizat = 1.70677
  Prefactor  = 0.568407
 **********
 **   18 **HESSE 
 **********

 FCN=   5867.465     FROM HESSE     STATUS=OK            23 CALLS      249 TOTAL
                     EDM=   .21E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    10.761        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9626        3.4784        .33872E-02   -.21664    
   3  Normalizat    1.7068        .25689        .99305E-05   -.72123    
   4  Prefactor     .56841        .15872        .99434E-05   -1.0893    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.10189e-09
Minuit parameter uncertainties:
  1  0.000692363
  2  509.386
  3  0.257096
  4  0.158849
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/421250': 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) = 5867.46457654
delta logL = 1.35878508445e-09

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  6.924e-04  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.963e+00  5.094e+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:  5.684e-01  1.588e-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.707e+00  2.571e-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/421250/cmap_HighResolution_323308801_323568001_4FGL_J1424.2+0433_daily_bin324.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.02e-05', job_status='DONE', photon_flux_upper_limit='4.58e-08', time_completed='2021-09-09 13:55:53.944981', job_id='421250', GAL2='0.57', fit_tolerance='1e-08', EG2='1.71', EG='1.71', time_epoch_completed='1631220953.95', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.57', dlogl='1.36e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='324' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:55:53 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0150>
Subject: Job 421250: <4FGL_J1424.2+0433_daily_bin324> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin324> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 13:41:44 2021
Job was executed on host(s) <bullet0150>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:41:47 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:41:47 2021
Terminated at Thu Sep  9 13:55:54 2021
Results reported at Thu Sep  9 13:55:54 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin324 216.051 4.5628 323308801 323568001 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 :                                   539.00 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             241.19 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   847 sec.
    Turnaround time :                            850 sec.

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

