/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/pyfits/__init__.py:22: PyFITSDeprecationWarning: PyFITS is deprecated, please use astropy.io.fits
  PyFITSDeprecationWarning)  # noqa

Likelihood Analysis Tool
Support Contact: Daniel Kocevski (daniel.kocevski@nasa.gov)


Waiting 9 seconds before starting...
Proceeding.

Importing modules...
This is make3FGLxml version 01r0.
The default diffuse model files and names are for pass 8 and assume you have v10r00p05 of the Fermi Science Tools or higher.
This is make4FGLxml version 01r04.
The default diffuse model files and names are for pass 8 and 4FGL and assume you have v11r5p3 of the Fermi Science Tools or higher.

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

/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/cbook/deprecation.py:106: MatplotlibDeprecationWarning: The mpl_toolkits.axes_grid module was deprecated in version 2.1. Use mpl_toolkits.axes_grid1 and mpl_toolkits.axisartist provies the same functionality instead.
  warnings.warn(message, mplDeprecation, stacklevel=1)

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

number of points = 7394
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.2+0433_daily_bin447
RA = 216.051, Dec = 4.5628
tmin = 355190401, tmax = 355449601
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='421430', job_status='RUN', time_executed='2021-09-09 13:42:20.639867', time_epoch_executed='1631220140.64' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='447'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/421430

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/421430/ft1_4FGL_J1424.2+0433_daily_bin447.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/421430/ft2_4FGL_J1424.2+0433_daily_bin447.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/421430/ft1_4FGL_J1424.2+0433_daily_bin447.fits outfile=/scratch/kocevski/421430/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin447.fits ra=216.051 dec=4.5628 rad=12.0 tmin=355190401.0 tmax=355449601.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.35
user 3.13
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/421430/ft1_filtered_4FGL_J1424.2+0433_daily_bin447.fits evtable="EVENTS" scfile=/scratch/kocevski/421430/ft2_4FGL_J1424.2+0433_daily_bin447.fits sctable="SC_DATA" expcube=/scratch/kocevski/421430/ltcube_355190401_355449601_4FGL_J1424.2+0433_daily_bin447.fits outfile=/scratch/kocevski/421430/expmap_355190401_355449601_4FGL_J1424.2+0433_daily_bin447.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/421430/ltcube_355190401_355449601_4FGL_J1424.2+0433_daily_bin447.fits
.....................!
real 190.55
user 185.68
sys 4.45

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/421430/ft1_filtered_4FGL_J1424.2+0433_daily_bin447.fits scfile=/scratch/kocevski/421430/ft2_4FGL_J1424.2+0433_daily_bin447.fits outfile=/scratch/kocevski/421430/cmap_355190401_355449601_4FGL_J1424.2+0433_daily_bin447.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.52
user 0.39
sys 0.12

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/421430/ft1_filtered_4FGL_J1424.2+0433_daily_bin447.fits scfile=/scratch/kocevski/421430/ft2_4FGL_J1424.2+0433_daily_bin447.fits outfile=/scratch/kocevski/421430/cmap_HighResolution_355190401_355449601_4FGL_J1424.2+0433_daily_bin447.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.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

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 '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    5.4175       1.0000         .10000E-03   10000.    
     4 'Prefactor '    6.8335       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    1.2368       1.0000         .10000E-03   10000.    
     8 'Prefactor '    10.029       1.0000         .10000E-03   10000.    
     9 'norm      '    .10005E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    22.146       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11214E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    25.580       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    32.558       1.0000         .10000E-03   10000.    
    17 'norm      '    .11896       1.0000         .10000E-03   10000.    
    18 'norm      '    4.3129       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.0939       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .95232       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=   5541.823     FROM MIGRAD    STATUS=CONVERGED    434 CALLS     2164 TOTAL
                     EDM=   .47E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6039        .95832E-08** at limit **
   2  Prefactor     .10000E-03    11.827       -.32831E-06** at limit **
   3  Prefactor     5.4174        3.9705        .19565E-07    .59256E-05
   4  Prefactor     6.8343        10.116       -.20839E-07   -.58039E-04
   5  Prefactor     .10000E-03    25.198        .39646E-05** at limit **
   6  Prefactor     .10000E-03    39.548       -.10945E-04** at limit **
   7  norm          1.2369        1.4040        .67271E-07   -.43393E-03
   8  Prefactor     10.030        22.684        .12921E-05    .12124E-04
   9  norm          .10000E-03    21.011       -.69815E-05** at limit **
  10  Prefactor     22.144        10.152       -.40299E-08    .74794E-04
  11  Prefactor     .10000E-03    6.2978        .11686E-07** at limit **
  12  Prefactor     .10000E-03    22.820       -.34668E-05** at limit **
  13  Prefactor     .10000E-03    32.293        .13130E-04** at limit **
  14  norm          25.576        19.620       -.81496E-06   -.18829E-03
  15  Prefactor     .10000E-03    16.746        .35731E-05** at limit **
  16  Prefactor     32.559        24.715        .64491E-06   -.66799E-05
  17  norm          .11896        .13994       -.42423E-08   -.22364E-03
  18  norm          4.3129        2.3542        .61159E-08   -.28394E-04
  19  norm          .10000E-03    1.9696        .82298E-08** at limit **
  20  Normalizat    1.0939        .21688       -.20102E-06    .60543E-05
  21  Prefactor     .95232        .13910        .68928E-07   -.22872E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 5.41743
  Prefactor  = 6.8343
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.23695
  Prefactor  = 10.0301
  norm       = 0.0001
  Prefactor  = 22.1444
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 25.5764
  Prefactor  = 0.0001
  Prefactor  = 32.5588
  norm       = 0.118957
  norm       = 4.31292
  norm       = 0.0001
  Normalizat = 1.09387
  Prefactor  = 0.952324
 **********
 **   18 **HESSE 
 **********

 FCN=   5541.823     FROM HESSE     STATUS=OK           317 CALLS     2481 TOTAL
                     EDM=   .95E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.6169        .92050E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    11.870        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     5.4174        3.9698        .12372E-03   -1.5242    
   4  Prefactor     6.8343        10.131        .76742E-03   -1.5185    
   5  Prefactor     .10000E-03    25.347        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    39.554        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          1.2369        13.087        .20181E-02   -1.5486    
   8  Prefactor     10.030        22.752        .12653E-03   -1.5074    
   9  norm          .10000E-03    21.027        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     22.144        10.163        .85114E-04   -1.4766    
  11  Prefactor     .10000E-03    6.3349        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    22.819        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    32.478        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          25.576        19.698        .79205E-04   -1.4696    
  15  Prefactor     .10000E-03    16.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     32.559        24.736        .70225E-04   -1.4566    
  17  norm          .11896        .13090        .29208E-03   -1.5639    
  18  norm          4.3129        2.3530        .81415E-04   -1.5293    
  19  norm          .10000E-03    1.9700        .10203E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    1.0939        .26012        .28584E-03   -.89949    
  21  Prefactor     .95232        .16759        .19953E-03   -.94336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.47234e-10
