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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin995
RA = 216.051, Dec = 4.5628
tmin = 497232001, tmax = 497491201
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='424898', job_status='RUN', time_executed='2021-09-09 13:55:30.247803', time_epoch_executed='1631220930.25' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='995'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424898

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424898/ft1_4FGL_J1424.2+0433_daily_bin995.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424898/ft2_4FGL_J1424.2+0433_daily_bin995.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424898/ft1_4FGL_J1424.2+0433_daily_bin995.fits outfile=/scratch/kocevski/424898/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin995.fits ra=216.051 dec=4.5628 rad=12.0 tmin=497232001.0 tmax=497491201.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 6.69
user 6.41
sys 0.25

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424898/ft1_filtered_4FGL_J1424.2+0433_daily_bin995.fits evtable="EVENTS" scfile=/scratch/kocevski/424898/ft2_4FGL_J1424.2+0433_daily_bin995.fits sctable="SC_DATA" expcube=/scratch/kocevski/424898/ltcube_497232001_497491201_4FGL_J1424.2+0433_daily_bin995.fits outfile=/scratch/kocevski/424898/expmap_497232001_497491201_4FGL_J1424.2+0433_daily_bin995.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/424898/ltcube_497232001_497491201_4FGL_J1424.2+0433_daily_bin995.fits
.....................!
real 190.57
user 184.83
sys 5.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/424898/ft1_filtered_4FGL_J1424.2+0433_daily_bin995.fits scfile=/scratch/kocevski/424898/ft2_4FGL_J1424.2+0433_daily_bin995.fits outfile=/scratch/kocevski/424898/cmap_497232001_497491201_4FGL_J1424.2+0433_daily_bin995.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.35
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424898/ft1_filtered_4FGL_J1424.2+0433_daily_bin995.fits scfile=/scratch/kocevski/424898/ft2_4FGL_J1424.2+0433_daily_bin995.fits outfile=/scratch/kocevski/424898/cmap_HighResolution_497232001_497491201_4FGL_J1424.2+0433_daily_bin995.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10055E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.5268       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .21396E-02   1.0000         .10000E-03   10000.    
     8 'Prefactor '    13.368       1.0000         .10000E-03   10000.    
     9 'norm      '    23.367       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10023E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10032E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10016E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    12.706       1.0000         .10000E-03   10000.    
    16 'Prefactor '    19.778       1.0000         .10000E-03   10000.    
    17 'norm      '    2.5697       1.0000         .10000E-03   10000.    
    18 'norm      '    .54105E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    7.7541       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .73220       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0974       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=   4110.705     FROM MIGRAD    STATUS=CONVERGED    450 CALLS     2220 TOTAL
                     EDM=   .13E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    5.1036       -.38100E-06** at limit **
   2  Prefactor     .10000E-03    28.791        .17451E-05** at limit **
   3  Prefactor     5.5252        7.5869       -.22625E-05    .58236E-05
   4  Prefactor     .10000E-03    4.2916       -.21641E-07** at limit **
   5  Prefactor     .10000E-03    10.965        .16247E-05** at limit **
   6  Prefactor     .10000E-03    16.132        .47090E-06** at limit **
   7  norm          .10000E-03    64.446       -.10801E-04** at limit **
   8  Prefactor     13.356        34.464       -.25877E-05   -.27706E-05
   9  norm          23.363        37.130       -.64935E-06    .29710E-05
  10  Prefactor     .10000E-03    2.7743        .12830E-07** at limit **
  11  Prefactor     .10000E-03    17.694       -.11425E-05** at limit **
  12  Prefactor     .10000E-03    38.007        .26698E-05** at limit **
  13  Prefactor     .10000E-03    22.253       -.11583E-05** at limit **
  14  norm          .10000E-03    9.5703       -.11310E-05** at limit **
  15  Prefactor     12.688        34.715       -.43937E-05    .37389E-05
  16  Prefactor     19.778        18.040        .10802E-06    .16183E-04
  17  norm          2.5697        .46379        .16822E-07    .22908E-04
  18  norm          .10000E-03    3.1346        .17936E-05** at limit **
  19  norm          7.7547        8.2993       -.65952E-07    .71330E-05
  20  Normalizat    .73247        .26253       -.55998E-06    .41298E-04
  21  Prefactor     1.0973        .17305        .14241E-05    .29934E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.52525
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 13.3558
  norm       = 23.3633
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 12.6883
  Prefactor  = 19.7783
  norm       = 2.56969
  norm       = 0.0001
  norm       = 7.75469
  Normalizat = 0.732468
  Prefactor  = 1.09728
 **********
 **   18 **HESSE 
 **********

 FCN=   4110.705     FROM HESSE     STATUS=OK           315 CALLS     2535 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    5.2418        .28268E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    28.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.5252        7.6468        .85451E-03   -1.5238    
   4  Prefactor     .10000E-03    4.2948        .12972E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    10.987        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    16.176        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    74.624        .41324E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     13.356        34.780        .10955E-03   -1.4977    
   9  norm          23.363        37.078        .82864E-04   -1.4741    
  10  Prefactor     .10000E-03    2.7779        .10429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    18.304        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    38.058        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    22.255        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    9.5595        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     12.688        34.766        .11238E-03   -1.4995    
  16  Prefactor     19.778        18.040        .90061E-04   -1.4818    
  17  norm          2.5697        .46450        .17539E-04   -1.5387    
  18  norm          .10000E-03    10.547        .14968E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          7.7547        8.3006        .14400E-03   -1.5151    
  20  Normalizat    .73247        .30842        .33217E-03   -1.0262    
  21  Prefactor     1.0973        .20153        .18750E-03   -.89554    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.70114e-11
