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


Performing analysis on: 4FGL_J1443.9+2501_daily_bin118
RA = 220.993, Dec = 25.0291
tmin = 269913601, tmax = 270172801
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='718709', job_status='RUN', time_executed='2021-09-10 06:01:54.329351', time_epoch_executed='1631278914.33' WHERE source_name='4FGL J1443.9+2501' and cadence='daily' and bin_id='118'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/718709

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/718709/ft1_4FGL_J1443.9+2501_daily_bin118.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/718709/ft2_4FGL_J1443.9+2501_daily_bin118.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/718709/ft1_4FGL_J1443.9+2501_daily_bin118.fits outfile=/scratch/kocevski/718709/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin118.fits ra=220.993 dec=25.0291 rad=12.0 tmin=269913601.0 tmax=270172801.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.74
user 1.49
sys 0.18

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/718709/ft2_4FGL_J1443.9+2501_daily_bin118.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/718709/ft1_filteredMKT_4FGL_J1443.9+2501_daily_bin118.fits evtable="EVENTS" outfile="/scratch/kocevski/718709/ft1_filtered_4FGL_J1443.9+2501_daily_bin118.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/718709/ft1_filtered_4FGL_J1443.9+2501_daily_bin118.fits" evtable="EVENTS" scfile=/scratch/kocevski/718709/ft2_4FGL_J1443.9+2501_daily_bin118.fits sctable="SC_DATA" outfile=/scratch/kocevski/718709/ltcube_269913601_270172801_4FGL_J1443.9+2501_daily_bin118.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/718709/ft2_4FGL_J1443.9+2501_daily_bin118.fits
.....................!
real 12.00
user 11.65
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/718709/ft1_filtered_4FGL_J1443.9+2501_daily_bin118.fits evtable="EVENTS" scfile=/scratch/kocevski/718709/ft2_4FGL_J1443.9+2501_daily_bin118.fits sctable="SC_DATA" expcube=/scratch/kocevski/718709/ltcube_269913601_270172801_4FGL_J1443.9+2501_daily_bin118.fits outfile=/scratch/kocevski/718709/expmap_269913601_270172801_4FGL_J1443.9+2501_daily_bin118.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/718709/ltcube_269913601_270172801_4FGL_J1443.9+2501_daily_bin118.fits
.....................!
real 190.89
user 185.35
sys 5.18

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/718709/ft1_filtered_4FGL_J1443.9+2501_daily_bin118.fits scfile=/scratch/kocevski/718709/ft2_4FGL_J1443.9+2501_daily_bin118.fits outfile=/scratch/kocevski/718709/cmap_269913601_270172801_4FGL_J1443.9+2501_daily_bin118.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.55
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/718709/ft1_filtered_4FGL_J1443.9+2501_daily_bin118.fits scfile=/scratch/kocevski/718709/ft2_4FGL_J1443.9+2501_daily_bin118.fits outfile=/scratch/kocevski/718709/cmap_HighResolution_269913601_270172801_4FGL_J1443.9+2501_daily_bin118.fits algorithm="CMAP" ebinalg="LOG" emin=30.0 emax=200000.0 ebinfile=NONE tbinalg="LIN" tbinfile=NONE nxpix=500 nypix=500 binsz=0.1 coordsys="CEL" xref=220.993 yref=25.0291 axisrot=0.0 rafield="RA" decfield="DEC" proj="AIT" hpx_ordering_scheme="RING" hpx_order=3 hpx_ebin=yes hpx_region="" evtable="EVENTS" sctable="SC_DATA" efield="ENERGY" tfield="TIME" chatter=2 clobber=yes debug=no gui=no mode="ql"

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

