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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1143
RA = 220.993, Dec = 25.0291
tmin = 535593601, tmax = 535852801
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='723294', job_status='RUN', time_executed='2021-09-10 06:18:30.977841', time_epoch_executed='1631279910.98' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1143'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/723294

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/723294/ft1_4FGL_J1443.9+2501_daily_bin1143.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/723294/ft2_4FGL_J1443.9+2501_daily_bin1143.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/723294/ft1_4FGL_J1443.9+2501_daily_bin1143.fits outfile=/scratch/kocevski/723294/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1143.fits ra=220.993 dec=25.0291 rad=12.0 tmin=535593601.0 tmax=535852801.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 5.06
user 4.79
sys 0.21

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/723294/ft2_4FGL_J1443.9+2501_daily_bin1143.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/723294/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1143.fits evtable="EVENTS" outfile="/scratch/kocevski/723294/ft1_filtered_4FGL_J1443.9+2501_daily_bin1143.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.34
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/723294/ft1_filtered_4FGL_J1443.9+2501_daily_bin1143.fits" evtable="EVENTS" scfile=/scratch/kocevski/723294/ft2_4FGL_J1443.9+2501_daily_bin1143.fits sctable="SC_DATA" outfile=/scratch/kocevski/723294/ltcube_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.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/723294/ft2_4FGL_J1443.9+2501_daily_bin1143.fits
.....................!
real 14.57
user 14.20
sys 0.32

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/723294/ft1_filtered_4FGL_J1443.9+2501_daily_bin1143.fits evtable="EVENTS" scfile=/scratch/kocevski/723294/ft2_4FGL_J1443.9+2501_daily_bin1143.fits sctable="SC_DATA" expcube=/scratch/kocevski/723294/ltcube_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.fits outfile=/scratch/kocevski/723294/expmap_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.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/723294/ltcube_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.fits
.....................!
real 191.08
user 185.29
sys 5.30

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/723294/ft1_filtered_4FGL_J1443.9+2501_daily_bin1143.fits scfile=/scratch/kocevski/723294/ft2_4FGL_J1443.9+2501_daily_bin1143.fits outfile=/scratch/kocevski/723294/cmap_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.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.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/723294/ft1_filtered_4FGL_J1443.9+2501_daily_bin1143.fits scfile=/scratch/kocevski/723294/ft2_4FGL_J1443.9+2501_daily_bin1143.fits outfile=/scratch/kocevski/723294/cmap_HighResolution_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.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.55
user 0.39
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/723294/ft1_filtered_4FGL_J1443.9+2501_daily_bin1143.fits', '/scratch/kocevski/723294/ft2_4FGL_J1443.9+2501_daily_bin1143.fits', expMap='/scratch/kocevski/723294/expmap_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.fits', expCube='/scratch/kocevski/723294/ltcube_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/723294/Model_4FGL_J1443.9+2501_daily_bin1143.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/723294/ft1_filtered_4FGL_J1443.9+2501_daily_bin1143.fits
Spacecraft file(s): /scratch/kocevski/723294/ft2_4FGL_J1443.9+2501_daily_bin1143.fits
Exposure map: /scratch/kocevski/723294/expmap_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.fits
Exposure cube: /scratch/kocevski/723294/ltcube_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/723294/Model_4FGL_J1443.9+2501_daily_bin1143.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) = 6575.97881753

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    8.2134       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    5.9049       1.0000         .10000E-03   10000.    
     4 'Prefactor '    12.312       1.0000         .10000E-03   10000.    
     5 'norm      '    5.0484       1.0000         .10000E-03   10000.    
     6 'norm      '    4.4455       1.0000         .10000E-03   10000.    
     7 'Prefactor '    85.501       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    6.5827       1.0000         .10000E-03   10000.    
    10 'Prefactor '    13.298       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    62.564       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    4.7156       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.1174       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .86249       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.

 FCN=   6575.976     FROM MIGRAD    STATUS=CONVERGED    469 CALLS     2299 TOTAL
                     EDM=   .27E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     8.2131        3.9390        .56294E-06   -.14429E-02
   2  Prefactor     .10000E-03    3.3289        .69728E-07** at limit **
   3  norm          5.9049        2.9088       -.23949E-08   -.21730E-04
   4  Prefactor     12.312        8.1789        .34673E-07   -.75277E-04
   5  norm          5.0483        3.3116       -.10643E-06   -.29528E-03
   6  norm          4.4455        3.7203        .58731E-06    .53449E-03
   7  Prefactor     85.500        44.510       -.27696E-06   -.37801E-04
   8  Prefactor     .10000E-03    9.7052        .13980E-05** at limit **
   9  norm          6.5828        6.8101       -.22618E-06    .21594E-03
  10  Prefactor     13.298        12.032        .71781E-08   -.14476E-04
  11  Prefactor     .10000E-03    19.688        .16621E-05** at limit **
  12  Prefactor     .10000E-03    6.1138       -.96015E-08** at limit **
  13  Prefactor     .10000E-03    14.945        .56315E-07** at limit **
  14  Prefactor     .10000E-03    3.3853       -.52020E-07** at limit **
  15  norm          .10000E-03    16.533       -.15979E-05** at limit **
  16  Prefactor     62.565        60.531        .55722E-06    .21081E-04
  17  Prefactor     .10000E-03    4.9543        .86477E-08** at limit **
  18  norm          4.7160        1.6810        .13022E-07    .16799E-03
  19  Prefactor     .10000E-03    9.3452       -.11111E-05** at limit **
  20  Prefactor     .10000E-03    42.608       -.51991E-06** at limit **
  21  Normalizat    1.1175        .20018       -.22727E-06   -.18439E-04
  22  Prefactor     .86247        .14905       -.10388E-06   -.16631E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 8.21308
  Prefactor  = 0.0001
  norm       = 5.90487
  Prefactor  = 12.3115
  norm       = 5.04829
  norm       = 4.44552
  Prefactor  = 85.5004
  Prefactor  = 0.000100001
  norm       = 6.58277
  Prefactor  = 13.2982
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.000100001
  Prefactor  = 62.5654
  Prefactor  = 0.0001
  norm       = 4.71605
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.11746
  Prefactor  = 0.862466
 **********
 **   18 **HESSE 
 **********

 FCN=   6575.976     FROM HESSE     STATUS=OK           340 CALLS     2639 TOTAL
                     EDM=   .86E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     8.2131        4.7381        .63325E-03   -1.5135    
   2  Prefactor     .10000E-03    3.3367        .14444E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          5.9049        2.9095        .93761E-04   -1.5222    
   4  Prefactor     12.312        8.1903        .11416E-03   -1.5006    
   5  norm          5.0483        3.3267        .11379E-03   -1.5259    
   6  norm          4.4455        3.8130        .14207E-03   -1.5286    
   7  Prefactor     85.500        44.834        .43446E-04   -1.3856    
   8  Prefactor     .10000E-03    10.001        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          6.5828        6.8791        .78206E-03   -1.5195    
  10  Prefactor     13.298        12.035        .10984E-03   -1.4978    
  11  Prefactor     .10000E-03    20.263        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    6.1160        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    14.965        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     .10000E-03    3.3957        .14571E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  norm          .10000E-03    16.894        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     62.565        60.661        .50731E-04   -1.4124    
  17  Prefactor     .10000E-03    4.9811        .17624E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          4.7160        1.6809        .60315E-04   -1.5274    
  19  Prefactor     .10000E-03    9.5621        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    42.785        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.1175        .24120        .27269E-03   -.89193    
  22  Prefactor     .86247        .17819        .23452E-03   -.97465    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.63358e-10
