aklog: Couldn't determine realm of user:aklog: No credentials cache found  while getting realm
/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 84 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 = 73886
number of fields = 31
RA_SUN column already exists. File will not be modified.
Done.


Performing analysis on: 4FGL_J0449.1+1121_monthly_bin167
RA = 72.2823, Dec = 11.3569
tmin = 669859201, tmax = 672451201
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='878975', job_status='RUN', time_executed='2022-04-24 01:03:04.122777', time_epoch_executed='1650787384.12' WHERE source_name='4FGL J0449.1+1121' and cadence='monthly' and bin_id='167'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/878975

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

Retrieving the FT1 file...

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

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

Retrieving 456 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/878975/ft1_4FGL_J0449.1+1121_monthly_bin167.fits


Retrieving the FT1 file...

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

Retrieving 456 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/878975/ft1_4FGL_J0449.1+1121_monthly_bin167.fits outfile=/scratch/kocevski/878975/ft1_filteredMKT_4FGL_J0449.1+1121_monthly_bin167.fits ra=72.2823 dec=11.3569 rad=12.0 tmin=669859201.0 tmax=672451201.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 38.65
user 37.63
sys 0.89

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.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/878975/ft1_filteredMKT_4FGL_J0449.1+1121_monthly_bin167.fits evtable="EVENTS" outfile="/scratch/kocevski/878975/ft1_filtered_4FGL_J0449.1+1121_monthly_bin167.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.90
user 0.70
sys 0.19

Number of photons that the gtmktime cut: 12731

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/878975/ft1_filtered_4FGL_J0449.1+1121_monthly_bin167.fits" evtable="EVENTS" scfile=/scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits sctable="SC_DATA" outfile=/scratch/kocevski/878975/ltcube_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.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/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits
.....................!
real 155.45
user 154.79
sys 0.37

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/878975/ft1_filtered_4FGL_J0449.1+1121_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits sctable="SC_DATA" expcube=/scratch/kocevski/878975/ltcube_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.fits outfile=/scratch/kocevski/878975/expmap_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.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/878975/ltcube_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.fits
.....................!
real 193.60
user 188.05
sys 5.18

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
Extended source S 147 in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/S147.fits is the correct path to the extended template.
Added 156 point sources and 1 extended sources
If using unbinned likelihood you will need to rerun gtdiffrsp for the extended sources or rerun the makeModel function with optional argument psForce=True

Setting source of interest to:
4FGL J0449.1+1121 @ 72.2823 11.3569

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/878975/ft1_filtered_4FGL_J0449.1+1121_monthly_bin167.fits scfile=/scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits outfile=/scratch/kocevski/878975/cmap_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.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=72.2823 yref=11.3569 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.81
user 0.64
sys 0.16

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/878975/ft1_filtered_4FGL_J0449.1+1121_monthly_bin167.fits scfile=/scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits outfile=/scratch/kocevski/878975/cmap_HighResolution_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.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=72.2823 yref=11.3569 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.83
user 0.65
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/878975/ft1_filtered_4FGL_J0449.1+1121_monthly_bin167.fits evtable="EVENTS" scfile=/scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/878975/Model_4FGL_J0449.1+1121_monthly_bin167.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
adding source S 147
Working on...
/scratch/kocevski/878975/ft1_filtered_4FGL_J0449.1+1121_monthly_bin167.fits.....................!
real 2681.26
user 2673.42
sys 2.70

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/878975/ft1_filtered_4FGL_J0449.1+1121_monthly_bin167.fits', '/scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits', expMap='/scratch/kocevski/878975/expmap_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.fits', expCube='/scratch/kocevski/878975/ltcube_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/878975/Model_4FGL_J0449.1+1121_monthly_bin167.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0449.1+1121'

4FGL J0449.1+1121
   Spectrum: LogParabola