This is gtbin version HEAD
real 0.56
user 0.39
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10010E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    7.7344       1.0000         .10000E-03   10000.    
     4 'Prefactor '    .18211E-02   1.0000         .10000E-03   10000.    
     5 'norm      '    .11047E-03   1.0000         .10000E-03   10000.    
     6 'norm      '    4.5324       1.0000         .10000E-03   10000.    
     7 'Prefactor '    10.580       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10138E-03   1.0000         .10000E-03   10000.    
     9 'norm      '    .14080E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    3.5146       1.0000         .10000E-03   10000.    
    11 'Prefactor '    1.1734       1.0000         .10000E-03   10000.    
    12 'Prefactor '    35.950       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10964E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    3.0954       1.0000         .10000E-03   10000.    
    15 'norm      '    .10236E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    23.080       1.0000         .10000E-03   10000.    
    17 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    15.413       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.6987       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    21 'Normalizat'    .98917       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.1065       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=   9498.909     FROM MIGRAD    STATUS=CONVERGED    502 CALLS     2423 TOTAL
                     EDM=   .14E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  4.7%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    1.6814       -.16559E-06** at limit **
   2  Prefactor     .10000E-03    4.9471       -.36905E-06** at limit **
   3  norm          7.7344        2.6965        .32596E-07    .35811E-04
   4  Prefactor     .10000E-03    38.158       -.40527E-05** at limit **
   5  norm          .10000E-03    1.1007       -.30443E-06** at limit **
   6  norm          4.5336        5.2308        .47461E-08    .79529E-04
   7  Prefactor     10.596        28.553        .35611E-06    .16332E-04
   8  Prefactor     .10000E-03    14.159       -.20420E-06** at limit **
   9  norm          .10001E-03    4.3548        .22495E-06** at limit **
  10  Prefactor     3.5143        12.774        .31942E-06   -.26298E-04
  11  Prefactor     1.1745        12.865       -.29714E-06   -.42953E-04
  12  Prefactor     35.951        28.802        .13948E-05   -.21011E-04
  13  Prefactor     .10000E-03    41.765        .52447E-06** at limit **
  14  Prefactor     3.0965        6.5799       -.97815E-07   -.22720E-04
  15  norm          .10000E-03    75.536       -.18830E-05** at limit **
  16  Prefactor     23.084        44.103       -.42368E-06    .69732E-05
  17  Prefactor     .10000E-03    4.5901       -.41966E-06** at limit **
  18  norm          15.413        2.4731        .41677E-07    .16790E-04
  19  Prefactor     4.7009        13.664       -.11481E-05   -.13193E-04
  20  Prefactor     .10000E-03    13.373       -.12195E-06** at limit **
  21  Normalizat    .98889        .16676        .45393E-06    .15048E-03
  22  Prefactor     1.1066        .13382        .77974E-06    .10226E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 7.73441
  Prefactor  = 0.000100001
  norm       = 0.0001
  norm       = 4.53365
  Prefactor  = 10.5964
  Prefactor  = 0.0001
  norm       = 0.000100008
  Prefactor  = 3.51429
  Prefactor  = 1.17453
  Prefactor  = 35.9511
  Prefactor  = 0.0001
  Prefactor  = 3.09652
  norm       = 0.0001
  Prefactor  = 23.0838
  Prefactor  = 0.0001
  norm       = 15.413
  Prefactor  = 4.70094
  Prefactor  = 0.0001
  Normalizat = 0.988888
  Prefactor  = 1.1066
 **********
 **   18 **HESSE 
 **********

 FCN=   9498.909     FROM HESSE     STATUS=OK           352 CALLS     2775 TOTAL
                     EDM=   .65E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    1.7250        .12350E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.0178        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          7.7344        2.6957        .91278E-04   -1.5152    
   4  Prefactor     .10000E-03    37.519        .27859E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          .10000E-03    1.9612        .19794E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  norm          4.5336        5.2258        .18910E-03   -1.5282    
   7  Prefactor     10.596        28.616        .12318E-03   -1.5057    
   8  Prefactor     .10000E-03    14.228        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  norm          .10001E-03    13.076        .37265E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     3.5143        12.676        .21565E-03   -1.5333    
  11  Prefactor     1.1745        12.971        .42319E-03   -1.5491    
  12  Prefactor     35.951        28.449        .66840E-04   -1.4508    
  13  Prefactor     .10000E-03    41.811        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     3.0965        6.5740        .23050E-03   -1.5356    
  15  norm          .10000E-03    76.331        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     23.084        44.170        .83377E-04   -1.4747    
  17  Prefactor     .10000E-03    4.6436        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          15.413        2.4839        .50345E-04   -1.4923    
  19  Prefactor     4.7009        13.749        .92821E-03   -1.5274    
  20  Prefactor     .10000E-03    13.375        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Normalizat    .98889        .19415        .29477E-03   -.93404    
  22  Prefactor     1.1066        .15528        .22432E-03   -.89256    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.50888e-10
