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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1351
RA = 220.993, Dec = 25.0291
tmin = 589507201, tmax = 589766401
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='724572', job_status='RUN', time_executed='2021-09-10 06:22:08.154854', time_epoch_executed='1631280128.15' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1351'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724572

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724572/ft1_4FGL_J1443.9+2501_daily_bin1351.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724572/ft2_4FGL_J1443.9+2501_daily_bin1351.fits


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

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

Done.
real 2.98
user 2.69
sys 0.19

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724572/ft1_filtered_4FGL_J1443.9+2501_daily_bin1351.fits" evtable="EVENTS" scfile=/scratch/kocevski/724572/ft2_4FGL_J1443.9+2501_daily_bin1351.fits sctable="SC_DATA" outfile=/scratch/kocevski/724572/ltcube_589507201_589766401_4FGL_J1443.9+2501_daily_bin1351.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/724572/ft2_4FGL_J1443.9+2501_daily_bin1351.fits
.....................!
real 12.50
user 12.16
sys 0.28

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724572/ft1_filtered_4FGL_J1443.9+2501_daily_bin1351.fits evtable="EVENTS" scfile=/scratch/kocevski/724572/ft2_4FGL_J1443.9+2501_daily_bin1351.fits sctable="SC_DATA" expcube=/scratch/kocevski/724572/ltcube_589507201_589766401_4FGL_J1443.9+2501_daily_bin1351.fits outfile=/scratch/kocevski/724572/expmap_589507201_589766401_4FGL_J1443.9+2501_daily_bin1351.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/724572/ltcube_589507201_589766401_4FGL_J1443.9+2501_daily_bin1351.fits
.....................!
real 192.19
user 187.80
sys 4.04

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/724572/ft1_filtered_4FGL_J1443.9+2501_daily_bin1351.fits scfile=/scratch/kocevski/724572/ft2_4FGL_J1443.9+2501_daily_bin1351.fits outfile=/scratch/kocevski/724572/cmap_589507201_589766401_4FGL_J1443.9+2501_daily_bin1351.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.58
user 0.38
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724572/ft1_filtered_4FGL_J1443.9+2501_daily_bin1351.fits scfile=/scratch/kocevski/724572/ft2_4FGL_J1443.9+2501_daily_bin1351.fits outfile=/scratch/kocevski/724572/cmap_HighResolution_589507201_589766401_4FGL_J1443.9+2501_daily_bin1351.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    60.552       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    3.5269       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.6712       1.0000         .10000E-03   10000.    
     5 'norm      '    11.037       1.0000         .10000E-03   10000.    
     6 'norm      '    3.3950       1.0000         .10000E-03   10000.    
     7 'Prefactor '    23.293       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10071E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    10.941       1.0000         .10000E-03   10000.    
    10 'Prefactor '    14.304       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    17.596       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    6.2482       1.0000         .10000E-03   10000.    
    15 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.4185       1.0000         .10000E-03   10000.    
    18 'norm      '    1.1763       1.0000         .10000E-03   10000.    
    19 'Prefactor '    2.8728       1.0000         .10000E-03   10000.    
    20 'Prefactor '    47.586       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2531       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .79373       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=   9076.145     FROM MIGRAD    STATUS=CONVERGED    459 CALLS     2375 TOTAL
                     EDM=   .17E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     60.552        8.0446        .40663E-07   -.16928E-04
   2  Prefactor     .10000E-03    2.3889        .24128E-06** at limit **
   3  norm          3.5269        1.9366        .12870E-07   -.32547E-06
   4  Prefactor     2.6709        5.7112       -.58727E-07   -.46200E-05
   5  norm          11.037        3.3439        .59489E-07    .71493E-06
   6  norm          3.3951        3.1301        .21405E-07    .15480E-05
   7  Prefactor     23.292        29.499        .17031E-06   -.26711E-05
   8  Prefactor     .10000E-03    16.604        .29673E-08** at limit **
   9  norm          10.943        8.6861        .16359E-07    .18102E-05
  10  Prefactor     14.304        14.695        .14325E-06   -.19166E-05
  11  Prefactor     .10000E-03    6.9356       -.94187E-07** at limit **
  12  Prefactor     17.595        20.517        .17784E-06   -.17542E-05
  13  Prefactor     .10000E-03    13.587       -.55393E-07** at limit **
  14  Prefactor     6.2484        7.5313        .28803E-07    .43071E-05
  15  norm          .10000E-03    12.558       -.59943E-07** at limit **
  16  Prefactor     .10000E-03    14.865       -.11404E-06** at limit **
  17  Prefactor     1.4184        3.0236       -.22738E-06   -.19834E-04
  18  norm          1.1759        .95448       -.19082E-06   -.15321E-03
  19  Prefactor     2.8797        9.8581        .35931E-05    .15182E-04
  20  Prefactor     47.557        44.145       -.25521E-05    .66284E-05
  21  Normalizat    1.2531        .18038       -.84145E-06    .45362E-04
  22  Prefactor     .79374        .13104        .57537E-06   -.60944E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 60.5524
  Prefactor  = 0.0001
  norm       = 3.52691
  Prefactor  = 2.67089
  norm       = 11.0368
  norm       = 3.39512
  Prefactor  = 23.2919
  Prefactor  = 0.0001
  norm       = 10.9429
  Prefactor  = 14.3038
  Prefactor  = 0.0001
  Prefactor  = 17.5953
  Prefactor  = 0.0001
  Prefactor  = 6.24842
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 1.41842
  norm       = 1.17593
  Prefactor  = 2.87967
  Prefactor  = 47.5574
  Normalizat = 1.25309
  Prefactor  = 0.793737
 **********
 **   18 **HESSE 
 **********

 FCN=   9076.145     FROM HESSE     STATUS=OK           348 CALLS     2723 TOTAL
                     EDM=   .93E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     60.552        8.1035        .51562E-04   -1.4150    
   2  Prefactor     .10000E-03    2.3961        .14388E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          3.5269        1.9363        .95510E-04   -1.5332    
   4  Prefactor     2.6709        5.7051        .12468E-02   -1.5381    
   5  norm          11.037        3.3429        .91784E-04   -1.5043    
   6  norm          3.3951        3.1302        .15664E-03   -1.5339    
   7  Prefactor     23.292        29.614        .82996E-04   -1.4742    
   8  Prefactor     .10000E-03    16.706        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          10.943        8.6822        .60560E-03   -1.5046    
  10  Prefactor     14.304        14.681        .10590E-03   -1.4951    
  11  Prefactor     .10000E-03    7.0164        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     17.595        20.498        .95480E-04   -1.4869    
  13  Prefactor     .10000E-03    13.597        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     6.2484        7.5283        .80296E-03   -1.5208    
  15  norm          .10000E-03    12.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    14.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     1.4184        3.0038        .11862E-02   -1.5470    
  18  norm          1.1759        .95413        .70848E-04   -1.5491    
  19  Prefactor     2.8797        9.9304        .11991E-02   -1.5369    
  20  Prefactor     47.557        44.198        .58127E-04   -1.4328    
  21  Normalizat    1.2531        .21129        .27128E-03   -.84978    
  22  Prefactor     .79374        .15326        .25186E-03   -.99960    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 9.30227e-10
