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


Performing analysis on: 4FGL_J1448.0+3608_daily_bin1031
RA = 222.017, Dec = 36.1344
tmin = 506563201, tmax = 506822401
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='790744', job_status='RUN', time_executed='2021-09-10 09:57:49.895554', time_epoch_executed='1631293069.9' WHERE source_name='4FGL J1448.0+3608' and cadence='daily' and bin_id='1031'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/790744

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/790744/ft1_4FGL_J1448.0+3608_daily_bin1031.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/790744/ft2_4FGL_J1448.0+3608_daily_bin1031.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/790744/ft1_4FGL_J1448.0+3608_daily_bin1031.fits outfile=/scratch/kocevski/790744/ft1_filteredMKT_4FGL_J1448.0+3608_daily_bin1031.fits ra=222.017 dec=36.1344 rad=12.0 tmin=506563201.0 tmax=506822401.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.40
user 3.15
sys 0.23

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

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

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

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/790744/ft1_filtered_4FGL_J1448.0+3608_daily_bin1031.fits evtable="EVENTS" scfile=/scratch/kocevski/790744/ft2_4FGL_J1448.0+3608_daily_bin1031.fits sctable="SC_DATA" expcube=/scratch/kocevski/790744/ltcube_506563201_506822401_4FGL_J1448.0+3608_daily_bin1031.fits outfile=/scratch/kocevski/790744/expmap_506563201_506822401_4FGL_J1448.0+3608_daily_bin1031.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/790744/ltcube_506563201_506822401_4FGL_J1448.0+3608_daily_bin1031.fits
.....................!
real 193.58
user 187.54
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/790744/ft1_filtered_4FGL_J1448.0+3608_daily_bin1031.fits scfile=/scratch/kocevski/790744/ft2_4FGL_J1448.0+3608_daily_bin1031.fits outfile=/scratch/kocevski/790744/cmap_506563201_506822401_4FGL_J1448.0+3608_daily_bin1031.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.37
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/790744/ft1_filtered_4FGL_J1448.0+3608_daily_bin1031.fits scfile=/scratch/kocevski/790744/ft2_4FGL_J1448.0+3608_daily_bin1031.fits outfile=/scratch/kocevski/790744/cmap_HighResolution_506563201_506822401_4FGL_J1448.0+3608_daily_bin1031.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.55
user 0.38
sys 0.16

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

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

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10015E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10580E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10217E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11469E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    1.8783       1.0000         .10000E-03   10000.    
     9 'Prefactor '    31.617       1.0000         .10000E-03   10000.    
    10 'norm      '    2.2098       1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    9.3544       1.0000         .10000E-03   10000.    
    13 'Prefactor '    10.249       1.0000         .10000E-03   10000.    
    14 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    7.3580       1.0000         .10000E-03   10000.    
    17 'norm      '    .10834E-03   1.0000         .10000E-03   10000.    
    18 'norm      '    .10003E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10031E-03   1.0000         .10000E-03   10000.    
    20 'Prefactor '    37.418       1.0000         .10000E-03   10000.    
    21 'Prefactor '    .10006E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    7.4792       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10232E-03   1.0000         .10000E-03   10000.    
    24 'norm      '    2.7159       1.0000         .10000E-03   10000.    
    25 'Prefactor '    3.0537       1.0000         .10000E-03   10000.    
    26 'Prefactor '    .10008E-03   1.0000         .10000E-03   10000.    
    27 'Prefactor '    .10041E-03   1.0000         .10000E-03   10000.    
    28 'norm      '    8.1113       1.0000         .10000E-03   10000.    
    29 'Normalizat'    1.1829       1.0000         .10000E-01   10.000    
    30 'Prefactor '    .66767       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=   5733.512     FROM MIGRAD    STATUS=CONVERGED    739 CALLS     3849 TOTAL
                     EDM=   .54E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.4%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.944        .69121E-06** at limit **
   2  Prefactor     .10000E-03    34.773       -.34244E-05** at limit **
   3  Prefactor     .10000E-03    11.509        .31778E-05** at limit **
   4  norm          .10000E-03    2.2915        .40320E-07** at limit **
   5  Prefactor     .10000E-03    9.7594       -.12526E-05** at limit **
   6  Prefactor     .10000E-03    25.297        .99684E-05** at limit **
   7  Prefactor     .10000E-03    .85686       -.91194E-07** at limit **
   8  norm          1.8704        10.158       -.15480E-05   -.37665E-03
   9  Prefactor     31.613        27.561       -.32689E-05   -.44688E-04
  10  norm          2.2094        3.5503        .17204E-06   -.39290E-03
  11  Prefactor     .10000E-03    12.979       -.46348E-05** at limit **
  12  norm          9.3546        4.8070       -.80471E-10   -.20809E-04
  13  Prefactor     10.254        30.481        .80058E-05   -.10792E-04
  14  norm          .10000E-03    2.8136        .19772E-06** at limit **
  15  Prefactor     .10000E-03    22.291       -.10569E-05** at limit **
  16  Prefactor     7.3583        6.5900        .71089E-08    .69714E-05
  17  norm          .10000E-03    .83363       -.13551E-06** at limit **
  18  norm          .10000E-03    .82426       -.48082E-07** at limit **
  19  Prefactor     .10000E-03    2.2196       -.51227E-07** at limit **
  20  Prefactor     37.417        54.642       -.19665E-05    .81964E-05
  21  Prefactor     .10000E-03    4.3278        .52059E-06** at limit **
  22  Prefactor     7.4836        16.984        .17143E-05   -.49496E-04
  23  Prefactor     .10000E-03    5.6630        .56029E-06** at limit **
  24  norm          2.7159        1.3338        .39316E-07   -.45679E-04
  25  Prefactor     3.0543        9.7387       -.87670E-06   -.29584E-03
  26  Prefactor     .10000E-03    22.216       -.37136E-05** at limit **
  27  Prefactor     .10000E-03    11.653        .26119E-05** at limit **
  28  norm          8.1134        12.143       -.21991E-06   -.10086E-03
  29  Normalizat    1.1827        .16417       -.82313E-06   -.26697E-04
  30  Prefactor     .66777        .16228        .74817E-06   -.92869E-04
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 1.87037
  Prefactor  = 31.6127
  norm       = 2.20936
  Prefactor  = 0.0001
  norm       = 9.35462
  Prefactor  = 10.2539
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 7.35828
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 37.4166
  Prefactor  = 0.0001
  Prefactor  = 7.48363
  Prefactor  = 0.0001
  norm       = 2.71593
  Prefactor  = 3.05434
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 8.11343
  Normalizat = 1.18269
  Prefactor  = 0.667772
 **********
 **   18 **HESSE 
 **********

 FCN=   5733.512     FROM HESSE     STATUS=OK           584 CALLS     4433 TOTAL
                     EDM=   .11E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    12.040        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    35.694        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    11.509        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    2.3877        .22375E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     .10000E-03    9.7674        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     .10000E-03    25.875        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    .86324        .68439E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          1.8704        10.525        .30379E-03   -1.5434    
   9  Prefactor     31.613        27.711        .71260E-04   -1.4583    
  10  norm          2.2094        3.5262        .17513E-03   -1.5411    
  11  Prefactor     .10000E-03    12.891        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          9.3546        4.8086        .11532E-03   -1.5096    
  13  Prefactor     10.254        30.329        .12516E-03   -1.5067    
  14  norm          .10000E-03    2.8163        .12404E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     .10000E-03    22.774        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     7.3583        6.4150        .14786E-03   -1.5165    
  17  norm          .10000E-03    1.2137        .12851E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  18  norm          .10000E-03    .82725        .67126E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    2.2240        .11012E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  Prefactor     37.417        54.275        .65520E-04   -1.4484    
  21  Prefactor     .10000E-03    4.3946        .15378E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     7.4836        16.947        .14665E-03   -1.5161    
  23  Prefactor     .10000E-03    5.6789        .17565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  norm          2.7159        1.3321        .49213E-04   -1.5378    
  25  Prefactor     3.0543        9.7974        .23216E-03   -1.5358    
  26  Prefactor     .10000E-03    22.145        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  27  Prefactor     .10000E-03    11.651        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  28  norm          8.1134        12.135        .14077E-03   -1.5138    
  29  Normalizat    1.1827        .18942        .20113E-03   -.87139    
  30  Prefactor     .66777        .18649        .26937E-03   -1.0480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.09287e-09
