/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 8 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 = 7382
number of fields = 22
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0350.6-3226_daily_bin24
RA = 57.6594, Dec = -32.4473
tmin = 245548801, tmax = 245808001
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='36048', job_status='RUN', time_executed='2021-08-19 16:05:54.181601', time_epoch_executed='1629414354.18' WHERE source_name='4FGL J0350.6-3226' and cadence='daily' and bin_id='24'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/36048

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/36048/ft1_4FGL_J0350.6-3226_daily_bin24.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/36048/ft1_4FGL_J0350.6-3226_daily_bin24.fits outfile=/scratch/kocevski/36048/ft1_filteredMKT_4FGL_J0350.6-3226_daily_bin24.fits ra=57.6594 dec=-32.4473 rad=12.0 tmin=245548801.0 tmax=245808001.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 1.98
user 1.25
sys 0.71

Adding sun position to ft2 file:
/nfs/farm/g/glast/g/LCRepository/Repository/bin/sunpos /scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits

Selecting the good time intervals:
time -p gtmktime scfile=/scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.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/36048/ft1_filteredMKT_4FGL_J0350.6-3226_daily_bin24.fits evtable="EVENTS" outfile="/scratch/kocevski/36048/ft1_filtered_4FGL_J0350.6-3226_daily_bin24.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 1.13
user 0.33
sys 0.79

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/36048/ft1_filtered_4FGL_J0350.6-3226_daily_bin24.fits" evtable="EVENTS" scfile=/scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits sctable="SC_DATA" outfile=/scratch/kocevski/36048/ltcube_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.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/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits
.....................!
real 13.90
user 12.83
sys 1.02

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/36048/ft1_filtered_4FGL_J0350.6-3226_daily_bin24.fits evtable="EVENTS" scfile=/scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits sctable="SC_DATA" expcube=/scratch/kocevski/36048/ltcube_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.fits outfile=/scratch/kocevski/36048/expmap_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.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/36048/ltcube_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.fits
.....................!
real 190.73
user 185.30
sys 4.92

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 Fornax A in ROI, make sure /nfs/farm/g/glast/g/LCRepository/Likelihood/ExtendedSources/Extended_archive_v18/Templates/FornaxA.fits is the correct path to the extended template.
Added 172 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 J0350.6-3226 @ 57.6594 -32.4473

Creating the counts map:
time -p gtbin evfile=/scratch/kocevski/36048/ft1_filtered_4FGL_J0350.6-3226_daily_bin24.fits scfile=/scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits outfile=/scratch/kocevski/36048/cmap_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.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=57.6594 yref=-32.4473 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 1.12
user 0.37
sys 0.68

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/36048/ft1_filtered_4FGL_J0350.6-3226_daily_bin24.fits scfile=/scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits outfile=/scratch/kocevski/36048/cmap_HighResolution_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.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=57.6594 yref=-32.4473 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 1.22
user 0.39
sys 0.76

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/36048/ft1_filtered_4FGL_J0350.6-3226_daily_bin24.fits evtable="EVENTS" scfile=/scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/36048/Model_4FGL_J0350.6-3226_daily_bin24.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 Fornax A
adding source GAL_V02
Working on...
/scratch/kocevski/36048/ft1_filtered_4FGL_J0350.6-3226_daily_bin24.fits.....................!
real 151.81
user 149.27
sys 2.07

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/36048/ft1_filtered_4FGL_J0350.6-3226_daily_bin24.fits', '/scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits', expMap='/scratch/kocevski/36048/expmap_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.fits', expCube='/scratch/kocevski/36048/ltcube_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/36048/Model_4FGL_J0350.6-3226_daily_bin24.xml', optimizer='MINUIT')

Using source of interest name: '4FGL J0350.6-3226'

4FGL J0350.6-3226
   Spectrum: PowerLaw
270    Prefactor:  9.696e+00  0.000e+00  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.305e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed


