/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 181 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 = 7481
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J1443.9+2501_daily_bin84
RA = 220.993, Dec = 25.0291
tmin = 261100801, tmax = 261360001
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='718654', job_status='RUN', time_executed='2021-09-10 06:04:47.585875', time_epoch_executed='1631279087.59' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='84'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718654

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718654/ft1_4FGL_J1443.9+2501_daily_bin84.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718654/ft2_4FGL_J1443.9+2501_daily_bin84.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718654/ft1_4FGL_J1443.9+2501_daily_bin84.fits outfile=/scratch/kocevski/718654/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin84.fits ra=220.993 dec=25.0291 rad=12.0 tmin=261100801.0 tmax=261360001.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 1.52
user 1.32
sys 0.17

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/718654/ft1_filtered_4FGL_J1443.9+2501_daily_bin84.fits" evtable="EVENTS" scfile=/scratch/kocevski/718654/ft2_4FGL_J1443.9+2501_daily_bin84.fits sctable="SC_DATA" outfile=/scratch/kocevski/718654/ltcube_261100801_261360001_4FGL_J1443.9+2501_daily_bin84.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/718654/ft2_4FGL_J1443.9+2501_daily_bin84.fits
.....................!
real 12.44
user 12.08
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718654/ft1_filtered_4FGL_J1443.9+2501_daily_bin84.fits evtable="EVENTS" scfile=/scratch/kocevski/718654/ft2_4FGL_J1443.9+2501_daily_bin84.fits sctable="SC_DATA" expcube=/scratch/kocevski/718654/ltcube_261100801_261360001_4FGL_J1443.9+2501_daily_bin84.fits outfile=/scratch/kocevski/718654/expmap_261100801_261360001_4FGL_J1443.9+2501_daily_bin84.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/718654/ltcube_261100801_261360001_4FGL_J1443.9+2501_daily_bin84.fits
.....................!
real 190.42
user 184.97
sys 4.93

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/718654/ft1_filtered_4FGL_J1443.9+2501_daily_bin84.fits scfile=/scratch/kocevski/718654/ft2_4FGL_J1443.9+2501_daily_bin84.fits outfile=/scratch/kocevski/718654/cmap_261100801_261360001_4FGL_J1443.9+2501_daily_bin84.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.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718654/ft1_filtered_4FGL_J1443.9+2501_daily_bin84.fits scfile=/scratch/kocevski/718654/ft2_4FGL_J1443.9+2501_daily_bin84.fits outfile=/scratch/kocevski/718654/cmap_HighResolution_261100801_261360001_4FGL_J1443.9+2501_daily_bin84.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.54
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    5.2738       1.0000         .10000E-03   10000.    
     3 'norm      '    10.670       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .33648       1.0000         .10000E-03   10000.    
     5 'norm      '    .10341E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    2.4622       1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10451E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    11.731       1.0000         .10000E-03   10000.    
    10 'Prefactor '    18.398       1.0000         .10000E-03   10000.    
    11 'Prefactor '    3.5101       1.0000         .10000E-03   10000.    
    12 'Prefactor '    11.670       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.3833       1.0000         .10000E-03   10000.    
    15 'norm      '    23.492       1.0000         .10000E-03   10000.    
    16 'Prefactor '    29.115       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10014E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    16.380       1.0000         .10000E-03   10000.    
    19 'Prefactor '    5.9192       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.2509       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .88455       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=   9555.134     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2382 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  6.9%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.5103        .48918E-07** at limit **
   2  Prefactor     5.2703        4.8936        .53535E-06    .44056E-03
   3  norm          10.671        2.9549        .49527E-07    .80081E-04
   4  Prefactor     .36603        5.3882       -.43425E-05    .12725E-02
   5  norm          .10000E-03    .92335        .11857E-06** at limit **
   6  norm          2.4623        2.6236        .63079E-07    .51111E-04
   7  Prefactor     .10000E-03    7.5675        .13777E-06** at limit **
   8  Prefactor     .10000E-03    37.813        .55623E-05** at limit **
   9  norm          11.732        8.0200       -.23033E-06   -.11304E-04
  10  Prefactor     18.394        16.724       -.94179E-07    .22812E-05
  11  Prefactor     3.5116        10.012        .46261E-05    .62592E-03
  12  Prefactor     11.662        22.324        .10113E-05    .14564E-04
  13  Prefactor     .10000E-03    30.407       -.65561E-05** at limit **
  14  Prefactor     3.3845        5.7534        .16819E-06    .48291E-04
  15  norm          23.496        31.264       -.92149E-06   -.41394E-04
  16  Prefactor     29.103        33.059        .32685E-05    .15348E-03
  17  Prefactor     .10000E-03    4.6641        .65626E-07** at limit **
  18  norm          16.380        2.3671       -.87610E-07   -.60348E-04
  19  Prefactor     5.9201        9.9568        .18709E-05    .45858E-03
  20  Prefactor     .10000E-03    14.596        .13709E-05** at limit **
  21  Normalizat    1.2510        .16113       -.52793E-06    .90335E-04
  22  Prefactor     .88444        .12724       -.22213E-06    .93447E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 5.27035
  norm       = 10.6707
  Prefactor  = 0.366032
  norm       = 0.0001
  norm       = 2.46227
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 11.7316
  Prefactor  = 18.394
  Prefactor  = 3.51158
  Prefactor  = 11.6617
  Prefactor  = 0.000100004
  Prefactor  = 3.38451
  norm       = 23.4957
  Prefactor  = 29.1029
  Prefactor  = 0.0001
  norm       = 16.38
  Prefactor  = 5.9201
  Prefactor  = 0.0001
  Normalizat = 1.25096
  Prefactor  = 0.884439
 **********
 **   18 **HESSE 
 **********

 FCN=   9555.134     FROM HESSE     STATUS=OK           352 CALLS     2734 TOTAL
                     EDM=   .12E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.5341        .11725E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     5.2703        4.8788        .17502E-03   -1.5249    
   3  norm          10.671        2.9560        .85528E-04   -1.5055    
   4  Prefactor     .36603        13.227        .27393E-02   -1.5587    
   5  norm          .10000E-03    2.2800        .18200E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          2.4623        2.6172        .15862E-03   -1.5394    
   7  Prefactor     .10000E-03    7.5719        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    38.095        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          11.732        8.0253        .11696E-03   -1.5023    
  10  Prefactor     18.394        16.701        .93377E-04   -1.4850    
  11  Prefactor     3.5116        10.569        .10789E-02   -1.5333    
  12  Prefactor     11.662        22.260        .11727E-03   -1.5025    
  13  Prefactor     .10000E-03    30.849        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.3845        5.7456        .21998E-03   -1.5340    
  15  norm          23.496        31.296        .82643E-04   -1.4738    
  16  Prefactor     29.103        33.302        .74250E-04   -1.4628    
  17  Prefactor     .10000E-03    4.7219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          16.380        2.3724        .51702E-04   -1.4898    
  19  Prefactor     5.9201        10.111        .82527E-03   -1.5221    
  20  Prefactor     .10000E-03    14.613        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    1.2510        .18958        .26785E-03   -.85042    
  22  Prefactor     .88444        .14925        .24439E-03   -.96687    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.17734e-08
