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


Performing analysis on: 4FGL_J1446.3+3111_daily_bin1520
RA = 221.591, Dec = 31.1955
tmin = 633312001, tmax = 633571201
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='776743', job_status='RUN', time_executed='2021-09-10 09:15:22.709151', time_epoch_executed='1631290522.71' WHERE source_name='4FGL J1446.3+3111' and cadence='daily' and bin_id='1520'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/776743

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/776743/ft1_4FGL_J1446.3+3111_daily_bin1520.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/776743/ft1_4FGL_J1446.3+3111_daily_bin1520.fits outfile=/scratch/kocevski/776743/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1520.fits ra=221.591 dec=31.1955 rad=12.0 tmin=633312001.0 tmax=633571201.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.69
user 3.45
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.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/776743/ft1_filteredMKT_4FGL_J1446.3+3111_daily_bin1520.fits evtable="EVENTS" outfile="/scratch/kocevski/776743/ft1_filtered_4FGL_J1446.3+3111_daily_bin1520.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.33
sys 0.15

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/776743/ft1_filtered_4FGL_J1446.3+3111_daily_bin1520.fits" evtable="EVENTS" scfile=/scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits sctable="SC_DATA" outfile=/scratch/kocevski/776743/ltcube_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.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/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits
.....................!
real 11.61
user 11.26
sys 0.31

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/776743/ft1_filtered_4FGL_J1446.3+3111_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits sctable="SC_DATA" expcube=/scratch/kocevski/776743/ltcube_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.fits outfile=/scratch/kocevski/776743/expmap_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.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/776743/ltcube_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.fits
.....................!
real 190.76
user 185.96
sys 4.45

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 165 point sources and 0 extended sources