Minuit parameter uncertainties:
  1  4.73827
  2  4.80116e-06
  3  2.90958
  4  8.19105
  5  3.32681
  6  3.81322
  7  44.8522
  8  0.000143738
  9  6.87992
  10  12.0371
  11  0.000234183
  12  7.20522e-07
  13  7.29239e-06
  14  3.77425e-06
  15  0.000211855
  16  60.7205
  17  7.48417e-07
  18  1.68095
  19  0.000107388
  20  9.98706e-05
  21  0.241442
  22  0.178311
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  4.446e+00  3.813e+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

GAL_V02
   Spectrum: PowerLaw
516    Prefactor:  8.625e-01  1.783e-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.117e+00  2.414e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.94
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 2.50e-08 +/- 2.14e-08
Energy Flux (Fixed Index): 1.50e-05 +/- 1.28e-05

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

Saving results to:
/scratch/kocevski/723294/likelihoodResults_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.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) = 6575.94028579
delta logL = 0.0354668311556

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6575.94003809
delta logL = 0.0357145245844

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    4.4645       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.1647       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1115       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .86427       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.

 FCN=   6575.940     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      225 TOTAL
                     EDM=   .81E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          4.4728        130.04        .47642E-02    .12606E-03
   2  alpha         2.1667        2.7633        .41629        .37724E-04
   3  Normalizat    1.1113        .13332        .61800E-01   -.99720E-04
   4  Prefactor     .86431        .70786E-01    .44548E-01   -.37368E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 4.47283
  alpha      = 2.16673
  Normalizat = 1.11128
  Prefactor  = 0.864306
 **********
 **   18 **HESSE 
 **********

 FCN=   6575.940     FROM HESSE     STATUS=OK            31 CALLS      256 TOTAL
                     EDM=   .36E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          4.4728        3.7849        .13846E-03   -1.5285    
   2  alpha         2.1667        .74227        .18554E-01   -.13371    
   3  Normalizat    1.1113        .22847        .27334E-03   -.89390    
   4  Prefactor     .86431        .17508        .23428E-03   -.97400    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.64728e-10
