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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin763
RA = 222.017, Dec = 36.1344
tmin = 437097601, tmax = 437356801
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='788568', job_status='RUN', time_executed='2021-09-10 09:51:35.610839', time_epoch_executed='1631292695.61' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='763'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/788568

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/788568/ft1_4FGL_J1448.0+3608_daily_bin763.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/788568/ft2_4FGL_J1448.0+3608_daily_bin763.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/788568/ft1_4FGL_J1448.0+3608_daily_bin763.fits outfile=/scratch/kocevski/788568/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin763.fits ra=222.017 dec=36.1344 rad=12.0 tmin=437097601.0 tmax=437356801.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 5.11
user 4.81
sys 0.24

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/788568/ft2_4FGL_J1448.0+3608_daily_bin763.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/788568/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin763.fits evtable="EVENTS" outfile="/scratch/kocevski/788568/ft1_filtered_4FGL_J1448.0+3608_daily_bin763.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.34
sys 0.14

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/788568/ft1_filtered_4FGL_J1448.0+3608_daily_bin763.fits" evtable="EVENTS" scfile=/scratch/kocevski/788568/ft2_4FGL_J1448.0+3608_daily_bin763.fits sctable="SC_DATA" outfile=/scratch/kocevski/788568/ltcube_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.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/788568/ft2_4FGL_J1448.0+3608_daily_bin763.fits
.....................!
real 11.96
user 11.63
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/788568/ft1_filtered_4FGL_J1448.0+3608_daily_bin763.fits evtable="EVENTS" scfile=/scratch/kocevski/788568/ft2_4FGL_J1448.0+3608_daily_bin763.fits sctable="SC_DATA" expcube=/scratch/kocevski/788568/ltcube_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.fits outfile=/scratch/kocevski/788568/expmap_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.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/788568/ltcube_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.fits
.....................!
real 189.46
user 184.69
sys 4.43

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/788568/ft1_filtered_4FGL_J1448.0+3608_daily_bin763.fits scfile=/scratch/kocevski/788568/ft2_4FGL_J1448.0+3608_daily_bin763.fits outfile=/scratch/kocevski/788568/cmap_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.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.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/788568/ft1_filtered_4FGL_J1448.0+3608_daily_bin763.fits scfile=/scratch/kocevski/788568/ft2_4FGL_J1448.0+3608_daily_bin763.fits outfile=/scratch/kocevski/788568/cmap_HighResolution_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.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.53
user 0.38
sys 0.15

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

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/788568/ft1_filtered_4FGL_J1448.0+3608_daily_bin763.fits', '/scratch/kocevski/788568/ft2_4FGL_J1448.0+3608_daily_bin763.fits', expMap='/scratch/kocevski/788568/expmap_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.fits', expCube='/scratch/kocevski/788568/ltcube_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/788568/Model_4FGL_J1448.0+3608_daily_bin763.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/788568/ft1_filtered_4FGL_J1448.0+3608_daily_bin763.fits
Spacecraft file(s): /scratch/kocevski/788568/ft2_4FGL_J1448.0+3608_daily_bin763.fits
Exposure map: /scratch/kocevski/788568/expmap_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.fits
Exposure cube: /scratch/kocevski/788568/ltcube_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/788568/Model_4FGL_J1448.0+3608_daily_bin763.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) = 4637.16369082

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10023E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    4.1849       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10088E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10034E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    57.846       1.0000         .10000E-03   10000.    
     9 'Prefactor '    28.117       1.0000         .10000E-03   10000.    
    10 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    27.392       1.0000         .10000E-03   10000.    
    12 'norm      '    15.688       1.0000         .10000E-03   10000.    
    13 'Prefactor '    24.648       1.0000         .10000E-03   10000.    
    14 'norm      '    8.8399       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .14023E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10024E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    2.2699       1.0000         .10000E-03   10000.    
    18 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10982E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    79.326       1.0000         .10000E-03   10000.    
    21 'Prefactor '    26.483       1.0000         .10000E-03   10000.    
    22 'Prefactor '    .12854E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .14393E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    12.429       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.1911       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10313E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    9.4304       1.0000         .10000E-03   10000.    
    29 'Normalizat'    .98422       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .60374       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.

 FCN=   4637.161     FROM MIGRAD    STATUS=CONVERGED    751 CALLS     3855 TOTAL
                     EDM=   .21E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.693        .30549E-05** at limit **
   2  Prefactor     .10000E-03    5.4995       -.17398E-06** at limit **
   3  Prefactor     .10000E-03    7.1275       -.24238E-05** at limit **
   4  norm          4.1860        3.9778       -.43992E-07   -.17281E-03
   5  Prefactor     .10000E-03    8.4259        .49802E-05** at limit **
   6  Prefactor     .10000E-03    7.2183       -.26300E-05** at limit **
   7  Prefactor     .10000E-03    2.0614        .25853E-06** at limit **
   8  norm          57.852        23.630        .28045E-07   -.46055E-04
   9  Prefactor     28.129        26.183        .14885E-05    .15992E-05
  10  norm          .10000E-03    2.4243        .16965E-06** at limit **
  11  Prefactor     27.398        38.199        .45375E-05    .30636E-05
  12  norm          15.690        6.5498        .19935E-07   -.10095E-04
  13  Prefactor     24.643        38.870       -.28791E-05    .45810E-04
  14  norm          8.8336        9.0952        .83947E-06    .14700E-03
  15  Prefactor     .10001E-03    107.40       -.20129E-04** at limit **
  16  Prefactor     .10000E-03    6.7395        .30138E-05** at limit **
  17  norm          2.2680        2.2726       -.68482E-06   -.36471E-03
  18  norm          .10000E-03    1.6165        .90437E-07** at limit **
  19  Prefactor     .10000E-03    10.151       -.54650E-05** at limit **
  20  Prefactor     79.334        84.544        .72908E-05   -.99825E-06
  21  Prefactor     26.489        14.157       -.45017E-07    .97731E-05
  22  Prefactor     .10000E-03    38.735        .35895E-04** at limit **
  23  Prefactor     .10000E-03    29.316       -.21466E-04** at limit **
  24  norm          12.430        3.0646        .57200E-07    .37507E-03
  25  Prefactor     5.1928        15.224       -.74228E-06   -.32690E-04
  26  Prefactor     .10000E-03    32.430       -.13584E-04** at limit **
  27  Prefactor     .10000E-03    22.252        .10092E-04** at limit **
  28  norm          9.4294        12.728       -.64267E-06   -.19533E-03
  29  Normalizat    .98383        .19596       -.84508E-06    .18369E-03
  30  Prefactor     .60380        .19509        .29170E-06    .64347E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.18602
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 57.8524
  Prefactor  = 28.1288
  norm       = 0.0001
  Prefactor  = 27.3983
  norm       = 15.6904
  Prefactor  = 24.6432
  norm       = 8.83356
  Prefactor  = 0.000100005
  Prefactor  = 0.0001
  norm       = 2.26804
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 79.3336
  Prefactor  = 26.4885
  Prefactor  = 0.0001
  Prefactor  = 0.000100002
  norm       = 12.4297
  Prefactor  = 5.19277
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 9.4294
  Normalizat = 0.983826
  Prefactor  = 0.603804
 **********
 **   18 **HESSE 
 **********

 FCN=   4637.161     FROM HESSE     STATUS=OK           582 CALLS     4437 TOTAL
                     EDM=   .46E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.798        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    5.5002        .15597E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    7.1339        .17758E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          4.1860        3.9736        .12701E-03   -1.5299    
   5  Prefactor     .10000E-03    8.4788        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    7.2450        .17868E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    2.1100        .95418E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          57.852        23.627        .52747E-04   -1.4185    
   9  Prefactor     28.129        26.298        .75554E-04   -1.4647    
  10  norm          .10000E-03    2.4317        .10353E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     27.398        38.197        .76545E-04   -1.4661    
  12  norm          15.690        6.5504        .10112E-03   -1.4916    
  13  Prefactor     24.643        38.942        .80686E-04   -1.4715    
  14  norm          8.8336        9.0935        .13481E-03   -1.5113    
  15  Prefactor     .10001E-03    110.44        .36285E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.8109        .17256E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          2.2680        2.2690        .93197E-04   -1.5407    
  18  norm          .10000E-03    1.6283        .84530E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.442        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     79.334        84.480        .45091E-04   -1.3924    
  21  Prefactor     26.489        14.166        .77846E-04   -1.4678    
  22  Prefactor     .10000E-03    39.556        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    30.181        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          12.430        3.0578        .44394E-04   -1.5003    
  25  Prefactor     5.1928        15.157        .17644E-03   -1.5252    
  26  Prefactor     .10000E-03    32.521        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    22.308        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          9.4294        12.709        .13050E-03   -1.5094    
  29  Normalizat    .98383        .23302        .23146E-03   -.93574    
  30  Prefactor     .60380        .22977        .29316E-03   -1.0743    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.63805e-10
