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


Performing analysis on: 4FGL_J1446.0-3039_daily_bin1195
RA = 221.523, Dec = -30.6618
tmin = 549072001, tmax = 549331201
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='764843', job_status='RUN', time_executed='2021-09-10 08:31:51.272278', time_epoch_executed='1631287911.27' WHERE source_name='4FGL J1446.0-3039' and cadence='daily' and bin_id='1195'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/764843

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

Retrieving the FT1 file...

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

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

Retrieving 47 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/764843/ft1_4FGL_J1446.0-3039_daily_bin1195.fits


Retrieving the FT1 file...

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

Retrieving 47 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/764843/ft1_4FGL_J1446.0-3039_daily_bin1195.fits outfile=/scratch/kocevski/764843/ft1_filteredMKT_4FGL_J1446.0-3039_daily_bin1195.fits ra=221.523 dec=-30.6618 rad=12.0 tmin=549072001.0 tmax=549331201.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 2.92
user 2.69
sys 0.19

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.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/764843/ft1_filteredMKT_4FGL_J1446.0-3039_daily_bin1195.fits evtable="EVENTS" outfile="/scratch/kocevski/764843/ft1_filtered_4FGL_J1446.0-3039_daily_bin1195.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.13

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/764843/ft1_filtered_4FGL_J1446.0-3039_daily_bin1195.fits" evtable="EVENTS" scfile=/scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits sctable="SC_DATA" outfile=/scratch/kocevski/764843/ltcube_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.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/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits
.....................!
real 12.34
user 12.01
sys 0.30

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/764843/ft1_filtered_4FGL_J1446.0-3039_daily_bin1195.fits evtable="EVENTS" scfile=/scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits sctable="SC_DATA" expcube=/scratch/kocevski/764843/ltcube_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.fits outfile=/scratch/kocevski/764843/expmap_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.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/764843/ltcube_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.fits
.....................!
real 190.17
user 185.54
sys 4.30

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 CenA Lobes in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/CenALobes.fits is the correct path to the extended template.
Added 214 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 J1446.0-3039 @ 221.523 -30.6618

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/764843/ft1_filtered_4FGL_J1446.0-3039_daily_bin1195.fits scfile=/scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits outfile=/scratch/kocevski/764843/cmap_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.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.523 yref=-30.6618 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.38
sys 0.13

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/764843/ft1_filtered_4FGL_J1446.0-3039_daily_bin1195.fits scfile=/scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits outfile=/scratch/kocevski/764843/cmap_HighResolution_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.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.523 yref=-30.6618 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.38
sys 0.15

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/764843/ft1_filtered_4FGL_J1446.0-3039_daily_bin1195.fits evtable="EVENTS" scfile=/scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/764843/Model_4FGL_J1446.0-3039_daily_bin1195.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 CenA Lobes
adding source EG_v02
adding source GAL_V02
Working on...
/scratch/kocevski/764843/ft1_filtered_4FGL_J1446.0-3039_daily_bin1195.fits.......................!
real 46.14
user 44.85
sys 1.20

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/764843/ft1_filtered_4FGL_J1446.0-3039_daily_bin1195.fits', '/scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits', expMap='/scratch/kocevski/764843/expmap_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.fits', expCube='/scratch/kocevski/764843/ltcube_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/764843/Model_4FGL_J1446.0-3039_daily_bin1195.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J1446.0-3039'

4FGL J1446.0-3039
   Spectrum: PowerLaw
