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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin118
RA = 216.051, Dec = 4.5628
tmin = 269913601, tmax = 270172801
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='420914', job_status='RUN', time_executed='2021-09-09 13:43:22.640008', time_epoch_executed='1631220202.64' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/420914

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/420914/ft1_4FGL_J1424.2+0433_daily_bin118.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/420914/ft2_4FGL_J1424.2+0433_daily_bin118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/420914/ft1_4FGL_J1424.2+0433_daily_bin118.fits outfile=/scratch/kocevski/420914/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin118.fits ra=216.051 dec=4.5628 rad=12.0 tmin=269913601.0 tmax=270172801.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 1.64
user 1.44
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/420914/ft1_filtered_4FGL_J1424.2+0433_daily_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/420914/ft2_4FGL_J1424.2+0433_daily_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/420914/ltcube_269913601_270172801_4FGL_J1424.2+0433_daily_bin118.fits outfile=/scratch/kocevski/420914/expmap_269913601_270172801_4FGL_J1424.2+0433_daily_bin118.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/420914/ltcube_269913601_270172801_4FGL_J1424.2+0433_daily_bin118.fits
.....................!
real 190.25
user 184.45
sys 5.43

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/420914/ft1_filtered_4FGL_J1424.2+0433_daily_bin118.fits scfile=/scratch/kocevski/420914/ft2_4FGL_J1424.2+0433_daily_bin118.fits outfile=/scratch/kocevski/420914/cmap_269913601_270172801_4FGL_J1424.2+0433_daily_bin118.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=216.051 yref=4.5628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.34
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/420914/ft1_filtered_4FGL_J1424.2+0433_daily_bin118.fits scfile=/scratch/kocevski/420914/ft2_4FGL_J1424.2+0433_daily_bin118.fits outfile=/scratch/kocevski/420914/cmap_HighResolution_269913601_270172801_4FGL_J1424.2+0433_daily_bin118.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.53
user 0.37
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .31980E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    13.565       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .55755E-01   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    26.941       1.0000         .10000E-03   10000.    
     6 'Prefactor '    59.487       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.6275       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10028E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    5.1288       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .37884E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10143E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.9403       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    1.2471       1.0000         .10000E-03   10000.    
    18 'norm      '    2.7911       1.0000         .10000E-03   10000.    
    19 'norm      '    .11510E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .76793       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2799       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=   9887.928     FROM MIGRAD    STATUS=CONVERGED    812 CALLS     2627 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10002E-03    3.4918        .39556E-01** at limit **
   2  Prefactor     13.565        19.795        .10875E-03    .83630E-05
   3  Prefactor     .52628E-01    1.5986        .45902E-01    .20209E-02
   4  Prefactor     .10000E-03    2.9701        .16721E-02** at limit **
   5  Prefactor     26.939        15.893        .77181E-04    .17970E-04
   6  Prefactor     59.474        29.484        .52019E-04   -.52190E-04
   7  norm          .10000E-03    7.6043        .36285E-03** at limit **
   8  Prefactor     .10000E-03    28.439        .18142E-02** at limit **
   9  norm          6.6292        17.515        .77938E-03   -.45715E-04
  10  Prefactor     .10000E-03    2.5165        .15359E-02** at limit **
  11  Prefactor     5.1295        7.3214        .17753E-03   -.12680E-04
  12  Prefactor     .10000E-03    52.185        .18142E-02** at limit **
  13  Prefactor     .10058E-03    21.881        .12328    ** at limit **
  14  norm          .10000E-03    22.115        .18142E-02** at limit **
  15  Prefactor     6.9380        10.776        .15229E-03    .26129E-04
  16  Prefactor     .10000E-03    7.2878        .18142E-02** at limit **
  17  norm          1.2470        .24045        .20653E-04    .72552E-03
  18  norm          2.7910        2.0320        .11567E-03    .94355E-05
  19  norm          .10000E-03    5.6339        .30134E-02** at limit **
  20  Normalizat    .76796        .22006        .35598E-03    .21065E-03
  21  Prefactor     1.2799        .14113        .19065E-03    .33994E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100023
  Prefactor  = 13.565
  Prefactor  = 0.0526278
  Prefactor  = 0.0001
  Prefactor  = 26.9391
  Prefactor  = 59.4738
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 6.62918
  Prefactor  = 0.0001
  Prefactor  = 5.12947
  Prefactor  = 0.0001
  Prefactor  = 0.000100578
  norm       = 0.0001
  Prefactor  = 6.93803
  Prefactor  = 0.0001
  norm       = 1.24705
  norm       = 2.791
  norm       = 0.0001
  Normalizat = 0.767964
  Prefactor  = 1.27987
 **********
 **   18 **HESSE 
 **********

 FCN=   9887.928     FROM HESSE     STATUS=OK           325 CALLS     2952 TOTAL
                     EDM=   .28E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10002E-03    2.7088        .46990E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     13.565        19.791        .43501E-05   -1.4971    
   3  Prefactor     .52628E-01    1.6055        .45680E-01   -1.5662    
   4  Prefactor     .10000E-03    2.9702        .33442E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     26.939        15.894        .30872E-05   -1.4669    
   6  Prefactor     59.474        29.482        .10404E-04   -1.4164    
   7  norm          .10000E-03    7.6046        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    28.449        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.6292        17.512        .31175E-04   -1.5193    
  10  Prefactor     .10000E-03    2.5168        .30719E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     5.1295        7.3206        .71010E-05   -1.5255    
  12  Prefactor     .10000E-03    52.191        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10058E-03    20.984        .12690       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    22.123        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     6.9380        10.775        .60914E-05   -1.5181    
  16  Prefactor     .10000E-03    7.2893        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          1.2470        .24044        .82611E-06   -1.5485    
  18  norm          2.7910        2.0319        .46268E-05   -1.5374    
  19  norm          .10000E-03    5.6681        .60267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .76796        .22010        .14239E-04   -1.0127    
  21  Prefactor     1.2799        .14122        .38130E-04   -.83908    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83424e-09
