/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 196 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 = 7474
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.2+0433_daily_bin332
RA = 216.051, Dec = 4.5628
tmin = 325382401, tmax = 325641601
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='421262', job_status='RUN', time_executed='2021-09-09 13:45:14.204386', time_epoch_executed='1631220314.2' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='332'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/421262

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/421262/ft1_4FGL_J1424.2+0433_daily_bin332.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/421262/ft2_4FGL_J1424.2+0433_daily_bin332.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/421262/ft1_4FGL_J1424.2+0433_daily_bin332.fits outfile=/scratch/kocevski/421262/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin332.fits ra=216.051 dec=4.5628 rad=12.0 tmin=325382401.0 tmax=325641601.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.60
user 3.28
sys 0.20

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/421262/ft2_4FGL_J1424.2+0433_daily_bin332.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/421262/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin332.fits evtable="EVENTS" outfile="/scratch/kocevski/421262/ft1_filtered_4FGL_J1424.2+0433_daily_bin332.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.57
user 0.33
sys 0.19

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/421262/ft1_filtered_4FGL_J1424.2+0433_daily_bin332.fits" evtable="EVENTS" scfile=/scratch/kocevski/421262/ft2_4FGL_J1424.2+0433_daily_bin332.fits sctable="SC_DATA" outfile=/scratch/kocevski/421262/ltcube_325382401_325641601_4FGL_J1424.2+0433_daily_bin332.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/421262/ft2_4FGL_J1424.2+0433_daily_bin332.fits
.....................!
real 12.39
user 11.97
sys 0.35

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/421262/ft1_filtered_4FGL_J1424.2+0433_daily_bin332.fits evtable="EVENTS" scfile=/scratch/kocevski/421262/ft2_4FGL_J1424.2+0433_daily_bin332.fits sctable="SC_DATA" expcube=/scratch/kocevski/421262/ltcube_325382401_325641601_4FGL_J1424.2+0433_daily_bin332.fits outfile=/scratch/kocevski/421262/expmap_325382401_325641601_4FGL_J1424.2+0433_daily_bin332.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/421262/ltcube_325382401_325641601_4FGL_J1424.2+0433_daily_bin332.fits
.....................!
real 191.40
user 185.36
sys 5.63

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/421262/ft1_filtered_4FGL_J1424.2+0433_daily_bin332.fits scfile=/scratch/kocevski/421262/ft2_4FGL_J1424.2+0433_daily_bin332.fits outfile=/scratch/kocevski/421262/cmap_325382401_325641601_4FGL_J1424.2+0433_daily_bin332.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.53
user 0.38
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/421262/ft1_filtered_4FGL_J1424.2+0433_daily_bin332.fits scfile=/scratch/kocevski/421262/ft2_4FGL_J1424.2+0433_daily_bin332.fits outfile=/scratch/kocevski/421262/cmap_HighResolution_325382401_325641601_4FGL_J1424.2+0433_daily_bin332.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.57
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.2326       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    1.8286       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    22.753       1.0000         .10000E-03   10000.    
     6 'Prefactor '    37.529       1.0000         .10000E-03   10000.    
     7 'norm      '    5.1293       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    4.1630       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    2.2885       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10073E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    40.200       1.0000         .10000E-03   10000.    
    14 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    27.497       1.0000         .10000E-03   10000.    
    16 'Prefactor '    5.5307       1.0000         .10000E-03   10000.    
    17 'norm      '    .76603       1.0000         .10000E-03   10000.    
    18 'norm      '    6.8448       1.0000         .10000E-03   10000.    
    19 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .78528       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.0359       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=   7232.828     FROM MIGRAD    STATUS=CONVERGED    440 CALLS     2234 TOTAL
                     EDM=   .19E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .8%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.2332        4.3894        .83988E-07   -.29953E-04
   2  Prefactor     .10000E-03    5.3612       -.93704E-07** at limit **
   3  Prefactor     1.8286        3.6266        .59314E-07   -.33322E-04
   4  Prefactor     .10000E-03    4.8525       -.58222E-07** at limit **
   5  Prefactor     22.754        20.062        .46667E-06   -.22965E-05
   6  Prefactor     37.530        29.272        .86620E-06   -.32688E-05
   7  norm          5.1292        5.4388        .19260E-07    .66432E-05
   8  Prefactor     .10000E-03    7.9910        .38789E-07** at limit **
   9  norm          4.1631        13.436        .33368E-07   -.31805E-05
  10  Prefactor     .10000E-03    3.4188       -.40880E-07** at limit **
  11  Prefactor     2.2892        1.5989        .27660E-07   -.51179E-03
  12  Prefactor     .10000E-03    47.480        .24309E-06** at limit **
  13  Prefactor     40.199        28.298        .41900E-06   -.29421E-05
  14  norm          .10000E-03    13.503        .73252E-07** at limit **
  15  Prefactor     27.494        25.209       -.26351E-05   -.18207E-04
  16  Prefactor     5.5360        33.425        .11012E-04    .43859E-05
  17  norm          .76605        .25183       -.17171E-07   -.35628E-03
  18  norm          6.8446        2.8034        .62714E-07   -.11596E-04
  19  norm          .10000E-03    3.5397        .12243E-07** at limit **
  20  Normalizat    .78509        .19596       -.97138E-06   -.45242E-05
  21  Prefactor     1.0360        .12185        .76784E-07   -.63195E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.23317
  Prefactor  = 0.0001
  Prefactor  = 1.82858
  Prefactor  = 0.0001
  Prefactor  = 22.7537
  Prefactor  = 37.5298
  norm       = 5.12922
  Prefactor  = 0.0001
  norm       = 4.16313
  Prefactor  = 0.0001
  Prefactor  = 2.28918
  Prefactor  = 0.0001
  Prefactor  = 40.1992
  norm       = 0.0001
  Prefactor  = 27.4938
  Prefactor  = 5.53602
  norm       = 0.766055
  norm       = 6.84464
  norm       = 0.0001
  Normalizat = 0.785085
  Prefactor  = 1.03598
 **********
 **   18 **HESSE 
 **********

 FCN=   7232.828     FROM HESSE     STATUS=OK           319 CALLS     2553 TOTAL
                     EDM=   .56E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.2332        4.4009        .17128E-03   -1.5296    
   2  Prefactor     .10000E-03    5.3654        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     1.8286        3.6057        .22112E-03   -1.5438    
   4  Prefactor     .10000E-03    4.8761        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     22.754        20.097        .83973E-04   -1.4754    
   6  Prefactor     37.530        29.393        .65423E-04   -1.4482    
   7  norm          5.1292        5.4420        .17752E-03   -1.5255    
   8  Prefactor     .10000E-03    7.9984        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          4.1631        13.424        .19754E-03   -1.5300    
  10  Prefactor     .10000E-03    3.4464        .15354E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     2.2892        7.1496        .13568E-02   -1.5405    
  12  Prefactor     .10000E-03    47.678        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     40.199        28.273        .63221E-04   -1.4439    
  14  norm          .10000E-03    13.545        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     27.494        25.254        .76399E-04   -1.4659    
  16  Prefactor     5.5360        33.490        .17084E-03   -1.5237    
  17  norm          .76605        .25182        .23196E-04   -1.5533    
  18  norm          6.8446        2.8034        .86878E-04   -1.5185    
  19  norm          .10000E-03    3.5774        .15625E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .78509        .22970        .32372E-03   -1.0062    
  21  Prefactor     1.0360        .14323        .18668E-03   -.91540    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.64115e-10
