/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 194 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 = 7496
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1424.2+0433_daily_bin20
RA = 216.051, Dec = 4.5628
tmin = 244512001, tmax = 244771201
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='419398', job_status='RUN', time_executed='2021-09-09 13:39:46.896669', time_epoch_executed='1631219986.9' WHERE source_name='4FGL J1424.2+0433' and cadence='daily' and bin_id='20'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/419398

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/419398/ft1_4FGL_J1424.2+0433_daily_bin20.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/419398/ft2_4FGL_J1424.2+0433_daily_bin20.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/419398/ft1_4FGL_J1424.2+0433_daily_bin20.fits outfile=/scratch/kocevski/419398/ft1_filteredMKT_4FGL_J1424.2+0433_daily_bin20.fits ra=216.051 dec=4.5628 rad=12.0 tmin=244512001.0 tmax=244771201.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 1.47
user 1.25
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/419398/ft1_filtered_4FGL_J1424.2+0433_daily_bin20.fits" evtable="EVENTS" scfile=/scratch/kocevski/419398/ft2_4FGL_J1424.2+0433_daily_bin20.fits sctable="SC_DATA" outfile=/scratch/kocevski/419398/ltcube_244512001_244771201_4FGL_J1424.2+0433_daily_bin20.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/419398/ft2_4FGL_J1424.2+0433_daily_bin20.fits
.....................!
real 13.04
user 12.56
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/419398/ft1_filtered_4FGL_J1424.2+0433_daily_bin20.fits evtable="EVENTS" scfile=/scratch/kocevski/419398/ft2_4FGL_J1424.2+0433_daily_bin20.fits sctable="SC_DATA" expcube=/scratch/kocevski/419398/ltcube_244512001_244771201_4FGL_J1424.2+0433_daily_bin20.fits outfile=/scratch/kocevski/419398/expmap_244512001_244771201_4FGL_J1424.2+0433_daily_bin20.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/419398/ltcube_244512001_244771201_4FGL_J1424.2+0433_daily_bin20.fits
.....................!
real 191.53
user 185.79
sys 5.37

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/419398/ft1_filtered_4FGL_J1424.2+0433_daily_bin20.fits scfile=/scratch/kocevski/419398/ft2_4FGL_J1424.2+0433_daily_bin20.fits outfile=/scratch/kocevski/419398/cmap_244512001_244771201_4FGL_J1424.2+0433_daily_bin20.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.59
user 0.36
sys 0.16

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

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

This is gtbin version HEAD
real 0.55
user 0.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    6.5180       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10126E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    14.102       1.0000         .10000E-03   10000.    
     5 'Prefactor '    16.203       1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.6333       1.0000         .10000E-03   10000.    
     7 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    31.812       1.0000         .10000E-03   10000.    
     9 'norm      '    .10024E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    4.3540       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    40.634       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .11047E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    12.178       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10107E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .82692       1.0000         .10000E-03   10000.    
    18 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
    20 'Normalizat'    .93988       1.0000         .10000E-01   10.000    
    21 'Prefactor '    1.1401       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=   6647.909     FROM MIGRAD    STATUS=CONVERGED    467 CALLS     2308 TOTAL
                     EDM=   .15E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     6.5178        4.8502        .17141E-05   -.50287E-03
   2  Prefactor     .10000E-03    9.4090        .30211E-07** at limit **
   3  Prefactor     .10000E-03    1.7254       -.84119E-08** at limit **
   4  Prefactor     14.099        17.400        .84998E-07    .16324E-04
   5  Prefactor     16.201        26.360       -.17428E-06   -.18014E-04
   6  Prefactor     8.4865        32.697        .11870E-05    .22183E-04
   7  norm          .10000E-03    6.9819        .37744E-07** at limit **
   8  Prefactor     31.813        26.919       -.24942E-06   -.36589E-04
   9  norm          .10000E-03    9.0298       -.10060E-06** at limit **
  10  Prefactor     4.3600        6.5791        .73387E-07   -.47495E-04
  11  Prefactor     .10000E-03    12.667        .10285E-06** at limit **
  12  Prefactor     40.573        46.917       -.43599E-05   -.19164E-03
  13  Prefactor     .10000E-03    74.899       -.11329E-05** at limit **
  14  norm          12.184        19.003       -.94454E-07   -.20578E-04
  15  Prefactor     .10000E-03    23.938        .14927E-06** at limit **
  16  Prefactor     .10000E-03    4.7009       -.14547E-09** at limit **
  17  norm          .82700        .24821        .26467E-08    .20744E-04
  18  norm          .10000E-03    1.2442        .79594E-07** at limit **
  19  norm          .10000E-03    8.8015        .15427E-06** at limit **
  20  Normalizat    .93968        .22380       -.51122E-06    .40162E-05
  21  Prefactor     1.1403        .14024        .50873E-07   -.26330E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 6.51784
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 14.0987
  Prefactor  = 16.201
  Prefactor  = 8.48655
  norm       = 0.0001
  Prefactor  = 31.8129
  norm       = 0.0001
  Prefactor  = 4.35997
  Prefactor  = 0.0001
  Prefactor  = 40.5726
  Prefactor  = 0.0001
  norm       = 12.1838
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.827001
  norm       = 0.0001
  norm       = 0.0001
  Normalizat = 0.939682
  Prefactor  = 1.14033
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.909     FROM HESSE     STATUS=OK           315 CALLS     2623 TOTAL
                     EDM=   .35E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     6.5178        4.9862        .75860E-03   -1.5197    
   2  Prefactor     .10000E-03    9.4197        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    1.7301        .10459E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     14.099        17.397        .10666E-03   -1.4957    
   5  Prefactor     16.201        26.346        .99501E-04   -1.4903    
   6  Prefactor     8.4865        32.729        .13642E-03   -1.5125    
   7  norm          .10000E-03    7.0178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     31.813        27.021        .71041E-04   -1.4579    
   9  norm          .10000E-03    9.0360        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     4.3600        6.5575        .19303E-03   -1.5290    
  11  Prefactor     .10000E-03    12.982        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     40.573        49.623        .62883E-04   -1.4433    
  13  Prefactor     .10000E-03    74.922        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          12.184        18.921        .11479E-03   -1.5010    
  15  Prefactor     .10000E-03    24.200        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    4.7026        .17266E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .82700        .24785        .21537E-04   -1.5526    
  18  norm          .10000E-03    2.7344        .17564E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    9.0797        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Normalizat    .93968        .26371        .32331E-03   -.95079    
  21  Prefactor     1.1403        .16462        .19457E-03   -.88188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.47149e-10
