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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin134
RA = 216.051, Dec = 4.5628
tmin = 274060801, tmax = 274320001
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='420939', job_status='RUN', time_executed='2021-09-09 13:41:45.498736', time_epoch_executed='1631220105.5' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='134'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/420939

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/420939/ft1_4FGL_J1424.2+0433_daily_bin134.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/420939/ft2_4FGL_J1424.2+0433_daily_bin134.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/420939/ft1_4FGL_J1424.2+0433_daily_bin134.fits outfile=/scratch/kocevski/420939/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin134.fits ra=216.051 dec=4.5628 rad=12.0 tmin=274060801.0 tmax=274320001.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.45
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/420939/ft2_4FGL_J1424.2+0433_daily_bin134.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/420939/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin134.fits evtable="EVENTS" outfile="/scratch/kocevski/420939/ft1_filtered_4FGL_J1424.2+0433_daily_bin134.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.51
user 0.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/420939/ft1_filtered_4FGL_J1424.2+0433_daily_bin134.fits" evtable="EVENTS" scfile=/scratch/kocevski/420939/ft2_4FGL_J1424.2+0433_daily_bin134.fits sctable="SC_DATA" outfile=/scratch/kocevski/420939/ltcube_274060801_274320001_4FGL_J1424.2+0433_daily_bin134.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/420939/ft2_4FGL_J1424.2+0433_daily_bin134.fits
.....................!
real 11.66
user 11.31
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/420939/ft1_filtered_4FGL_J1424.2+0433_daily_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/420939/ft2_4FGL_J1424.2+0433_daily_bin134.fits sctable="SC_DATA" expcube=/scratch/kocevski/420939/ltcube_274060801_274320001_4FGL_J1424.2+0433_daily_bin134.fits outfile=/scratch/kocevski/420939/expmap_274060801_274320001_4FGL_J1424.2+0433_daily_bin134.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/420939/ltcube_274060801_274320001_4FGL_J1424.2+0433_daily_bin134.fits
.....................!
real 190.33
user 185.20
sys 4.77

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/420939/ft1_filtered_4FGL_J1424.2+0433_daily_bin134.fits scfile=/scratch/kocevski/420939/ft2_4FGL_J1424.2+0433_daily_bin134.fits outfile=/scratch/kocevski/420939/cmap_274060801_274320001_4FGL_J1424.2+0433_daily_bin134.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/420939/ft1_filtered_4FGL_J1424.2+0433_daily_bin134.fits scfile=/scratch/kocevski/420939/ft2_4FGL_J1424.2+0433_daily_bin134.fits outfile=/scratch/kocevski/420939/cmap_HighResolution_274060801_274320001_4FGL_J1424.2+0433_daily_bin134.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/420939/ft1_filtered_4FGL_J1424.2+0433_daily_bin134.fits evtable="EVENTS" scfile=/scratch/kocevski/420939/ft2_4FGL_J1424.2+0433_daily_bin134.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/420939/Model_4FGL_J1424.2+0433_daily_bin134.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/420939/ft1_filtered_4FGL_J1424.2+0433_daily_bin134.fits.....................!
real 59.53
user 58.24
sys 1.16

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10849E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .74544E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12313E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10273E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .11585E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .13546E-02   1.0000         .10000E-03   10000.    
     7 'norm      '    13.071       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.033       1.0000         .10000E-03   10000.    
     9 'norm      '    .89464E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .11037E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    16.680       1.0000         .10000E-03   10000.    
    12 'Prefactor '    10.044       1.0000         .10000E-03   10000.    
    13 'Prefactor '    25.133       1.0000         .10000E-03   10000.    
    14 'norm      '    .10034E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10500E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .12010E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .89884       1.0000         .10000E-03   10000.    
    18 'norm      '    .26013E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.0064       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .96968       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1732       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=   8429.566     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2227 TOTAL
                     EDM=   .34E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5840       -.34872E-07** at limit **
   2  Prefactor     .10000E-03    23.694        .23148E-07** at limit **
   3  Prefactor     .10000E-03    1.8301       -.26152E-07** at limit **
   4  Prefactor     .10000E-03    6.5208       -.30112E-07** at limit **
   5  Prefactor     .10000E-03    5.7164        .26152E-07** at limit **
   6  Prefactor     .10000E-03    49.801       -.53834E-06** at limit **
   7  norm          13.065        9.7652        .17246E-07    .34427E-05
   8  Prefactor     32.980        26.285        .12879E-06    .66492E-04
   9  norm          .10000E-03    11.309        .18545E-06** at limit **
  10  Prefactor     .10000E-03    6.7449       -.49801E-07** at limit **
  11  Prefactor     16.677        11.544        .36721E-07    .31631E-05
  12  Prefactor     10.136        36.856        .73786E-06    .50344E-04
  13  Prefactor     25.165        21.920       -.71495E-07   -.82522E-04
  14  norm          .10000E-03    9.5306       -.58480E-06** at limit **
  15  Prefactor     .10000E-03    10.564       -.14929E-06** at limit **
  16  Prefactor     .10000E-03    14.049       -.94504E-07** at limit **
  17  norm          .89889        .23278       -.11245E-07    .10176E-03
  18  norm          .10000E-03    .81530       -.51424E-07** at limit **
  19  norm          7.0030        6.8918        .18499E-05   -.10671E-03
  20  Normalizat    .96957        .19729       -.98007E-07    .20849E-04
  21  Prefactor     1.1733        .12749        .17292E-07    .29140E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 13.0648
  Prefactor  = 32.9803
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 16.6768
  Prefactor  = 10.1357
  Prefactor  = 25.1648
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.898886
  norm       = 0.0001
  norm       = 7.00304
  Normalizat = 0.969569
  Prefactor  = 1.17325
 **********
 **   18 **HESSE 
 **********

 FCN=   8429.566     FROM HESSE     STATUS=OK           311 CALLS     2538 TOTAL
                     EDM=   .83E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5992        .11281E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    24.011        .20944E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.8430        .12129E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    6.5630        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    5.7214        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    50.964        .20549E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          13.065        9.7687        .11079E-03   -1.4985    
   8  Prefactor     32.980        26.343        .69719E-04   -1.4559    
   9  norm          .10000E-03    11.326        .20834E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    6.8006        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     16.677        11.539        .98067E-04   -1.4891    
  12  Prefactor     10.136        36.790        .12643E-03   -1.5071    
  13  Prefactor     25.165        21.902        .79905E-04   -1.4704    
  14  norm          .10000E-03    9.5674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    10.645        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .89889        .23258        .21814E-04   -1.5518    
  18  norm          .10000E-03    3.8280        .15942E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.0030        6.8989        .75780E-03   -1.5179    
  20  Normalizat    .96957        .23316        .32340E-03   -.94057    
  21  Prefactor     1.1733        .15119        .19535E-03   -.87158    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.32057e-11
