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


Performing analysis on: 4FGL_J1424.6+1447_daily_bin374
RA = 216.169, Dec = 14.784
tmin = 336268801, tmax = 336528001
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='430028', job_status='RUN', time_executed='2021-09-09 14:06:45.470265', time_epoch_executed='1631221605.47' WHERE source_name='4FGL J1424.6+1447' and cadence='daily' and bin_id='374'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/430028

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

Retrieving the FT1 file...

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

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

Retrieving 53 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/430028/ft1_4FGL_J1424.6+1447_daily_bin374.fits


Retrieving the FT1 file...

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

Retrieving 53 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/430028/ft1_4FGL_J1424.6+1447_daily_bin374.fits outfile=/scratch/kocevski/430028/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin374.fits ra=216.169 dec=14.784 rad=12.0 tmin=336268801.0 tmax=336528001.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 7.03
user 6.72
sys 0.26

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.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/430028/ft1_filteredMKT_4FGL_J1424.6+1447_daily_bin374.fits evtable="EVENTS" outfile="/scratch/kocevski/430028/ft1_filtered_4FGL_J1424.6+1447_daily_bin374.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.48
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/430028/ft1_filtered_4FGL_J1424.6+1447_daily_bin374.fits" evtable="EVENTS" scfile=/scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits sctable="SC_DATA" outfile=/scratch/kocevski/430028/ltcube_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.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/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits
.....................!
real 11.40
user 11.03
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/430028/ft1_filtered_4FGL_J1424.6+1447_daily_bin374.fits evtable="EVENTS" scfile=/scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits sctable="SC_DATA" expcube=/scratch/kocevski/430028/ltcube_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.fits outfile=/scratch/kocevski/430028/expmap_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.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/430028/ltcube_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.fits
.....................!
real 191.44
user 185.58
sys 5.51

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 145 point sources and 0 extended sources