207         norm:  2.534e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-11)
208        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.389e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  4.823e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/878975/ft1_filtered_4FGL_J0449.1+1121_monthly_bin167.fits
Spacecraft file(s): /scratch/kocevski/878975/ft2_4FGL_J0449.1+1121_monthly_bin167.fits
Exposure map: /scratch/kocevski/878975/expmap_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.fits
Exposure cube: /scratch/kocevski/878975/ltcube_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/878975/Model_4FGL_J0449.1+1121_monthly_bin167.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) = 134406.383061

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    19.422       1.0000         .10000E-03   10000.    
     2 'Prefactor '    12.661       1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10086E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .10055E-03   1.0000         .10000E-03   10000.    
     5 'Prefactor '    11.700       1.0000         .10000E-03   10000.    
     6 'Prefactor '    2.9824       1.0000         .10000E-03   10000.    
     7 'norm      '    .21910       1.0000         .10000E-03   10000.    
     8 'Prefactor '    30.437       1.0000         .10000E-03   10000.    
     9 'norm      '    2.0910       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    3.4969       1.0000         .10000E-03   10000.    
    12 'Prefactor '    8.5440       1.0000         .10000E-03   10000.    
    13 'Prefactor '    6.0354       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .68235       1.0000         .10000E-03   10000.    
    15 'norm      '    .59685       1.0000         .10000E-03   10000.    
    16 'norm      '    5.7764       1.0000         .10000E-03   10000.    
    17 'Prefactor '    1.0160       1.0000         .10000E-03   10000.    
    18 'norm      '    .72954       1.0000         .10000E-03   10000.    
    19 'Prefactor '    1.4492       1.0000         .10000E-03   10000.    
    20 'Prefactor '    30.936       1.0000         .10000E-03   10000.    
    21 'norm      '    .10368E-03   1.0000         .10000E-03   10000.    
    22 'norm      '    .86536       1.0000         .10000E-03   10000.    
    23 'Prefactor '    2.0680       1.0000         .10000E-03   10000.    
    24 'Prefactor '    10.267       1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.0341       1.0000         .10000E-01   10.000    
    26 'Prefactor '    1.0225       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   134406.4     FROM MIGRAD    STATUS=CONVERGED    626 CALLS     3304 TOTAL
                     EDM=   .12E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  1.2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     19.419        5.4693        .32551E-06    .27119E-03
   2  Prefactor     12.664        7.8519       -.39137E-05    .36967E-03
   3  Prefactor     .10000E-03    4.9492        .32581E-06** at limit **
   4  norm          .10000E-03    6.8455       -.30005E-06** at limit **
   5  Prefactor     11.695        7.6598        .56206E-05    .17751E-02
   6  Prefactor     2.9837        3.3484        .52276E-06    .32828E-04
   7  norm          .22160        .33543       -.66511E-06    .43664E-02
   8  Prefactor     30.434        10.704        .18021E-05    .26332E-03
   9  norm          2.0910        .73164        .40326E-07    .64051E-03
  10  Prefactor     .10000E-03    .66561       -.91567E-07** at limit **
  11  norm          3.4969        .75137        .20279E-07    .78809E-03
  12  Prefactor     8.5425        9.0319        .20915E-05    .13578E-03
  13  Prefactor     6.0334        8.7595        .31711E-05    .98761E-04
  14  Prefactor     .68214        1.3701        .13385E-06   -.34316E-03
  15  norm          .59685        .23108       -.94850E-07   -.45573E-02
  16  norm          5.7766        1.3260       -.13344E-07   -.15331E-03
  17  Prefactor     1.0162        .86812        .18041E-07    .17089E-04
  18  norm          .73114        .67281       -.85976E-07   -.10669E-02
  19  Prefactor     1.4491        1.0102       -.22855E-06   -.38382E-03
  20  Prefactor     30.962        16.823        .72966E-05    .39822E-04
  21  norm          .10000E-03    .22617       -.45456E-07** at limit **
  22  norm          .86544        .34248       -.12361E-07   -.87286E-03
  23  Prefactor     2.0594        11.222        .63859E-05    .16421E-03
  24  Prefactor     10.276        13.485       -.28679E-05   -.29989E-03
  25  Normalizat    1.0341        .95954E-01   -.18404E-05    .11687E-02
  26  Prefactor     1.0225        .19690E-01    .24998E-07    .24934E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 19.4192
  Prefactor  = 12.6644
  Prefactor  = 0.0001
  norm       = 0.0001
  Prefactor  = 11.6948
  Prefactor  = 2.98374
  norm       = 0.221601
  Prefactor  = 30.4344
  norm       = 2.09097
  Prefactor  = 0.0001
  norm       = 3.49694
  Prefactor  = 8.54246
  Prefactor  = 6.0334
  Prefactor  = 0.682144
  norm       = 0.596847
  norm       = 5.77663
  Prefactor  = 1.01617
  norm       = 0.731139
  Prefactor  = 1.44909
  Prefactor  = 30.9617
  norm       = 0.0001
  norm       = 0.86544
  Prefactor  = 2.05936
  Prefactor  = 10.2758
  Normalizat = 1.03405
  Prefactor  = 1.02252
 **********
 **   18 **HESSE 
 **********

 FCN=   134406.4     FROM HESSE     STATUS=OK           476 CALLS     3780 TOTAL
                     EDM=   .26E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     19.419        5.4648        .90884E-04   -1.4826    
   2  Prefactor     12.664        7.8138        .11258E-03   -1.4996    
   3  Prefactor     .10000E-03    4.9797        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    7.1453        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  Prefactor     11.695        7.9523        .11712E-03   -1.5024    
   6  Prefactor     2.9837        3.3574        .11754E-02   -1.5362    
   7  norm          .22160        .83086        .21734E-02   -1.5614    
   8  Prefactor     30.434        10.695        .72625E-04   -1.4604    
   9  norm          2.0910        .72879        .17811E-03   -1.5419    
  10  Prefactor     .10000E-03    .68224        .36285E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          3.4969        .74785        .13900E-03   -1.5334    
  12  Prefactor     8.5425        8.9480        .13714E-03   -1.5123    
  13  Prefactor     6.0334        8.5355        .16344E-03   -1.5217    
  14  Prefactor     .68214        1.5732        .23988E-02   -1.5543    
  15  norm          .59685        .19792        .88914E-03   -1.5553    
  16  norm          5.7766        1.3063        .83556E-03   -1.5227    
  17  Prefactor     1.0162        .85254        .29911E-03   -1.5506    
  18  norm          .73114        1.2380        .24349E-02   -1.5537    
  19  Prefactor     1.4491        1.0087        .29621E-03   -1.5467    
  20  Prefactor     30.962        16.668        .72038E-04   -1.4595    
  21  norm          .10000E-03    1.0516        .33565E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  norm          .86544        .33034        .12745E-03   -1.5522    
  23  Prefactor     2.0594        9.6442        .28729E-03   -1.5421    
  24  Prefactor     10.276        12.520        .12505E-03   -1.5067    
  25  Normalizat    1.0341        .99014E-01    .60711E-03   -.91898    
  26  Prefactor     1.0225        .21028E-01    .14156E-03   -.91983    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.55236e-07