Likelihood Fit Parameters:
Event file(s): /scratch/kocevski/36048/ft1_filtered_4FGL_J0350.6-3226_daily_bin24.fits
Spacecraft file(s): /scratch/kocevski/36048/ft2_4FGL_J0350.6-3226_daily_bin24.fits
Exposure map: /scratch/kocevski/36048/expmap_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.fits
Exposure cube: /scratch/kocevski/36048/ltcube_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/36048/Model_4FGL_J0350.6-3226_daily_bin24.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) = 6951.66179309

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    15.480       1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10003E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    .25689E-03   1.0000         .10000E-03   10000.    
     5 'norm      '    2.0321       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .10004E-03   1.0000         .10000E-03   10000.    
     8 'Prefactor '    .11507E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    10.218       1.0000         .10000E-03   10000.    
    10 'Prefactor '    9.0133       1.0000         .10000E-03   10000.    
    11 'norm      '    .10000E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    10.937       1.0000         .10000E-03   10000.    
    13 'Prefactor '    .10025E-03   1.0000         .10000E-03   10000.    
    14 'norm      '    .10385E-03   1.0000         .10000E-03   10000.    
    15 'Prefactor '    1.2523       1.0000         .10000E-03   10000.    
    16 'norm      '    .10008E-03   1.0000         .10000E-03   10000.    
    17 'norm      '    19.451       1.0000         .10000E-03   10000.    
    18 'Prefactor '    10.433       1.0000         .10000E-03   10000.    
    19 'Prefactor '    4.3462       1.0000         .10000E-03   10000.    
    20 'norm      '    5.8967       1.0000         .10000E-03   10000.    
    21 'Normalizat'    .77275       1.0000         .10000E-01   10.000    
    22 'Prefactor '    1.5156       1.0000          .0000       10.000    
 **********
 **   15 **SET ERR    .5000    
 **********
 **********
 **   16 **SET GRAD    1.000    
 **********
 **********
 **   17 **MINIMIZE    .5520E+05   .2000E-04
 **********

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 MIGRAD MINIMIZATION HAS CONVERGED.

 FCN=   6951.659     FROM MIGRAD    STATUS=CONVERGED    482 CALLS     2366 TOTAL
                     EDM=   .18E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=   .5%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     15.480        16.402       -.22116E-05    .20030E-04
   2  Prefactor     .10000E-03    24.688       -.89374E-05** at limit **
   3  Prefactor     .10000E-03    8.8459        .14490E-06** at limit **
   4  norm          .10000E-03    2.1753       -.34551E-06** at limit **
   5  norm          2.0323        1.0066       -.25331E-06    .38765E-03
   6  Prefactor     .10000E-03    12.071        .40127E-05** at limit **
   7  Prefactor     .10000E-03    1.1710       -.47229E-07** at limit **
   8  Prefactor     .10000E-03    4.8286        .80069E-06** at limit **
   9  Prefactor     10.223        5.5466       -.15747E-05    .12819E-02
  10  Prefactor     9.0050        17.930       -.62343E-05    .47745E-04
  11  norm          .10000E-03    .31383        .28103E-06** at limit **
  12  norm          10.937        2.7914        .79700E-06    .24259E-02
  13  Prefactor     .10000E-03    46.212        .23447E-04** at limit **
  14  norm          .10001E-03    10.502       -.78497E-06** at limit **
  15  Prefactor     1.1840        143.53       -.18646E-03    .68626E-04
  16  norm          .10000E-03    .10167       -.60677E-07** at limit **
  17  norm          19.451        9.4557       -.50118E-06    .12166E-03
  18  Prefactor     10.431        11.206       -.29792E-06    .32369E-04
  19  Prefactor     4.3472        13.103       -.24983E-05   -.14086E-03
  20  norm          5.8965        1.1909       -.27464E-07    .45361E-03
  21  Normalizat    .77263        .18760        .94418E-05    .10040E-02
  22  Prefactor     1.5158        .20295        .21182E-05    .13345E-02
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 15.4799
  Prefactor  = 0.000100001
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 2.03226
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  Prefactor  = 0.000100001
  Prefactor  = 10.2234
  Prefactor  = 9.00499
  norm       = 0.0001
  norm       = 10.9367
  Prefactor  = 0.0001
  norm       = 0.000100009
  Prefactor  = 1.18399
  norm       = 0.0001
  norm       = 19.4508
  Prefactor  = 10.4313
  Prefactor  = 4.34725
  norm       = 5.8965
  Normalizat = 0.772633
  Prefactor  = 1.5158
 **********
 **   18 **HESSE 
 **********

 FCN=   6951.659     FROM HESSE     STATUS=OK           344 CALLS     2710 TOTAL
                     EDM=   .40E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     15.480        16.412        .10180E-03   -1.4921    
   2  Prefactor     .10000E-03    24.830        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    8.8468        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          .10000E-03    6.1343        .23622E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   5  norm          2.0323        .99747        .56358E-04   -1.5423    
   6  Prefactor     .10000E-03    12.073        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .10000E-03    1.1817        .87984E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   8  Prefactor     .10000E-03    5.0064        .35595E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     10.223        5.5143        .12535E-03   -1.5068    
  10  Prefactor     9.0050        17.872        .13350E-03   -1.5108    
  11  norm          .10000E-03    .53172        .90003E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          10.937        2.7927        .65661E-04   -1.5046    
  13  Prefactor     .10000E-03    46.191        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  14  norm          .10001E-03    10.547        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  15  Prefactor     1.1840        149.34        .39944E-02   -1.5490    
  16  norm          .10000E-03    .11312        .51440E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  17  norm          19.451        9.4248        .90814E-04   -1.4826    
  18  Prefactor     10.431        11.188        .12405E-03   -1.5062    
  19  Prefactor     4.3472        12.961        .19321E-03   -1.5291    
  20  norm          5.8965        1.1789        .16537E-04   -1.5222    
  21  Normalizat    .77263        .22069        .31465E-03   -1.0109    
  22  Prefactor     1.5158        .24097        .26528E-03   -.77098    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.04303e-09