Minuit parameter uncertainties:
  1  3.92861e-06
  2  4.87913
  3  2.95608
  4  4.40119
  5  3.49292e-05
  6  2.61732
  7  1.0065e-05
  8  0.000435967
  9  8.02603
  10  16.7051
  11  10.575
  12  22.2757
  13  0.000693543
  14  5.74653
  15  31.3179
  16  33.3232
  17  6.47827e-06
  18  2.37243
  19  10.1135
  20  0.000100296
  21  0.189681
  22  0.149318
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  2.462e+00  2.617e+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:  8.844e-01  1.493e-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.251e+00  1.897e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 1.76
Ra Dec: 220.993 25.029
Photon Index (Fixed Index): 1.97 +/- 0.00
Photon Flux (Fixed Index): 1.39e-08 +/- 1.47e-08
Energy Flux (Fixed Index): 8.28e-06 +/- 8.81e-06

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

Saving results to:
/scratch/kocevski/718654/likelihoodResults_261100801_261360001_4FGL_J1443.9+2501_daily_bin84.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) = 9555.07054762
delta logL = 0.0638974174162

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9555.05338269
delta logL = 0.0810623498892

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.8707       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5195       1.0000          .0000       5.0000    
     3 'Normalizat'    1.2553       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .88471       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=   9555.053     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      212 TOTAL
                     EDM=   .23E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.8699        2.1322        .76128E-02    .45603E-04
   2  alpha         1.5193        .64649        .46110       -.52512E-04
   3  Normalizat    1.2553        .15862        .60477E-01    .10725E-04
   4  Prefactor     .88468        .12466        .44810E-01    .19084E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 1.86988
  alpha      = 1.51933
  Normalizat = 1.25528
  Prefactor  = 0.884675
 **********
 **   18 **HESSE 
 **********

 FCN=   9555.053     FROM HESSE     STATUS=OK            33 CALLS      245 TOTAL
                     EDM=   .16E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.8699        2.8759        .14772E-03   -1.5434    
   2  alpha         1.5193        1.0435        .26984E-01   -.40310    
   3  Normalizat    1.2553        .18624        .26747E-03   -.84911    
   4  Prefactor     .88468        .14653        .24439E-03   -.96679    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.58109e-11
Minuit parameter uncertainties:
  1  2.87615
  2  1.08308
  3  0.18634
  4  0.146596
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718654': 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) = 9555.05338256
delta logL = 0.0810624811365

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.870e+00  2.876e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  1.519e+00  1.083e+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:  8.847e-01  1.466e-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.255e+00  1.863e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 1.92
Ra Dec: 220.993 25.029
Photon Index (Free Index): 1.52 +/- 1.08
Photon Flux (Free Index): 7.32e-09 +/- 1.44e-08
Energy Flux (Free Index): 1.12e-05 +/- 1.73e-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/718654/cmap_HighResolution_261100801_261360001_4FGL_J1443.9+2501_daily_bin84.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.19e-05', comment='SUCCESS', photon_flux='1.39e-08', energy_flux2='1.12e-05', photon_flux_error='1.47e-08', dlogl='8.11e-02', energy_flux='8.28e-06', photon_flux2='7.32e-09', job_status='DONE', time_completed='2021-09-10 06:17:11.504002', photon_index_error2='1.08', photon_index2='1.52', ts='1.76', fit_tolerance='1e-08', GAL='0.88', photon_index_error='0.00', photon_flux_upper_limit='5.34e-08', energy_flux_error2='1.73e-05', EG='1.25', time_epoch_completed='1631279831.5', return_code='0', job_id='718654', GAL2='0.88', EG2='1.26', return_code2='0', energy_flux_error='8.81e-06', photon_flux_error2='1.44e-08', ts2='1.92', photon_index='1.97' WHERE bin_id='84' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:17:11 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0279>
Subject: Job 718654: <4FGL_J1443.9+2501_daily_bin84> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin84 220.993 25.0291 261100801 261360001 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 :                                   743.00 sec.
    Max Memory :                                 1255 MB
    Average Memory :                             309.86 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   935 sec.
    Turnaround time :                            937 sec.

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

