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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin843
RA = 216.051, Dec = 4.5628
tmin = 457833601, tmax = 458092801
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='424650', job_status='RUN', time_executed='2021-09-09 13:55:18.344943', time_epoch_executed='1631220918.34' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='843'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424650

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424650/ft1_4FGL_J1424.2+0433_daily_bin843.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424650/ft2_4FGL_J1424.2+0433_daily_bin843.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424650/ft1_4FGL_J1424.2+0433_daily_bin843.fits outfile=/scratch/kocevski/424650/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin843.fits ra=216.051 dec=4.5628 rad=12.0 tmin=457833601.0 tmax=458092801.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.68
user 3.46
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424650/ft1_filtered_4FGL_J1424.2+0433_daily_bin843.fits" evtable="EVENTS" scfile=/scratch/kocevski/424650/ft2_4FGL_J1424.2+0433_daily_bin843.fits sctable="SC_DATA" outfile=/scratch/kocevski/424650/ltcube_457833601_458092801_4FGL_J1424.2+0433_daily_bin843.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/424650/ft2_4FGL_J1424.2+0433_daily_bin843.fits
.....................!
real 14.16
user 13.79
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424650/ft1_filtered_4FGL_J1424.2+0433_daily_bin843.fits evtable="EVENTS" scfile=/scratch/kocevski/424650/ft2_4FGL_J1424.2+0433_daily_bin843.fits sctable="SC_DATA" expcube=/scratch/kocevski/424650/ltcube_457833601_458092801_4FGL_J1424.2+0433_daily_bin843.fits outfile=/scratch/kocevski/424650/expmap_457833601_458092801_4FGL_J1424.2+0433_daily_bin843.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/424650/ltcube_457833601_458092801_4FGL_J1424.2+0433_daily_bin843.fits
.....................!
real 190.05
user 185.46
sys 4.23

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/424650/ft1_filtered_4FGL_J1424.2+0433_daily_bin843.fits scfile=/scratch/kocevski/424650/ft2_4FGL_J1424.2+0433_daily_bin843.fits outfile=/scratch/kocevski/424650/cmap_457833601_458092801_4FGL_J1424.2+0433_daily_bin843.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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424650/ft1_filtered_4FGL_J1424.2+0433_daily_bin843.fits scfile=/scratch/kocevski/424650/ft2_4FGL_J1424.2+0433_daily_bin843.fits outfile=/scratch/kocevski/424650/cmap_HighResolution_457833601_458092801_4FGL_J1424.2+0433_daily_bin843.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.40
sys 0.13

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    3.5734       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .33464E-02   1.0000         .10000E-03   10000.    
     4 'Prefactor '    7.9655       1.0000         .10000E-03   10000.    
     5 'Prefactor '    17.828       1.0000         .10000E-03   10000.    
     6 'Prefactor '    21.689       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    15.130       1.0000         .10000E-03   10000.    
     9 'norm      '    .10017E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12918E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10077E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10304E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    8.8244       1.0000         .10000E-03   10000.    
    15 'Prefactor '    15.411       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    7.1383       1.0000         .10000E-03   10000.    
    18 'norm      '    .11976E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    10.591       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .81808       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0559       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=   8760.786     FROM MIGRAD    STATUS=CONVERGED    436 CALLS     2214 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     3.5738        5.0427        .28316E-05   -.69316E-03
   2  Prefactor     .10000E-03    8.0472        .58215E-05** at limit **
   3  Prefactor     .10008E-03    3.3265        .32182E-06** at limit **
   4  Prefactor     7.9616        14.310       -.16537E-05   -.10028E-03
   5  Prefactor     17.825        18.024       -.17691E-05   -.68480E-05
   6  Prefactor     21.691        22.927        .14843E-05    .32714E-04
   7  norm          .10000E-03    5.2577       -.14830E-05** at limit **
   8  Prefactor     15.125        25.065       -.79067E-05    .72377E-05
   9  norm          .10000E-03    11.047       -.34132E-05** at limit **
  10  Prefactor     .10000E-03    3.8646       -.31394E-06** at limit **
  11  Prefactor     .10000E-03    10.955       -.41124E-05** at limit **
  12  Prefactor     .10000E-03    19.835        .14190E-04** at limit **
  13  Prefactor     .10000E-03    25.501       -.14672E-04** at limit **
  14  norm          8.8262        11.804        .85027E-06    .16666E-03
  15  Prefactor     15.409        18.977       -.16540E-05   -.77373E-05
  16  Prefactor     .10000E-03    6.1235       -.53858E-05** at limit **
  17  norm          7.1382        .58275       -.45601E-08   -.35609E-03
  18  norm          .10004E-03    .87413        .61613E-06** at limit **
  19  norm          10.591        6.7092        .48161E-06    .11559E-02
  20  Normalizat    .81812        .20279        .96597E-06   -.15229E-03
  21  Prefactor     1.0560        .12389        .27916E-07   -.11183E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 3.57378
  Prefactor  = 0.0001
  Prefactor  = 0.000100079
  Prefactor  = 7.96165
  Prefactor  = 17.8252
  Prefactor  = 21.6908
  norm       = 0.0001
  Prefactor  = 15.1253
  norm       = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.82621
  Prefactor  = 15.4093
  Prefactor  = 0.0001
  norm       = 7.13824
  norm       = 0.000100039
  norm       = 10.591
  Normalizat = 0.818121
  Prefactor  = 1.05596
 **********
 **   18 **HESSE 
 **********

 FCN=   8760.786     FROM HESSE     STATUS=OK           323 CALLS     2537 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     3.5738        4.9578        .21379E-03   -1.5330    
   2  Prefactor     .10000E-03    8.0654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10008E-03    24.789        .32906E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     7.9616        14.315        .14207E-03   -1.5144    
   5  Prefactor     17.825        18.018        .94856E-04   -1.4863    
   6  Prefactor     21.691        22.870        .86006E-04   -1.4776    
   7  norm          .10000E-03    5.3309        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     15.125        25.165        .10297E-03   -1.4930    
   9  norm          .10000E-03    11.049        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    17.676        .35517E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    11.209        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.857        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.600        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          8.8262        11.798        .13493E-03   -1.5114    
  15  Prefactor     15.409        18.981        .10203E-03   -1.4923    
  16  Prefactor     .10000E-03    6.1288        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          7.1382        .58313        .19587E-04   -1.5174    
  18  norm          .10004E-03    5.5687        .16604E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          10.591        6.7456        .61557E-03   -1.5057    
  20  Normalizat    .81812        .23799        .35756E-03   -.99400    
  21  Prefactor     1.0560        .14653        .20702E-03   -.90887    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08008e-08
