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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1079
RA = 222.017, Dec = 36.1344
tmin = 519004801, tmax = 519264001
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='790812', job_status='RUN', time_executed='2021-09-10 10:01:11.773361', time_epoch_executed='1631293271.77' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1079'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790812

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790812/ft1_4FGL_J1448.0+3608_daily_bin1079.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790812/ft2_4FGL_J1448.0+3608_daily_bin1079.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790812/ft1_4FGL_J1448.0+3608_daily_bin1079.fits outfile=/scratch/kocevski/790812/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1079.fits ra=222.017 dec=36.1344 rad=12.0 tmin=519004801.0 tmax=519264001.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 3.56
user 3.35
sys 0.19

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790812/ft1_filtered_4FGL_J1448.0+3608_daily_bin1079.fits evtable="EVENTS" scfile=/scratch/kocevski/790812/ft2_4FGL_J1448.0+3608_daily_bin1079.fits sctable="SC_DATA" expcube=/scratch/kocevski/790812/ltcube_519004801_519264001_4FGL_J1448.0+3608_daily_bin1079.fits outfile=/scratch/kocevski/790812/expmap_519004801_519264001_4FGL_J1448.0+3608_daily_bin1079.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/790812/ltcube_519004801_519264001_4FGL_J1448.0+3608_daily_bin1079.fits
.....................!
real 190.06
user 185.17
sys 4.51

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/790812/ft1_filtered_4FGL_J1448.0+3608_daily_bin1079.fits scfile=/scratch/kocevski/790812/ft2_4FGL_J1448.0+3608_daily_bin1079.fits outfile=/scratch/kocevski/790812/cmap_519004801_519264001_4FGL_J1448.0+3608_daily_bin1079.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.55
user 0.39
sys 0.14

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790812/ft1_filtered_4FGL_J1448.0+3608_daily_bin1079.fits scfile=/scratch/kocevski/790812/ft2_4FGL_J1448.0+3608_daily_bin1079.fits outfile=/scratch/kocevski/790812/cmap_HighResolution_519004801_519264001_4FGL_J1448.0+3608_daily_bin1079.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.56
user 0.39
sys 0.14

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    17.167       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    47.261       1.0000         .10000E-03   10000.    
     4 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10697E-02   1.0000         .10000E-03   10000.    
     6 'Prefactor '    8.5322       1.0000         .10000E-03   10000.    
     7 'Prefactor '    2.5544       1.0000         .10000E-03   10000.    
     8 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    12.508       1.0000         .10000E-03   10000.    
    10 'norm      '    8.1850       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    7.4109       1.0000         .10000E-03   10000.    
    13 'Prefactor '    12.714       1.0000         .10000E-03   10000.    
    14 'norm      '    12.909       1.0000         .10000E-03   10000.    
    15 'Prefactor '    6.3363       1.0000         .10000E-03   10000.    
    16 'Prefactor '    13.747       1.0000         .10000E-03   10000.    
    17 'norm      '    1.0541       1.0000         .10000E-03   10000.    
    18 'norm      '    .27085       1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    33.429       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    1.3250       1.0000         .10000E-03   10000.    
    25 'Prefactor '    5.2585       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    7.1758       1.0000         .10000E-03   10000.    
    28 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1588       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .60777       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=   5939.152     FROM MIGRAD    STATUS=CONVERGED    757 CALLS     3935 TOTAL
                     EDM=   .28E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  8.5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          17.166        14.562        .19672E-08    .55523E-04
   2  Prefactor     .10000E-03    5.5343       -.17374E-07** at limit **
   3  Prefactor     47.262        25.776        .10949E-07    .23085E-04
   4  norm          .10000E-03    3.2403       -.34066E-07** at limit **
   5  Prefactor     .10000E-03    58.585       -.49823E-05** at limit **
   6  Prefactor     8.5187        15.862        .19303E-05    .17487E-03
   7  Prefactor     2.5545        3.3210       -.11376E-07    .88103E-04
   8  norm          .10000E-03    6.5505       -.17882E-06** at limit **
   9  Prefactor     12.506        21.728       -.63957E-07    .78550E-05
  10  norm          8.1845        7.1316       -.21754E-06    .14782E-03
  11  Prefactor     .10000E-03    30.058        .31059E-06** at limit **
  12  norm          7.4109        4.8949       -.40224E-07    .24445E-04
  13  Prefactor     12.708        28.997       -.46332E-06    .10179E-04
  14  norm          12.909        8.8152        .27007E-07   -.50061E-05
  15  Prefactor     6.3367        9.5241        .59269E-08    .18534E-04
  16  Prefactor     13.747        9.2240        .58033E-07   -.86889E-05
  17  norm          1.0543        1.6898       -.68832E-07    .11293E-03
  18  norm          .27180        2.1711       -.49787E-06    .20033E-03
  19  Prefactor     .10000E-03    2.8660       -.23023E-07** at limit **
  20  Prefactor     33.424        39.583       -.15680E-06    .22692E-05
  21  Prefactor     .10000E-03    7.5055        .51330E-07** at limit **
  22  Prefactor     .10000E-03    5.2878        .59631E-07** at limit **
  23  Prefactor     .10000E-03    10.334        .47932E-07** at limit **
  24  norm          1.3251        1.0009        .82769E-07    .13908E-03
  25  Prefactor     5.2582        7.3512       -.83131E-06    .25778E-03
  26  Prefactor     .10000E-03    14.191       -.22141E-06** at limit **
  27  Prefactor     7.1748        9.3701       -.26644E-07    .34560E-04
  28  norm          .10000E-03    4.5610       -.35657E-07** at limit **
  29  Normalizat    1.1587        .17654       -.13464E-06   -.32810E-04
  30  Prefactor     .60784        .16806        .67184E-06    .12114E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 17.1665
  Prefactor  = 0.0001
  Prefactor  = 47.2615
  norm       = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 8.5187
  Prefactor  = 2.55452
  norm       = 0.0001
  Prefactor  = 12.5059
  norm       = 8.18452
  Prefactor  = 0.0001
  norm       = 7.41092
  Prefactor  = 12.708
  norm       = 12.9089
  Prefactor  = 6.33675
  Prefactor  = 13.7471
  norm       = 1.0543
  norm       = 0.271801
  Prefactor  = 0.0001
  Prefactor  = 33.4243
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.32512
  Prefactor  = 5.25823
  Prefactor  = 0.0001
  Prefactor  = 7.17483
  norm       = 0.0001
  Normalizat = 1.15871
  Prefactor  = 0.607835
 **********
 **   18 **HESSE 
 **********

 FCN=   5939.152     FROM HESSE     STATUS=OK           596 CALLS     4531 TOTAL
                     EDM=   .69E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          17.166        14.636        .48332E-03   -1.4879    
   2  Prefactor     .10000E-03    5.5367        .17706E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     47.262        25.930        .58326E-04   -1.4332    
   4  norm          .10000E-03    3.3638        .27078E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    58.932        .42094E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     8.5187        16.438        .13724E-03   -1.5124    
   7  Prefactor     2.5545        3.3273        .15190E-03   -1.5388    
   8  norm          .10000E-03    6.5656        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     12.506        21.805        .11326E-03   -1.5001    
  10  norm          8.1845        7.2439        .70067E-03   -1.5136    
  11  Prefactor     .10000E-03    30.117        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          7.4109        4.8980        .13354E-03   -1.5163    
  13  Prefactor     12.708        29.025        .11234E-03   -1.4995    
  14  norm          12.909        8.8179        .55744E-03   -1.4989    
  15  Prefactor     6.3367        9.5112        .15946E-03   -1.5204    
  16  Prefactor     13.747        9.0417        .10803E-03   -1.4966    
  17  norm          1.0543        1.6237        .10771E-03   -1.5503    
  18  norm          .27180        3.6462        .20125E-02   -1.5604    
  19  Prefactor     .10000E-03    2.8769        .12734E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     33.424        39.480        .69307E-04   -1.4551    
  21  Prefactor     .10000E-03    7.6506        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    5.2919        .17302E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  Prefactor     .10000E-03    10.519        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          1.3251        1.0012        .58206E-04   -1.5478    
  25  Prefactor     5.2582        7.7663        .87641E-03   -1.5249    
  26  Prefactor     .10000E-03    14.219        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     7.1748        9.3647        .14974E-03   -1.5172    
  28  norm          .10000E-03    4.5686        .16069E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  29  Normalizat    1.1587        .20858        .20731E-03   -.87888    
  30  Prefactor     .60784        .19397        .28401E-03   -1.0726    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 6.88161e-10
