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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1325
RA = 220.993, Dec = 25.0291
tmin = 582768001, tmax = 583027201
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='724535', job_status='RUN', time_executed='2021-09-10 06:23:20.958712', time_epoch_executed='1631280200.96' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1325'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724535

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724535/ft1_4FGL_J1443.9+2501_daily_bin1325.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724535/ft2_4FGL_J1443.9+2501_daily_bin1325.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724535/ft1_4FGL_J1443.9+2501_daily_bin1325.fits outfile=/scratch/kocevski/724535/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1325.fits ra=220.993 dec=25.0291 rad=12.0 tmin=582768001.0 tmax=583027201.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.56
user 3.34
sys 0.20

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724535/ft1_filtered_4FGL_J1443.9+2501_daily_bin1325.fits evtable="EVENTS" scfile=/scratch/kocevski/724535/ft2_4FGL_J1443.9+2501_daily_bin1325.fits sctable="SC_DATA" expcube=/scratch/kocevski/724535/ltcube_582768001_583027201_4FGL_J1443.9+2501_daily_bin1325.fits outfile=/scratch/kocevski/724535/expmap_582768001_583027201_4FGL_J1443.9+2501_daily_bin1325.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/724535/ltcube_582768001_583027201_4FGL_J1443.9+2501_daily_bin1325.fits
.....................!
real 190.84
user 185.19
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/724535/ft1_filtered_4FGL_J1443.9+2501_daily_bin1325.fits scfile=/scratch/kocevski/724535/ft2_4FGL_J1443.9+2501_daily_bin1325.fits outfile=/scratch/kocevski/724535/cmap_582768001_583027201_4FGL_J1443.9+2501_daily_bin1325.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.16

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

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    80.834       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .13694E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    4.8636       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .14371E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    1.2859       1.0000         .10000E-03   10000.    
     6 'norm      '    .17255E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    66.260       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    15.741       1.0000         .10000E-03   10000.    
    10 'Prefactor '    7.4755       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    .10369E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    42.831       1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.8126       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10005E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    8.5726       1.0000         .10000E-03   10000.    
    18 'norm      '    1.4835       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.6079       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98022       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .97896       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=   6962.240     FROM MIGRAD    STATUS=CONVERGED    486 CALLS     2422 TOTAL
                     EDM=   .11E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     80.836        9.2632        .72030E-07   -.47727E-04
   2  Prefactor     .10032E-03    6.5752        .26365E-05** at limit **
   3  norm          4.8636        2.5249       -.37644E-08   -.69081E-04
   4  Prefactor     .10001E-03    6.1416       -.16385E-05** at limit **
   5  norm          1.2864        3.3292        .14413E-05    .41330E-03
   6  norm          .10000E-03    2.2565        .63223E-07** at limit **
   7  Prefactor     66.268        42.747        .54182E-06    .41971E-04
   8  Prefactor     .10000E-03    11.476       -.51590E-06** at limit **
   9  norm          15.741        9.4972        .16243E-07   -.19259E-04
  10  Prefactor     7.4693        14.839        .23782E-06    .17534E-04
  11  Prefactor     .10000E-03    29.097        .51986E-06** at limit **
  12  Prefactor     .10000E-03    62.928       -.49319E-05** at limit **
  13  Prefactor     42.791        43.062       -.76866E-06   -.22446E-03
  14  Prefactor     3.8125        5.1959        .75219E-07   -.17016E-04
  15  norm          .10000E-03    14.699        .16923E-06** at limit **
  16  Prefactor     .10000E-03    27.346       -.26548E-06** at limit **
  17  Prefactor     8.5732        7.9557        .19729E-05    .49548E-03
  18  norm          1.4838        1.2726        .12357E-06    .43955E-03
  19  Prefactor     1.6077        9.6646        .20323E-05    .15358E-03
  20  Prefactor     .10000E-03    10.731        .15861E-06** at limit **
  21  Normalizat    .97995        .19907       -.21701E-05   -.94202E-04
  22  Prefactor     .97916        .15057        .31356E-06   -.19279E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 80.836
  Prefactor  = 0.000100321
  norm       = 4.86365
  Prefactor  = 0.000100009
  norm       = 1.28645
  norm       = 0.0001
  Prefactor  = 66.268
  Prefactor  = 0.0001
  norm       = 15.7413
  Prefactor  = 7.46933
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  Prefactor  = 42.7905
  Prefactor  = 3.8125
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 8.57325
  norm       = 1.48376
  Prefactor  = 1.60767
  Prefactor  = 0.0001
  Normalizat = 0.979949
  Prefactor  = 0.979165
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.240     FROM HESSE     STATUS=OK           346 CALLS     2768 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     80.836        9.2847        .44672E-04   -1.3907    
   2  Prefactor     .10032E-03    33.494        .32693E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          4.8636        2.5251        .92710E-04   -1.5267    
   4  Prefactor     .10001E-03    22.181        .35592E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          1.2864        3.3414        .23095E-03   -1.5481    
   6  norm          .10000E-03    8.3140        .24361E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     66.268        42.962        .49305E-04   -1.4078    
   8  Prefactor     .10000E-03    11.505        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          15.741        9.4929        .10095E-03   -1.4914    
  10  Prefactor     7.4693        14.827        .14668E-03   -1.5161    
  11  Prefactor     .10000E-03    29.815        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     .10000E-03    64.108        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     42.791        43.192        .61255E-04   -1.4399    
  14  Prefactor     3.8125        5.1882        .20671E-03   -1.5317    
  15  norm          .10000E-03    14.703        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    27.402        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     8.5732        8.0462        .68455E-03   -1.5122    
  18  norm          1.4838        1.2292        .17614E-03   -1.5464    
  19  Prefactor     1.6077        9.0888        .33413E-03   -1.5454    
  20  Prefactor     .10000E-03    10.734        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .97995        .23314        .29614E-03   -.93705    
  22  Prefactor     .97916        .17865        .23331E-03   -.93427    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.03627e-08