Minuit parameter uncertainties:
  1  9.55609e-06
  2  8.89133e-05
  3  1.11374e-05
  4  1.78523e-06
  5  3.02264e-05
  6  6.30257e-05
  7  7.18032e-07
  8  8.87572
  9  27.7223
  10  3.52649
  11  1.17513e-05
  12  4.80884
  13  30.3743
  14  3.36736e-07
  15  3.96795e-05
  16  6.41558
  17  2.03144e-05
  18  2.20649e-07
  19  2.14041e-06
  20  54.3464
  21  2.55412e-06
  22  16.9578
  23  1.22366e-05
  24  1.33208
  25  9.80253
  26  2.6891e-05
  27  8.17398e-06
  28  12.1388
  29  0.189533
  30  0.186662
Done.

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

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  3.367e-07  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.678e-01  1.867e-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.183e+00  1.895e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/790744/likelihoodResults_506563201_506822401_4FGL_J1448.0+3608_daily_bin1031.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): 102
logL (Free Index) = 5733.51365043
delta logL = -0.00161377153745

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 5733.51203664
delta logL = 1.8749233277e-08

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     2 'alpha     '    1.5940       1.0000          .0000       5.0000    
     3 'Normalizat'    1.1827       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .66777       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=   5733.512     FROM MIGRAD    STATUS=CONVERGED     86 CALLS      233 TOTAL
                     EDM=   .13E-08    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    615.18        .12421E-02** at limit **
   2  alpha         1.4643        4.0998        .18092        .43294E-07
   3  Normalizat    1.1827        .10502        .20113E-03    .19737E-03
   4  Prefactor     .66777        .10902        .26937E-03    .21360E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  alpha      = 1.4643
  Normalizat = 1.18269
  Prefactor  = 0.667774
 **********
 **   18 **HESSE 
 **********

 FCN=   5733.512     FROM HESSE     STATUS=OK            27 CALLS      260 TOTAL
                     EDM=   .11E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    2.8914        .24841E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  alpha         1.4643        3.2331        .72370E-01   -.42715    
   3  Normalizat    1.1827        .17746        .40227E-04   -.87139    
   4  Prefactor     .66777        .18417        .10775E-04   -1.0480    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.08204e-10
