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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin331
RA = 216.051, Dec = 4.5628
tmin = 325123201, tmax = 325382401
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='421260', job_status='RUN', time_executed='2021-09-09 13:45:29.680426', time_epoch_executed='1631220329.68' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='331'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/421260

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/421260/ft1_4FGL_J1424.2+0433_daily_bin331.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/421260/ft2_4FGL_J1424.2+0433_daily_bin331.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/421260/ft1_4FGL_J1424.2+0433_daily_bin331.fits outfile=/scratch/kocevski/421260/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin331.fits ra=216.051 dec=4.5628 rad=12.0 tmin=325123201.0 tmax=325382401.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.64
user 3.38
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/421260/ft2_4FGL_J1424.2+0433_daily_bin331.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/421260/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin331.fits evtable="EVENTS" outfile="/scratch/kocevski/421260/ft1_filtered_4FGL_J1424.2+0433_daily_bin331.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/421260/ft1_filtered_4FGL_J1424.2+0433_daily_bin331.fits" evtable="EVENTS" scfile=/scratch/kocevski/421260/ft2_4FGL_J1424.2+0433_daily_bin331.fits sctable="SC_DATA" outfile=/scratch/kocevski/421260/ltcube_325123201_325382401_4FGL_J1424.2+0433_daily_bin331.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/421260/ft2_4FGL_J1424.2+0433_daily_bin331.fits
.....................!
real 11.83
user 11.45
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/421260/ft1_filtered_4FGL_J1424.2+0433_daily_bin331.fits evtable="EVENTS" scfile=/scratch/kocevski/421260/ft2_4FGL_J1424.2+0433_daily_bin331.fits sctable="SC_DATA" expcube=/scratch/kocevski/421260/ltcube_325123201_325382401_4FGL_J1424.2+0433_daily_bin331.fits outfile=/scratch/kocevski/421260/expmap_325123201_325382401_4FGL_J1424.2+0433_daily_bin331.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/421260/ltcube_325123201_325382401_4FGL_J1424.2+0433_daily_bin331.fits
.....................!
real 191.83
user 186.08
sys 5.39

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/421260/ft1_filtered_4FGL_J1424.2+0433_daily_bin331.fits scfile=/scratch/kocevski/421260/ft2_4FGL_J1424.2+0433_daily_bin331.fits outfile=/scratch/kocevski/421260/cmap_325123201_325382401_4FGL_J1424.2+0433_daily_bin331.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/421260/ft1_filtered_4FGL_J1424.2+0433_daily_bin331.fits scfile=/scratch/kocevski/421260/ft2_4FGL_J1424.2+0433_daily_bin331.fits outfile=/scratch/kocevski/421260/cmap_HighResolution_325123201_325382401_4FGL_J1424.2+0433_daily_bin331.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/421260/ft1_filtered_4FGL_J1424.2+0433_daily_bin331.fits evtable="EVENTS" scfile=/scratch/kocevski/421260/ft2_4FGL_J1424.2+0433_daily_bin331.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/421260/Model_4FGL_J1424.2+0433_daily_bin331.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/421260/ft1_filtered_4FGL_J1424.2+0433_daily_bin331.fits.....................!
real 57.18
user 55.82
sys 1.19

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    7.3601       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.0516       1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.8150       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .29196E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    22.202       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10209E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    14.261       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .13232E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    14.391       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10351E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    31.902       1.0000         .10000E-03   10000.    
    14 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.4939       1.0000         .10000E-03   10000.    
    16 'Prefactor '    1.7775       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0816       1.0000         .10000E-03   10000.    
    18 'norm      '    1.1444       1.0000         .10000E-03   10000.    
    19 'norm      '    5.9452       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .77733       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1646       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=   7585.401     FROM MIGRAD    STATUS=CONVERGED    438 CALLS     2256 TOTAL
                     EDM=   .23E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     7.3601        4.0823        .10229E-05   -.68916E-03
   2  Prefactor     .10000E-03    4.5597       -.24522E-07** at limit **
   3  Prefactor     .10000E-03    2.1315        .39222E-07** at limit **
   4  Prefactor     7.0518        6.3449       -.58280E-06   -.51675E-03
   5  Prefactor     1.8167        29.290        .18254E-05   -.16028E-04
   6  Prefactor     .10003E-03    212.35       -.10729E-04** at limit **
   7  norm          22.203        14.051        .11796E-06    .89931E-05
   8  Prefactor     .10000E-03    36.729        .19454E-06** at limit **
   9  norm          14.262        14.979        .25333E-07   -.80287E-05
  10  Prefactor     .10000E-03    15.749       -.14853E-06** at limit **
  11  Prefactor     14.383        13.106       -.35334E-06    .13720E-04
  12  Prefactor     .10000E-03    93.675        .43413E-06** at limit **
  13  Prefactor     31.902        23.650        .92988E-07    .66773E-05
  14  norm          .10000E-03    5.0858        .18257E-07** at limit **
  15  Prefactor     6.4917        25.405        .40970E-06   -.11445E-04
  16  Prefactor     1.7768        28.756        .15127E-05   -.18073E-04
  17  norm          1.0816        .28440       -.80155E-09   -.32183E-03
  18  norm          1.1450        2.2235        .60631E-06   -.13287E-03
  19  norm          5.9455        6.8378       -.20600E-06   -.20925E-03
  20  Normalizat    .77742        .20460       -.84853E-06    .39993E-04
  21  Prefactor     1.1645        .13120       -.24702E-06    .57802E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 7.36008
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.05175
  Prefactor  = 1.81669
  Prefactor  = 0.000100033
  norm       = 22.2035
  Prefactor  = 0.0001
  norm       = 14.262
  Prefactor  = 0.0001
  Prefactor  = 14.3826
  Prefactor  = 0.0001
  Prefactor  = 31.9015
  norm       = 0.0001
  Prefactor  = 6.49167
  Prefactor  = 1.77677
  norm       = 1.08158
  norm       = 1.14499
  norm       = 5.94548
  Normalizat = 0.777421
  Prefactor  = 1.16454
 **********
 **   18 **HESSE 
 **********

 FCN=   7585.401     FROM HESSE     STATUS=OK           317 CALLS     2573 TOTAL
                     EDM=   .51E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     7.3601        4.1747        .64197E-03   -1.5165    
   2  Prefactor     .10000E-03    4.5645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.1551        .12417E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.0518        6.5229        .15107E-03   -1.5177    
   5  Prefactor     1.8167        29.433        .31005E-03   -1.5438    
   6  Prefactor     .10003E-03    228.22        .42802E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          22.203        14.065        .85008E-04   -1.4765    
   8  Prefactor     .10000E-03    37.057        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          14.262        14.980        .10606E-03   -1.4952    
  10  Prefactor     .10000E-03    16.076        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     14.383        13.040        .10558E-03   -1.4949    
  12  Prefactor     .10000E-03    94.339        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     31.902        23.651        .70941E-04   -1.4578    
  14  norm          .10000E-03    5.0883        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.4917        25.384        .15749E-03   -1.5198    
  16  Prefactor     1.7768        28.977        .31397E-03   -1.5441    
  17  norm          1.0816        .28418        .22534E-04   -1.5500    
  18  norm          1.1450        2.2200        .17209E-03   -1.5494    
  19  norm          5.9455        6.8792        .16469E-03   -1.5220    
  20  Normalizat    .77742        .23839        .33930E-03   -1.0091    
  21  Prefactor     1.1645        .15388        .18746E-03   -.87430    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.06013e-10
