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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin549
RA = 220.993, Dec = 25.0291
tmin = 381628801, tmax = 381888001
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='721358', job_status='RUN', time_executed='2021-09-10 06:15:13.036625', time_epoch_executed='1631279713.04' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='549'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/721358

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/721358/ft1_4FGL_J1443.9+2501_daily_bin549.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/721358/ft2_4FGL_J1443.9+2501_daily_bin549.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/721358/ft1_4FGL_J1443.9+2501_daily_bin549.fits outfile=/scratch/kocevski/721358/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin549.fits ra=220.993 dec=25.0291 rad=12.0 tmin=381628801.0 tmax=381888001.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.98
user 3.74
sys 0.19

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/721358/ft2_4FGL_J1443.9+2501_daily_bin549.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/721358/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin549.fits evtable="EVENTS" outfile="/scratch/kocevski/721358/ft1_filtered_4FGL_J1443.9+2501_daily_bin549.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.49
user 0.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/721358/ft1_filtered_4FGL_J1443.9+2501_daily_bin549.fits" evtable="EVENTS" scfile=/scratch/kocevski/721358/ft2_4FGL_J1443.9+2501_daily_bin549.fits sctable="SC_DATA" outfile=/scratch/kocevski/721358/ltcube_381628801_381888001_4FGL_J1443.9+2501_daily_bin549.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/721358/ft2_4FGL_J1443.9+2501_daily_bin549.fits
.....................!
real 11.76
user 11.43
sys 0.29

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/721358/ft1_filtered_4FGL_J1443.9+2501_daily_bin549.fits evtable="EVENTS" scfile=/scratch/kocevski/721358/ft2_4FGL_J1443.9+2501_daily_bin549.fits sctable="SC_DATA" expcube=/scratch/kocevski/721358/ltcube_381628801_381888001_4FGL_J1443.9+2501_daily_bin549.fits outfile=/scratch/kocevski/721358/expmap_381628801_381888001_4FGL_J1443.9+2501_daily_bin549.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/721358/ltcube_381628801_381888001_4FGL_J1443.9+2501_daily_bin549.fits
.....................!
real 191.17
user 185.59
sys 5.20

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/721358/ft1_filtered_4FGL_J1443.9+2501_daily_bin549.fits scfile=/scratch/kocevski/721358/ft2_4FGL_J1443.9+2501_daily_bin549.fits outfile=/scratch/kocevski/721358/cmap_381628801_381888001_4FGL_J1443.9+2501_daily_bin549.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.36
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/721358/ft1_filtered_4FGL_J1443.9+2501_daily_bin549.fits scfile=/scratch/kocevski/721358/ft2_4FGL_J1443.9+2501_daily_bin549.fits outfile=/scratch/kocevski/721358/cmap_HighResolution_381628801_381888001_4FGL_J1443.9+2501_daily_bin549.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.38
sys 0.17

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.8828       1.0000         .10000E-03   10000.    
     2 'Prefactor '    1.9061       1.0000         .10000E-03   10000.    
     3 'norm      '    8.8688       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    3.8698       1.0000         .10000E-03   10000.    
     6 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    13.546       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .28410       1.0000         .10000E-03   10000.    
    11 'Prefactor '    7.9277       1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    8.8869       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .13643E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    .13726E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.1620       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10044E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    70.406       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2859       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79664       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=   6468.000     FROM MIGRAD    STATUS=CONVERGED    496 CALLS     2380 TOTAL
                     EDM=   .82E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.8830        4.3363        .47128E-06   -.86416E-04
   2  Prefactor     1.9062        5.8962       -.36930E-05    .56904E-03
   3  norm          8.8690        3.0830        .12371E-06   -.10308E-03
   4  Prefactor     .10000E-03    1.9016        .15580E-06** at limit **
   5  norm          3.8698        2.4325        .14316E-06   -.64490E-04
   6  norm          .10000E-03    1.0710        .10057E-06** at limit **
   7  Prefactor     .10000E-03    11.905       -.56909E-06** at limit **
   8  Prefactor     .10000E-03    5.2206        .88468E-07** at limit **
   9  norm          13.546        8.6808        .84337E-07   -.17151E-04
  10  Prefactor     .22827        141.63        .34317E-04   -.44269E-04
  11  Prefactor     7.9282        11.803        .46139E-06    .24562E-04
  12  Prefactor     .10000E-03    11.078        .38655E-06** at limit **
  13  Prefactor     .10000E-03    24.285        .24451E-06** at limit **
  14  Prefactor     8.8855        8.7045       -.54760E-06    .97976E-04
  15  norm          .10000E-03    16.214        .26777E-06** at limit **
  16  Prefactor     .10000E-03    142.15       -.13104E-05** at limit **
  17  Prefactor     .10001E-03    6.8465        .65501E-05** at limit **
  18  norm          2.1623        1.1992        .23863E-06   -.19603E-02
  19  Prefactor     .10000E-03    9.7154        .45465E-05** at limit **
  20  Prefactor     70.420        51.391        .15611E-06   -.15036E-03
  21  Normalizat    1.2860        .18705       -.20158E-05   -.39049E-03
  22  Prefactor     .79658        .14472       -.20133E-05   -.41853E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.883
  Prefactor  = 1.90623
  norm       = 8.86895
  Prefactor  = 0.0001
  norm       = 3.86983
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 13.5462
  Prefactor  = 0.228274
  Prefactor  = 7.92821
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.88555
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100011
  norm       = 2.16232
  Prefactor  = 0.000100001
  Prefactor  = 70.4202
  Normalizat = 1.28596
  Prefactor  = 0.796583
 **********
 **   18 **HESSE 
 **********

 FCN=   6468.000     FROM HESSE     STATUS=OK           348 CALLS     2728 TOTAL
                     EDM=   .29E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.8830        4.3842        .13576E-03   -1.5223    
   2  Prefactor     1.9062        7.0063        .15058E-02   -1.5432    
   3  norm          8.8690        3.0847        .80831E-04   -1.5112    
   4  Prefactor     .10000E-03    1.9124        .10835E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          3.8698        2.4305        .96271E-04   -1.5315    
   6  norm          .10000E-03    1.0740        .81297E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    11.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.2231        .17947E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          13.546        8.6805        .10883E-03   -1.4972    
  10  Prefactor     .22827        12.367        .81454E-01   -1.5612    
  11  Prefactor     7.9282        11.860        .71203E-03   -1.5145    
  12  Prefactor     .10000E-03    11.101        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     .10000E-03    24.317        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     8.8855        8.7221        .67227E-03   -1.5112    
  15  norm          .10000E-03    16.215        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    142.67        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     .10001E-03    10.532        .29736E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.1623        1.1883        .62025E-04   -1.5414    
  19  Prefactor     .10000E-03    9.6368        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     70.420        51.227        .47841E-04   -1.4028    
  21  Normalizat    1.2860        .22476        .24276E-03   -.83987    
  22  Prefactor     .79658        .17335        .23726E-03   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.94738e-09
