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


Performing analysis on: 4FGL_J1424.2+0433_daily_bin951
RA = 216.051, Dec = 4.5628
tmin = 485827201, tmax = 486086401
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='424826', job_status='RUN', time_executed='2021-09-09 13:53:37.266389', time_epoch_executed='1631220817.27' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='951'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/424826

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/424826/ft1_4FGL_J1424.2+0433_daily_bin951.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/424826/ft2_4FGL_J1424.2+0433_daily_bin951.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/424826/ft1_4FGL_J1424.2+0433_daily_bin951.fits outfile=/scratch/kocevski/424826/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin951.fits ra=216.051 dec=4.5628 rad=12.0 tmin=485827201.0 tmax=486086401.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.70
user 3.46
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/424826/ft1_filtered_4FGL_J1424.2+0433_daily_bin951.fits evtable="EVENTS" scfile=/scratch/kocevski/424826/ft2_4FGL_J1424.2+0433_daily_bin951.fits sctable="SC_DATA" expcube=/scratch/kocevski/424826/ltcube_485827201_486086401_4FGL_J1424.2+0433_daily_bin951.fits outfile=/scratch/kocevski/424826/expmap_485827201_486086401_4FGL_J1424.2+0433_daily_bin951.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/424826/ltcube_485827201_486086401_4FGL_J1424.2+0433_daily_bin951.fits
.....................!
real 190.73
user 185.71
sys 4.62

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

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

This is gtbin version HEAD
real 0.54
user 0.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/424826/ft1_filtered_4FGL_J1424.2+0433_daily_bin951.fits scfile=/scratch/kocevski/424826/ft2_4FGL_J1424.2+0433_daily_bin951.fits outfile=/scratch/kocevski/424826/cmap_HighResolution_485827201_486086401_4FGL_J1424.2+0433_daily_bin951.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=216.051 yref=4.5628 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.39
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    1.2141       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .12733E-01   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    4.4581       1.0000         .10000E-03   10000.    
     7 'norm      '    6.4037       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    19.422       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10094E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .31280E-01   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10143E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    6.9489       1.0000         .10000E-03   10000.    
    15 'Prefactor '    55.281       1.0000         .10000E-03   10000.    
    16 'Prefactor '    21.211       1.0000         .10000E-03   10000.    
    17 'norm      '    .75634       1.0000         .10000E-03   10000.    
    18 'norm      '    .17601       1.0000         .10000E-03   10000.    
    19 'norm      '    6.4616       1.0000         .10000E-03   10000.    
    20 'Normalizat'    1.3712       1.0000         .10000E-01   10.000    
    21 'Prefactor '    .83809       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=   7954.446     FROM MIGRAD    STATUS=CONVERGED    800 CALLS     2575 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     1.2134        4.3547        .32784E-03    .59299E-05
   2  Prefactor     .10018E-03    123.19        .64130E-02** at limit **
   3  Prefactor     .10000E-03    2.2894        .13131E-02** at limit **
   4  Prefactor     .10000E-03    4.9704        .18142E-02** at limit **
   5  Prefactor     .10000E-03    6.0936        .18142E-02** at limit **
   6  Prefactor     4.4251        57.318        .19071E-03    .70940E-05
   7  norm          6.4036        6.6743        .79303E-03    .27066E-04
   8  Prefactor     .10000E-03    16.919        .18142E-02** at limit **
   9  norm          19.423        16.371        .90882E-04    .54265E-04
  10  Prefactor     .10000E-03    4.0628        .17522E-02** at limit **
  11  Prefactor     .10119E-03    11.668        .75248E-01** at limit **
  12  Prefactor     .10000E-03    28.633        .18142E-02** at limit **
  13  Prefactor     .10000E-03    12.806        .18142E-02** at limit **
  14  norm          6.9570        11.017        .15219E-03   -.68426E-04
  15  Prefactor     55.281        29.791        .53950E-04    .50785E-04
  16  Prefactor     21.214        21.694        .86969E-04   -.15276E-03
  17  norm          .75632        .25059        .24665E-04   -.22908E-03
  18  norm          .17295        5.3772        .16104E-02   -.15839E-03
  19  norm          6.4616        5.1487        .78943E-03    .23920E-04
  20  Normalizat    1.3714        .23936        .27066E-03   -.35604E-03
  21  Prefactor     .83800        .14701        .21460E-03   -.46674E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 1.2134
  Prefactor  = 0.000100178
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 4.42514
  norm       = 6.40356
  Prefactor  = 0.0001
  norm       = 19.4229
  Prefactor  = 0.0001
  Prefactor  = 0.000101186
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 6.95703
  Prefactor  = 55.2807
  Prefactor  = 21.2139
  norm       = 0.756324
  norm       = 0.172953
  norm       = 6.46156
  Normalizat = 1.37138
  Prefactor  = 0.838003
 **********
 **   18 **HESSE 
 **********

 FCN=   7954.446     FROM HESSE     STATUS=OK           309 CALLS     2884 TOTAL
                     EDM=   .25E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     1.2134        4.3517        .13114E-04   -1.5488    
   2  Prefactor     .10018E-03    127.34        .25652E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    2.2897        .26262E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     .10000E-03    4.9710        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    6.0940        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     4.4251        57.270        .76283E-05   -1.5287    
   7  norm          6.4036        6.6742        .31721E-04   -1.5202    
   8  Prefactor     .10000E-03    16.922        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          19.423        16.371        .18176E-04   -1.4826    
  10  Prefactor     .10000E-03    4.0630        .35045E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10119E-03    10.727        .79694E-01   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    28.635        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    12.806        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          6.9570        11.017        .60876E-05   -1.5180    
  15  Prefactor     55.281        29.787        .21580E-05   -1.4220    
  16  Prefactor     21.214        21.694        .17394E-04   -1.4786    
  17  norm          .75632        .25058        .98658E-06   -1.5534    
  18  norm          .17295        5.3684        .64417E-04   -1.5625    
  19  norm          6.4616        5.1487        .31577E-04   -1.5200    
  20  Normalizat    1.3714        .23924        .54131E-04   -.81460    
  21  Prefactor     .83800        .14709        .42920E-04   -.98342    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.48161e-09