Setting source of interest to:
4FGL J1424.6+1447 @ 216.169 14.784

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/430028/ft1_filtered_4FGL_J1424.6+1447_daily_bin374.fits scfile=/scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits outfile=/scratch/kocevski/430028/cmap_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.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.169 yref=14.784 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.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/430028/ft1_filtered_4FGL_J1424.6+1447_daily_bin374.fits scfile=/scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits outfile=/scratch/kocevski/430028/cmap_HighResolution_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.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.169 yref=14.784 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.38
sys 0.18

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/430028/ft1_filtered_4FGL_J1424.6+1447_daily_bin374.fits evtable="EVENTS" scfile=/scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/430028/Model_4FGL_J1424.6+1447_daily_bin374.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/430028/ft1_filtered_4FGL_J1424.6+1447_daily_bin374.fits.....................!
real 45.31
user 43.99
sys 1.16

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/430028/ft1_filtered_4FGL_J1424.6+1447_daily_bin374.fits', '/scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits', expMap='/scratch/kocevski/430028/expmap_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.fits', expCube='/scratch/kocevski/430028/ltcube_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/430028/Model_4FGL_J1424.6+1447_daily_bin374.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1424.6+1447'

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  1.029e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/430028/ft1_filtered_4FGL_J1424.6+1447_daily_bin374.fits
Spacecraft file(s): /scratch/kocevski/430028/ft2_4FGL_J1424.6+1447_daily_bin374.fits
Exposure map: /scratch/kocevski/430028/expmap_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.fits
Exposure cube: /scratch/kocevski/430028/ltcube_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/430028/Model_4FGL_J1424.6+1447_daily_bin374.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) = 5747.64558262

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    10.703       1.0000         .10000E-03   10000.    
     4 'Prefactor '    31.005       1.0000         .10000E-03   10000.    
     5 'Prefactor '    30.192       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    21.398       1.0000         .10000E-03   10000.    
     8 'Prefactor '    3.5889       1.0000         .10000E-03   10000.    
     9 'norm      '    7.0927       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10486E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    2.7022       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .61244E-03   1.0000         .10000E-03   10000.    
    13 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10019E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    13.858       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10017E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'norm      '    .36555       1.0000         .10000E-03   10000.    
    22 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Normalizat'    1.3805       1.0000         .10000E-01   10.000    
    24 'Prefactor '    .74101       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   5747.598     FROM MIGRAD    STATUS=CONVERGED    519 CALLS     2302 TOTAL
                     EDM=   .29E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .3%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    25.210        .55907E-05** at limit **
   2  Prefactor     .10000E-03    3.3517       -.56024E-07** at limit **
   3  Prefactor     10.701        16.551       -.14452E-05   -.23335E-04
   4  Prefactor     31.003        14.740       -.62301E-06    .33679E-04
   5  Prefactor     30.189        22.846       -.22852E-05    .34633E-04
   6  Prefactor     .10000E-03    18.641        .87013E-05** at limit **
   7  norm          21.398        18.709       -.43193E-07   -.18219E-04
   8  Prefactor     3.5879        5.2898        .44614E-06   -.23479E-04
   9  norm          7.0925        3.1736        .41855E-07    .35579E-04
  10  Prefactor     .10000E-03    13.964       -.59472E-05** at limit **
  11  norm          2.7024        2.9807       -.15617E-06   -.17639E-03
  12  Prefactor     .10000E-03    29.175        .30119E-05** at limit **
  13  norm          .10000E-03    7.8885       -.28309E-05** at limit **
  14  norm          .10000E-03    2.6281       -.19768E-07** at limit **
  15  Prefactor     .10000E-03    27.403       -.87152E-05** at limit **
  16  Prefactor     .10000E-03    16.187       -.27969E-06** at limit **
  17  Prefactor     13.859        16.258        .28317E-06    .20984E-04
  18  Prefactor     .10000E-03    9.0706        .42464E-05** at limit **
  19  Prefactor     .10000E-03    16.393        .23428E-06** at limit **
  20  Prefactor     .10000E-03    5.7665        .13208E-06** at limit **
  21  norm          .36552        .17655       -.37331E-09   -.15713E-03
  22  norm          .10000E-03    15.797       -.19819E-05** at limit **
  23  Normalizat    1.3806        .21379        .84341E-06    .12519E-03
  24  Prefactor     .74091        .15027       -.86849E-07    .14248E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 10.7006
  Prefactor  = 31.0032
  Prefactor  = 30.1892
  Prefactor  = 0.0001
  norm       = 21.3978
  Prefactor  = 3.58786
  norm       = 7.09252
  Prefactor  = 0.0001
  norm       = 2.70241
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 13.8589
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.365518
  norm       = 0.0001
  Normalizat = 1.38062
  Prefactor  = 0.740907
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.598     FROM HESSE     STATUS=OK           391 CALLS     2693 TOTAL
                     EDM=   .57E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    25.231        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    3.4129        .13550E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     10.701        16.614        .12247E-03   -1.5054    
   4  Prefactor     31.003        14.831        .71957E-04   -1.4594    
   5  Prefactor     30.189        22.826        .72917E-04   -1.4609    
   6  Prefactor     .10000E-03    18.718        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          21.398        18.712        .86589E-04   -1.4782    
   8  Prefactor     3.5879        5.2700        .20443E-03   -1.5329    
   9  norm          7.0925        3.1747        .87563E-04   -1.5175    
  10  Prefactor     .10000E-03    14.333        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          2.7024        2.9727        .13146E-03   -1.5379    
  12  Prefactor     .10000E-03    30.387        .42106E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  norm          .10000E-03    7.9842        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10000E-03    2.6560        .12001E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    27.677        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    16.266        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     13.859        16.261        .10759E-03   -1.4963    
  18  Prefactor     .10000E-03    9.0804        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    16.399        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    5.8118        .17779E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  norm          .36552        .17627        .21308E-04   -1.5587    
  22  norm          .10000E-03    15.799        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Normalizat    1.3806        .25922        .24757E-03   -.81191    
  24  Prefactor     .74091        .18103        .23468E-03   -1.0194    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.71688e-11
