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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin52
RA = 222.017, Dec = 36.1344
tmin = 252806401, tmax = 253065601
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='784368', job_status='RUN', time_executed='2021-09-10 09:40:19.150798', time_epoch_executed='1631292019.15' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='52'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/784368

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/784368/ft1_4FGL_J1448.0+3608_daily_bin52.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/784368/ft2_4FGL_J1448.0+3608_daily_bin52.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/784368/ft1_4FGL_J1448.0+3608_daily_bin52.fits outfile=/scratch/kocevski/784368/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin52.fits ra=222.017 dec=36.1344 rad=12.0 tmin=252806401.0 tmax=253065601.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.42
user 1.25
sys 0.16

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

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/784368/ft2_4FGL_J1448.0+3608_daily_bin52.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/784368/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin52.fits evtable="EVENTS" outfile="/scratch/kocevski/784368/ft1_filtered_4FGL_J1448.0+3608_daily_bin52.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.51
user 0.34
sys 0.16

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/784368/ft1_filtered_4FGL_J1448.0+3608_daily_bin52.fits" evtable="EVENTS" scfile=/scratch/kocevski/784368/ft2_4FGL_J1448.0+3608_daily_bin52.fits sctable="SC_DATA" outfile=/scratch/kocevski/784368/ltcube_252806401_253065601_4FGL_J1448.0+3608_daily_bin52.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/784368/ft2_4FGL_J1448.0+3608_daily_bin52.fits
.....................!
real 12.72
user 12.36
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/784368/ft1_filtered_4FGL_J1448.0+3608_daily_bin52.fits evtable="EVENTS" scfile=/scratch/kocevski/784368/ft2_4FGL_J1448.0+3608_daily_bin52.fits sctable="SC_DATA" expcube=/scratch/kocevski/784368/ltcube_252806401_253065601_4FGL_J1448.0+3608_daily_bin52.fits outfile=/scratch/kocevski/784368/expmap_252806401_253065601_4FGL_J1448.0+3608_daily_bin52.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/784368/ltcube_252806401_253065601_4FGL_J1448.0+3608_daily_bin52.fits
.....................!
real 191.44
user 186.44
sys 4.65

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/784368/ft1_filtered_4FGL_J1448.0+3608_daily_bin52.fits scfile=/scratch/kocevski/784368/ft2_4FGL_J1448.0+3608_daily_bin52.fits outfile=/scratch/kocevski/784368/cmap_252806401_253065601_4FGL_J1448.0+3608_daily_bin52.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.53
user 0.37
sys 0.15

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/784368/ft1_filtered_4FGL_J1448.0+3608_daily_bin52.fits scfile=/scratch/kocevski/784368/ft2_4FGL_J1448.0+3608_daily_bin52.fits outfile=/scratch/kocevski/784368/cmap_HighResolution_252806401_253065601_4FGL_J1448.0+3608_daily_bin52.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.37
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    1.9830       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10060E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10025E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    1.7050       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10075E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    22.570       1.0000         .10000E-03   10000.    
    10 'norm      '    .10006E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    23.477       1.0000         .10000E-03   10000.    
    12 'norm      '    8.0111       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10018E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    7.3002       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    .10108E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    4.2047       1.0000         .10000E-03   10000.    
    18 'norm      '    1.3638       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10035E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    96.000       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10036E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    15.058       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10084E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    11.299       1.0000         .10000E-03   10000.    
    25 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10058E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    .10086E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.4445       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .40849       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=   5541.318     FROM MIGRAD    STATUS=CONVERGED    786 CALLS     3912 TOTAL
                     EDM=   .13E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.0%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          1.9473        38.193       -.22075E-05   -.29597E-04
   2  Prefactor     .10000E-03    6.8360        .36736E-05** at limit **
   3  Prefactor     .10000E-03    13.136        .19066E-06** at limit **
   4  norm          .10000E-03    1.4128       -.15851E-07** at limit **
   5  Prefactor     1.7051        2.9321        .13308E-05   -.22099E-02
   6  Prefactor     .10000E-03    5.2476       -.22602E-05** at limit **
   7  Prefactor     .10000E-03    1.6098       -.23274E-07** at limit **
   8  norm          .10000E-03    4.1880       -.12123E-08** at limit **
   9  Prefactor     22.555        26.020        .80162E-05    .10685E-03
  10  norm          .10000E-03    2.3042       -.49163E-07** at limit **
  11  Prefactor     23.473        31.215        .12307E-05    .17840E-04
  12  norm          8.0111        4.4949       -.41841E-07   -.10519E-04
  13  Prefactor     .10000E-03    10.007        .26482E-05** at limit **
  14  norm          7.3001        7.0673       -.25071E-07    .44054E-05
  15  Prefactor     .10000E-03    3.6952        .37714E-07** at limit **
  16  Prefactor     .10000E-03    6.4450        .28150E-06** at limit **
  17  norm          4.2054        1.8550        .10029E-06   -.24001E-04
  18  norm          1.3651        3.3695        .58342E-06    .67705E-06
  19  Prefactor     .10000E-03    3.3397        .10799E-06** at limit **
  20  Prefactor     95.659        78.538       -.30906E-05   -.20246E-04
  21  Prefactor     .10000E-03    3.9898       -.66595E-07** at limit **
  22  Prefactor     15.055        20.274       -.83556E-05   -.99191E-04
  23  Prefactor     .10000E-03    7.3113       -.20363E-05** at limit **
  24  norm          11.299        2.0960        .32384E-07    .70497E-03
  25  Prefactor     .10000E-03    5.8653       -.40012E-05** at limit **
  26  Prefactor     .10000E-03    10.428       -.26667E-05** at limit **
  27  Prefactor     .10000E-03    7.2283       -.59746E-06** at limit **
  28  norm          .10000E-03    5.4643        .47271E-05** at limit **
  29  Normalizat    1.4451        .18778       -.25042E-06    .50992E-04
  30  Prefactor     .40803        .18351        .47811E-06    .44162E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 1.94731
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 1.70508
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 22.5551
  norm       = 0.0001
  Prefactor  = 23.4735
  norm       = 8.01113
  Prefactor  = 0.0001
  norm       = 7.30007
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 4.20543
  norm       = 1.36514
  Prefactor  = 0.0001
  Prefactor  = 95.6588
  Prefactor  = 0.0001
  Prefactor  = 15.0547
  Prefactor  = 0.0001
  norm       = 11.2988
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Normalizat = 1.44509
  Prefactor  = 0.408035
 **********
 **   18 **HESSE 
 **********

 FCN=   5541.318     FROM HESSE     STATUS=OK           578 CALLS     4490 TOTAL
                     EDM=   .13E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          1.9473        38.714        .29430E-03   -1.5429    
   2  Prefactor     .10000E-03    6.8458        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    13.162        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    1.4204        .86393E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     1.7051        6.8367        .16103E-02   -1.5447    
   6  Prefactor     .10000E-03    5.2631        .16669E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.6535        .18437E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          .10000E-03    4.1895        .14879E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     22.555        26.197        .84312E-04   -1.4758    
  10  norm          .10000E-03    2.3144        .11033E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     23.473        31.221        .82670E-04   -1.4739    
  12  norm          8.0111        4.4934        .11477E-03   -1.5142    
  13  Prefactor     .10000E-03    10.013        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          7.3001        7.0683        .14845E-03   -1.5168    
  15  Prefactor     .10000E-03    3.6988        .13975E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     .10000E-03    6.5514        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          4.2054        1.8541        .63720E-04   -1.5298    
  18  norm          1.3651        3.3347        .20505E-03   -1.5474    
  19  Prefactor     .10000E-03    3.3475        .13277E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     95.659        78.545        .41023E-04   -1.3749    
  21  Prefactor     .10000E-03    4.0050        .14520E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     15.055        20.301        .10322E-03   -1.4932    
  23  Prefactor     .10000E-03    7.2980        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          11.299        2.0961        .44163E-04   -1.5036    
  25  Prefactor     .10000E-03    5.8829        .17588E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  26  Prefactor     .10000E-03    10.430        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    7.2338        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          .10000E-03    5.4860        .17009E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.4451        .21320        .20382E-03   -.79333    
  30  Prefactor     .40803        .20407        .36166E-03   -1.1640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.33704e-08