Minuit parameter uncertainties:
  1  4.38445
  2  7.0093
  3  3.08473
  4  1.61338e-05
  5  2.43057
  6  7.81812e-06
  7  0.000201938
  8  1.65727e-05
  9  8.68132
  10  3.36037
  11  11.8634
  12  1.93313e-05
  13  8.20952e-05
  14  8.7233
  15  3.93117e-05
  16  6.1953e-05
  17  0.000679097
  18  1.18833
  19  0.000144129
  20  51.2589
  21  0.224928
  22  0.17347
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  7.818e-06  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:  7.966e-01  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.286e+00  2.249e-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.30e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.97e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/721358/likelihoodResults_381628801_381888001_4FGL_J1443.9+2501_daily_bin549.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) = 6468.0037591
delta logL = -0.00417603248115

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6467.99958305
delta logL = 1.23473000713e-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.9635       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2859       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79660       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=   6468.000     FROM MIGRAD    STATUS=CONVERGED     89 CALLS      229 TOTAL
                     EDM=   .79E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    1.7110        .81335E-03** at limit **
   2  alpha         1.8429        2.5409        .16967       -.58696E-07
   3  Normalizat    1.2860        .21251        .24276E-03   -.24165E-03
   4  Prefactor     .79658        .16867        .23726E-03   -.24336E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.84294
  Normalizat = 1.28596
  Prefactor  = 0.796583
 **********
 **   18 **HESSE 
 **********

 FCN=   6468.000     FROM HESSE     STATUS=OK            23 CALLS      252 TOTAL
                     EDM=   .69E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    1.0835        .16267E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.8429        3.0933        .67868E-02   -.26595    
   3  Normalizat    1.2860        .21271        .48552E-04   -.83987    
   4  Prefactor     .79658        .16882        .94906E-05   -.99854    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.87806e-11
Minuit parameter uncertainties:
  1  1.28177e-06
  2  135.245
  3  0.212851
  4  0.168933
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/721358': 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) = 6467.99958266
delta logL = 4.03499143431e-07

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  1.282e-06  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.843e+00  1.352e+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:  7.966e-01  1.689e-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.286e+00  2.129e-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  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/721358/cmap_HighResolution_381628801_381888001_4FGL_J1443.9+2501_daily_bin549.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.97e-05', job_status='DONE', photon_flux_upper_limit='3.30e-08', time_completed='2021-09-10 06:25:25.261934', job_id='721358', GAL2='0.80', fit_tolerance='1e-08', EG2='1.29', EG='1.29', time_epoch_completed='1631280325.26', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.80', dlogl='4.03e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='549' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:25:25 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0251>
Subject: Job 721358: <4FGL_J1443.9+2501_daily_bin549> in cluster <slac> Done

Job <4FGL_J1443.9+2501_daily_bin549> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 06:11:06 2021
Job was executed on host(s) <bullet0251>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 06:11:07 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:11:07 2021
Terminated at Fri Sep 10 06:25:26 2021
Results reported at Fri Sep 10 06:25:26 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin549 220.993 25.0291 381628801 381888001 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 :                                   612.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             254.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   858 sec.
    Turnaround time :                            860 sec.

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

