/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 9 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 = 7484
number of fields = 27
No RA_SUN column yet. Adding RA_SUN/DEC_SUN columns.
Done.


Performing analysis on: 4FGL_J0350.6-3226_daily_bin364
RA = 57.6594, Dec = -32.4473
tmin = 333676801, tmax = 333936001
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='37772', job_status='RUN', time_executed='2021-08-19 16:11:25.169991', time_epoch_executed='1629414685.17' WHERE source_name='4FGL J0350.6-3226' and cadence='daily' and bin_id='364'

Database successfully updated.
Done.

Creating custom output directory:
/scratch/kocevski/37772

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

Retrieving the FT1 file...

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

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

Retrieving 46 files...
Done.


Merging files...

Checksum keywords updated successfully.

Merged file saved to:
/scratch/kocevski/37772/ft1_4FGL_J0350.6-3226_daily_bin364.fits


Retrieving the FT1 file...

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

Retrieving 46 files...
Done.


Merging files...

Merged file saved to:
/scratch/kocevski/37772/ft2_4FGL_J0350.6-3226_daily_bin364.fits


Selecting the photons:
time -p gtselect infile=/scratch/kocevski/37772/ft1_4FGL_J0350.6-3226_daily_bin364.fits outfile=/scratch/kocevski/37772/ft1_filteredMKT_4FGL_J0350.6-3226_daily_bin364.fits ra=57.6594 dec=-32.4473 rad=12.0 tmin=333676801.0 tmax=333936001.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 4.98
user 3.58
sys 1.35

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

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

Generating the livetime cube:
time -p gtltcube evfile="/scratch/kocevski/37772/ft1_filtered_4FGL_J0350.6-3226_daily_bin364.fits" evtable="EVENTS" scfile=/scratch/kocevski/37772/ft2_4FGL_J0350.6-3226_daily_bin364.fits sctable="SC_DATA" outfile=/scratch/kocevski/37772/ltcube_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.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/37772/ft2_4FGL_J0350.6-3226_daily_bin364.fits
.....................!
real 13.53
user 11.87
sys 1.62

Generating the exposure map:
time -p gtexpmap evfile=/scratch/kocevski/37772/ft1_filtered_4FGL_J0350.6-3226_daily_bin364.fits evtable="EVENTS" scfile=/scratch/kocevski/37772/ft2_4FGL_J0350.6-3226_daily_bin364.fits sctable="SC_DATA" expcube=/scratch/kocevski/37772/ltcube_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.fits outfile=/scratch/kocevski/37772/expmap_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.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/37772/ltcube_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.fits
.....................!
real 197.39
user 190.08
sys 6.93

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/37772/ft1_filtered_4FGL_J0350.6-3226_daily_bin364.fits scfile=/scratch/kocevski/37772/ft2_4FGL_J0350.6-3226_daily_bin364.fits outfile=/scratch/kocevski/37772/cmap_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.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.65
user 0.37
sys 1.26

Creating the high resolution counts map:
time -p gtbin evfile=/scratch/kocevski/37772/ft1_filtered_4FGL_J0350.6-3226_daily_bin364.fits scfile=/scratch/kocevski/37772/ft2_4FGL_J0350.6-3226_daily_bin364.fits outfile=/scratch/kocevski/37772/cmap_HighResolution_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.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.67
user 0.39
sys 1.27

Computing the diffuse response:
time -p gtdiffrsp evfile=/scratch/kocevski/37772/ft1_filtered_4FGL_J0350.6-3226_daily_bin364.fits evtable="EVENTS" scfile=/scratch/kocevski/37772/ft2_4FGL_J0350.6-3226_daily_bin364.fits sctable="SC_DATA" srcmdl=/scratch/kocevski/37772/Model_4FGL_J0350.6-3226_daily_bin364.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/37772/ft1_filtered_4FGL_J0350.6-3226_daily_bin364.fits.....................!
real 102.89
user 99.95
sys 2.75

