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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1230
RA = 222.017, Dec = 36.1344
tmin = 558144001, tmax = 558403201
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='791035', job_status='RUN', time_executed='2021-09-10 10:00:27.894073', time_epoch_executed='1631293227.89' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1230'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/791035

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/791035/ft1_4FGL_J1448.0+3608_daily_bin1230.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/791035/ft1_4FGL_J1448.0+3608_daily_bin1230.fits outfile=/scratch/kocevski/791035/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1230.fits ra=222.017 dec=36.1344 rad=12.0 tmin=558144001.0 tmax=558403201.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 4.23
user 3.99
sys 0.22

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.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/791035/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1230.fits evtable="EVENTS" outfile="/scratch/kocevski/791035/ft1_filtered_4FGL_J1448.0+3608_daily_bin1230.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.50
user 0.32
sys 0.17

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/791035/ft1_filtered_4FGL_J1448.0+3608_daily_bin1230.fits" evtable="EVENTS" scfile=/scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits sctable="SC_DATA" outfile=/scratch/kocevski/791035/ltcube_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.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/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits
.....................!
real 11.75
user 11.36
sys 0.34

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/791035/ft1_filtered_4FGL_J1448.0+3608_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits sctable="SC_DATA" expcube=/scratch/kocevski/791035/ltcube_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.fits outfile=/scratch/kocevski/791035/expmap_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.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/791035/ltcube_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.fits
.....................!
real 193.03
user 188.28
sys 4.33

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 186 point sources and 0 extended sources

