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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin1154
RA = 220.993, Dec = 25.0291
tmin = 538444801, tmax = 538704001
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='724304', job_status='RUN', time_executed='2021-09-10 06:21:16.759298', time_epoch_executed='1631280076.76' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='1154'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/724304

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/724304/ft1_4FGL_J1443.9+2501_daily_bin1154.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/724304/ft2_4FGL_J1443.9+2501_daily_bin1154.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/724304/ft1_4FGL_J1443.9+2501_daily_bin1154.fits outfile=/scratch/kocevski/724304/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin1154.fits ra=220.993 dec=25.0291 rad=12.0 tmin=538444801.0 tmax=538704001.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.52
user 3.24
sys 0.22

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/724304/ft1_filtered_4FGL_J1443.9+2501_daily_bin1154.fits" evtable="EVENTS" scfile=/scratch/kocevski/724304/ft2_4FGL_J1443.9+2501_daily_bin1154.fits sctable="SC_DATA" outfile=/scratch/kocevski/724304/ltcube_538444801_538704001_4FGL_J1443.9+2501_daily_bin1154.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/724304/ft2_4FGL_J1443.9+2501_daily_bin1154.fits
.....................!
real 12.14
user 11.74
sys 0.33

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/724304/ft1_filtered_4FGL_J1443.9+2501_daily_bin1154.fits evtable="EVENTS" scfile=/scratch/kocevski/724304/ft2_4FGL_J1443.9+2501_daily_bin1154.fits sctable="SC_DATA" expcube=/scratch/kocevski/724304/ltcube_538444801_538704001_4FGL_J1443.9+2501_daily_bin1154.fits outfile=/scratch/kocevski/724304/expmap_538444801_538704001_4FGL_J1443.9+2501_daily_bin1154.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/724304/ltcube_538444801_538704001_4FGL_J1443.9+2501_daily_bin1154.fits
.....................!
real 191.86
user 185.55
sys 5.79

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/724304/ft1_filtered_4FGL_J1443.9+2501_daily_bin1154.fits scfile=/scratch/kocevski/724304/ft2_4FGL_J1443.9+2501_daily_bin1154.fits outfile=/scratch/kocevski/724304/cmap_538444801_538704001_4FGL_J1443.9+2501_daily_bin1154.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=160 nypix=160 binsz=0.25 coordsys="CEL" xref=220.993 yref=25.0291 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.54
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/724304/ft1_filtered_4FGL_J1443.9+2501_daily_bin1154.fits scfile=/scratch/kocevski/724304/ft2_4FGL_J1443.9+2501_daily_bin1154.fits outfile=/scratch/kocevski/724304/cmap_HighResolution_538444801_538704001_4FGL_J1443.9+2501_daily_bin1154.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.52
user 0.35
sys 0.15

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    5.4545       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .75016       1.0000         .10000E-03   10000.    
     3 'norm      '    9.3231       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    8.0650       1.0000         .10000E-03   10000.    
     6 'norm      '    .10096E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    22.670       1.0000         .10000E-03   10000.    
     8 'Prefactor '    46.302       1.0000         .10000E-03   10000.    
     9 'norm      '    5.3223       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .81737E-02   1.0000         .10000E-03   10000.    
    11 'Prefactor '    18.786       1.0000         .10000E-03   10000.    
    12 'Prefactor '    19.818       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .37397E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    4.4247       1.0000         .10000E-03   10000.    
    15 'norm      '    .10811E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.777       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10079E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    2.9459       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10146E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    62.086       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.3554       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .71613       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=   6646.709     FROM MIGRAD    STATUS=CONVERGED    834 CALLS     2747 TOTAL
                     EDM=   .27E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     5.4537        4.7548        .77605E-03    .43641E-03
   2  Prefactor     .75159        6.3877        .39581E-03    .11928E-03
   3  norm          9.3216        3.5878        .92219E-04    .69776E-04
   4  Prefactor     .10000E-03    2.4921        .12532E-02** at limit **
   5  norm          8.0641        3.6185        .99022E-04    .81056E-04
   6  norm          .10000E-03    3.6631        .15056E-02** at limit **
   7  Prefactor     22.684        26.847        .84127E-04   -.60271E-04
   8  Prefactor     46.321        26.399        .58924E-04    .27316E-03
   9  norm          5.3227        6.2460        .17421E-03   -.10441E-05
  10  Prefactor     .10011E-03    74.297        .48854E-02** at limit **
  11  Prefactor     18.781        14.138        .92406E-04   -.30142E-04
  12  Prefactor     19.894        25.126        .89971E-04    .37471E-03
  13  Prefactor     .10026E-03    336.06        .98106E-02** at limit **
  14  Prefactor     4.4240        4.4192        .16665E-03    .46388E-05
  15  norm          .10000E-03    32.801        .18142E-02** at limit **
  16  Prefactor     23.780        37.685        .82147E-04    .76117E-05
  17  Prefactor     .10000E-03    7.6284        .36285E-03** at limit **
  18  norm          2.9457        1.1968        .54592E-04    .38526E-04
  19  Prefactor     .10000E-03    4.9656        .17670E-02** at limit **
  20  Prefactor     62.127        54.528        .25462E-03   -.13640E-03
  21  Normalizat    1.3555        .21405        .24390E-03    .23304E-03
  22  Prefactor     .71619        .16251        .25356E-03    .42120E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 5.45368
  Prefactor  = 0.751588
  norm       = 9.32161
  Prefactor  = 0.0001
  norm       = 8.06409
  norm       = 0.0001
  Prefactor  = 22.684
  Prefactor  = 46.3209
  norm       = 5.32269
  Prefactor  = 0.000100108
  Prefactor  = 18.7812
  Prefactor  = 19.8941
  Prefactor  = 0.000100255
  Prefactor  = 4.42401
  norm       = 0.0001
  Prefactor  = 23.7804
  Prefactor  = 0.0001
  norm       = 2.94575
  Prefactor  = 0.0001
  Prefactor  = 62.1268
  Normalizat = 1.35549
  Prefactor  = 0.716186
 **********
 **   18 **HESSE 
 **********

 FCN=   6646.709     FROM HESSE     STATUS=OK           320 CALLS     3067 TOTAL
                     EDM=   .30E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     5.4537        4.7535        .31042E-04   -1.5241    
   2  Prefactor     .75159        6.3867        .15832E-04   -1.5535    
   3  norm          9.3216        3.5878        .36888E-05   -1.5097    
   4  Prefactor     .10000E-03    2.4923        .25063E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          8.0641        3.6184        .39609E-05   -1.5140    
   6  norm          .10000E-03    3.6654        .30112E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     22.684        26.850        .33651E-05   -1.4755    
   8  Prefactor     46.321        26.397        .11785E-04   -1.4346    
   9  norm          5.3227        6.2460        .69683E-05   -1.5247    
  10  Prefactor     .10011E-03    76.774        .19542E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     18.781        14.139        .36963E-05   -1.4841    
  12  Prefactor     19.894        25.035        .17994E-04   -1.4816    
  13  Prefactor     .10026E-03    348.66        .39242E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     4.4240        4.4192        .66661E-05   -1.5287    
  15  norm          .10000E-03    32.804        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.780        37.677        .32859E-05   -1.4732    
  17  Prefactor     .10000E-03    7.6289        .72569E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          2.9457        1.1968        .21837E-05   -1.5365    
  19  Prefactor     .10000E-03    4.9668        .35341E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     62.127        54.529        .10185E-04   -1.4130    
  21  Normalizat    1.3555        .21416        .48780E-04   -.81925    
  22  Prefactor     .71619        .16258        .50712E-04   -1.0290    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.99527e-09
