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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1304
RA = 220.993, Dec = 25.0291
tmin = 577324801, tmax = 577584001
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='724505', job_status='RUN', time_executed='2021-09-10 06:23:17.328384', time_epoch_executed='1631280197.33' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1304'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724505

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724505/ft1_4FGL_J1443.9+2501_daily_bin1304.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724505/ft2_4FGL_J1443.9+2501_daily_bin1304.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724505/ft1_4FGL_J1443.9+2501_daily_bin1304.fits outfile=/scratch/kocevski/724505/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1304.fits ra=220.993 dec=25.0291 rad=12.0 tmin=577324801.0 tmax=577584001.0 emin=100.0 emax=100000.0 zmin=0.0 zmax=90.0 evclass=128 evtype="INDEF" convtype=-1 phasemin=0.0 phasemax=1.0 evtable="EVENTS" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

Done.
real 3.00
user 2.79
sys 0.20

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724505/ft1_filtered_4FGL_J1443.9+2501_daily_bin1304.fits" evtable="EVENTS" scfile=/scratch/kocevski/724505/ft2_4FGL_J1443.9+2501_daily_bin1304.fits sctable="SC_DATA" outfile=/scratch/kocevski/724505/ltcube_577324801_577584001_4FGL_J1443.9+2501_daily_bin1304.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/724505/ft2_4FGL_J1443.9+2501_daily_bin1304.fits
.....................!
real 12.05
user 11.68
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724505/ft1_filtered_4FGL_J1443.9+2501_daily_bin1304.fits evtable="EVENTS" scfile=/scratch/kocevski/724505/ft2_4FGL_J1443.9+2501_daily_bin1304.fits sctable="SC_DATA" expcube=/scratch/kocevski/724505/ltcube_577324801_577584001_4FGL_J1443.9+2501_daily_bin1304.fits outfile=/scratch/kocevski/724505/expmap_577324801_577584001_4FGL_J1443.9+2501_daily_bin1304.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/724505/ltcube_577324801_577584001_4FGL_J1443.9+2501_daily_bin1304.fits
.....................!
real 189.47
user 184.95
sys 4.19

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/724505/ft1_filtered_4FGL_J1443.9+2501_daily_bin1304.fits scfile=/scratch/kocevski/724505/ft2_4FGL_J1443.9+2501_daily_bin1304.fits outfile=/scratch/kocevski/724505/cmap_577324801_577584001_4FGL_J1443.9+2501_daily_bin1304.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/724505/ft1_filtered_4FGL_J1443.9+2501_daily_bin1304.fits scfile=/scratch/kocevski/724505/ft2_4FGL_J1443.9+2501_daily_bin1304.fits outfile=/scratch/kocevski/724505/cmap_HighResolution_577324801_577584001_4FGL_J1443.9+2501_daily_bin1304.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.56
user 0.40
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    20.275       1.0000         .10000E-03   10000.    
     2 'Prefactor '    6.4602       1.0000         .10000E-03   10000.    
     3 'norm      '    3.8208       1.0000         .10000E-03   10000.    
     4 'Prefactor '    23.732       1.0000         .10000E-03   10000.    
     5 'norm      '    .10961E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    19.530       1.0000         .10000E-03   10000.    
     8 'Prefactor '    33.476       1.0000         .10000E-03   10000.    
     9 'norm      '    7.0687       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    8.3035       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    9.0725       1.0000         .10000E-03   10000.    
    15 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .95663E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    1.1917       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3459       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .92320       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=   7661.532     FROM MIGRAD    STATUS=CONVERGED    468 CALLS     2350 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     20.279        5.3961       -.81831E-06   -.94516E-04
   2  Prefactor     6.4604        8.2684        .18726E-07    .60446E-05
   3  norm          3.8213        2.4882       -.37318E-07   -.11672E-03
   4  Prefactor     23.738        12.440       -.28753E-06    .66289E-04
   5  norm          .10000E-03    2.0925       -.23707E-06** at limit **
   6  norm          .10000E-03    .98055       -.60872E-08** at limit **
   7  Prefactor     19.545        30.037        .17097E-04    .72437E-06
   8  Prefactor     33.483        33.530        .70753E-05    .11150E-03
   9  norm          7.0688        5.0743       -.71486E-07    .14439E-03
  10  Prefactor     .10000E-03    7.7170        .94492E-06** at limit **
  11  Prefactor     8.3098        12.948       -.11789E-05   -.78150E-04
  12  Prefactor     .10000E-03    12.893        .23512E-05** at limit **
  13  Prefactor     .10000E-03    25.937       -.13239E-04** at limit **
  14  Prefactor     9.0697        9.2444       -.35783E-07    .35722E-03
  15  norm          .10000E-03    39.174        .22766E-04** at limit **
  16  Prefactor     .10006E-03    236.82       -.28762E-03** at limit **
  17  Prefactor     .10000E-03    2.7620        .13124E-06** at limit **
  18  norm          1.1920        .87913       -.10240E-07   -.58193E-03
  19  Prefactor     .10000E-03    3.6383        .52645E-07** at limit **
  20  Prefactor     .10000E-03    8.4642       -.17337E-05** at limit **
  21  Normalizat    1.3455        .19767       -.16046E-05    .11452E-02
  22  Prefactor     .92337        .15063        .97947E-06    .11798E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 20.2787
  Prefactor  = 6.46043
  norm       = 3.82127
  Prefactor  = 23.7378
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 19.5447
  Prefactor  = 33.4828
  norm       = 7.0688
  Prefactor  = 0.0001
  Prefactor  = 8.30976
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 9.06971
  norm       = 0.0001
  Prefactor  = 0.000100056
  Prefactor  = 0.0001
  norm       = 1.19196
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Normalizat = 1.34546
  Prefactor  = 0.923371
 **********
 **   18 **HESSE 
 **********

 FCN=   7661.532     FROM HESSE     STATUS=OK           340 CALLS     2690 TOTAL
                     EDM=   .22E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     20.279        5.4504        .88951E-04   -1.4807    
   2  Prefactor     6.4604        8.2639        .15790E-03   -1.5200    
   3  norm          3.8213        2.4866        .10793E-03   -1.5317    
   4  Prefactor     23.738        12.399        .82225E-04   -1.4733    
   5  norm          .10000E-03    4.2973        .24328E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          .10000E-03    .98162        .84641E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     19.545        30.196        .90632E-04   -1.4823    
   8  Prefactor     33.483        33.493        .69258E-04   -1.4550    
   9  norm          7.0688        5.0753        .15088E-03   -1.5176    
  10  Prefactor     .10000E-03    7.7199        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     8.3098        12.986        .13912E-03   -1.5131    
  12  Prefactor     .10000E-03    12.899        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    25.962        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     9.0697        9.2452        .13306E-03   -1.5106    
  15  norm          .10000E-03    39.207        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10006E-03    237.11        .20791E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10000E-03    2.7771        .14204E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          1.1920        .86070        .67641E-04   -1.5490    
  19  Prefactor     .10000E-03    3.6798        .16287E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    8.4647        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.3455        .23579        .27367E-03   -.82219    
  22  Prefactor     .92337        .17806        .25469E-03   -.95329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.16241e-09
