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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin785
RA = 216.051, Dec = 4.5628
tmin = 442800001, tmax = 443059201
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='424561', job_status='RUN', time_executed='2021-09-09 13:54:05.153806', time_epoch_executed='1631220845.15' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='785'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424561

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

Retrieving the FT1 file...

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

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

Retrieving 48 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424561/ft1_4FGL_J1424.2+0433_daily_bin785.fits


Retrieving the FT1 file...

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

Retrieving 48 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424561/ft2_4FGL_J1424.2+0433_daily_bin785.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424561/ft1_4FGL_J1424.2+0433_daily_bin785.fits outfile=/scratch/kocevski/424561/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin785.fits ra=216.051 dec=4.5628 rad=12.0 tmin=442800001.0 tmax=443059201.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.53
user 3.24
sys 0.24

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424561/ft1_filtered_4FGL_J1424.2+0433_daily_bin785.fits evtable="EVENTS" scfile=/scratch/kocevski/424561/ft2_4FGL_J1424.2+0433_daily_bin785.fits sctable="SC_DATA" expcube=/scratch/kocevski/424561/ltcube_442800001_443059201_4FGL_J1424.2+0433_daily_bin785.fits outfile=/scratch/kocevski/424561/expmap_442800001_443059201_4FGL_J1424.2+0433_daily_bin785.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/424561/ltcube_442800001_443059201_4FGL_J1424.2+0433_daily_bin785.fits
.....................!
real 191.50
user 186.03
sys 5.05

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/424561/ft1_filtered_4FGL_J1424.2+0433_daily_bin785.fits scfile=/scratch/kocevski/424561/ft2_4FGL_J1424.2+0433_daily_bin785.fits outfile=/scratch/kocevski/424561/cmap_442800001_443059201_4FGL_J1424.2+0433_daily_bin785.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/424561/ft1_filtered_4FGL_J1424.2+0433_daily_bin785.fits scfile=/scratch/kocevski/424561/ft2_4FGL_J1424.2+0433_daily_bin785.fits outfile=/scratch/kocevski/424561/cmap_HighResolution_442800001_443059201_4FGL_J1424.2+0433_daily_bin785.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.56
user 0.37
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    28.065       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .11211E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10114E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .91049       1.0000         .10000E-03   10000.    
     7 'norm      '    .38799E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .10053E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    1.2086       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10732E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    13.192       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10363E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .23551       1.0000         .10000E-03   10000.    
    18 'norm      '    4.0963       1.0000         .10000E-03   10000.    
    19 'norm      '    3.3869       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3595       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .75839       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=   6185.567     FROM MIGRAD    STATUS=CONVERGED    449 CALLS     2204 TOTAL
                     EDM=   .87E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6230        .49710E-07** at limit **
   2  Prefactor     28.056        20.295       -.29060E-05   -.27825E-03
   3  Prefactor     .10000E-03    1.2549        .55574E-07** at limit **
   4  Prefactor     .10000E-03    38.638        .28197E-04** at limit **
   5  Prefactor     .10000E-03    9.9213        .26253E-05** at limit **
   6  Prefactor     .97657        13.951       -.29324E-05    .41168E-03
   7  norm          .10001E-03    7.9298       -.30553E-06** at limit **
   8  Prefactor     .10000E-03    7.6798       -.48564E-05** at limit **
   9  norm          .10000E-03    5.4260       -.29298E-06** at limit **
  10  Prefactor     1.2028        1.8652        .36197E-06   -.12341E-02
  11  Prefactor     .10000E-03    11.390       -.35486E-06** at limit **
  12  Prefactor     .10000E-03    47.430       -.30794E-04** at limit **
  13  Prefactor     .10000E-03    7.0502        .32904E-05** at limit **
  14  norm          .10000E-03    4.4945       -.12558E-07** at limit **
  15  Prefactor     13.195        21.112        .22953E-05    .17820E-04
  16  Prefactor     .10000E-03    19.226       -.47127E-05** at limit **
  17  norm          .23578        .17667       -.21801E-07   -.31058E-03
  18  norm          4.0973        2.6193       -.17601E-07    .11035E-04
  19  norm          3.3881        5.0577        .81681E-07   -.30877E-03
  20  Normalizat    1.3596        .19798        .46135E-06   -.99469E-04
  21  Prefactor     .75816        .12657       -.26145E-06   -.65691E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 28.0556
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.976571
  norm       = 0.00010001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.20282
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 13.1948
  Prefactor  = 0.0001
  norm       = 0.235775
  norm       = 4.09726
  norm       = 3.3881
  Normalizat = 1.35959
  Prefactor  = 0.758159
 **********
 **   18 **HESSE 
 **********

 FCN=   6185.567     FROM HESSE     STATUS=OK           317 CALLS     2521 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6364        .97814E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     28.056        20.468        .75624E-04   -1.4648    
   3  Prefactor     .10000E-03    1.2581        .86040E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    39.262        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.9458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .97657        71.917        .55694E-02   -1.5510    
   7  norm          .10001E-03    61.230        .42929E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    7.6926        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10000E-03    5.4267        .17893E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     1.2028        11.057        .20590E-02   -1.5489    
  11  Prefactor     .10000E-03    11.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    47.637        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    7.0529        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    4.4965        .16284E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     13.195        21.115        .11028E-03   -1.4981    
  16  Prefactor     .10000E-03    19.428        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .23578        .16950        .27483E-03   -1.5611    
  18  norm          4.0973        2.6172        .97251E-04   -1.5303    
  19  norm          3.3881        5.0751        .10558E-02   -1.5340    
  20  Normalizat    1.3596        .23915        .25119E-03   -.81805    
  21  Prefactor     .75816        .15179        .20961E-03   -1.0129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.44488e-08