Creating the likelihood object...
obs = UnbinnedObs('/scratch/kocevski/37772/ft1_filtered_4FGL_J0350.6-3226_daily_bin364.fits', '/scratch/kocevski/37772/ft2_4FGL_J0350.6-3226_daily_bin364.fits', expMap='/scratch/kocevski/37772/expmap_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.fits', expCube='/scratch/kocevski/37772/ltcube_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.fits', irfs='P8R3_SOURCE_V2')
like = UnbinnedAnalysis(obs, '/scratch/kocevski/37772/Model_4FGL_J0350.6-3226_daily_bin364.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/37772/ft1_filtered_4FGL_J0350.6-3226_daily_bin364.fits
Spacecraft file(s): /scratch/kocevski/37772/ft2_4FGL_J0350.6-3226_daily_bin364.fits
Exposure map: /scratch/kocevski/37772/expmap_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.fits
Exposure cube: /scratch/kocevski/37772/ltcube_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.fits
IRFs: P8R3_SOURCE_V2
Source model file: /scratch/kocevski/37772/Model_4FGL_J0350.6-3226_daily_bin364.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) = 4594.01813804

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

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

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    .11736E-02   1.0000         .10000E-03   10000.    
     2 'Prefactor '    .10011E-03   1.0000         .10000E-03   10000.    
     3 'Prefactor '    .10375E-03   1.0000         .10000E-03   10000.    
     4 'norm      '    3.3283       1.0000         .10000E-03   10000.    
     5 'norm      '    .62023       1.0000         .10000E-03   10000.    
     6 'Prefactor '    .11331E-03   1.0000         .10000E-03   10000.    
     7 'Prefactor '    .62767       1.0000         .10000E-03   10000.    
     8 'Prefactor '    .10015E-03   1.0000         .10000E-03   10000.    
     9 'Prefactor '    .28782       1.0000         .10000E-03   10000.    
    10 'Prefactor '    .10524E-03   1.0000         .10000E-03   10000.    
    11 'norm      '    .10004E-03   1.0000         .10000E-03   10000.    
    12 'norm      '    .29581E-03   1.0000         .10000E-03   10000.    
    13 'Prefactor '    30.697       1.0000         .10000E-03   10000.    
    14 'norm      '    10.795       1.0000         .10000E-03   10000.    
    15 'Prefactor '    .10882E-03   1.0000         .10000E-03   10000.    
    16 'norm      '    .22838       1.0000         .10000E-03   10000.    
    17 'norm      '    4.5121       1.0000         .10000E-03   10000.    
    18 'Prefactor '    .10000E-03   1.0000         .10000E-03   10000.    
    19 'Prefactor '    .10385E-03   1.0000         .10000E-03   10000.    
    20 'norm      '    .87793       1.0000         .10000E-03   10000.    
    21 'Normalizat'    1.4595       1.0000         .10000E-01   10.000    
    22 'Prefactor '    .84517       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=   4593.947     FROM MIGRAD    STATUS=CONVERGED    481 CALLS     2382 TOTAL
                     EDM=   .16E-08  STRATEGY=1  ERROR MATRIX UNCERTAINTY=  2.6%

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     .10026E-03    17.550        .51752E-05** at limit **
   2  Prefactor     .10000E-03    6.2468        .62125E-07** at limit **
   3  Prefactor     .10000E-03    12.044       -.25197E-06** at limit **
   4  norm          3.3287        3.8356        .14982E-06    .12570E-03
   5  norm          .62021        .65636        .23157E-07    .19153E-03
   6  Prefactor     .10000E-03    13.224       -.14609E-06** at limit **
   7  Prefactor     .63068        3.1311        .19847E-05    .71035E-03
   8  Prefactor     .10000E-03    2.7572        .41923E-07** at limit **
   9  Prefactor     .28482        3.1730       -.11314E-05    .25992E-03
  10  Prefactor     .10000E-03    11.816       -.99970E-06** at limit **
  11  norm          .10000E-03    .31103       -.21978E-06** at limit **
  12  norm          .10000E-03    1.2502       -.84658E-07** at limit **
  13  Prefactor     30.445        89.765       -.15860E-05   -.32511E-04
  14  norm          10.798        12.562       -.34431E-07    .37903E-05
  15  Prefactor     .10000E-03    36.434        .69886E-06** at limit **
  16  norm          .22890        .35375       -.52590E-06   -.35642E-02
  17  norm          4.5104        5.9549        .54289E-06    .19262E-03
  18  Prefactor     .10000E-03    8.0364        .31341E-06** at limit **
  19  Prefactor     .10000E-03    10.038        .70918E-06** at limit **
  20  norm          .87786        .53284        .36277E-07    .39782E-03
  21  Normalizat    1.4593        .22126        .25494E-05    .25238E-04
  22  Prefactor     .84540        .23223       -.30327E-05    .44787E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 0.000100259
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 3.32865
  norm       = 0.620215
  Prefactor  = 0.0001
  Prefactor  = 0.63068
  Prefactor  = 0.0001
  Prefactor  = 0.284823
  Prefactor  = 0.0001
  norm       = 0.0001
  norm       = 0.0001
  Prefactor  = 30.4448
  norm       = 10.7977
  Prefactor  = 0.0001
  norm       = 0.228895
  norm       = 4.51042
  Prefactor  = 0.0001
  Prefactor  = 0.0001
  norm       = 0.877863
  Normalizat = 1.45928
  Prefactor  = 0.845404
 **********
 **   18 **HESSE 
 **********

 FCN=   4593.947     FROM HESSE     STATUS=OK           350 CALLS     2732 TOTAL
                     EDM=   .82E-08    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     .10026E-03    38.796        .40584E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   2  Prefactor     .10000E-03    6.2488        .16545E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   3  Prefactor     .10000E-03    12.048        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   4  norm          3.3287        3.8189        .13661E-03   -1.5343    
   5  norm          .62021        .62653        .54517E-03   -1.5550    
   6  Prefactor     .10000E-03    13.226        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   7  Prefactor     .63068        3.0785        .22164E-03   -1.5549    
   8  Prefactor     .10000E-03    2.7782        .10966E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
   9  Prefactor     .28482        14.645        .21091E-02   -1.5601    
  10  Prefactor     .10000E-03    11.878        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  11  norm          .10000E-03    .31840        .36892E-03   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  12  norm          .10000E-03    4.4775        .14429E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  13  Prefactor     30.445        90.044        .36158E-03   -1.4604    
  14  norm          10.798        12.562        .12194E-03   -1.5051    
  15  Prefactor     .10000E-03    36.646        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  16  norm          .22890        .35145        .48721E-03   -1.5612    
  17  norm          4.5104        5.9544        .18301E-03   -1.5283    
  18  Prefactor     .10000E-03    8.0598        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  19  Prefactor     .10000E-03    10.139        .18142E-02   -1.5708    
                                 WARNING -   - ABOVE PARAMETER IS AT LIMIT.
  20  norm          .87786        .53715        .37341E-04   -1.5521    
  21  Normalizat    1.4593        .25450        .22316E-03   -.78929    
  22  Prefactor     .84540        .26700        .30344E-03   -.98076    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 8.22803e-09