Minuit parameter uncertainties:
  1  3.7851
  2  0.753847
  3  0.22867
  4  0.175193
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/723294': 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) = 6575.94003042
delta logL = 0.035722200666

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  4.473e+00  3.785e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.167e+00  7.538e-01  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:  8.643e-01  1.752e-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.111e+00  2.287e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.01
Ra Dec: 220.993 25.029
Photon Index (Free Index): 2.17 +/- 0.75
Photon Flux (Free Index): 3.16e-08 +/- 3.59e-08
Energy Flux (Free Index): 1.39e-05 +/- 1.21e-05

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/723294/cmap_HighResolution_535593601_535852801_4FGL_J1443.9+2501_daily_bin1143.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.80e-05', comment='SUCCESS', photon_flux='2.50e-08', energy_flux2='1.39e-05', photon_flux_error='2.14e-08', dlogl='3.57e-02', energy_flux='1.50e-05', photon_flux2='3.16e-08', job_status='DONE', time_completed='2021-09-10 06:28:39.202364', photon_index_error2='0.75', photon_index2='2.17', ts='2.94', fit_tolerance='1e-08', GAL='0.86', photon_index_error='0.00', photon_flux_upper_limit='8.03e-08', energy_flux_error2='1.21e-05', EG='1.12', time_epoch_completed='1631280519.2', return_code='0', job_id='723294', GAL2='0.86', EG2='1.11', return_code2='0', energy_flux_error='1.28e-05', photon_flux_error2='3.59e-08', ts2='3.01', photon_index='1.97' WHERE bin_id='1143' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:28:39 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0244>
Subject: Job 723294: <4FGL_J1443.9+2501_daily_bin1143> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1143> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 06:16:40 2021
Job was executed on host(s) <bullet0244>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:16:41 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:16:41 2021
Terminated at Fri Sep 10 06:28:39 2021
Results reported at Fri Sep 10 06:28:39 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1143 220.993 25.0291 535593601 535852801 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 :                                   599.48 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             326.79 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   718 sec.
    Turnaround time :                            719 sec.

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