Setting source of interest to:
4FGL J1448.0+3608 @ 222.017 36.1344

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/791035/ft1_filtered_4FGL_J1448.0+3608_daily_bin1230.fits scfile=/scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits outfile=/scratch/kocevski/791035/cmap_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.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=222.017 yref=36.1344 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.38
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/791035/ft1_filtered_4FGL_J1448.0+3608_daily_bin1230.fits scfile=/scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits outfile=/scratch/kocevski/791035/cmap_HighResolution_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.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=222.017 yref=36.1344 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.39
sys 0.14

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/791035/ft1_filtered_4FGL_J1448.0+3608_daily_bin1230.fits evtable="EVENTS" scfile=/scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/791035/Model_4FGL_J1448.0+3608_daily_bin1230.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/791035/ft1_filtered_4FGL_J1448.0+3608_daily_bin1230.fits......................!
real 23.01
user 20.18
sys 1.21

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/791035/ft1_filtered_4FGL_J1448.0+3608_daily_bin1230.fits', '/scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits', expMap='/scratch/kocevski/791035/expmap_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.fits', expCube='/scratch/kocevski/791035/ltcube_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/791035/Model_4FGL_J1448.0+3608_daily_bin1230.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1448.0+3608'

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.776e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/791035/ft1_filtered_4FGL_J1448.0+3608_daily_bin1230.fits
Spacecraft file(s): /scratch/kocevski/791035/ft2_4FGL_J1448.0+3608_daily_bin1230.fits
Exposure map: /scratch/kocevski/791035/expmap_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.fits
Exposure cube: /scratch/kocevski/791035/ltcube_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/791035/Model_4FGL_J1448.0+3608_daily_bin1230.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) = 1364.62607417

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    175.60       1.0000         .10000E-03   10000.    
     2 'Prefactor '    88.081       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .12938E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.5548       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10172E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10793E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    11.935       1.0000         .10000E-03   10000.    
     8 'norm      '    75.349       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    4.3700       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .34157E-01   1.0000         .10000E-03   10000.    
    14 'norm      '    3.8156       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10022E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10269E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10177E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10009E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    33.537       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .55963E-02   1.0000         .10000E-03   10000.    
    23 'Prefactor '    40.459       1.0000         .10000E-03   10000.    
    24 'norm      '    .10084E-03   1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10880E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    27.570       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .40320       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .77931       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+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=   1364.538     FROM MIGRAD    STATUS=CONVERGED   1390 CALLS     4543 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          175.64        158.81        .15227E-03   -.15440E-04
   2  Prefactor     88.019        100.38        .21405E-03    .68748E-04
   3  Prefactor     .10009E-03    451.93        .18142E-02** at limit **
   4  norm          3.5607        12.845        .21414E-03    .78747E-04
   5  Prefactor     .10000E-03    62.510        .18142E-02** at limit **
   6  Prefactor     .10002E-03    272.58        .18142E-02** at limit **
   7  Prefactor     11.940        11.997        .11265E-03   -.98949E-04
   8  norm          75.342        77.300        .46256E-04    .12827E-03
   9  Prefactor     .10000E-03    96.973        .18142E-02** at limit **
  10  norm          .10000E-03    6.7174        .93498E-03** at limit **
  11  Prefactor     .10000E-03    67.228        .18142E-02** at limit **
  12  norm          4.3704        4.4744        .76318E-04   -.41077E-04
  13  Prefactor     .10003E-03    183.31        .11097    ** at limit **
  14  norm          3.8161        14.303        .20663E-03   -.30742E-04
  15  Prefactor     .10000E-03    11.901        .12444E-02** at limit **
  16  Prefactor     .10000E-03    5.3445        .83414E-03** at limit **
  17  norm          .10000E-03    1.2021        .39535E-03** at limit **
  18  norm          .10000E-03    14.036        .13516E-02** at limit **
  19  Prefactor     .10000E-03    37.063        .18142E-02** at limit **
  20  Prefactor     .10000E-03    43.618        .18142E-02** at limit **
  21  Prefactor     33.538        15.802        .69195E-04    .59805E-04
  22  Prefactor     .10000E-03    400.99        .38086E-03** at limit **
  23  Prefactor     40.470        66.270        .63018E-04   -.87486E-04
  24  norm          .10000E-03    2.0175        .80152E-03** at limit **
  25  Prefactor     .10000E-03    21.460        .32802E-03** at limit **
  26  Prefactor     .10000E-03    21.815        .16851E-02** at limit **
  27  Prefactor     .10000E-03    70.908        .18142E-02** at limit **
  28  norm          27.589        29.711        .76298E-04   -.14155E-04
  29  Normalizat    .40238        .42386        .30540E-03   -.14471E-04
  30  Prefactor     .77975        .35057        .19554E-03   -.16630E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 175.637
  Prefactor  = 88.0194
  Prefactor  = 0.000100088
  norm       = 3.56071
  Prefactor  = 0.0001
  Prefactor  = 0.000100018
  Prefactor  = 11.9396
  norm       = 75.3424
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 4.37044
  Prefactor  = 0.000100031
  norm       = 3.81614
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 33.5381
  Prefactor  = 0.0001
  Prefactor  = 40.47
  norm       = 0.000100002
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  norm       = 27.5891
  Normalizat = 0.402383
  Prefactor  = 0.779746
 **********
 **   18 **HESSE 
 **********

 FCN=   1364.538     FROM HESSE     STATUS=OK           566 CALLS     5109 TOTAL
                     EDM=   .17E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          175.64        158.81        .30454E-04   -1.3050    
   2  Prefactor     88.019        100.38        .42810E-04   -1.3829    
   3  Prefactor     .10009E-03    451.93        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.5607        12.842        .85654E-05   -1.5331    
   5  Prefactor     .10000E-03    62.511        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10002E-03    272.59        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     11.940        11.997        .45062E-05   -1.5017    
   8  norm          75.342        77.282        .92513E-05   -1.3970    
   9  Prefactor     .10000E-03    96.975        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          .10000E-03    6.7174        .18700E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    67.228        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          4.3704        4.4743        .30527E-05   -1.5290    
  13  Prefactor     .10003E-03    178.64        .11283       -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          3.8161        14.303        .82653E-05   -1.5317    
  15  Prefactor     .10000E-03    11.901        .24888E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    5.3445        .16683E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          .10000E-03    1.2021        .79069E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    14.036        .27032E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    37.063        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     .10000E-03    43.618        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     33.538        15.803        .27678E-05   -1.4549    
  22  Prefactor     .10000E-03    401.00        .76172E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     40.470        66.268        .12604E-04   -1.4435    
  24  norm          .10000E-03    2.0192        .16030E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Prefactor     .10000E-03    21.460        .65604E-04   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    21.815        .33702E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    70.908        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          27.589        29.708        .30519E-05   -1.4657    
  29  Normalizat    .40238        .42430        .12216E-04   -1.1718    
  30  Prefactor     .77975        .35094        .39108E-04   -1.0048    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.71624e-09
