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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin943
RA = 216.051, Dec = 4.5628
tmin = 483753601, tmax = 484012801
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='424809', job_status='RUN', time_executed='2021-09-09 13:54:33.567839', time_epoch_executed='1631220873.57' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='943'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424809

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424809/ft1_4FGL_J1424.2+0433_daily_bin943.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424809/ft2_4FGL_J1424.2+0433_daily_bin943.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424809/ft1_4FGL_J1424.2+0433_daily_bin943.fits outfile=/scratch/kocevski/424809/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin943.fits ra=216.051 dec=4.5628 rad=12.0 tmin=483753601.0 tmax=484012801.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 5.57
user 5.30
sys 0.24

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/424809/ft1_filtered_4FGL_J1424.2+0433_daily_bin943.fits" evtable="EVENTS" scfile=/scratch/kocevski/424809/ft2_4FGL_J1424.2+0433_daily_bin943.fits sctable="SC_DATA" outfile=/scratch/kocevski/424809/ltcube_483753601_484012801_4FGL_J1424.2+0433_daily_bin943.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/424809/ft2_4FGL_J1424.2+0433_daily_bin943.fits
.....................!
real 14.53
user 14.15
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424809/ft1_filtered_4FGL_J1424.2+0433_daily_bin943.fits evtable="EVENTS" scfile=/scratch/kocevski/424809/ft2_4FGL_J1424.2+0433_daily_bin943.fits sctable="SC_DATA" expcube=/scratch/kocevski/424809/ltcube_483753601_484012801_4FGL_J1424.2+0433_daily_bin943.fits outfile=/scratch/kocevski/424809/expmap_483753601_484012801_4FGL_J1424.2+0433_daily_bin943.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/424809/ltcube_483753601_484012801_4FGL_J1424.2+0433_daily_bin943.fits
.....................!
real 190.43
user 185.52
sys 4.55

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

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

This is gtbin version HEAD
real 0.55
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424809/ft1_filtered_4FGL_J1424.2+0433_daily_bin943.fits scfile=/scratch/kocevski/424809/ft2_4FGL_J1424.2+0433_daily_bin943.fits outfile=/scratch/kocevski/424809/cmap_HighResolution_483753601_484012801_4FGL_J1424.2+0433_daily_bin943.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.55
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    11.073       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10029E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    12.257       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10320E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.699       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .22374E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .97808E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10054E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10058E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10178E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10039E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .98475       1.0000         .10000E-03   10000.    
    18 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    6.6237       1.0000         .10000E-03   10000.    
    20 'Normalizat'    .91361       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.2072       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=   4585.037     FROM MIGRAD    STATUS=CONVERGED    435 CALLS     2179 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5729       -.28261E-08** at limit **
   2  Prefactor     11.066        24.156       -.10846E-04   -.89715E-04
   3  Prefactor     .10000E-03    3.0633       -.13468E-06** at limit **
   4  Prefactor     .10000E-03    24.909        .16451E-04** at limit **
   5  Prefactor     12.261        27.149        .58321E-05   -.22341E-05
   6  Prefactor     .10000E-03    31.560       -.88857E-06** at limit **
   7  norm          .10000E-03    6.7733        .58338E-06** at limit **
   8  Prefactor     .10000E-03    15.664       -.60239E-05** at limit **
   9  norm          15.687        30.974       -.18289E-04    .13262E-03
  10  Prefactor     .10012E-03    7.0622       -.26537E-05** at limit **
  11  Prefactor     .10000E-03    4.1404       -.67079E-07** at limit **
  12  Prefactor     .10059E-03    737.20       -.48958E-03** at limit **
  13  Prefactor     .10000E-03    15.156       -.55426E-05** at limit **
  14  norm          .10000E-03    9.9900        .90997E-05** at limit **
  15  Prefactor     .10000E-03    13.084        .19028E-05** at limit **
  16  Prefactor     .10000E-03    8.8164       -.64267E-05** at limit **
  17  norm          .98478        .31182       -.31469E-07    .81331E-03
  18  norm          .10000E-03    .66536       -.13154E-07** at limit **
  19  norm          6.6224        10.304       -.35723E-06   -.66855E-04
  20  Normalizat    .91364        .24901        .26617E-05    .87398E-03
  21  Prefactor     1.2072        .16774        .11085E-05    .13621E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 11.0656
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 12.2611
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 15.6871
  Prefactor  = 0.000100125
  Prefactor  = 0.0001
  Prefactor  = 0.000100592
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.984783
  norm       = 0.0001
  norm       = 6.62237
  Normalizat = 0.91364
  Prefactor  = 1.20715
 **********
 **   18 **HESSE 
 **********

 FCN=   4585.037     FROM HESSE     STATUS=OK           303 CALLS     2482 TOTAL
                     EDM=   .65E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5856        .82918E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     11.066        24.197        .12040E-03   -1.5043    
   3  Prefactor     .10000E-03    3.1458        .23146E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    25.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     12.261        27.128        .11442E-03   -1.5008    
   6  Prefactor     .10000E-03    31.641        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          .10000E-03    6.7796        .17212E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    15.686        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.687        30.964        .10109E-03   -1.4916    
  10  Prefactor     .10012E-03    32.666        .34622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    4.1534        .13452E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10059E-03    738.05        .41554E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.163        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    10.002        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    13.106        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    8.8303        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .98478        .31190        .20498E-04   -1.5509    
  18  norm          .10000E-03    .66867        .53936E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          6.6224        10.317        .15592E-03   -1.5193    
  20  Normalizat    .91364        .28932        .31729E-03   -.95982    
  21  Prefactor     1.2072        .19627        .19040E-03   -.86111    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.50681e-09