Minuit parameter uncertainties:
  1  9.44632e-08
  2  6.24081e-07
  3  3.97003
  4  10.1339
  5  1.48314e-05
  6  2.63355e-05
  7  8.04868
  8  22.7716
  9  7.60013e-06
  10  10.1642
  11  5.68071e-07
  12  1.50088e-07
  13  5.74052e-05
  14  19.7032
  15  5.22229e-06
  16  24.7433
  17  0.130903
  18  2.35302
  19  8.21133e-09
  20  0.260424
  21  0.167685
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  7.600e-06  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:  9.523e-01  1.677e-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.094e+00  2.604e-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: 6.29e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.14e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/421430/likelihoodResults_355190401_355449601_4FGL_J1424.2+0433_daily_bin447.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) = 5541.82284421
delta logL = -0.000226578163165

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5541.82261792
delta logL = -2.93861376122e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10476E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9453       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0939       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .95233       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=   5541.823     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      195 TOTAL
                     EDM=   .21E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    27.825        .90712E-02** at limit **
   2  alpha         1.9817        3.4642        .42511       -.91054E-05
   3  Normalizat    1.0939        .20954        .64618E-01   -.35556E-04
   4  Prefactor     .95232        .13830        .45669E-01   -.25060E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100001
  alpha      = 1.9817
  Normalizat = 1.09387
  Prefactor  = 0.952325
 **********
 **   18 **HESSE 
 **********

 FCN=   5541.823     FROM HESSE     STATUS=OK            33 CALLS      228 TOTAL
                     EDM=   .13E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    21.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9817        3.4136        .50000       -.20884    
   3  Normalizat    1.0939        .24996        .28584E-03   -.89949    
   4  Prefactor     .95232        .16513        .19953E-03   -.94336    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.27681e-10
Minuit parameter uncertainties:
  1  0.0002126
  2  2.46657
  3  0.250226
  4  0.165221
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/421430': 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) = 5541.82261762
delta logL = 6.1063474277e-09

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  2.126e-04  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.982e+00  2.467e+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:  9.523e-01  1.652e-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.094e+00  2.502e-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/421430/cmap_HighResolution_355190401_355449601_4FGL_J1424.2+0433_daily_bin447.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.14e-05', job_status='DONE', photon_flux_upper_limit='6.29e-08', time_completed='2021-09-09 13:52:20.599031', job_id='421430', GAL2='0.95', fit_tolerance='1e-08', EG2='1.09', EG='1.09', time_epoch_completed='1631220740.6', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.95', dlogl='6.11e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='447' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:52:20 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0125>
Subject: Job 421430: <4FGL_J1424.2+0433_daily_bin447> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin447 216.051 4.5628 355190401 355449601 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 :                                   523.00 sec.
    Max Memory :                                 1176 MB
    Average Memory :                             308.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   620 sec.
    Turnaround time :                            622 sec.

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