Minuit parameter uncertainties:
  1  4.40125
  2  1.75696e-06
  3  3.60615
  4  1.59034e-06
  5  20.1034
  6  29.4045
  7  5.44257
  8  2.43315e-06
  9  13.4333
  10  3.02759e-06
  11  7.1523
  12  1.91923e-05
  13  28.282
  14  6.05821e-06
  15  25.2642
  16  27.255
  17  0.251825
  18  2.80346
  19  1.92437e-06
  20  0.229987
  21  0.143279
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  4.163e+00  1.343e+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.036e+00  1.433e-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.851e-01  2.300e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/421262/likelihoodResults_325382401_325641601_4FGL_J1424.2+0433_daily_bin332.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) = 7232.82281615
delta logL = 0.00541527256246

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7232.82237428
delta logL = 0.00585714639692

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.5743       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.7676       1.0000          .0000       5.0000    
     3 'Normalizat'    .78577       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0357       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5030E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   7232.822     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      266 TOTAL
                     EDM=   .31E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.5755        14.487        .18821E-03   -.58900E-03
   2  alpha         1.7675        1.7315        .54365E-01   -.57570E-04
   3  Normalizat    .78588        .21559        .32356E-03    .46766E-04
   4  Prefactor     1.0356        .14227        .18671E-03    .19994E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.57551
  alpha      = 1.76748
  Normalizat = 0.785882
  Prefactor  = 1.03563
 **********
 **   18 **HESSE 
 **********

 FCN=   7232.822     FROM HESSE     STATUS=OK            23 CALLS      289 TOTAL
                     EDM=   .34E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.5755        14.228        .75284E-05   -1.5280    
   2  alpha         1.7675        1.7112        .21746E-02   -.29737    
   3  Normalizat    .78588        .21571        .12943E-04   -1.0059    
   4  Prefactor     1.0356        .14236        .37341E-04   -.91551    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.43031e-09
Minuit parameter uncertainties:
  1  14.2383
  2  1.90728
  3  0.215943
  4  0.142414
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/421262': 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) = 7232.82237397
delta logL = 0.00585745553326

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  4.576e+00  1.424e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  1.767e+00  1.907e+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.036e+00  1.424e-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.859e-01  2.159e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/421262/cmap_HighResolution_325382401_325641601_4FGL_J1424.2+0433_daily_bin332.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.04e-05', job_status='DONE', photon_flux_upper_limit='4.62e-08', time_completed='2021-09-09 13:56:51.891797', job_id='421262', GAL2='1.04', fit_tolerance='1e-08', EG2='0.79', EG='0.79', time_epoch_completed='1631221011.89', return_code2='0', ts='0.12', comment='SUCCESS', return_code='0', GAL='1.04', dlogl='5.86e-03', ts2='0.13', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='332' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:56:51 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0232>
Subject: Job 421262: <4FGL_J1424.2+0433_daily_bin332> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin332> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Thu Sep  9 13:41:46 2021
Job was executed on host(s) <bullet0232>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:41:48 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 13:41:48 2021
Terminated at Thu Sep  9 13:56:52 2021
Results reported at Thu Sep  9 13:56:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin332 216.051 4.5628 325382401 325641601 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 :                                   606.42 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             264.78 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   904 sec.
    Turnaround time :                            906 sec.

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