Minuit parameter uncertainties:
  1  3.942e-06
  2  2.68674e-07
  3  4.97241e-07
  4  3.97389
  5  5.36664e-06
  6  4.84192e-06
  7  3.71368e-06
  8  23.6312
  9  26.3087
  10  3.40023e-07
  11  38.2314
  12  6.55072
  13  38.9819
  14  9.09488
  15  0.00151134
  16  1.88085e-05
  17  2.26914
  18  1.23628e-05
  19  0.000165585
  20  84.6079
  21  14.1674
  22  0.000176553
  23  0.000463558
  24  3.05786
  25  15.1681
  26  4.96846e-05
  27  1.37208e-05
  28  12.7125
  29  0.233257
  30  0.230125
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  8.834e+00  9.095e+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

GAL_V02
   Spectrum: PowerLaw
597    Prefactor:  6.038e-01  2.301e-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:  9.838e-01  2.333e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 2.84
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.16e-08 +/- 1.20e-08
Energy Flux (Fixed Index): 2.21e-05 +/- 2.28e-05

TS (Fixed Index): 2.84
Ra Dec: 222.017 36.134
Photon Flux Upper Limit: 4.90e-08 ph cm-2 s-1
Energy Flux Upper Limit: 9.32e-05 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/788568/likelihoodResults_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.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) = 4636.12558351
delta logL = 1.03506988424

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4636.11187128
delta logL = 1.04878210735

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.9703       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.8060       1.0000          .0000       5.0000    
     3 'Normalizat'    .94088       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .62528       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=   4636.112     FROM MIGRAD    STATUS=CONVERGED     84 CALLS      277 TOTAL
                     EDM=   .12E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.9700        6.5535        .95630E-04   -.53925E-03
   2  alpha         2.8061        .88075        .86829E-02   -.57590E-04
   3  Normalizat    .94090        .22510        .23573E-03   -.41620E-04
   4  Prefactor     .62525        .22538        .28799E-03   -.81596E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 3.97001
  alpha      = 2.80607
  Normalizat = 0.9409
  Prefactor  = 0.625252
 **********
 **   18 **HESSE 
 **********

 FCN=   4636.112     FROM HESSE     STATUS=OK            25 CALLS      302 TOTAL
                     EDM=   .15E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.9700        5.6176        .38252E-05   -1.5309    
   2  alpha         2.8061        .75875        .34732E-03    .12274    
   3  Normalizat    .94090        .22452        .94292E-05   -.95038    
   4  Prefactor     .62525        .22519        .11520E-04   -1.0653    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.47347e-10