Minuit parameter uncertainties:
  1  4.9865
  2  5.0437e-06
  3  2.29648e-06
  4  17.4032
  5  26.3648
  6  32.7987
  7  2.91474e-07
  8  27.0312
  9  6.65391e-07
  10  6.55862
  11  5.58068e-06
  12  49.6731
  13  0.000156273
  14  18.93
  15  1.30996e-05
  16  7.22239e-07
  17  0.247853
  18  2.70299e-06
  19  2.53787e-06
  20  0.264072
  21  0.164694
Done.

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

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.000e-04  6.654e-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:  1.140e+00  1.647e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.397e-01  2.641e-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: 4.02e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.65e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/419398/likelihoodResults_244512001_244771201_4FGL_J1424.2+0433_daily_bin20.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) = 6647.909362
delta logL = -0.00052568225783

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6647.90883632
delta logL = -9.54969436862e-11

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9817       1.0000          .0000       5.0000    
     3 'Normalizat'    .93968       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1403       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=   6647.909     FROM MIGRAD    STATUS=CONVERGED     78 CALLS      225 TOTAL
                     EDM=   .85E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10006E-03    48.257        .18142E-02** at limit **
   2  alpha         2.0215        3.6697        .16931       -.45048E-06
   3  Normalizat    .93968        .24672        .32331E-03    .70452E-03
   4  Prefactor     1.1403        .16302        .19457E-03    .12231E-02
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100061
  alpha      = 2.02146
  Normalizat = 0.939683
  Prefactor  = 1.14033
 **********
 **   18 **HESSE 
 **********

 FCN=   6647.909     FROM HESSE     STATUS=OK            23 CALLS      248 TOTAL
                     EDM=   .16E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10006E-03    9.0675        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0215        3.1164        .67726E-02   -.19261    
   3  Normalizat    .93968        .24692        .64662E-04   -.95079    
   4  Prefactor     1.1403        .16315        .38915E-04   -.88188    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.57905e-08
Minuit parameter uncertainties:
  1  0.00148177
  2  476.718
  3  0.24722
  4  0.163222
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/419398': 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) = 6647.90883631
delta logL = 7.61428964324e-09

Extracting fit parameters...

4FGL J1424.2+0433
   Spectrum: LogParabola
258         norm:  1.001e-04  1.482e-03  1.000e-04  1.000e+04 ( 1.000e-13)
259        alpha:  2.021e+00  4.767e+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:  1.140e+00  1.632e-01  0.000e+00  1.000e+01 ( 1.000e+00)
501        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
502        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
499   Normalization:  9.397e-01  2.472e-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/419398/cmap_HighResolution_244512001_244771201_4FGL_J1424.2+0433_daily_bin20.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.65e-05', job_status='DONE', photon_flux_upper_limit='4.02e-08', time_completed='2021-09-09 13:49:23.659356', job_id='419398', GAL2='1.14', fit_tolerance='1e-08', EG2='0.94', EG='0.94', time_epoch_completed='1631220563.66', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.14', dlogl='7.61e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.98' WHERE bin_id='20' AND source_name='4FGL J1424.2+0433' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 13:49:23 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0141>
Subject: Job 419398: <4FGL_J1424.2+0433_daily_bin20> in cluster <slac> Done

Job <4FGL_J1424.2+0433_daily_bin20> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Thu Sep  9 13:36:22 2021
Job was executed on host(s) <bullet0141>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 13:36:23 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:36:23 2021
Terminated at Thu Sep  9 13:49:24 2021
Results reported at Thu Sep  9 13:49:24 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.2+0433_daily_bin20 216.051 4.5628 244512001 244771201 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 :                                   576.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             288.63 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   780 sec.
    Turnaround time :                            782 sec.

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