Minuit parameter uncertainties:
  1  5.46497
  2  7.81446
  3  7.40939e-06
  4  5.19405e-05
  5  7.953
  6  3.35757
  7  0.830898
  8  10.6959
  9  0.728795
  10  2.36676e-06
  11  0.747853
  12  8.94941
  13  8.53724
  14  1.57333
  15  0.19792
  16  1.3063
  17  0.85255
  18  1.23807
  19  1.00867
  20  16.67
  21  6.69568e-06
  22  0.330342
  23  8.91526
  24  12.5234
  25  0.0990321
  26  0.0210277
Done.

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

Extracting fit parameters...

4FGL J0449.1+1121
   Spectrum: LogParabola
207         norm:  3.497e+00  7.479e-01  1.000e-04  1.000e+04 ( 1.000e-11)
208        alpha:  2.382e+00  0.000e+00  0.000e+00  5.000e+00 ( 1.000e+00) fixed
209         beta:  1.389e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  4.823e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.023e+00  2.103e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.034e+00  9.903e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 33.22
Ra Dec: 72.282 11.357
Photon Index (Fixed Index): 2.38 +/- 0.00
Photon Flux (Fixed Index): 9.11e-08 +/- 1.95e-08
Energy Flux (Fixed Index): 2.72e-05 +/- 5.82e-06

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) = 134406.216938
delta logL = 0.148974188312

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 134406.205942
delta logL = 0.159969810629

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    3.4328       1.0000         .10000E-03   10000.    
     2 'alpha     '    2.5059       1.0000          .0000       5.0000    
     3 'Normalizat'    1.0245       1.0000         .10000E-01   10.000    
     4 'Prefactor '    1.0238       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5260E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.
 MACHINE ACCURACY LIMITS FURTHER IMPROVEMENT.

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   134406.2     FROM MIGRAD    STATUS=CONVERGED     98 CALLS      289 TOTAL
                     EDM=   .11E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          3.4328        .75745        .13481E-03    .12036E-02
   2  alpha         2.5059        .22656        .24733E-01    .11599E-02
   3  Normalizat    1.0245        .88658E-01    .60961E-03   -.17903E-05
   4  Prefactor     1.0238        .20351E-01    .14149E-03   -.51426E-05
                               ERR DEF=  .500    