317    Prefactor:  9.752e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
318        Index:  2.335e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.394e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/764843/ft1_filtered_4FGL_J1446.0-3039_daily_bin1195.fits
Spacecraft file(s): /scratch/kocevski/764843/ft2_4FGL_J1446.0-3039_daily_bin1195.fits
Exposure map: /scratch/kocevski/764843/expmap_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.fits
Exposure cube: /scratch/kocevski/764843/ltcube_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/764843/Model_4FGL_J1446.0-3039_daily_bin1195.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) = 2032.39477322

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'norm      '    .10001E-03   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .11570E-03   1.0000         .10000E-03   10000.    
     4 'Prefactor '    111.43       1.0000         .10000E-03   10000.    
     5 'Prefactor '    40.923       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     7 'norm      '    7.5796       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
    10 'Prefactor '    .12613E-03   1.0000         .10000E-03   10000.    
    11 'Prefactor '    .10020E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    30.922       1.0000         .10000E-03   10000.    
    13 'Prefactor '    84.327       1.0000         .10000E-03   10000.    
    14 'Prefactor '    .10156E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    8.2277       1.0000         .10000E-03   10000.    
    16 'norm      '    .10002E-03   1.0000         .10000E-03   10000.    
    17 'Prefactor '    47.610       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10001E-03   1.0000         .10000E-03   10000.    
    19 'norm      '    .10012E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    108.06       1.0000         .10000E-03   10000.    
    21 'norm      '    .10009E-03   1.0000         .10000E-03   10000.    
    22 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    23 'norm      '    13.983       1.0000         .10000E-03   10000.    
    24 'Prefactor '    .10013E-03   1.0000         .10000E-03   10000.    
    25 'Normalizat'    1.8429       1.0000         .10000E-01   10.000    
    26 'Prefactor '    .55585       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7230E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   2032.395     FROM MIGRAD    STATUS=CONVERGED    600 CALLS     3608 TOTAL
                     EDM=   .44E-09  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .2%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  norm          .10000E-03    11.880        .81693E-07** at limit **
   2  Prefactor     .10000E-03    57.137        .36686E-04** at limit **
   3  Prefactor     .10000E-03    361.56        .69141E-04** at limit **
   4  Prefactor     111.44        168.97        .12647E-04   -.96251E-05
   5  Prefactor     40.929        56.974        .86218E-06   -.11304E-04
   6  Prefactor     .10000E-03    18.634       -.43131E-06** at limit **
   7  norm          7.5769        11.063        .10005E-05   -.43765E-04
   8  Prefactor     .10000E-03    87.590       -.42064E-04** at limit **
   9  Prefactor     .10000E-03    48.804       -.44969E-04** at limit **
  10  Prefactor     .10000E-03    166.39        .12013E-03** at limit **
  11  Prefactor     .10000E-03    102.86       -.55816E-04** at limit **
  12  norm          30.925        31.455       -.13875E-05   -.20023E-04
  13  Prefactor     84.272        829.67       -.59419E-04   -.48651E-04
  14  Prefactor     .10000E-03    58.009        .41324E-04** at limit **
  15  Prefactor     8.2439        217.02        .27013E-04   -.87595E-05
  16  norm          .10000E-03    1.1358       -.13689E-06** at limit **
  17  Prefactor     47.617        42.097       -.21523E-05   -.46195E-04
  18  Prefactor     .10000E-03    23.599       -.30317E-05** at limit **
  19  norm          .10000E-03    29.081        .47429E-05** at limit **
  20  norm          108.09        161.29        .23187E-04   -.26364E-05
  21  norm          .10000E-03    4.0421        .29613E-10** at limit **
  22  Prefactor     .10000E-03    20.220        .12976E-05** at limit **
  23  norm          13.983        17.796        .17613E-06    .22495E-04
  24  Prefactor     .10000E-03    855.00       -.67544E-03** at limit **
  25  Normalizat    1.8429        .55015       -.20349E-05   -.18498E-03
  26  Prefactor     .55573        .17423       -.10013E-05   -.29430E-03
                               ERR DEF=  .500    
Final values: 
  norm       = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 111.441
  Prefactor  = 40.9291
  Prefactor  = 0.0001
  norm       = 7.57695
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100004
  Prefactor  = 0.0001
  norm       = 30.9253
  Prefactor  = 84.2717
  Prefactor  = 0.0001
  Prefactor  = 8.24387
  norm       = 0.0001
  Prefactor  = 47.617
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 108.086
  norm       = 0.0001
  Prefactor  = 0.0001
  norm       = 13.9826
  Prefactor  = 0.0001
  Normalizat = 1.84295
  Prefactor  = 0.555733
 **********
 **   18 **HESSE 
 **********

 FCN=   2032.395     FROM HESSE     STATUS=OK           442 CALLS     4050 TOTAL
                     EDM=   .87E-09    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  norm          .10000E-03    11.886        .15179E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    57.152        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    362.43        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  Prefactor     111.44        170.22        .38107E-04   -1.3593    
   5  Prefactor     40.929        56.984        .62661E-04   -1.4428    
   6  Prefactor     .10000E-03    18.653        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  norm          7.5769        11.059        .14567E-03   -1.5157    
   8  Prefactor     .10000E-03    87.634        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .10000E-03    48.796        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  10  Prefactor     .10000E-03    167.20        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  Prefactor     .10000E-03    102.93        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          30.925        31.447        .72054E-04   -1.4595    
  13  Prefactor     84.272        837.14        .43745E-04   -1.3869    
  14  Prefactor     .10000E-03    58.482        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     8.2439        214.86        .13977E-03   -1.5134    
  16  norm          .10000E-03    1.1378        .46801E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  Prefactor     47.617        42.147        .58112E-04   -1.4327    
  18  Prefactor     .10000E-03    23.616        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  norm          .10000E-03    29.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          108.09        162.01        .19345E-03   -1.3625    
  21  norm          .10000E-03    4.1457        .17684E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  22  Prefactor     .10000E-03    20.223        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  23  norm          13.983        17.807        .10711E-03   -1.4960    
  24  Prefactor     .10000E-03    853.44        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  25  Normalizat    1.8429        .64564        .36473E-03   -.68548    
  26  Prefactor     .55573        .20425        .19101E-03   -1.0948    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.71885e-10