Minuit parameter uncertainties:
  1  17.3779
  2  3.26958e-05
  3  1.95611e-05
  4  1.02639e-06
  5  6.82969
  6  3.28034e-05
  7  1.01037e-06
  8  2.13932e-06
  9  26.2105
  10  5.0267e-06
  11  31.243
  12  4.49358
  13  2.93504e-05
  14  7.06914
  15  2.36415e-07
  16  2.12054e-06
  17  1.85413
  18  3.33519
  19  2.69879e-05
  20  78.6305
  21  7.79211e-07
  22  20.3104
  23  8.11491e-05
  24  2.09611
  25  3.12453e-05
  26  3.05224e-05
  27  2.278e-06
  28  4.34633e-05
  29  0.213336
  30  0.204437
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  7.300e+00  7.069e+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:  4.080e-01  2.044e-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:  1.445e+00  2.133e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.68
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 9.61e-09 +/- 9.31e-09
Energy Flux (Fixed Index): 1.83e-05 +/- 1.77e-05

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) = 5541.2301643
delta logL = 0.0875294305652

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5541.22687059
delta logL = 0.0908231309768

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    6.8334       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.9114       1.0000          .0000       5.0000    
     3 'Normalizat'    1.4421       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .40792       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.

 FCN=   5541.227     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      243 TOTAL
                     EDM=   .50E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          6.8286        247.70        .38371E-02    .50614E-03
   2  alpha         1.9107        2.8009        .29593        .77823E-04
   3  Normalizat    1.4421        .99032E-01    .46142E-01   -.22086E-03
   4  Prefactor     .40804        .84760E-01    .81605E-01    .28527E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 6.82858
  alpha      = 1.9107
  Normalizat = 1.44208
  Prefactor  = 0.40804
 **********
 **   18 **HESSE 
 **********

 FCN=   5541.227     FROM HESSE     STATUS=OK            29 CALLS      272 TOTAL
                     EDM=   .32E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          6.8286        6.9094        .15348E-03   -1.5185    
   2  alpha         1.9107        .71074        .15860E-01   -.23796    
   3  Normalizat    1.4421        .20176        .20396E-03   -.79419    
   4  Prefactor     .40804        .20108        .36154E-03   -1.1640    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 3.19955e-10