Minuit parameter uncertainties:
  1  4.09316e-06
  2  24.2188
  3  8.34516e-06
  4  9.20655e-05
  5  27.1553
  6  3.00832e-05
  7  6.05089e-06
  8  3.4097e-05
  9  30.9954
  10  0.00404283
  11  2.51166e-06
  12  0.0423437
  13  1.05914e-05
  14  4.07794e-06
  15  1.48581e-05
  16  5.30579e-06
  17  0.311905
  18  6.89288e-07
  19  10.3196
  20  0.289816
  21  0.196391
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.569e+01  3.100e+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.207e+00  1.964e-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.136e-01  2.898e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/424809/likelihoodResults_483753601_484012801_4FGL_J1424.2+0433_daily_bin943.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) = 4584.77397416
delta logL = 0.262810168034

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4584.75911535
delta logL = 0.277668981947

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    12.075       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8561       1.0000          .0000       5.0000    
     3 'Normalizat'    .88259       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.2154       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=   4584.759     FROM MIGRAD    STATUS=CONVERGED     60 CALLS      218 TOTAL
                     EDM=   .76E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          12.049        498.28        .28820E-02    .14256E-03
   2  alpha         2.8579        3.4795        .30205        .57952E-04
   3  Normalizat    .88240        .10245        .72823E-01   -.24677E-04
   4  Prefactor     1.2156        .56713E-01    .34276E-01   -.23246E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 12.0487
  alpha      = 2.85789
  Normalizat = 0.882402
  Prefactor  = 1.21564
 **********
 **   18 **HESSE 
 **********

 FCN=   4584.759     FROM HESSE     STATUS=OK            31 CALLS      249 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          12.049        26.948        .11528E-03   -1.5014    
   2  alpha         2.8579        1.3100        .15519E-01    .14365    
   3  Normalizat    .88240        .29162        .32225E-03   -.97081    
   4  Prefactor     1.2156        .19637        .18975E-03   -.85851    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.49483e-10
Minuit parameter uncertainties:
  1  26.9751
  2  1.38057
  3  0.292142
  4  0.196485
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424809': 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) = 4584.7591134
delta logL = 0.277670926209

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.205e+01  2.698e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.858e+00  1.381e+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.216e+00  1.965e-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.824e-01  2.921e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.32
Ra Dec: 216.051 4.563

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/424809/cmap_HighResolution_483753601_484012801_4FGL_J1424.2+0433_daily_bin943.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.87e-05', job_status='DONE', photon_flux_upper_limit='8.92e-08', time_completed='2021-09-09 14:03:05.683305', job_id='424809', GAL2='1.22', fit_tolerance='1e-08', EG2='0.88', EG='0.91', time_epoch_completed='1631221385.68', return_code2='0', ts='0.32', comment='SUCCESS', return_code='0', GAL='1.21', dlogl='2.78e-01', ts2='0.88', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='943' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:03:05 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0031>
Subject: Job 424809: <4FGL_J1424.2+0433_daily_bin943> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin943 216.051 4.5628 483753601 484012801 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 :                                   508.39 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             316.68 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   697 sec.
    Turnaround time :                            700 sec.

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