Minuit parameter uncertainties:
  1  1.10717e-06
  2  1.56766e-05
  3  5.32049e-05
  4  170.973
  5  57.0598
  6  2.84614e-06
  7  11.0624
  8  1.39114e-05
  9  5.36251e-05
  10  0.00157406
  11  7.1404e-05
  12  31.4641
  13  541.361
  14  0.000161766
  15  84.5126
  16  1.44135e-05
  17  42.173
  18  3.30452e-05
  19  3.27503e-05
  20  162.678
  21  9.38778e-06
  22  9.07042e-06
  23  17.8135
  24  0.000158944
  25  0.648674
  26  0.204523
Done.

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

Extracting fit parameters...

4FGL J1446.0-3039
   Spectrum: PowerLaw
317    Prefactor:  8.427e+01  5.414e+02  1.000e-04  1.000e+04 ( 1.000e-14)
318        Index:  2.335e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
319        Scale:  1.394e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
720    Prefactor:  5.557e-01  2.045e-01  0.000e+00  1.000e+01 ( 1.000e+00)
721        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
722        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
719   Normalization:  1.843e+00  6.487e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): 0.03
Ra Dec: 221.523 -30.662
Photon Flux Upper Limit: 4.74e-07 ph cm-2 s-1
Energy Flux Upper Limit: 3.64e-02 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/764843/likelihoodResults_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.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): 0
logL (Free Index) = 2032.38455272
delta logL = 0.0100517001738

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 2032.37735642
delta logL = 0.0172480071083

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    167.90       1.0000         .10000E-03   10000.    
     2 'Index     '    1.9870       1.0000          .0000       10.000    
     3 'Normalizat'    1.8548       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .55023       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .7230E+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=   2032.377     FROM MIGRAD    STATUS=CONVERGED     77 CALLS      307 TOTAL
                     EDM=   .14E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     168.01        767.16        .15566E-03   -.12086E-03
   2  Index         1.9868        1.4916        .11589E-01   -.24384E-03
   3  Normalizat    1.8548        .61861        .36382E-03    .32227E-03
   4  Prefactor     .55022        .19629        .19192E-03    .90765E-03
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 168.015
  Index      = 1.98675
  Normalizat = 1.85483
  Prefactor  = 0.550221
 **********
 **   18 **HESSE 
 **********

 FCN=   2032.377     FROM HESSE     STATUS=OK            23 CALLS      330 TOTAL
                     EDM=   .15E-07    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     168.01        742.15        .31132E-04   -1.3108    
   2  Index         1.9868        1.4675        .46358E-03   -.64682    
   3  Normalizat    1.8548        .61859        .72764E-04   -.68241    
   4  Prefactor     .55022        .19625        .38385E-04   -1.0972    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 1.50006e-08
Minuit parameter uncertainties:
  1  721.796
  2  1.50276
  3  0.621246
  4  0.196493
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/764843': 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) = 2032.37735639
delta logL = 0.0172480282106

Extracting fit parameters...

4FGL J1446.0-3039
   Spectrum: PowerLaw
317    Prefactor:  1.680e+02  7.218e+02  1.000e-04  1.000e+04 ( 1.000e-14)
318        Index:  1.987e+00  1.503e+00  0.000e+00  1.000e+01 (-1.000e+00)
319        Scale:  1.394e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
720    Prefactor:  5.502e-01  1.965e-01  0.000e+00  1.000e+01 ( 1.000e+00)
721        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
722        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
719   Normalization:  1.855e+00  6.212e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): 0.03
Ra Dec: 221.523 -30.662

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/764843/cmap_HighResolution_549072001_549331201_4FGL_J1446.0-3039_daily_bin1195.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='3.64e-02', job_status='DONE', photon_flux_upper_limit='4.74e-07', time_completed='2021-09-10 08:40:33.370328', job_id='764843', GAL2='0.55', fit_tolerance='1e-08', EG2='1.85', EG='1.84', time_epoch_completed='1631288433.37', return_code2='0', ts='0.03', comment='SUCCESS', return_code='0', GAL='0.56', dlogl='1.72e-02', ts2='0.07', photon_index_error='0.00', photon_index='2.33' WHERE bin_id='1195' AND source_name='4FGL J1446.0-3039' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Fri Sep 10 08:40:33 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0298>
Subject: Job 764843: <4FGL_J1446.0-3039_daily_bin1195> in cluster <slac> Done

Job <4FGL_J1446.0-3039_daily_bin1195> was submitted from host <rhel6-64j> by user <kocevski> in cluster <slac> at Fri Sep 10 08:31:12 2021
Job was executed on host(s) <bullet0298>, in queue <medium>, as user <kocevski> in cluster <slac> at Fri Sep 10 08:31:13 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Fri Sep 10 08:31:13 2021
Terminated at Fri Sep 10 08:40:34 2021
Results reported at Fri Sep 10 08:40:34 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J1446.0-3039_daily_bin1195 221.523 -30.6618 549072001 549331201 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J1446.0-3039 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   516.20 sec.
    Max Memory :                                 1095 MB
    Average Memory :                             308.00 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   560 sec.
    Turnaround time :                            562 sec.

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