Minuit parameter uncertainties:
  1  14.6388
  2  3.4532e-06
  3  25.936
  4  2.12255e-05
  5  0.00035102
  6  16.4464
  7  3.32758
  8  2.12267e-06
  9  21.819
  10  7.24465
  11  6.32063e-05
  12  4.89828
  13  29.0572
  14  8.81877
  15  9.51345
  16  9.04259
  17  1.6238
  18  1.99081
  19  9.02172e-06
  20  39.511
  21  4.03718e-05
  22  1.22958e-05
  23  8.65805e-05
  24  1.0012
  25  7.76781
  26  1.87414e-06
  27  9.36665
  28  3.06707e-06
  29  0.208734
  30  0.194183
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.291e+01  8.819e+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.078e-01  1.942e-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.159e+00  2.087e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 6.52
Ra Dec: 222.017 36.134
Photon Index (Fixed Index): 1.60 +/- 0.00
Photon Flux (Fixed Index): 1.70e-08 +/- 1.16e-08
Energy Flux (Fixed Index): 3.23e-05 +/- 2.21e-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) = 5939.04113229
delta logL = 0.110880344589

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 5939.04080419
delta logL = 0.111208446297

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    11.908       1.0000         .10000E-03   10000.    
     2 'alpha     '    1.8531       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1538       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .60990       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=   5939.041     FROM MIGRAD    STATUS=CONVERGED     57 CALLS      254 TOTAL
                     EDM=   .32E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          11.922        211.64        .29021E-02   -.71805E-05
   2  alpha         1.8544        3.0833        .34888        .26246E-04
   3  Normalizat    1.1538        .10549        .36139E-01    .12155E-05
   4  Prefactor     .60982        .71937E-01    .64078E-01    .20992E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 11.9222
  alpha      = 1.85438
  Normalizat = 1.15376
  Prefactor  = 0.609816
 **********
 **   18 **HESSE 
 **********

 FCN=   5939.041     FROM HESSE     STATUS=OK            33 CALLS      287 TOTAL
                     EDM=   .59E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          11.922        8.8086        .11609E-03   -1.5017    
   2  alpha         1.8544        .55132        .12105E-01   -.26121    
   3  Normalizat    1.1538        .18199        .20764E-03   -.88044    
   4  Prefactor     .60982        .18617        .28352E-03   -1.0717    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 5.91161e-10