Minuit parameter uncertainties:
  1  4.95842
  2  1.96734e-06
  3  0.00279537
  4  14.3209
  5  18.0231
  6  22.8788
  7  3.88597e-06
  8  25.1826
  9  5.19809e-05
  10  0.000360202
  11  2.50395e-05
  12  3.21109e-06
  13  9.51979e-06
  14  11.8007
  15  18.9884
  16  1.06095e-06
  17  0.583127
  18  0.000927913
  19  6.74608
  20  0.238298
  21  0.146582
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  5.198e-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:  1.056e+00  1.466e-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:  8.181e-01  2.383e-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.93e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.59e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/424650/likelihoodResults_457833601_458092801_4FGL_J1424.2+0433_daily_bin843.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) = 8760.78641506
delta logL = -0.00043110349543

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8760.78598397
delta logL = -7.23957782611e-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.9805       1.0000          .0000       5.0000    
     3 'Normalizat'    .81810       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0560       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=   8760.786     FROM MIGRAD    STATUS=CONVERGED     51 CALLS      198 TOTAL
                     EDM=   .99E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    206.46        .90712E-02** at limit **
   2  alpha         1.9808        3.2913        .42335       -.16451E-06
   3  Normalizat    .81812        .21089E-01    .80756E-01    .30285E-04
   4  Prefactor     1.0560        .13775E-01    .39572E-01    .58431E-06
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.98084
  Normalizat = 0.818123
  Prefactor  = 1.05596
 **********
 **   18 **HESSE 
 **********

 FCN=   8760.786     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      227 TOTAL
                     EDM=   .12E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1929.1        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9808        3.4680        .16934       -.20919    
   3  Normalizat    .81812        .96256E-01    .35756E-03   -.99400    
   4  Prefactor     1.0560        .63028E-01    .20702E-03   -.90887    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 1.21576e-07
Minuit parameter uncertainties:
  1  2.62232e-05
  2  5120.52
  3  0.0962758
  4  0.0630328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424650': 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): 102
logL (Free Index) = 8760.78598396
delta logL = 9.27684595808e-11

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  2.622e-05  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.981e+00  5.121e+03  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.056e+00  6.303e-02  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:  8.181e-01  9.628e-02  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/424650/cmap_HighResolution_457833601_458092801_4FGL_J1424.2+0433_daily_bin843.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.59e-05', job_status='DONE', photon_flux_upper_limit='3.93e-08', time_completed='2021-09-09 14:06:26.567936', job_id='424650', GAL2='1.06', fit_tolerance='1e-08', EG2='0.82', EG='0.82', time_epoch_completed='1631221586.57', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.06', dlogl='9.28e-11', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='843' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:06:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0252>
Subject: Job 424650: <4FGL_J1424.2+0433_daily_bin843> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin843> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 13:51:17 2021
Job was executed on host(s) <bullet0252>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:51:19 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:51:19 2021
Terminated at Thu Sep  9 14:06:27 2021
Results reported at Thu Sep  9 14:06:27 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin843 216.051 4.5628 457833601 458092801 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 :                                   666.19 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             282.18 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   907 sec.
    Turnaround time :                            910 sec.

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