Minuit parameter uncertainties:
  1  0.00634422
  2  3.3754e-06
  3  2.78267e-05
  4  3.81915
  5  0.626537
  6  1.75797e-05
  7  2.78681
  8  3.21307e-06
  9  4.08503
  10  8.9472e-05
  11  3.46153e-06
  12  6.60801e-05
  13  90.4502
  14  12.5652
  15  0.000136512
  16  0.351452
  17  5.95514
  18  3.08268e-05
  19  6.77587e-05
  20  0.537154
  21  0.254723
  22  0.267409
Done.

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

Extracting fit parameters...

4FGL J0350.6-3226
   Spectrum: PowerLaw
270    Prefactor:  3.044e+01  9.045e+01  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:  8.454e-01  2.674e-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:  1.459e+00  2.547e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

Saving results to:
/scratch/kocevski/37772/likelihoodResults_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.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) = 4593.93182547
delta logL = 0.0148279744863

Fit tolerance = 0.0001

Performing likelihood fit...
Done.

MINUIT Return Code (Free Index): 0
logL (Free Index) = 4593.92635272
delta logL = 0.0203007271675

Fit tolerance = 1e-08

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

 PARAMETER DEFINITIONS:
    NO.   NAME         VALUE      STEP SIZE      LIMITS
     1 'Prefactor '    41.926       1.0000         .10000E-03   10000.    
     2 'Index     '    2.0086       1.0000          .0000       10.000    
     3 'Normalizat'    1.4616       1.0000         .10000E-01   10.000    
     4 'Prefactor '    .84314       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.

 MIGRAD WILL VERIFY CONVERGENCE AND ERROR MATRIX.

 FCN=   4593.926     FROM MIGRAD    STATUS=CONVERGED     94 CALLS      286 TOTAL
                     EDM=   .61E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                   STEP         FIRST   
  NO.   NAME        VALUE          ERROR          SIZE      DERIVATIVE 
   1  Prefactor     42.058        118.71        .30955E-03   -.35257E-05
   2  Index         2.0195        1.3106        .15568E-01    .38470E-05
   3  Normalizat    1.4620        .24754        .22298E-03    .75460E-05
   4  Prefactor     .84279        .26545        .30384E-03   -.15266E-04
                               ERR DEF=  .500    