Final values: 
  norm       = 3.43284
  alpha      = 2.50592
  Normalizat = 1.02447
  Prefactor  = 1.02376
 **********
 **   18 **HESSE 
 **********

 FCN=   134406.2     FROM HESSE     STATUS=OK            25 CALLS      314 TOTAL
                     EDM=   .28E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          3.4328        .74461        .53925E-05   -1.5337    
   2  alpha         2.5059        .22257        .49466E-02    .23672E-02
   3  Normalizat    1.0245        .88665E-01    .24384E-04   -.92215    
   4  Prefactor     1.0238        .20346E-01    .56594E-05   -.91942    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.83029e-11
Minuit parameter uncertainties:
  1  0.744608
  2  0.222862
  3  0.0886774
  4  0.0203459
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/878975': 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) = 134406.205942
delta logL = 0.159969818895

Extracting fit parameters...

4FGL J0449.1+1121
   Spectrum: LogParabola
207         norm:  3.433e+00  7.446e-01  1.000e-04  1.000e+04 ( 1.000e-11)
208        alpha:  2.506e+00  2.229e-01  0.000e+00  5.000e+00 ( 1.000e+00)
209         beta:  1.389e-01  0.000e+00  0.000e+00  1.000e+01 ( 1.000e+00) fixed
210           Eb:  4.823e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
519    Prefactor:  1.024e+00  2.035e-02  0.000e+00  1.000e+01 ( 1.000e+00)
520        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
521        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
518   Normalization:  1.024e+00  8.868e-02  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 33.61
Ra Dec: 72.282 11.357
Photon Index (Free Index): 2.51 +/- 0.22
Photon Flux (Free Index): 9.93e-08 +/- 2.48e-08
Energy Flux (Free Index): 2.70e-05 +/- 5.68e-06

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  2.220e+00 [aplpy.core]
Saving /scratch/kocevski/878975/cmap_HighResolution_669859201_672451201_4FGL_J0449.1+1121_monthly_bin167.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='9.11e-08', energy_flux2='2.70e-05', photon_flux_error='1.95e-08', dlogl='1.60e-01', energy_flux='2.72e-05', photon_flux2='9.93e-08', job_status='DONE', time_completed='2022-04-24 03:44:14.730960', photon_index_error2='0.22', photon_index2='2.51', ts='33.22', fit_tolerance='1e-08', GAL='1.02', photon_index_error='0.00', energy_flux_error2='5.68e-06', EG='1.03', time_epoch_completed='1650797054.73', return_code='0', job_id='878975', GAL2='1.02', EG2='1.02', return_code2='0', energy_flux_error='5.82e-06', photon_flux_error2='2.48e-08', ts2='33.61', photon_index='2.38' WHERE bin_id='167' AND source_name='4FGL J0449.1+1121' AND cadence='monthly';

Database successfully updated.


Analysis Complete.


Sun Apr 24 03:44:14 PDT 2022


------------------------------------------------------------
Sender: LSF System <lsf@bullet0238>
Subject: Job 878975: <4FGL_J0449.1+1121_monthly_bin167> in cluster <slac> Done

Job <4FGL_J0449.1+1121_monthly_bin167> was submitted from host <rhel6-64p> by user <kocevski> in cluster <slac> at Sun Apr 24 00:55:38 2022
Job was executed on host(s) <bullet0238>, in queue <medium>, as user <kocevski> in cluster <slac> at Sun Apr 24 01:01:27 2022
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Sun Apr 24 01:01:27 2022
Terminated at Sun Apr 24 03:44:15 2022
Results reported at Sun Apr 24 03:44:15 2022

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0449.1+1121_monthly_bin167 72.2823 11.3569 669859201 672451201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0449.1+1121 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   9616.00 sec.
    Max Memory :                                 1202 MB
    Average Memory :                             490.38 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   9768 sec.
    Turnaround time :                            10117 sec.

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