Minuit parameter uncertainties:
  1  9.2849
  2  0.00655916
  3  2.52519
  4  0.000880883
  5  3.34193
  6  1.70702e-05
  7  42.9826
  8  0.000118239
  9  9.49384
  10  14.8343
  11  0.00010151
  12  0.000718144
  13  43.2239
  14  5.18877
  15  7.3702e-05
  16  0.000107351
  17  8.04718
  18  1.2292
  19  7.64658
  20  5.80944e-05
  21  0.233383
  22  0.178755
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  1.707e-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:  9.792e-01  1.788e-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:  9.799e-01  2.334e-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.74e-08 ph cm-2 s-1
Energy Flux Upper Limit: 2.84e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724535/likelihoodResults_582768001_583027201_4FGL_J1443.9+2501_daily_bin1325.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) = 6962.24043193
delta logL = -0.0005698183204

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6962.23986246
delta logL = -3.54087205778e-07

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10455E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9762       1.0000          .0000       5.0000    
     3 'Normalizat'    .97991       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .97923       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.
 MIGRAD TERMINATED WITHOUT CONVERGENCE.

 FCN=   6962.240     FROM MIGRAD    STATUS=FAILED        90 CALLS      251 TOTAL
                     EDM=   .15E-06    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10007E-03    791.41        .24375E-02** at limit **
   2  alpha         2.0166        2.7891        .16942       -.78577E-06
   3  Normalizat    .97995        .53755E-01    .29615E-03    .24266E-03
   4  Prefactor     .97917        .42644E-01    .23331E-03    .39371E-03
                               ERR DEF=  .500    
 START SIMPLEX MINIMIZATION.    CONVERGENCE WHEN EDM .LT.   .20E-04
 SIMPLEX MINIMIZATION HAS CONVERGED.

 FCN=   6962.240     FROM SIMPLEX   STATUS=UNCHANGED    170 CALLS      421 TOTAL
                     EDM=   .75E-05    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10007E-03    791.41        .41892E-03** at limit **
   2  alpha         2.0166        2.7891        .54464E-05   -.78577E-06
   3  Normalizat    .97995        .53755E-01    .19529E-06    .24266E-03
   4  Prefactor     .97917        .42644E-01    .20280E-06    .39371E-03
                               ERR DEF=  .500    

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6962.240     FROM MIGRAD    STATUS=CONVERGED     28 CALLS      449 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10004E-03    8.5467        .48749E-03** at limit **
   2  alpha         2.0134        3.1900        .67769E-02   -.10938E-05
   3  Normalizat    .97995        .22073        .11846E-04    .23878E-03
   4  Prefactor     .97917        .17497        .46662E-04    .38851E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.000100042
  alpha      = 2.01339
  Normalizat = 0.979947
  Prefactor  = 0.979167
 **********
 **   18 **HESSE 
 **********

 FCN=   6962.240     FROM HESSE     STATUS=OK            23 CALLS      472 TOTAL
                     EDM=   .10E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10004E-03    8.5515        .97499E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         2.0134        3.1272        .13554E-02   -.19589    
   3  Normalizat    .97995        .22081        .23692E-05   -.93705    
   4  Prefactor     .97917        .17502        .93323E-05   -.93427    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.01927e-08
Minuit parameter uncertainties:
  1  0.00120096
  2  159.41
  3  0.221016
  4  0.175124
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724535': 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) = 6962.23986205
delta logL = 6.17701516603e-08

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  1.201e-03  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  2.013e+00  1.594e+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.792e-01  1.751e-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:  9.799e-01  2.210e-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/724535/cmap_HighResolution_582768001_583027201_4FGL_J1443.9+2501_daily_bin1325.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='2.84e-05', job_status='DONE', photon_flux_upper_limit='4.74e-08', time_completed='2021-09-10 06:36:26.139614', job_id='724535', GAL2='0.98', fit_tolerance='1e-08', EG2='0.98', EG='0.98', time_epoch_completed='1631280986.14', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.98', dlogl='6.18e-08', ts2='-0.00', photon_index_error='0.00', photon_index='1.97' WHERE bin_id='1325' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:36:26 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0085>
Subject: Job 724535: <4FGL_J1443.9+2501_daily_bin1325> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1325 220.993 25.0291 582768001 583027201 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 :                                   643.52 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             270.52 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   910 sec.
    Turnaround time :                            912 sec.

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