Minuit parameter uncertainties:
  1  1.29513e-05
  2  4.27523e-05
  3  7.64818
  4  1.66888e-06
  5  1.40688e-05
  6  2.27597e-07
  7  0.00040873
  8  34.8325
  9  37.1144
  10  3.47332e-07
  11  1.21019e-05
  12  3.78898e-05
  13  3.59543e-05
  14  1.28956e-05
  15  34.8216
  16  18.0454
  17  0.4645
  18  0.00012429
  19  8.30185
  20  0.309158
  21  0.201675
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.336e+01  3.711e+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.097e+00  2.017e-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.325e-01  3.092e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.58
Ra Dec: 216.051 4.563
Photon Flux Upper Limit: 1.04e-07 ph cm-2 s-1
Energy Flux Upper Limit: 6.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/424898/likelihoodResults_497232001_497491201_4FGL_J1424.2+0433_daily_bin995.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) = 4108.96577402
delta logL = 1.73881750753

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4108.96296887
delta logL = 1.741622664

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    2.8905       1.0000         .10000E-03   10000.    
     2 'alpha     '    4.1480       1.0000          .0000       5.0000    
     3 'Normalizat'    .56446       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1677       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=   4108.963     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      306 TOTAL
                     EDM=   .19E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          2.8730        34.156        .59758E-02   -.15204E-02
   2  alpha         4.1509        4.4332        .21388       -.75149E-04
   3  Normalizat    .56437        .10142        .84512E-01   -.92173E-04
   4  Prefactor     1.1677        .66448E-01    .35444E-01   -.14443E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 2.87298
  alpha      = 4.15091
  Normalizat = 0.564367
  Prefactor  = 1.16773
 **********
 **   18 **HESSE 
 **********

 FCN=   4108.963     FROM HESSE     STATUS=OK            29 CALLS      335 TOTAL
                     EDM=   .30E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          2.8730        8.7979        .60946E-04   -1.5369    
   2  alpha         4.1509        1.3664        .94111E-03    .72130    
   3  Normalizat    .56437        .30909        .37436E-03   -1.0952    
   4  Prefactor     1.1677        .20593        .18208E-03   -.87330    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.98049e-10
Minuit parameter uncertainties:
  1  8.80186
  2  1.53033
  3  0.310037
  4  0.206076
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424898': 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) = 4108.96296621
delta logL = 1.74162532015

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  2.873e+00  8.802e+00  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  4.151e+00  1.530e+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.168e+00  2.061e-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:  5.644e-01  3.100e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.38
Ra Dec: 216.051 4.563
Photon Index (Free Index): 4.15 +/- 1.53
Photon Flux (Free Index): 1.35e-07 +/- 8.69e-08
Energy Flux (Free Index): 2.16e-05 +/- 1.32e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/424898/cmap_HighResolution_497232001_497491201_4FGL_J1424.2+0433_daily_bin995.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.83e-05', comment='SUCCESS', energy_flux2='2.16e-05', dlogl='1.74e+00', photon_flux2='1.35e-07', job_status='DONE', time_completed='2021-09-09 14:03:48.637898', photon_index_error2='1.53', photon_index2='4.15', ts='0.58', fit_tolerance='1e-08', GAL='1.10', photon_index_error='0.00', photon_flux_upper_limit='1.04e-07', energy_flux_error2='1.32e-05', EG='0.73', time_epoch_completed='1631221428.64', return_code='0', job_id='424898', GAL2='1.17', EG2='0.56', return_code2='0', photon_flux_error2='8.69e-08', ts2='4.38', photon_index='1.98' WHERE bin_id='995' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:03:48 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0054>
Subject: Job 424898: <4FGL_J1424.2+0433_daily_bin995> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin995 216.051 4.5628 497232001 497491201 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 :                                   492.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             246.42 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   732 sec.
    Turnaround time :                            734 sec.

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