Minuit parameter uncertainties:
  1  8.80952
  2  0.556223
  3  0.182089
  4  0.186361
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790812': 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) = 5939.04079669
delta logL = 0.111215945031

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.192e+01  8.810e+00  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.854e+00  5.562e-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.098e-01  1.864e-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.154e+00  1.821e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 6.74
Ra Dec: 222.017 36.134
Photon Index (Free Index): 1.85 +/- 0.56
Photon Flux (Free Index): 2.24e-08 +/- 1.93e-08
Energy Flux (Free Index): 2.37e-05 +/- 2.19e-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/790812/cmap_HighResolution_519004801_519264001_4FGL_J1448.0+3608_daily_bin1079.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='1.70e-08', energy_flux2='2.37e-05', photon_flux_error='1.16e-08', dlogl='1.11e-01', energy_flux='3.23e-05', photon_flux2='2.24e-08', job_status='DONE', time_completed='2021-09-10 10:13:32.097641', photon_index_error2='0.56', photon_index2='1.85', ts='6.52', fit_tolerance='1e-08', GAL='0.61', photon_index_error='0.00', energy_flux_error2='2.19e-05', EG='1.16', time_epoch_completed='1631294012.1', return_code='0', job_id='790812', GAL2='0.61', EG2='1.15', return_code2='0', energy_flux_error='2.21e-05', photon_flux_error2='1.93e-08', ts2='6.74', photon_index='1.60' WHERE bin_id='1079' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:13:32 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0262>
Subject: Job 790812: <4FGL_J1448.0+3608_daily_bin1079> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1079 222.017 36.1344 519004801 519264001 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 :                                   739.32 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             274.58 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   954 sec.
    Turnaround time :                            955 sec.

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