Minuit parameter uncertainties:
  1  4.75381
  2  4.38221
  3  3.58785
  4  6.03993e-06
  5  3.61853
  6  1.66118e-05
  7  26.8641
  8  26.4038
  9  6.24677
  10  0.00576146
  11  14.1415
  12  25.0477
  13  0.0189768
  14  4.4195
  15  6.04028e-05
  16  37.7143
  17  1.46032e-05
  18  1.19679
  19  5.28568e-05
  20  54.5725
  21  0.214297
  22  0.162686
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.000e-04  1.661e-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:  7.162e-01  1.627e-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.355e+00  2.143e-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: 5.56e-08 ph cm-2 s-1
Energy Flux Upper Limit: 3.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/724304/likelihoodResults_538444801_538704001_4FGL_J1443.9+2501_daily_bin1154.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) = 6646.71071654
delta logL = -0.00130044437356

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6646.70941279
delta logL = 3.29912745656e-06

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10039E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    2.0425       1.0000          .0000       5.0000    
     3 'Normalizat'    1.3556       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .71611       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=   6642.774     FROM MIGRAD    STATUS=CONVERGED    174 CALLS      350 TOTAL
                     EDM=   .16E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .20458        .89625E-01    .33483E-02    .11302E-02
   2  alpha         5.0000        .24747        .42058    ** at limit **
   3  Normalizat    1.1673        .18530        .58522E-01   -.28691E-03
   4  Prefactor     .79671        .14052        .42615E-01   -.12938E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.204584
  alpha      = 5
  Normalizat = 1.16729
  Prefactor  = 0.796714
 **********
 **   18 **HESSE 
 **********

 FCN=   6642.774     FROM HESSE     STATUS=OK            29 CALLS      379 TOTAL
                     EDM=   .19E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .20458        .89680E-01    .14968E-04   -1.5798    
   2  alpha         5.0000        .72189        .34113E-01    1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Normalizat    1.1673        .21143        .25883E-03   -.87620    
   4  Prefactor     .79671        .16221        .24123E-03   -.99850    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.9242e-10
Minuit parameter uncertainties:
  1  0.0896797
  2  8.64448e-06
  3  0.211585
  4  0.162308
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/724304': 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) = 6642.77417997
delta logL = 3.93523612216

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  2.046e-01  8.968e-02  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  5.000e+00  8.644e-06  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.967e-01  1.623e-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.167e+00  2.116e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 8.40
Ra Dec: 220.993 25.029
Photon Index (Free Index): 5.00 +/- 0.00
Photon Flux (Free Index): 1.59e-07 +/- 6.94e-08
Energy Flux (Free Index): 2.18e-05 +/- 9.51e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/724304/cmap_HighResolution_538444801_538704001_4FGL_J1443.9+2501_daily_bin1154.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.32e-05', comment='SUCCESS', energy_flux2='2.18e-05', dlogl='3.94e+00', photon_flux2='1.59e-07', job_status='DONE', time_completed='2021-09-10 06:32:16.569257', photon_index_error2='0.00', photon_index2='5.00', ts='-0.00', fit_tolerance='1e-08', GAL='0.72', photon_index_error='0.00', photon_flux_upper_limit='5.56e-08', energy_flux_error2='9.51e-06', EG='1.36', time_epoch_completed='1631280736.57', return_code='0', job_id='724304', GAL2='0.80', EG2='1.17', return_code2='0', photon_flux_error2='6.94e-08', ts2='8.40', photon_index='1.97' WHERE bin_id='1154' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:32:16 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0048>
Subject: Job 724304: <4FGL_J1443.9+2501_daily_bin1154> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin1154 220.993 25.0291 538444801 538704001 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 :                                   655.08 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             365.25 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   676 sec.
    Turnaround time :                            678 sec.

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