Minuit parameter uncertainties:
  1  5.61831
  2  0.771103
  3  0.224747
  4  0.225516
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/788568': 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) = 4636.11187127
delta logL = 1.04878212139

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  3.970e+00  5.618e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  2.806e+00  7.711e-01  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:  6.253e-01  2.255e-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:  9.409e-01  2.247e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.94
Ra Dec: 222.017 36.134
Photon Index (Free Index): 2.81 +/- 0.77
Photon Flux (Free Index): 5.00e-08 +/- 4.61e-08
Energy Flux (Free Index): 1.38e-05 +/- 1.02e-05

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/788568/cmap_HighResolution_437097601_437356801_4FGL_J1448.0+3608_daily_bin763.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='9.32e-05', comment='SUCCESS', photon_flux='1.16e-08', energy_flux2='1.38e-05', photon_flux_error='1.20e-08', dlogl='1.05e+00', energy_flux='2.21e-05', photon_flux2='5.00e-08', job_status='DONE', time_completed='2021-09-10 10:03:35.356686', photon_index_error2='0.77', photon_index2='2.81', ts='2.84', fit_tolerance='1e-08', GAL='0.60', photon_index_error='0.00', photon_flux_upper_limit='4.90e-08', energy_flux_error2='1.02e-05', EG='0.98', time_epoch_completed='1631293415.36', return_code='0', job_id='788568', GAL2='0.63', EG2='0.94', return_code2='0', energy_flux_error='2.28e-05', photon_flux_error2='4.61e-08', ts2='4.94', photon_index='1.60' WHERE bin_id='763' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:03:35 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0266>
Subject: Job 788568: <4FGL_J1448.0+3608_daily_bin763> in cluster <slac> Done

Job <4FGL_J1448.0+3608_daily_bin763> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Fri Sep 10 09:51:20 2021
Job was executed on host(s) <bullet0266>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:51:22 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:51:22 2021
Terminated at Fri Sep 10 10:03:36 2021
Results reported at Fri Sep 10 10:03:36 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin763 222.017 36.1344 437097601 437356801 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 :                                   718.28 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             341.59 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              7
    Max Threads :                                21
    Run time :                                   733 sec.
    Turnaround time :                            736 sec.

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

