/nfs/farm/g/glast/g/LCRepository/bin/miniconda2/envs/fermitools_v1.0.5/lib/python2.7/site-packages/matplotlib/font_manager.py:281: UserWarning: Matplotlib is building the font cache using fc-list. This may take a moment.
  'Matplotlib is building the font cache using fc-list. '
/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 56 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 = 7353
number of fields = 30
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1405
RA = 220.993, Dec = 25.0291
tmin = 603504001, tmax = 603763201
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='724651', job_status='RUN', time_executed='2021-09-10 06:22:37.436970', time_epoch_executed='1631280157.44' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1405'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724651

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724651/ft1_4FGL_J1443.9+2501_daily_bin1405.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724651/ft1_4FGL_J1443.9+2501_daily_bin1405.fits outfile=/scratch/kocevski/724651/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1405.fits ra=220.993 dec=25.0291 rad=12.0 tmin=603504001.0 tmax=603763201.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 2.80
user 2.52
sys 0.18

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.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/724651/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1405.fits evtable="EVENTS" outfile="/scratch/kocevski/724651/ft1_filtered_4FGL_J1443.9+2501_daily_bin1405.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.52
user 0.32
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724651/ft1_filtered_4FGL_J1443.9+2501_daily_bin1405.fits" evtable="EVENTS" scfile=/scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits sctable="SC_DATA" outfile=/scratch/kocevski/724651/ltcube_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.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/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits
.....................!
real 12.33
user 11.99
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724651/ft1_filtered_4FGL_J1443.9+2501_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits sctable="SC_DATA" expcube=/scratch/kocevski/724651/ltcube_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.fits outfile=/scratch/kocevski/724651/expmap_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.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/724651/ltcube_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.fits
.....................!
real 190.17
user 184.95
sys 4.79

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

Setting source of interest to:
4FGL J1443.9+2501 @ 220.993 25.0291

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/724651/ft1_filtered_4FGL_J1443.9+2501_daily_bin1405.fits scfile=/scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits outfile=/scratch/kocevski/724651/cmap_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.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=220.993 yref=25.0291 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/724651/ft1_filtered_4FGL_J1443.9+2501_daily_bin1405.fits scfile=/scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits outfile=/scratch/kocevski/724651/cmap_HighResolution_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.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=220.993 yref=25.0291 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.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/724651/ft1_filtered_4FGL_J1443.9+2501_daily_bin1405.fits evtable="EVENTS" scfile=/scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/724651/Model_4FGL_J1443.9+2501_daily_bin1405.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/724651/ft1_filtered_4FGL_J1443.9+2501_daily_bin1405.fits.....................!
real 60.17
user 58.76
sys 1.24

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/724651/ft1_filtered_4FGL_J1443.9+2501_daily_bin1405.fits', '/scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits', expMap='/scratch/kocevski/724651/expmap_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.fits', expCube='/scratch/kocevski/724651/ltcube_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/724651/Model_4FGL_J1443.9+2501_daily_bin1405.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1443.9+2501'

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  8.435e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.967e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/724651/ft1_filtered_4FGL_J1443.9+2501_daily_bin1405.fits
Spacecraft file(s): /scratch/kocevski/724651/ft2_4FGL_J1443.9+2501_daily_bin1405.fits
Exposure map: /scratch/kocevski/724651/expmap_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.fits
Exposure cube: /scratch/kocevski/724651/ltcube_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/724651/Model_4FGL_J1443.9+2501_daily_bin1405.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) = 8274.56781615

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    52.532       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.7081       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .39472E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    9.4688       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    22.589       1.0000         .10000E-03   10000.    
     9 'norm      '    5.3835       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10007E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .11161E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .55738E-01   1.0000         .10000E-03   10000.    
    15 'norm      '    38.947       1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .19198E-01   1.0000         .10000E-03   10000.    
    18 'norm      '    .37882       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1749       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1143       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   8274.557     FROM MIGRAD    STATUS=CONVERGED    843 CALLS     2760 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     52.533        8.4920        .55337E-04    .48732E-04
   2  Prefactor     .10000E-03    5.6940        .18142E-02** at limit **
   3  norm          2.7082        2.4861        .13316E-03   -.46104E-05
   4  Prefactor     .10007E-03    25.741        .37925E-02** at limit **
   5  norm          9.4693        3.7537        .10561E-03    .88920E-04
   6  norm          .10000E-03    2.1923        .13066E-02** at limit **
   7  Prefactor     .10000E-03    22.618        .18142E-02** at limit **
   8  Prefactor     22.583        23.989        .84278E-04   -.36152E-04
   9  norm          5.3834        5.4600        .86599E-03    .25111E-03
  10  Prefactor     .10000E-03    9.5544        .18142E-02** at limit **
  11  Prefactor     .10000E-03    5.8548        .18142E-02** at limit **
  12  Prefactor     .10000E-03    19.504        .18142E-02** at limit **
  13  Prefactor     .10000E-03    15.838        .18142E-02** at limit **
  14  Prefactor     .75616E-01    6.9499        .61996E-01    .25238E-03
  15  norm          38.930        45.696        .64226E-04   -.61812E-04
  16  Prefactor     .10000E-03    22.079        .18142E-02** at limit **
  17  Prefactor     .10056E-03    71.862        .34125E-02** at limit **
  18  norm          .37874        .90525        .12923E-03   -.60650E-03
  19  Prefactor     .10000E-03    8.2748        .18142E-02** at limit **
  20  Prefactor     .10000E-03    23.906        .18142E-02** at limit **
  21  Normalizat    1.1747        .22489        .29613E-03    .46464E-03
  22  Prefactor     1.1143        .17335        .23445E-03    .54310E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 52.5334
  Prefactor  = 0.0001
  norm       = 2.7082
  Prefactor  = 0.000100072
  norm       = 9.46933
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 22.5832
  norm       = 5.38345
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0756158
  norm       = 38.9301
  Prefactor  = 0.0001
  Prefactor  = 0.000100557
  norm       = 0.378736
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.17473
  Prefactor  = 1.11435
 **********
 **   18 **HESSE 
 **********

 FCN=   8274.557     FROM HESSE     STATUS=OK           330 CALLS     3090 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     52.533        8.4919        .11067E-04   -1.4257    
   2  Prefactor     .10000E-03    5.6969        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.7082        2.4860        .53262E-05   -1.5379    
   4  Prefactor     .10007E-03    26.294        .75851E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          9.4693        3.7533        .42243E-05   -1.5092    
   6  norm          .10000E-03    2.1929        .26132E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    22.620        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     22.583        23.991        .33711E-05   -1.4757    
   9  norm          5.3834        5.4602        .34640E-04   -1.5244    
  10  Prefactor     .10000E-03    9.5598        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    5.8564        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    19.509        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    15.839        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .75616E-01    6.1719        .67671E-01   -1.5653    
  15  norm          38.930        45.697        .12845E-04   -1.4459    
  16  Prefactor     .10000E-03    22.081        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10056E-03    75.017        .13650E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .37874        .90497        .51690E-05   -1.5585    
  19  Prefactor     .10000E-03    8.2792        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    23.907        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1747        .22504        .59225E-04   -.87387    
  22  Prefactor     1.1143        .17340        .46890E-04   -.89009    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.07959e-08