Setting source of interest to:
4FGL J1446.3+3111 @ 221.591 31.1955

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/776743/ft1_filtered_4FGL_J1446.3+3111_daily_bin1520.fits scfile=/scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits outfile=/scratch/kocevski/776743/cmap_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.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=221.591 yref=31.1955 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/776743/ft1_filtered_4FGL_J1446.3+3111_daily_bin1520.fits scfile=/scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits outfile=/scratch/kocevski/776743/cmap_HighResolution_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.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=221.591 yref=31.1955 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.57
user 0.37
sys 0.17

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/776743/ft1_filtered_4FGL_J1446.3+3111_daily_bin1520.fits evtable="EVENTS" scfile=/scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/776743/Model_4FGL_J1446.3+3111_daily_bin1520.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/776743/ft1_filtered_4FGL_J1446.3+3111_daily_bin1520.fits.....................!
real 50.54
user 49.25
sys 1.13

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/776743/ft1_filtered_4FGL_J1446.3+3111_daily_bin1520.fits', '/scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits', expMap='/scratch/kocevski/776743/expmap_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.fits', expCube='/scratch/kocevski/776743/ltcube_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/776743/Model_4FGL_J1446.3+3111_daily_bin1520.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.3+3111'

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.552e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/776743/ft1_filtered_4FGL_J1446.3+3111_daily_bin1520.fits
Spacecraft file(s): /scratch/kocevski/776743/ft2_4FGL_J1446.3+3111_daily_bin1520.fits
Exposure map: /scratch/kocevski/776743/expmap_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.fits
Exposure cube: /scratch/kocevski/776743/ltcube_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/776743/Model_4FGL_J1446.3+3111_daily_bin1520.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) = 6682.85521402

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .10104E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
     3 'norm      '    2.0596       1.0000         .10000E-03   10000.    
     4 'Prefactor '    2.1614       1.0000         .10000E-03   10000.    
     5 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     6 'Prefactor '    14.026       1.0000         .10000E-03   10000.    
     7 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
     8 'norm      '    6.4170       1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10197E-03   1.0000         .10000E-03   10000.    
    10 'norm      '    15.499       1.0000         .10000E-03   10000.    
    11 'norm      '    .10011E-03   1.0000         .10000E-03   10000.    
    12 'Prefactor '    51.066       1.0000         .10000E-03   10000.    
    13 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    14 'Prefactor '    41.930       1.0000         .10000E-03   10000.    
    15 'norm      '    .10007E-03   1.0000         .10000E-03   10000.    
    16 'Prefactor '    44.973       1.0000         .10000E-03   10000.    
    17 'Prefactor '    5.8899       1.0000         .10000E-03   10000.    
    18 'Prefactor '    2.4870       1.0000         .10000E-03   10000.    
    19 'norm      '    1.7018       1.0000         .10000E-03   10000.    
    20 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    21 'Prefactor '    2.8896       1.0000         .10000E-03   10000.    
    22 'norm      '    .12622       1.0000         .10000E-03   10000.    
    23 'Prefactor '    .10002E-03   1.0000         .10000E-03   10000.    
    24 'Prefactor '    16.852       1.0000         .10000E-03   10000.    
    25 'Prefactor '    15.985       1.0000         .10000E-03   10000.    
    26 'Normalizat'    1.1315       1.0000         .10000E-01   10.000    
    27 'Prefactor '    .73798       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6682.793     FROM MIGRAD    STATUS=CONVERGED     93 CALLS     2294 TOTAL
                     EDM=   .79E-10  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  3.1%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    9.4854        .11176E-05** at limit **
   2  Prefactor     .10000E-03    3.2630        .19987E-05** at limit **
   3  norm          2.0595        3.7850        .29633E-05    .29887E-03
   4  Prefactor     2.1713        1.7761        .14730E-05   -.93727E-03
   5  Prefactor     .10000E-03    16.773        .79375E-06** at limit **
   6  Prefactor     14.028        4.3737       -.23177E-05   -.17257E-02
   7  norm          .10000E-03    3.2591       -.12824E-05** at limit **
   8  norm          6.4169        2.8002       -.90086E-08   -.36063E-04
   9  Prefactor     .10000E-03    44.849        .52772E-06** at limit **
  10  norm          15.498        1.0849       -.23786E-06    .16634E-03
  11  norm          .10000E-03    3.4366        .48227E-06** at limit **
  12  Prefactor     51.058        1.6223       -.77511E-07    .18040E-02
  13  norm          .10000E-03    1.0603       -.22034E-06** at limit **
  14  Prefactor     41.935        1.2250       -.34105E-07    .49472E-03
  15  norm          .10000E-03    3.6339       -.67551E-06** at limit **
  16  Prefactor     44.973        1.0062       -.28053E-07    .61250E-03
  17  Prefactor     5.8896        1.0445        .23817E-06   -.29863E-03
  18  Prefactor     2.4854        1.4333        .14077E-05   -.73453E-03
  19  norm          1.7020        1.4473       -.42567E-06    .18413E-04
  20  Prefactor     .10000E-03    173.10        .38321E-08** at limit **
  21  Prefactor     2.8891        1.8708       -.20929E-05    .58386E-03
  22  norm          .12615        .50203       -.29858E-06    .17834E-03
  23  Prefactor     .10000E-03    2.6474        .18396E-07** at limit **
  24  Prefactor     16.854        1.0241       -.78423E-07    .55320E-03
  25  Prefactor     15.986        1.0063       -.43120E-07    .32620E-03
  26  Normalizat    1.1313        .17990        .85487E-06   -.12558E-04
  27  Prefactor     .73816        .16224       -.44901E-07   -.13332E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 2.05953
  Prefactor  = 2.17126
  Prefactor  = 0.0001
  Prefactor  = 14.0276
  norm       = 0.0001
  norm       = 6.41689
  Prefactor  = 0.000100002
  norm       = 15.4983
  norm       = 0.0001
  Prefactor  = 51.0577
  norm       = 0.0001
  Prefactor  = 41.9351
  norm       = 0.0001
  Prefactor  = 44.9731
  Prefactor  = 5.88961
  Prefactor  = 2.48535
  norm       = 1.70199
  Prefactor  = 0.000100001
  Prefactor  = 2.88907
  norm       = 0.126146
  Prefactor  = 0.0001
  Prefactor  = 16.8543
  Prefactor  = 15.9856
  Normalizat = 1.13133
  Prefactor  = 0.738159
 **********
 **   18 **HESSE 
 **********

 FCN=   6682.793     FROM HESSE     STATUS=OK           548 CALLS     2842 TOTAL
                     EDM=   .23E-06    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    9.0905        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.0418        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  norm          2.0595        4.0235        .71990E-02   -1.5421    
   4  Prefactor     2.1713        23.309        .70045E-02   -1.5413    
   5  Prefactor     .10000E-03    16.774        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   6  Prefactor     14.028        4.6963        .26737E-02   -1.4959    
   7  norm          .10000E-03    6.0436        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  norm          6.4169        2.8089        .39610E-02   -1.5201    
   9  Prefactor     .10000E-03    44.684        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  norm          15.498        4.7795        .25434E-02   -1.4920    
  11  norm          .10000E-03    3.4062        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  Prefactor     51.058        39.562        .14030E-02   -1.4278    
  13  norm          .10000E-03    1.0567        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  Prefactor     41.935        27.166        .15477E-02   -1.4412    
  15  norm          .10000E-03    3.6308        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  Prefactor     44.973        18.467        .14946E-02   -1.4366    
  17  Prefactor     5.8896        7.7468        .41368E-02   -1.5223    
  18  Prefactor     2.4854        7.4774        .64802E-02   -1.5393    
  19  norm          1.7020        1.5625        .80609E-02   -1.5447    
  20  Prefactor     .10000E-03    172.59        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  21  Prefactor     2.8891        5.6535        .59768E-02   -1.5368    
  22  norm          .12615        .52262        .96355E-02   -1.5637    
  23  Prefactor     .10000E-03    2.6227        .90712E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  24  Prefactor     16.854        17.688        .24391E-02   -1.4887    
  25  Prefactor     15.986        16.168        .25044E-02   -1.4908    
  26  Normalizat    1.1313        .16631        .52933E-01   -.88752    
  27  Prefactor     .73816        .14746        .42905E-01   -1.0205    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 2.28528e-07