Minuit parameter uncertainties:
  1  3.14845e-07
  2  5.57791e-05
  3  2.23176e-07
  4  8.54516e-07
  5  9.89774e-08
  6  7.24455e-05
  7  9.76992
  8  26.3523
  9  2.77518e-05
  10  2.69051e-06
  11  11.5405
  12  36.8722
  13  21.9094
  14  1.37028e-05
  15  5.30873e-08
  16  5.24917e-06
  17  0.232582
  18  3.04533e-05
  19  6.89967
  20  0.233404
  21  0.151244
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  2.775e-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.173e+00  1.512e-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:  9.696e-01  2.334e-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.32e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/420939/likelihoodResults_274060801_274320001_4FGL_J1424.2+0433_daily_bin134.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): 102
logL (Free Index) = 8429.56667319
delta logL = -0.000420543508881

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8429.56625264
delta logL = 1.19234755402e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9974       1.0000          .0000       5.0000    
     3 'Normalizat'    .96963       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1732       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8429.563     FROM MIGRAD    STATUS=FAILED       148 CALLS      297 TOTAL
                     EDM=   .26E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19975        6.5107        .58690E-01    .51230E-03
   2  alpha         3.7166        3.5215        .50000        .56468E-04
   3  Normalizat    .96512        .11930E-01    .32340E-03   -.17929E-04
   4  Prefactor     1.1747        .78923E-02    .19535E-03   -.19088E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   8429.563     FROM SIMPLEX   STATUS=UNCHANGED     65 CALLS      362 TOTAL
                     EDM=   .12E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19975        6.5107        .25099E-03    .51230E-03
   2  alpha         3.7166        3.5215        .63475E-02    .56468E-04
   3  Normalizat    .96512        .11930E-01    .15422E-03   -.17929E-04
   4  Prefactor     1.1747        .78923E-02    .20300E-04   -.19088E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   8429.563     FROM MIGRAD    STATUS=FAILED        82 CALLS      444 TOTAL
                     EDM=   .35E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .19974        396.47        .36559E-03   -.77555E-04
   2  alpha         3.7166        3.4457        .50000        .57664E-04
   3  Normalizat    .96512        .36874E-01    .25872E-05   -.14062E-04
   4  Prefactor     1.1747        .24401E-01    .78141E-05   -.15713E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.199743
  alpha      = 3.71657
  Normalizat = 0.965122
  Prefactor  = 1.17471
 **********
 **   18 **HESSE 
 **********

 FCN=   8429.563     FROM HESSE     STATUS=NOT POSDEF    29 CALLS      473 TOTAL
                     EDM=   .36E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .19974        414.72        .14624E-04   -1.5619    
   2  alpha         3.7166        3.1731        .50000        19.358    
   3  Normalizat    .96512        .37724E-01    .51744E-06   -.94208    
   4  Prefactor     1.1747        .25048E-01    .15628E-05   -.87113    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 3.63657e-07
Minuit parameter uncertainties:
  1  18.3268
  2  21.5806
  3  0.0377248
  4  0.0250482
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/420939': 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): 1
logL (Free Index) = 8429.5632126
delta logL = 0.00304005082398

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.997e-01  1.833e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  3.717e+00  2.158e+01  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.175e+00  2.505e-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:  9.651e-01  3.772e-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/420939/cmap_HighResolution_274060801_274320001_4FGL_J1424.2+0433_daily_bin134.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-05', job_status='DONE', photon_flux_upper_limit='4.32e-08', time_completed='2021-09-09 13:52:58.550059', job_id='420939', GAL2='1.17', fit_tolerance='1e-08', EG2='0.97', EG='0.97', time_epoch_completed='1631220778.55', return_code2='1', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.17', dlogl='3.04e-03', ts2='0.01', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='134' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:52:58 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0281>
Subject: Job 420939: <4FGL_J1424.2+0433_daily_bin134> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin134 216.051 4.5628 274060801 274320001 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 :                                   662.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   694 sec.
    Turnaround time :                            699 sec.

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