Minuit parameter uncertainties:
  1  4.35284
  2  0.00955112
  3  4.1243e-06
  4  1.32974e-05
  5  5.34321e-06
  6  31.8761
  7  6.67496
  8  4.94552e-05
  9  16.3746
  10  6.6534e-05
  11  0.00713426
  12  6.07104e-05
  13  0.000113884
  14  11.0198
  15  29.7947
  16  21.7016
  17  0.250579
  18  1.92678
  19  5.14905
  20  0.23943
  21  0.14716
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.942e+01  1.637e+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:  8.380e-01  1.472e-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.371e+00  2.394e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 5.23
Ra Dec: 216.051 4.563
Photon Index (Fixed Index): 1.98 +/- 0.00
Photon Flux (Fixed Index): 1.76e-08 +/- 1.49e-08
Energy Flux (Fixed Index): 1.16e-05 +/- 9.78e-06

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) = 7953.22072657
delta logL = 1.22522182684

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7953.12337363
delta logL = 1.32257476849

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    10.932       1.0000         .10000E-03   10000.    
     2 'alpha     '    .84628       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3771       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .83979       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=   7953.123     FROM MIGRAD    STATUS=CONVERGED     48 CALLS      206 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          10.932        10.518        .30294E-02    .48410E-03
   2  alpha         .84608        .47928        .48027       -.31090E-04
   3  Normalizat    1.3771        .18696        .61083E-01    .61121E-05
   4  Prefactor     .83977        .11993        .44233E-01    .13471E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 10.9317
  alpha      = 0.846083
  Normalizat = 1.37711
  Prefactor  = 0.839774
 **********
 **   18 **HESSE 
 **********

 FCN=   7953.123     FROM HESSE     STATUS=OK            29 CALLS      235 TOTAL
                     EDM=   .66E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          10.932        16.693        .12117E-03   -1.5047    
   2  alpha         .84608        .73465        .21629E-02   -.72291    
   3  Normalizat    1.3771        .22645        .27015E-03   -.81293    
   4  Prefactor     .83977        .14540        .21443E-03   -.98278    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.6388e-10
Minuit parameter uncertainties:
  1  16.7001
  2  0.754885
  3  0.226617
  4  0.14547
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/424826': 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) = 7953.12337351
delta logL = 1.32257489314

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.093e+01  1.670e+01  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  8.461e-01  7.549e-01  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:  8.398e-01  1.455e-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.377e+00  2.266e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 7.87
Ra Dec: 216.051 4.563
Photon Index (Free Index): 0.85 +/- 0.75
Photon Flux (Free Index): 5.83e-09 +/- 6.87e-09
Energy Flux (Free Index): 4.15e-05 +/- 5.23e-05

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/424826/cmap_HighResolution_485827201_486086401_4FGL_J1424.2+0433_daily_bin951.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.76e-08', energy_flux2='4.15e-05', photon_flux_error='1.49e-08', dlogl='1.32e+00', energy_flux='1.16e-05', photon_flux2='5.83e-09', job_status='DONE', time_completed='2021-09-09 14:03:43.379272', photon_index_error2='0.75', photon_index2='0.85', ts='5.23', fit_tolerance='1e-08', GAL='0.84', photon_index_error='0.00', energy_flux_error2='5.23e-05', EG='1.37', time_epoch_completed='1631221423.38', return_code='0', job_id='424826', GAL2='0.84', EG2='1.38', return_code2='0', energy_flux_error='9.78e-06', photon_flux_error2='6.87e-09', ts2='7.87', photon_index='1.98' WHERE bin_id='951' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:03:43 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0237>
Subject: Job 424826: <4FGL_J1424.2+0433_daily_bin951> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin951 216.051 4.5628 485827201 486086401 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 :                                   598.13 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             303.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            735 sec.

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