Minuit parameter uncertainties:
  1  8.49208
  2  2.25989e-05
  3  2.48608
  4  0.00275688
  5  3.75335
  6  1.17623e-05
  7  8.86504e-05
  8  24.0009
  9  5.46069
  10  7.91324e-05
  11  2.19818e-05
  12  0.000209061
  13  5.24817e-05
  14  1.36554
  15  45.7382
  16  0.000136048
  17  0.0129449
  18  0.905006
  19  7.86707e-05
  20  6.17256e-05
  21  0.225222
  22  0.17349
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  1.176e-05  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.967e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.114e+00  1.735e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.175e+00  2.252e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 220.993 25.029
Photon Flux Upper Limit: 4.73e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.83e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724651/likelihoodResults_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.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): 102
logL (Free Index) = 8274.55961871
delta logL = -0.00216664352229

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 8274.55745223
delta logL = -1.70473867911e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10170E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9845       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1747       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1144       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5190E+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=   8274.407     FROM MIGRAD    STATUS=CONVERGED    186 CALLS      330 TOTAL
                     EDM=   .60E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .39150E-01    .68081E-01    .73339E-02   -.70393E-02
   2  alpha         5.0000        4.0488        .50000    ** at limit **
   3  Normalizat    1.1382        .22512        .29612E-03   -.59123E-05
   4  Prefactor     1.1306        .17159        .23445E-03   -.71766E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0391498
  alpha      = 5
  Normalizat = 1.13823
  Prefactor  = 1.13061
 **********
 **   18 **HESSE 
 **********

 FCN=   8274.407     FROM HESSE     STATUS=OK            33 CALLS      363 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .39150E-01    .79140E-01    .30595E-03   -1.5747    
   2  alpha         5.0000        4.1352        .50000        1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1382        .23082        .11845E-04   -.88534    
   4  Prefactor     1.1306        .17316        .93780E-05   -.88494    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.11346e-11
Minuit parameter uncertainties:
  1  0.07914
  2  7.05354e-05
  3  0.231026
  4  0.173248
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724651': 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) = 8274.40742274
delta logL = 0.150029321547

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.915e-02  7.914e-02  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  5.000e+00  7.054e-05  0.000e+00  5.000e+00 ( 1.000e+00)
260         beta:  1.003e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
261           Eb:  8.502e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  1.131e+00  1.732e-01  0.000e+00  1.000e+01 ( 1.000e+00)
517        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
518        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
515   Normalization:  1.138e+00  2.310e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 220.993 25.029

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/724651/cmap_HighResolution_603504001_603763201_4FGL_J1443.9+2501_daily_bin1405.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.83e-05', job_status='DONE', photon_flux_upper_limit='4.73e-08', time_completed='2021-09-10 06:35:56.031566', job_id='724651', GAL2='1.13', fit_tolerance='1e-08', EG2='1.14', EG='1.17', time_epoch_completed='1631280956.03', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.11', dlogl='1.50e-01', ts2='0.32', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1405' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:35:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0043>
Subject: Job 724651: <4FGL_J1443.9+2501_daily_bin1405> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1405> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 06:21:24 2021
Job was executed on host(s) <bullet0043>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:21:26 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 06:21:26 2021
Terminated at Fri Sep 10 06:35:56 2021
Results reported at Fri Sep 10 06:35:56 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1405 220.993 25.0291 603504001 603763201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1443.9+2501 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   722.33 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             315.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   870 sec.
    Turnaround time :                            872 sec.

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