Minuit parameter uncertainties:
  1  3.26116e-05
  2  178.129
  3  0.177549
  4  0.184338
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/790744': 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) = 5733.51203637
delta logL = 2.88513547275e-07

Extracting fit parameters...

4FGL J1448.0+3608
   Spectrum: LogParabola
293         norm:  1.000e-04  3.261e-05  1.000e-04  1.000e+04 ( 1.000e-13)
294        alpha:  1.464e+00  1.781e+02  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.678e-01  1.843e-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.183e+00  1.775e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
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/790744/cmap_HighResolution_506563201_506822401_4FGL_J1448.0+3608_daily_bin1031.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.84e-05', job_status='DONE', photon_flux_upper_limit='2.02e-08', time_completed='2021-09-10 10:11:22.763034', job_id='790744', GAL2='0.67', fit_tolerance='1e-08', EG2='1.18', EG='1.18', time_epoch_completed='1631293882.76', return_code2='0', ts='-0.00', comment='SUCCESS', return_code='0', GAL='0.67', dlogl='2.89e-07', ts2='-0.00', photon_index_error='0.00', photon_index='1.60' WHERE bin_id='1031' AND source_name='4FGL J1448.0+3608' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 10:11:22 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 790744: <4FGL_J1448.0+3608_daily_bin1031> in cluster <slac> Done

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

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1448.0+3608_daily_bin1031 222.017 36.1344 506563201 506822401 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 :                                   811.00 sec.
    Max Memory :                                 1257 MB
    Average Memory :                             334.50 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   830 sec.
    Turnaround time :                            831 sec.

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