Minuit parameter uncertainties:
  1  159.201
  2  100.573
  3  0.012682
  4  12.8519
  5  6.01005e-05
  6  0.0045021
  7  11.9998
  8  77.3856
  9  0.00022096
  10  4.78047e-06
  11  0.000101836
  12  4.47467
  13  0.00470535
  14  14.3161
  15  1.4441e-05
  16  2.93043e-06
  17  2.4886e-06
  18  4.57113e-05
  19  0.000156444
  20  3.49615e-05
  21  15.8045
  22  0.000638381
  23  66.3886
  24  0.000113213
  25  0.000158368
  26  2.84447e-05
  27  0.000518989
  28  29.7243
  29  0.427758
  30  0.351945
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.816e+00  1.432e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.600e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  7.797e-01  3.519e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  4.024e-01  4.278e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.09
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 7.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 1.50e-04 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/791035/likelihoodResults_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.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) = 1364.51380391
delta logL = 0.0245544271017

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 1364.51348416
delta logL = 0.0248741775272

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.5557       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9743       1.0000          .0000       5.0000    
     3 'Normalizat'    .40347       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .77742       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .6000E+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=   1364.513     FROM MIGRAD    STATUS=CONVERGED     83 CALLS      260 TOTAL
                     EDM=   .39E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.5563        12.758        .20764E-03   -.26947E-03
   2  alpha         1.9736        1.5952        .16900E-01   -.29344E-04
   3  Normalizat    .40296        .38121        .30513E-03    .21125E-04
   4  Prefactor     .77773        .34006        .19573E-03    .49886E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.55635
  alpha      = 1.97361
  Normalizat = 0.40296
  Prefactor  = 0.77773
 **********
 **   18 **HESSE 
 **********

 FCN=   1364.513     FROM HESSE     STATUS=OK            23 CALLS      283 TOTAL
                     EDM=   .43E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.5563        12.274        .83058E-05   -1.5331    
   2  alpha         1.9736        1.5450        .67601E-03   -.21214    
   3  Normalizat    .40296        .38155        .12205E-04   -1.1715    
   4  Prefactor     .77773        .34035        .39145E-04   -1.0055    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.27849e-10
Minuit parameter uncertainties:
  1  12.2826
  2  1.67254
  3  0.384045
  4  0.341278
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/791035': 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) = 1364.51348298
delta logL = 0.0248753538347

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.556e+00  1.228e+01  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.974e+00  1.673e+00  0.000e+00  5.000e+00 ( 1.000e+00)
295         beta:  1.132e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
296           Eb:  2.001e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  7.777e-01  3.413e-01  0.000e+00  1.000e+01 ( 1.000e+00)
598        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
599        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
596   Normalization:  4.030e-01  3.840e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.09
Ra Dec: 222.017 36.134

Creating a high resolution counts map...
INFO: Auto-setting vmin to  0.000e+00 [aplpy.core]
INFO: Auto-setting vmax to  0.000e+00 [aplpy.core]
Saving /scratch/kocevski/791035/cmap_HighResolution_558144001_558403201_4FGL_J1448.0+3608_daily_bin1230.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='1.50e-04', job_status='DONE', photon_flux_upper_limit='7.90e-08', time_completed='2021-09-10 10:07:52.196849', job_id='791035', GAL2='0.78', fit_tolerance='1e-08', EG2='0.40', EG='0.40', time_epoch_completed='1631293672.2', return_code2='0', ts='0.09', comment='SUCCESS', return_code='0', GAL='0.78', dlogl='2.49e-02', ts2='0.14', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1230' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:07:52 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0065>
Subject: Job 791035: <4FGL_J1448.0+3608_daily_bin1230> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin1230> was submitted from host <rhel6-64f> by user <kocevski> in cluster <slac> at Fri Sep 10 09:57:52 2021
Job was executed on host(s) <bullet0065>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:57:53 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 09:57:53 2021
Terminated at Fri Sep 10 10:07:52 2021
Results reported at Fri Sep 10 10:07:52 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1230 222.017 36.1344 558144001 558403201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1448.0+3608 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   441.03 sec.
    Max Memory :                                 1094 MB
    Average Memory :                             257.27 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   599 sec.
    Turnaround time :                            600 sec.

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