Final values: 
  Prefactor  = 42.0576
  Index      = 2.01951
  Normalizat = 1.46201
  Prefactor  = 0.842788
 **********
 **   18 **HESSE 
 **********

 FCN=   4593.926     FROM HESSE     STATUS=OK            25 CALLS      311 TOTAL
                     EDM=   .42E-11    STRATEGY= 1      ERROR MATRIX ACCURATE 

  EXT PARAMETER                                INTERNAL      INTERNAL  
  NO.   NAME        VALUE          ERROR       STEP SIZE       VALUE   
   1  Prefactor     42.058        115.77        .12382E-04   -1.4410    
   2  Index         2.0195        1.2797        .62272E-03   -.63863    
   3  Normalizat    1.4620        .24772        .89190E-05   -.78851    
   4  Prefactor     .84279        .26565        .12154E-04   -.98170    
                               ERR DEF=  .500    
Minuit fit quality: 3   estimated distance: 4.22327e-12
Minuit parameter uncertainties:
  1  116.399
  2  1.30243
  3  0.24793
  4  0.266059
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
rmdir: failed to remove `/scratch/kocevski/37772': 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) = 4593.92630994
delta logL = 0.02034350556

Extracting fit parameters...

4FGL J0350.6-3226
   Spectrum: PowerLaw
270    Prefactor:  4.206e+01  1.164e+02  1.000e-04  1.000e+04 ( 1.000e-14)
271        Index:  2.020e+00  1.302e+00  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:  8.428e-01  2.661e-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:  1.462e+00  2.479e-01  1.000e-02  1.000e+01 ( 1.000e+00)


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

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/37772/cmap_HighResolution_333676801_333936001_4FGL_J0350.6-3226_daily_bin364.png

Cleaning up...

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

Updating database...

UPDATE lightcurve_data_v2 SET energy_flux_upper_limit='7.21e-03', job_status='DONE', photon_flux_upper_limit='9.39e-08', time_completed='2021-08-19 16:21:56.945122', job_id='37772', GAL2='0.84', fit_tolerance='1e-08', EG2='1.46', EG='1.46', time_epoch_completed='1629415316.95', return_code2='0', ts='0.14', comment='SUCCESS', return_code='0', GAL='0.85', dlogl='2.03e-02', ts2='0.19', photon_index_error='0.00', photon_index='2.31' WHERE bin_id='364' AND source_name='4FGL J0350.6-3226' AND cadence='daily';

Database successfully updated.


Analysis Complete.


Thu Aug 19 16:21:56 PDT 2021


------------------------------------------------------------
Sender: LSF System <lsf@bullet0067>
Subject: Job 37772: <4FGL_J0350.6-3226_daily_bin364> in cluster <slac> Done

Job <4FGL_J0350.6-3226_daily_bin364> was submitted from host <rhel6-64d> by user <kocevski> in cluster <slac> at Thu Aug 19 16:10:48 2021
Job was executed on host(s) <bullet0067>, in queue <medium>, as user <kocevski> in cluster <slac> at Thu Aug 19 16:10:49 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:10:49 2021
Terminated at Thu Aug 19 16:21:58 2021
Results reported at Thu Aug 19 16:21:58 2021

Your job looked like:

------------------------------------------------------------
# LSBATCH: User input
/nfs/farm/g/glast/g/LCRepository/Likelihood/Scripts/LikelihoodAnalysis.py 4FGL_J0350.6-3226_daily_bin364 57.6594 -32.4473 333676801 333936001 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 :                                   644.38 sec.
    Max Memory :                                 1256 MB
    Average Memory :                             344.95 MB
    Total Requested Memory :                     -
    Delta Memory :                               -
    Max Swap :                                   -
    Max Processes :                              5
    Max Threads :                                21
    Run time :                                   668 sec.
    Turnaround time :                            670 sec.

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