Minuit parameter uncertainties:
  1  5.45051
  2  8.26532
  3  2.48664
  4  12.4008
  5  3.49813e-05
  6  7.12886e-07
  7  30.2191
  8  33.5119
  9  5.07556
  10  7.4769e-06
  11  12.9903
  12  2.33354e-05
  13  4.53001e-06
  14  9.24668
  15  1.40337e-05
  16  0.00728674
  17  1.37103e-06
  18  0.860708
  19  1.17193e-06
  20  5.22498e-07
  21  0.23598
  22  0.17817
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  7.129e-07  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:  9.234e-01  1.782e-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.345e+00  2.360e-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: 3.15e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.88e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724505/likelihoodResults_577324801_577584001_4FGL_J1443.9+2501_daily_bin1304.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) = 7661.53706654
delta logL = -0.00459744498221

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 7661.53246911
delta logL = -1.50839696289e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9673       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3454       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .92340       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=   7661.532     FROM MIGRAD    STATUS=CONVERGED     82 CALLS      224 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10001E-03    1.3707        .84643E-03** at limit **
   2  alpha         1.9790        3.8662        .16960       -.16580E-05
   3  Normalizat    1.3455        .21810        .27367E-03    .76852E-05
   4  Prefactor     .92337        .17292        .25469E-03    .63831E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100007
  alpha      = 1.97904
  Normalizat = 1.34546
  Prefactor  = 0.92337
 **********
 **   18 **HESSE 
 **********

 FCN=   7661.532     FROM HESSE     STATUS=OK            23 CALLS      247 TOTAL
                     EDM=   .17E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10001E-03    .98187        .16929E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.9790        3.2998        .67838E-02   -.20992    
   3  Normalizat    1.3455        .21833        .10947E-04   -.82219    
   4  Prefactor     .92337        .17310        .10188E-04   -.95329    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.69269e-08
Minuit parameter uncertainties:
  1  0.000170172
  2  142.96
  3  0.21848
  4  0.173206
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724505': 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) = 7661.53246908
delta logL = 8.98398866411e-09

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  1.702e-04  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.979e+00  1.430e+02  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:  9.234e-01  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.345e+00  2.185e-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/724505/cmap_HighResolution_577324801_577584001_4FGL_J1443.9+2501_daily_bin1304.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.88e-05', job_status='DONE', photon_flux_upper_limit='3.15e-08', time_completed='2021-09-10 06:36:08.278504', job_id='724505', GAL2='0.92', fit_tolerance='1e-08', EG2='1.35', EG='1.35', time_epoch_completed='1631280968.28', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.92', dlogl='8.98e-09', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1304' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:36:08 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0069>
Subject: Job 724505: <4FGL_J1443.9+2501_daily_bin1304> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin1304> was submitted from host <rhel6-64k> by user <kocevski> in cluster <slac> at Fri Sep 10 06:21:12 2021
Job was executed on host(s) <bullet0069>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:21:14 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:14 2021
Terminated at Fri Sep 10 06:36:09 2021
Results reported at Fri Sep 10 06:36:09 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1304 220.993 25.0291 577324801 577584001 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 :                                   634.06 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             251.77 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   894 sec.
    Turnaround time :                            897 sec.

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