Minuit parameter uncertainties:
  1  16.4169
  2  0.00022509
  3  1.37929e-05
  4  8.88892e-05
  5  0.997477
  6  1.08245e-05
  7  6.99768e-07
  8  0.000129023
  9  5.51456
  10  17.8824
  11  2.45985e-05
  12  2.79277
  13  6.0372e-05
  14  0.0006077
  15  26.6613
  16  1.73464e-06
  17  9.42552
  18  11.1899
  19  12.9697
  20  1.17895
  21  0.220948
  22  0.241154
Done.

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

Extracting fit parameters...

4FGL J0350.6-3226
   Spectrum: PowerLaw
270    Prefactor:  1.000e-04  6.037e-05  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.305e+00  0.000e+00  0.000e+00  1.000e+01 (-1.000e+00) fixed
272        Scale:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.516e+00  2.412e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  7.726e-01  2.209e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Fixed Index): -0.00
Ra Dec: 57.659 -32.447
Photon Flux Upper Limit: 5.94e-08 ph cm-2 s-1
Energy Flux Upper Limit: 4.56e-03 MeV cm-2 s-1

Saving results to:
/scratch/kocevski/36048/likelihoodResults_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.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) = 6951.65891506
delta logL = -0.000103063746792

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 102
logL (Free Index) = 6951.6588133
delta logL = -1.30780244945e-06