Minuit parameter uncertainties:
  1  2.30356e-07
  2  1.04147e-06
  3  16.6215
  4  14.8325
  5  22.8322
  6  3.81226e-05
  7  18.7169
  8  5.27063
  9  3.17475
  10  8.24844e-05
  11  2.97282
  12  1.81968e-05
  13  3.26095e-06
  14  1.52622e-06
  15  2.86269e-05
  16  1.11646e-05
  17  16.2666
  18  1.82966e-06
  19  4.85842e-06
  20  2.48872e-06
  21  0.176267
  22  3.92427e-07
  23  0.259467
  24  0.181178
Done.

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

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  3.588e+00  5.271e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.172e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  7.409e-01  1.812e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.381e+00  2.595e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.80
Ra Dec: 216.169 14.784
Photon Flux Upper Limit: 8.37e-08 ph cm-2 s-1
Energy Flux Upper Limit: 6.36e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/430028/likelihoodResults_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.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) = 5747.59027145
delta logL = 0.00780961934379

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5747.58739171
delta logL = 0.0106893588927

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    4.0621       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0255       1.0000          .0000       10.000    
     3 'Normalizat'    1.3833       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .73988       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .4690E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   5747.587     FROM MIGRAD    STATUS=CONVERGED     96 CALLS      247 TOTAL
                     EDM=   .82E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     4.0551        6.7295        .10003E-02   -.24993E-04
   2  Index         2.0257        1.0091        .96990E-02    .11126E-03
   3  Normalizat    1.3833        .24877        .24737E-03   -.13650E-04
   4  Prefactor     .73989        .17935        .11741E-02   -.14824E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 4.05515
  Index      = 2.0257
  Normalizat = 1.38332
  Prefactor  = 0.739891
 **********
 **   18 **HESSE 
 **********

 FCN=   5747.587     FROM HESSE     STATUS=OK            27 CALLS      274 TOTAL
                     EDM=   .34E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     4.0551        6.5335        .40011E-04   -1.5305    
   2  Index         2.0257        .98047        .19398E-02   -.63709    
   3  Normalizat    1.3833        .24945        .98947E-05   -.81112    
   4  Prefactor     .73989        .17988        .46965E-04   -1.0198    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.41636e-12
Minuit parameter uncertainties:
  1  6.53463
  2  0.990465
  3  0.249674
  4  0.180018
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/430028': 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) = 5747.58739089
delta logL = 0.010690175397

Extracting fit parameters...

4FGL J1424.6+1447
   Spectrum: PowerLaw
221    Prefactor:  4.055e+00  6.535e+00  1.000e-04  1.000e+04 ( 1.000e-13)
222        Index:  2.026e+00  9.905e-01  0.000e+00  1.000e+01 (-1.000e+00)
223        Scale:  1.760e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
466    Prefactor:  7.399e-01  1.800e-01  0.000e+00  1.000e+01 ( 1.000e+00)
467        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
468        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
465   Normalization:  1.383e+00  2.497e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.80
Ra Dec: 216.169 14.784

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/430028/cmap_HighResolution_336268801_336528001_4FGL_J1424.6+1447_daily_bin374.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='6.36e-03', job_status='DONE', photon_flux_upper_limit='8.37e-08', time_completed='2021-09-09 14:16:25.147439', job_id='430028', GAL2='0.74', fit_tolerance='1e-08', EG2='1.38', EG='1.38', time_epoch_completed='1631222185.15', return_code2='0', ts='0.80', comment='SUCCESS', return_code='0', GAL='0.74', dlogl='1.07e-02', ts2='0.82', photon_index_error='0.00', photon_index='2.17' WHERE bin_id='374' AND source_name='4FGL J1424.6+1447' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Sep  9 14:16:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <scs@bullet0136>
Subject: Job 430028: <4FGL_J1424.6+1447_daily_bin374> in cluster <slac> Done

Job <4FGL_J1424.6+1447_daily_bin374> was submitted from host <rhel6-64h> by user <kocevski> in cluster <slac> at Thu Sep  9 14:06:31 2021
Job was executed on host(s) <bullet0136>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Sep  9 14:06:33 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Sep  9 14:06:33 2021
Terminated at Thu Sep  9 14:16:25 2021
Results reported at Thu Sep  9 14:16:25 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1424.6+1447_daily_bin374 216.169 14.784 336268801 336528001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1424.6+1447 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   574.26 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             310.89 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   592 sec.
    Turnaround time :                            594 sec.

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