Minuit parameter uncertainties:
  1  6.91021
  2  0.721291
  3  0.201871
  4  0.20143
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/784368': 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) = 5541.22686846
delta logL = 0.0908252639911

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  6.829e+00  6.910e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.911e+00  7.213e-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:  4.080e-01  2.014e-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:  1.442e+00  2.019e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 4.86
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.91 +/- 0.72
Photon Flux (Free Index): 1.40e-08 +/- 1.66e-08
Energy Flux (Free Index): 1.32e-05 +/- 1.55e-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/784368/cmap_HighResolution_252806401_253065601_4FGL_J1448.0+3608_daily_bin52.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.61e-09', energy_flux2='1.32e-05', photon_flux_error='9.31e-09', dlogl='9.08e-02', energy_flux='1.83e-05', photon_flux2='1.40e-08', job_status='DONE', time_completed='2021-09-10 09:51:56.596593', photon_index_error2='0.72', photon_index2='1.91', ts='4.68', fit_tolerance='1e-08', GAL='0.41', photon_index_error='0.00', energy_flux_error2='1.55e-05', EG='1.45', time_epoch_completed='1631292716.6', return_code='0', job_id='784368', GAL2='0.41', EG2='1.44', return_code2='0', energy_flux_error='1.77e-05', photon_flux_error2='1.66e-08', ts2='4.86', photon_index='1.60' WHERE bin_id='52' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:51:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0084>
Subject: Job 784368: <4FGL_J1448.0+3608_daily_bin52> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin52 222.017 36.1344 252806401 253065601 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 :                                   698.00 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             298.83 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   919 sec.
    Turnaround time :                            921 sec.

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