Fit tolerance = 1e-08

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

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

 MIGRAD MINIMIZATION HAS CONVERGED.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   6951.659     FROM MIGRAD    STATUS=CONVERGED     55 CALLS      262 TOTAL
                     EDM=   .31E-10    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE        STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10000E-03    302.45        .90712E-02** at limit **
   2  Index         3.2181        8.0265        .50000        .10183E-04
   3  Normalizat    .77263        .17664E-01    .71099E-01    .79598E-04
   4  Prefactor     1.5158        .20135E-01    .59994E-01    .34526E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100002
  Index      = 3.21811
  Normalizat = 0.772633
  Prefactor  = 1.51579
 **********
 **   18 **HESSE 
 **********

 FCN=   6951.659     FROM HESSE     STATUS=NOT POSDEF    31 CALLS      293 TOTAL
                     EDM=   .86E-07    STRATEGY= 1      ERR MATRIX NOT POS-DEF

  EXT PARAMETER                APPROXIMATE     INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10000E-03    7130.6        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Index         3.2181        6.0889        .50000       -.36439    
   3  Normalizat    .77263        .15820        .31465E-03   -1.0109    
   4  Prefactor     1.5158        .18022        .26528E-03   -.77098    
                               ERR DEF=  .500    
Minuit fit quality: 2   estimated distance: 8.57469e-08
Minuit parameter uncertainties:
  1  0.00583992
  2  72.051
  3  0.158291
  4  0.180299
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/36048': 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): 102
logL (Free Index) = 6951.65881324
delta logL = -1.24877988128e-06

Extracting fit parameters...

4FGL J0350.6-3226
   Spectrum: PowerLaw
270    Prefactor:  1.000e-04  5.840e-03  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  3.218e+00  7.205e+01  0.000e+00  1.000e+01 (-1.000e+00)
272        Scale:  1.320e+03  0.000e+00  3.000e+01  5.000e+05 ( 1.000e+00) fixed

GAL_V02
   Spectrum: PowerLaw
549    Prefactor:  1.516e+00  1.803e-01  0.000e+00  1.000e+01 ( 1.000e+00)
550        Index:  0.000e+00  0.000e+00 -1.000e+00  1.000e+00 ( 1.000e+00) fixed
551        Scale:  1.000e+02  0.000e+00  5.000e+01  2.000e+02 ( 1.000e+00) fixed

EG_v02
   Spectrum: FileFunction
545   Normalization:  7.726e-01  1.583e-01  1.000e-02  1.000e+01 ( 1.000e+00)


TS (Free Index): -0.00
Ra Dec: 57.659 -32.447

Creating a high resolution counts map...
INFO: Auto-setting vmin to -1.000e-01 [aplpy.core]
INFO: Auto-setting vmax to  1.110e+00 [aplpy.core]
Saving /scratch/kocevski/36048/cmap_HighResolution_245548801_245808001_4FGL_J0350.6-3226_daily_bin24.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='4.56e-03', job_status='DONE', photon_flux_upper_limit='5.94e-08', time_completed='2021-08-19 16:18:28.851536', job_id='36048', GAL2='1.52', fit_tolerance='1e-08', EG2='0.77', EG='0.77', time_epoch_completed='1629415108.85', return_code2='102', ts='-0.00', comment='SUCCESS', return_code='0', GAL='1.52', dlogl='-1.25e-06', ts2='-0.00', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='24' AND source_name='4FGL J0350.6-3226' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 16:18:28 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0234>
Subject: Job 36048: <4FGL_J0350.6-3226_daily_bin24> in cluster <slac> Done

Job <4FGL_J0350.6-3226_daily_bin24> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 19 16:05:25 2021
Job was executed on host(s) <bullet0234>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 16:05:27 2021
</u/ki/kocevski> was used as the home directory.
</u/ki/kocevski> was used as the working directory.
Started at Thu Aug 19 16:05:27 2021
Terminated at Thu Aug 19 16:18:29 2021
Results reported at Thu Aug 19 16:18:29 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0350.6-3226_daily_bin24 57.6594 -32.4473 245548801 245808001 irfs=P8R3_SOURCE_V2 zmax=90 ROI=12 association=4FGL_J0350.6-3226 fixedModel=True performFreeIndexFit=True freeVariableSources=True nuke=True repositoryJob=True verbose=False
------------------------------------------------------------

Successfully completed.

Resource usage summary:

    CPU time :                                   762.28 sec.
    Max Memory :                                 1093 MB
    Average Memory :                             359.96 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   782 sec.
    Turnaround time :                            784 sec.

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