Minuit parameter uncertainties:
  1  8.10369
  2  2.57113e-06
  3  1.93633
  4  5.70621
  5  3.343
  6  3.13037
  7  29.6325
  8  4.38603e-06
  9  8.68317
  10  14.6847
  11  1.20156e-06
  12  20.5067
  13  5.1905e-06
  14  7.52947
  15  4.09362e-06
  16  5.53822e-06
  17  3.00412
  18  0.954144
  19  9.93607
  20  44.2282
  21  0.211435
  22  0.153339
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  3.395e+00  3.130e+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:  7.937e-01  1.533e-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.253e+00  2.114e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 3.36
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.91e-08 +/- 1.76e-08
Energy Flux (Fixed Index): 1.14e-05 +/- 1.05e-05

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

Saving results to:
/scratch/kocevski/724572/likelihoodResults_589507201_589766401_4FGL_J1443.9+2501_daily_bin1351.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) = 9076.08796776
delta logL = 0.0573471474836

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9076.00745795
delta logL = 0.137856957816

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.7048       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.2843       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2632       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .79390       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=   9076.007     FROM MIGRAD    STATUS=CONVERGED     52 CALLS      207 TOTAL
                     EDM=   .47E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.7109        1.8662        .80519E-02    .24088E-03
   2  alpha         1.2853        .55225        .50000       -.88559E-04
   3  Normalizat    1.2634        .16719        .61116E-01   -.77858E-05
   4  Prefactor     .79368        .12725        .43638E-01   -.44045E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.71095
  alpha      = 1.2853
  Normalizat = 1.26337
  Prefactor  = 0.793682
 **********
 **   18 **HESSE 
 **********

 FCN=   9076.007     FROM HESSE     STATUS=OK            33 CALLS      240 TOTAL
                     EDM=   .14E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.7109        2.9480        .12538E-03   -1.5446    
   2  alpha         1.2853        .96925        .22451E-01   -.50737    
   3  Normalizat    1.2634        .19632        .27031E-03   -.84666    
   4  Prefactor     .79368        .14960        .25192E-03   -.99962    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.39364e-10
Minuit parameter uncertainties:
  1  2.9482
  2  1.00424
  3  0.196433
  4  0.149674
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724572': 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) = 9076.00745365
delta logL = 0.137861255309

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.711e+00  2.948e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.285e+00  1.004e+00  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.937e-01  1.497e-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.263e+00  1.964e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 3.63
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.29 +/- 1.00
Photon Flux (Free Index): 6.22e-09 +/- 1.12e-08
Energy Flux (Free Index): 1.73e-05 +/- 2.67e-05

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/724572/cmap_HighResolution_589507201_589766401_4FGL_J1443.9+2501_daily_bin1351.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.92e-05', comment='SUCCESS', photon_flux='1.91e-08', energy_flux2='1.73e-05', photon_flux_error='1.76e-08', dlogl='1.38e-01', energy_flux='1.14e-05', photon_flux2='6.22e-09', job_status='DONE', time_completed='2021-09-10 06:34:40.245691', photon_index_error2='1.00', photon_index2='1.29', ts='3.36', fit_tolerance='1e-08', GAL='0.79', photon_index_error='0.00', photon_flux_upper_limit='6.55e-08', energy_flux_error2='2.67e-05', EG='1.25', time_epoch_completed='1631280880.25', return_code='0', job_id='724572', GAL2='0.79', EG2='1.26', return_code2='0', energy_flux_error='1.05e-05', photon_flux_error2='1.12e-08', ts2='3.63', photon_index='1.97' WHERE bin_id='1351' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:34:40 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0215>
Subject: Job 724572: <4FGL_J1443.9+2501_daily_bin1351> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1351 220.993 25.0291 589507201 589766401 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 :                                   723.49 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             324.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   801 sec.
    Turnaround time :                            803 sec.

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