Minuit parameter uncertainties:
  1  1.79068e-05
  2  8.58572e-05
  3  4.02403
  4  14.2349
  5  1.63494e-05
  6  4.69645
  7  8.54471e-05
  8  2.80894
  9  0.000646262
  10  4.77959
  11  8.18399e-06
  12  39.5828
  13  4.55624e-06
  14  27.1736
  15  1.31502e-05
  16  18.4692
  17  7.74813
  18  7.48016
  19  1.56257
  20  0.000821225
  21  5.65455
  22  0.513328
  23  5.43464e-07
  24  17.6931
  25  16.1729
  26  0.166386
  27  0.147536
Done.

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

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  4.194e+01  2.717e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  2.556e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  7.382e-01  1.475e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.131e+00  1.664e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 4.86
Ra Dec: 221.591 31.195
Photon Index (Fixed Index): 2.56 +/- 0.00
Photon Flux (Fixed Index): 4.55e-08 +/- 2.95e-08
Energy Flux (Fixed Index): 1.25e-05 +/- 8.07e-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) = 6680.07931531
delta logL = 2.71339601519

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 6680.05226791
delta logL = 2.74044340873

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    50.113       1.0000         .10000E-03   10000.    
     2 'Index     '    1.4736       1.0000          .0000       10.000    
     3 'Normalizat'    1.1596       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .72199       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5300E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6680.052     FROM MIGRAD    STATUS=CONVERGED     61 CALLS      224 TOTAL
                     EDM=   .54E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     50.135        30.595        .14162E-02   -.55710E-05
   2  Index         1.4735        .29632        .16163       -.81583E-04
   3  Normalizat    1.1596        .15370        .52351E-01    .37443E-04
   4  Prefactor     .72200        .14150        .42693E-01   -.14097E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 50.1354
  Index      = 1.47349
  Normalizat = 1.15962
  Prefactor  = 0.722003
 **********
 **   18 **HESSE 
 **********

 FCN=   6680.052     FROM HESSE     STATUS=OK            31 CALLS      255 TOTAL
                     EDM=   .19E-10    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     50.135        36.480        .56650E-04   -1.4291    
   2  Index         1.4735        .38310        .65991E-02   -.78285    
   3  Normalizat    1.1596        .17422        .23146E-03   -.87860    
   4  Prefactor     .72200        .16034        .26268E-03   -1.0267    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.89221e-11
Minuit parameter uncertainties:
  1  36.4963
  2  0.383853
  3  0.17431
  4  0.160442
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/776743': 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) = 6680.05226729
delta logL = 2.74044403142

Extracting fit parameters...

4FGL J1446.3+3111
   Spectrum: PowerLaw
268    Prefactor:  5.014e+01  3.650e+01  1.000e-04  1.000e+04 ( 1.000e-13)
269        Index:  1.473e+00  3.839e-01  0.000e+00  1.000e+01 (-1.000e+00)
270        Scale:  7.435e+02  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
527    Prefactor:  7.220e-01  1.604e-01  0.000e+00  1.000e+01 ( 1.000e+00)
528        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
529        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
526   Normalization:  1.160e+00  1.743e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 10.33
Ra Dec: 221.591 31.195
Photon Index (Free Index): 1.47 +/- 0.38
Photon Flux (Free Index): 1.96e-08 +/- 1.50e-08
Energy Flux (Free Index): 6.77e-05 +/- 6.87e-05

Creating a high resolution counts map...
INFO: Auto-setting vmin to -2.500e-04 [aplpy.core]
INFO: Auto-setting vmax to  2.775e-03 [aplpy.core]
Saving /scratch/kocevski/776743/cmap_HighResolution_633312001_633571201_4FGL_J1446.3+3111_daily_bin1520.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET comment='SUCCESS', photon_flux='4.55e-08', energy_flux2='6.77e-05', photon_flux_error='2.95e-08', dlogl='2.74e+00', energy_flux='1.25e-05', photon_flux2='1.96e-08', job_status='DONE', time_completed='2021-09-10 09:25:10.814944', photon_index_error2='0.38', photon_index2='1.47', ts='4.86', fit_tolerance='1e-08', GAL='0.74', photon_index_error='0.00', energy_flux_error2='6.87e-05', EG='1.13', time_epoch_completed='1631291110.82', return_code='0', job_id='776743', GAL2='0.72', EG2='1.16', return_code2='0', energy_flux_error='8.07e-06', photon_flux_error2='1.50e-08', ts2='10.33', photon_index='2.56' WHERE bin_id='1520' AND source_name='4FGL J1446.3+3111' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 09:25:10 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0235>
Subject: Job 776743: <4FGL_J1446.3+3111_daily_bin1520> in cluster <slac> Done

Job <4FGL_J1446.3+3111_daily_bin1520> was submitted from host <rhel6-64q> by user <kocevski> in cluster <slac> at Fri Sep 10 09:11:16 2021
Job was executed on host(s) <bullet0235>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 09:11:18 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:11:18 2021
Terminated at Fri Sep 10 09:25:11 2021
Results reported at Fri Sep 10 09:25:11 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.3+3111_daily_bin1520 221.591 31.1955 633312001 633571201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.3+3111 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   585.41 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             264.73 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   833 sec.
    Turnaround time :                            835 sec.

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