Minuit parameter uncertainties:
  1  4.17485
  2  4.61693e-07
  3  1.94798e-06
  4  6.52359
  5  14.6327
  6  0.00552751
  7  14.0666
  8  4.24445e-05
  9  14.9835
  10  0.00011688
  11  13.0429
  12  0.000138691
  13  23.6576
  14  1.25636e-06
  15  25.4266
  16  14.3584
  17  0.284184
  18  2.22012
  19  6.88011
  20  0.238713
  21  0.153937
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.426e+01  1.498e+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.165e+00  1.539e-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.774e-01  2.387e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.00
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.29e-08 +/- 1.36e-08
Energy Flux (Fixed Index): 8.52e-06 +/- 8.95e-06

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

Saving results to:
/scratch/kocevski/421260/likelihoodResults_325123201_325382401_4FGL_J1424.2+0433_daily_bin331.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) = 7585.34657999
delta logL = 0.0542230625033

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7585.34112962
delta logL = 0.0596734374994

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.667       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5346       1.0000          .0000       5.0000    
     3 'Normalizat'    .78408       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1630       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=   7585.341     FROM MIGRAD    STATUS=CONVERGED     50 CALLS      204 TOTAL
                     EDM=   .17E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.659        14.513       -.46185E-05   -.14944E-02
   2  alpha         1.5343        1.1169       -.82258E-04    .83968E-04
   3  Normalizat    .78419        .19469        .67825E-06    .10982E-04
   4  Prefactor     1.1629        .12958       -.44664E-07    .53427E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 12.6593
  alpha      = 1.53434
  Normalizat = 0.784189
  Prefactor  = 1.16288
 **********
 **   18 **HESSE 
 **********

 FCN=   7585.341     FROM HESSE     STATUS=OK            27 CALLS      231 TOTAL
                     EDM=   .35E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.659        15.229        .11255E-03   -1.4996    
   2  alpha         1.5343        1.1150        .91841E-02   -.39658    
   3  Normalizat    .78419        .22664        .33792E-03   -1.0066    
   4  Prefactor     1.1629        .15127        .18757E-03   -.87481    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.46617e-09
Minuit parameter uncertainties:
  1  15.2333
  2  1.16379
  3  0.226914
  4  0.151329
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/421260': 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) = 7585.34112934
delta logL = 0.0596737112573

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.266e+01  1.523e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.534e+00  1.164e+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.163e+00  1.513e-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.842e-01  2.269e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.12
Ra Dec: 216.051 4.563
Photon Index (Free Index): 1.53 +/- 1.16
Photon Flux (Free Index): 7.25e-09 +/- 1.28e-08
Energy Flux (Free Index): 1.11e-05 +/- 1.70e-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/421260/cmap_HighResolution_325123201_325382401_4FGL_J1424.2+0433_daily_bin331.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.67e-05', comment='SUCCESS', photon_flux='1.29e-08', energy_flux2='1.11e-05', photon_flux_error='1.36e-08', dlogl='5.97e-02', energy_flux='8.52e-06', photon_flux2='7.25e-09', job_status='DONE', time_completed='2021-09-09 13:57:05.976389', photon_index_error2='1.16', photon_index2='1.53', ts='3.00', fit_tolerance='1e-08', GAL='1.16', photon_index_error='0.00', photon_flux_upper_limit='5.57e-08', energy_flux_error2='1.70e-05', EG='0.78', time_epoch_completed='1631221025.98', return_code='0', job_id='421260', GAL2='1.16', EG2='0.78', return_code2='0', energy_flux_error='8.95e-06', photon_flux_error2='1.28e-08', ts2='3.12', photon_index='1.98' WHERE bin_id='331' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:57:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0221>
Subject: Job 421260: <4FGL_J1424.2+0433_daily_bin331> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin331 216.051 4.5628 325123201 325382401 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 :                                   614.00 sec.
    Max Memory :                                 1166 MB
    Average Memory :                             252.55 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   918 sec.
    Turnaround time :                            920 sec.

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