Minuit parameter uncertainties:
  1  0.000497316
  2  19.8006
  3  0.580816
  4  1.35808e-06
  5  15.8965
  6  29.4889
  7  1.1462e-05
  8  7.05207e-05
  9  17.5259
  10  3.1085e-05
  11  7.32183
  12  7.093e-05
  13  0.00697023
  14  1.29063e-06
  15  10.778
  16  1.57168e-06
  17  0.240441
  18  2.03198
  19  3.85073e-05
  20  0.220357
  21  0.141257
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  6.629e+00  1.753e+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.280e+00  1.413e-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.680e-01  2.204e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/420914/likelihoodResults_269913601_270172801_4FGL_J1424.2+0433_daily_bin118.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) = 9887.44877776
delta logL = 0.479538771213

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 9887.43206155
delta logL = 0.496254977319

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .91741       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1196       1.0000          .0000       5.0000    
     3 'Normalizat'    .71615       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.3015       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=   9887.432     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      240 TOTAL
                     EDM=   .39E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .90756        11.643        .21452E-01    .10677E-02
   2  alpha         4.1249        4.3305        .50000        .81362E-04
   3  Normalizat    .71615        .31000E-01    .83057E-01   -.29224E-03
   4  Prefactor     1.3013        .20965E-01    .32584E-01   -.48925E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.907561
  alpha      = 4.12489
  Normalizat = 0.716153
  Prefactor  = 1.30132
 **********
 **   18 **HESSE 
 **********

 FCN=   9887.432     FROM HESSE     STATUS=NOT POSDEF    33 CALLS      273 TOTAL
                     EDM=   .22E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .90756        45.311        .97800E-03   -1.5517    
   2  alpha         4.1249        3.4904        .23772E-01    .70753    
   3  Normalizat    .71615        .14367        .36780E-03   -1.0326    
   4  Prefactor     1.3013        .95320E-01    .18929E-03   -.83268    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 2.15002e-06
Minuit parameter uncertainties:
  1  12.835
  2  7.04171
  3  0.143746
  4  0.0953328
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/420914': 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) = 9887.43205376
delta logL = 0.496262771647

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  9.076e-01  1.283e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  4.125e+00  7.042e+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.301e+00  9.533e-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:  7.162e-01  1.437e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.22
Ra Dec: 216.051 4.563
Photon Index (Free Index): 4.12 +/- 7.04
Photon Flux (Free Index): 4.05e-08 +/- 4.68e-08
Energy Flux (Free Index): 6.48e-06 +/- 7.88e-06

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/420914/cmap_HighResolution_269913601_270172801_4FGL_J1424.2+0433_daily_bin118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.29e-05', comment='SUCCESS', energy_flux2='6.48e-06', dlogl='4.96e-01', photon_flux2='4.05e-08', job_status='DONE', time_completed='2021-09-09 13:57:57.840929', photon_index_error2='7.04', photon_index2='4.12', ts='0.17', fit_tolerance='1e-08', GAL='1.28', photon_index_error='0.00', photon_flux_upper_limit='5.00e-08', energy_flux_error2='7.88e-06', EG='0.77', time_epoch_completed='1631221077.84', return_code='0', job_id='420914', GAL2='1.30', EG2='0.72', return_code2='102', photon_flux_error2='4.68e-08', ts2='1.22', photon_index='1.98' WHERE bin_id='118' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:57:57 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0111>
Subject: Job 420914: <4FGL_J1424.2+0433_daily_bin118> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin118 216.051 4.5628 269913601 270172801 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 :                                   744.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             260.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   996 sec.
    Turnaround time :                            997 sec.

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