Minuit parameter uncertainties:
  1  5.55816e-07
  2  20.4728
  3  2.66908e-08
  4  0.000603806
  5  9.76936e-06
  6  16.781
  7  0.00158634
  8  5.1222e-06
  9  3.67404e-07
  10  7.29523
  11  1.52088e-05
  12  6.03519e-05
  13  1.22111e-06
  14  2.38133e-06
  15  21.1267
  16  2.88813e-06
  17  0.169496
  18  2.61729
  19  5.07579
  20  0.239346
  21  0.151875
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  3.674e-07  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:  7.582e-01  1.519e-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:  1.360e+00  2.393e-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: 2.85e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/424561/likelihoodResults_442800001_443059201_4FGL_J1424.2+0433_daily_bin785.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) = 6185.56796652
delta logL = -0.000852496180414

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6185.567114
delta logL = 2.32375896303e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9703       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .75817       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=   6185.567     FROM MIGRAD    STATUS=FAILED        95 CALLS      236 TOTAL
                     EDM=   .21E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    211.94        .17964E-01** at limit **
   2  alpha         1.5586        4.1465        .16954       -.42917E-07
   3  Normalizat    1.3596        .31096E-01    .25119E-03   -.52546E-04
   4  Prefactor     .75816        .20115E-01    .20961E-03   -.66388E-04
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6185.567     FROM SIMPLEX   STATUS=UNCHANGED    177 CALLS      413 TOTAL
                     EDM=   .14E-04    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    211.94        .46296E-03** at limit **
   2  alpha         1.5586        4.1465        .83528E-05   -.42917E-07
   3  Normalizat    1.3596        .31096E-01    .18170E-06   -.52546E-04
   4  Prefactor     .75816        .20115E-01    .23378E-07   -.66388E-04
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6185.567     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      441 TOTAL
                     EDM=   .73E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    5.9696        .18720E-02** at limit **
   2  alpha         1.5624        2.8669        .67815E-02    .44593E-07
   3  Normalizat    1.3596        .23213        .10048E-04   -.52274E-04
   4  Prefactor     .75816        .15020        .83842E-05   -.66171E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.56244
  Normalizat = 1.35959
  Prefactor  = 0.758159
 **********
 **   18 **HESSE 
 **********

 FCN=   6185.567     FROM HESSE     STATUS=OK            23 CALLS      464 TOTAL
                     EDM=   .76E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    5.9405        .37440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.5624        2.6044        .13563E-02   -.38442    
   3  Normalizat    1.3596        .23259        .20095E-05   -.81805    
   4  Prefactor     .75816        .15048        .16768E-05   -1.0129    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 7.57521e-11
Minuit parameter uncertainties:
  1  7.18838e-05
  2  320.148
  3  0.232767
  4  0.150561
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424561': 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) = 6185.56711323
delta logL = 7.96719177742e-07

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  7.188e-05  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.562e+00  3.201e+02  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:  7.582e-01  1.506e-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:  1.360e+00  2.328e-01  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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/424561/cmap_HighResolution_442800001_443059201_4FGL_J1424.2+0433_daily_bin785.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.88e-05', job_status='DONE', photon_flux_upper_limit='2.85e-08', time_completed='2021-09-09 14:03:42.007948', job_id='424561', GAL2='0.76', fit_tolerance='1e-08', EG2='1.36', EG='1.36', time_epoch_completed='1631221422.01', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.76', dlogl='7.97e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='785' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:03:42 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0112>
Subject: Job 424561: <4FGL_J1424.2+0433_daily_bin785> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin785 216.051 4.5628 442800001 443059201 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 :                                   571.44 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             325.61 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   750 sec.
    Turnaround time :                            751 sec.

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