Minuit parameter uncertainties:
  1  3.82584e-06
  2  2.29446e-06
  3  2.69573
  4  0.000277236
  5  7.38839e-06
  6  5.22636
  7  28.6531
  8  4.05528e-05
  9  0.000632773
  10  12.6858
  11  7.80818
  12  28.4593
  13  7.84152e-05
  14  6.57554
  15  0.000115602
  16  44.2322
  17  6.32826e-06
  18  2.48395
  19  13.7579
  20  3.62968e-06
  21  0.194287
  22  0.155346
Done.

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

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  4.534e+00  5.226e+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:  1.107e+00  1.553e-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.889e-01  1.943e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/718709/likelihoodResults_269913601_270172801_4FGL_J1443.9+2501_daily_bin118.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) = 9494.80868287
delta logL = 4.10032081884

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 9494.79538511
delta logL = 4.11361858332

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9097       1.0000         .10000E-03   10000.    
     2 'alpha     '    3.7514       1.0000          .0000       5.0000    
     3 'Normalizat'    .84055       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.1693       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=   9494.795     FROM MIGRAD    STATUS=CONVERGED     54 CALLS      253 TOTAL
                     EDM=   .37E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9064        8.9759        .75210E-02    .54830E-03
   2  alpha         3.7524        3.8378        .21715        .82843E-04
   3  Normalizat    .84063        .61068E-01    .71404E-01    .25610E-04
   4  Prefactor     1.1693        .48521E-01    .35400E-01   -.82500E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.90642
  alpha      = 3.75237
  Normalizat = 0.840627
  Prefactor  = 1.16925
 **********
 **   18 **HESSE 
 **********

 FCN=   9494.795     FROM HESSE     STATUS=OK            33 CALLS      286 TOTAL
                     EDM=   .24E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9064        11.109        .49509E-04   -1.5432    
   2  alpha         3.7524        4.0086        .93294E-02    .52469    
   3  Normalizat    .84063        .21182        .31597E-03   -.98579    
   4  Prefactor     1.1693        .17329        .21850E-03   -.87283    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.36926e-07
Minuit parameter uncertainties:
  1  9.20623
  2  2.83101
  3  0.212028
  4  0.173373
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/718709': 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) = 9494.7953841
delta logL = 4.11361959426

Extracting fit parameters...

4FGL J1443.9+2501
   Spectrum: LogParabola
258         norm:  1.906e+00  9.206e+00  1.000e-04  1.000e+04 ( 1.000e-12)
259        alpha:  3.752e+00  2.831e+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:  1.169e+00  1.734e-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:  8.406e-01  2.120e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 9.60
Ra Dec: 220.993 25.029
Photon Index (Free Index): 3.75 +/- 2.83
Photon Flux (Free Index): 1.54e-07 +/- 6.32e-08
Energy Flux (Free Index): 2.55e-05 +/- 1.76e-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/718709/cmap_HighResolution_269913601_270172801_4FGL_J1443.9+2501_daily_bin118.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='5.12e-05', comment='SUCCESS', energy_flux2='2.55e-05', dlogl='4.11e+00', photon_flux2='1.54e-07', job_status='DONE', time_completed='2021-09-10 06:14:18.085634', photon_index_error2='2.83', photon_index2='3.75', ts='0.91', fit_tolerance='1e-08', GAL='1.11', photon_index_error='0.00', photon_flux_upper_limit='8.56e-08', energy_flux_error2='1.76e-05', EG='0.99', time_epoch_completed='1631279658.09', return_code='0', job_id='718709', GAL2='1.17', EG2='0.84', return_code2='0', photon_flux_error2='6.32e-08', ts2='9.60', photon_index='1.97' WHERE bin_id='118' AND source_name='4FGL J1443.9+2501' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 06:14:18 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0224>
Subject: Job 718709: <4FGL_J1443.9+2501_daily_bin118> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1443.9+2501_daily_bin118 220.993 25.0291 269913601 270172801 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 :                                   742.00 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             334.92 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   756 sec.
    Turnaround time :                            759 sec.

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

